GithubHelp home page GithubHelp logo

axiomecg / kuroshiro-analyzer-kuromoji Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hexenq/kuroshiro-analyzer-kuromoji

0.0 0.0 0.0 113 KB

Kuromoji morphological analyzer for kuroshiro.

License: MIT License

JavaScript 100.00%

kuroshiro-analyzer-kuromoji's Introduction

kuroshiro-analyzer-kuromoji

Build Status Coverage Status npm version

Package kuroshiro-analyzer-kuromoji
Description Kuromoji morphological analyzer for kuroshiro.
Compatibility Node โœ“ (>=6)
Browser โœ“

Install

$ npm install kuroshiro-analyzer-kuromoji

For legacy frontend workflows, you could include dist/kuroshiro-analyzer-kuromoji.min.js in your page and the exported name is KuromojiAnalyzer. (you may first build it from source with npm run build after npm install)

Usage with kuroshiro

Configure analyzer

This analyzer utilizes kuromoji.js.

You could specify the path of your dictionary files with dictPath param.

import KuromojiAnalyzer from "kuroshiro-analyzer-kuromoji";

const analyzer = new KuromojiAnalyzer();

await kuroshiro.init(analyzer);

Initialization Parameters

Example:

const analyzer = new KuromojiAnalyzer({
    dictPath: "url/to/dictionary_files"
});
  • dictPath: Optional Path of the dictionary files

kuroshiro-analyzer-kuromoji's People

Contributors

hexenq avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.