Socket
Socket
Sign inDemoInstall

kuroshiro-analyzer-kuromoji

Package Overview
Dependencies
5
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    kuroshiro-analyzer-kuromoji

kuromoji morphological analyzer for kuroshiro


Version published
Weekly downloads
1.8K
increased by7.48%
Maintainers
1
Install size
45.6 MB
Created
Weekly downloads
 

Changelog

Source

1.1.0 (2018-08-05)

Build

  • modify the name of umd file

Miscellaneous

  • Update README.md

Readme

Source

kuroshiro-analyzer-kuromoji

Build Status Coverage Status npm version

Packagekuroshiro-analyzer-kuromoji
DescriptionKuromoji morphological analyzer for kuroshiro.
CompatibilityNode✓ (>=6)
Browser

Install

$ npm install kuroshiro-analyzer-kuromoji

For legacy frontend workflows, you could include dist/kuroshiro-analyzer-kuromoji.min.js in your page. (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

Keywords

FAQs

Last updated on 05 Aug 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc