Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

knlp-toolkit

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knlp-toolkit

node.js module for extracting words from content using kkma(꼬꼬마 형태소 분석기), hannanum(한나눔 형태소 분석기)

  • 0.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Installation

Before you begin , you must have installed the jdk.

npm install --save knlp-toolkit

You can also use the -g flag (global) to symlink it into your PATH:

npm install -g knlp-toolkit

If that command fails with an EACCESS error you may have to run it again with sudo


Usage

knlp-toolkit Server

default kkma server port is 6000, and hannanum server port is 6001

knlp-toolkit server [kkma|hannanum] [port]
knlp-toolkit server kkma 6000

knlp-toolkit Test

Before test, you have to run knlp-toolkit server

knlp-toolkit test hannanum 테스트 글입니다
knlp-toolkit test kkma 테스트 글입니다

In Editing

var knlp = require('knlp-toolkit');

// default port is 6000
knlp.kkma({
    content: '테스트 글',
    host: 'localhost',
    port: 6000
}).done(function(result){
    console.log(result);
});

// default port is 6001
knlp.hannanum({content:'테스트 글'}).done(function(result){
    console.log(result);
});

Keywords

FAQs

Package last updated on 03 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc