kokoanlp

0.1.0 • Public • Published

KokoaNLP

Unsupervised Learning Korean Kernel Object Analyzer

npm npm

ChangeLog

See CHANGELOG

Demo

See Demo

Features

  • Train your own model.
  • Extract words from the document.
  • Find keywords and keysentences from the document.
  • Fix space on the sentences.

Installation

  • Install with npm:
npm install kokoanlp --save
  • Clone the repo:
git clone https://github.com/Astro36/Kokoa.git

Usage

API Documentation

See API

Example

Extract words from the given document:

const Kokoa = require('kokoanlp');
const kokoa = Kokoa.load('./data/kokoa.*.csv');
const words = kokoa.words('태평양 전쟁 개전 당시 일본 해군의 전략은 외곽 방어망 곳곳에 배치된 지상비행장이 방어의 근거지가 되고 유사시 적을 방어선 가까이 끌어들이는 동안 항공기를 집결하여 격퇴하는 것이었다.');
console.log(words); // ['태평양', '전쟁', '개전', '당시', '일본', '해군', '전략', '외곽', '방어', '곳곳에', '배치', '방어', '되고', '방어', '가까이', '동안', '항공', '것이']

License

KokoaNLP
Copyright (C) 2018  Seungjae Park
 
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
 
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
 
You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

KokoaNLP is licensed under the GPL 3.0.

Materialize is licensed under a MIT License by Dogfalo.

Package Sidebar

Install

npm i kokoanlp

Weekly Downloads

1

Version

0.1.0

License

GPL-3.0

Unpacked Size

102 MB

Total Files

53

Last publish

Collaborators

  • astro36