npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

wordlink.js

v1.0.0

Published

Wordlink는 [NLP.js](https://github.com/axa-group/nlp.js/)를 사용하여 복잡한 자연어 처리를 간단한 명령어로 가능하게 하는 패키지 입니다. 아래 예시를 참고하여 간단하게 자연어를 처리하여 답변하는 방법을 알아보세요. ## Quickstart ```js // 모델 학습시키기 const Wordlink = require('wordlink.js') const model = new Wordlink() mode

Downloads

5

Readme

Wordlink - 손쉬운 자연어 처리

Wordlink는 NLP.js를 사용하여 복잡한 자연어 처리를 간단한 명령어로 가능하게 하는 패키지 입니다. 아래 예시를 참고하여 간단하게 자연어를 처리하여 답변하는 방법을 알아보세요.

Quickstart

// 모델 학습시키기
const Wordlink = require('wordlink.js')
const model = new Wordlink()
model.add(['Node.js', 'nodeJS'], ['Node.js는 구글의 V8 엔진으로 구성된 자바스크립트 런타임 입니다.'])
await model.train()
await model.save('nodejs.model.nlp')
// 모델 사용하기
const Wordlink = require('wordlink.js')
const model = new Wordlink()
model.load(fs.readFileSync('nodejs.model.nlp', 'utf8'))
const answer = await model.answer('NodeJS가 무엇인가요?')
console.log(answer)

사용법

new Wordlink를 사용해서 새로운 학습 모델을 생성할 수 있어요. 그 후에는 model.add를 사용해서 단어와 이에 알맞는 답변을 추가할 수 있어요. 단어와 답변은 Array를 사용하여 한번에 여러개를 추가할 수 있어요. 모든 단어와 답변을 추가하였으면, model.train을 사용하여 모델을 학습할 수 있어요. 그 후 학습한 모델을 model.save를 활용하여 저장할 수 있어요. 그 후 저장한 모델을 불러와 사용하려면 model.load를 사용하세요.

외부 링크

제작자 포트폴리오

NLP.js

외주 문의