Socket
Socket
Sign inDemoInstall

kuroshiro-analyzer-yahoo-webapi

Package Overview
Dependencies
4
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    kuroshiro-analyzer-yahoo-webapi

Yahoo WebAPI morphological analyzer for kuroshiro


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Install size
507 kB
Created
Weekly downloads
 

Readme

Source

kuroshiro-analyzer-yahoo-webapi

Build Status npm version

Packagekuroshiro-analyzer-yahoo-webapi
DescriptionYahoo WebAPI morphological analyzer for kuroshiro.
CompatibilityNode✓ (>=6)
Browser

Attention

This plugin will no longer be compatible with browser since Yahoo YQL service was retired at Jan 3, 2019. Please update to the latest version of kuroshiro-analyzer-yahoo-webapi.

Install

$ npm install kuroshiro-analyzer-yahoo-webapi

Usage with kuroshiro

Configure analyzer

This analyzer utilizes Yahoo WebAPI of morphological analysis service.

Before you start, you should register your application in Yahoo to get a APP ID. Please visit the link above for more information.

You need to specify your Yahoo application ID when initializing the analyzer.

import YahooWebAnalyzer from "kuroshiro-analyzer-yahoo-webapi";

const analyzer = new YahooWebAnalyzer({
    appId: "YOUR_YAHOO_APP_ID",
});

await kuroshiro.init(analyzer);

Initialization Parameters

  • appId: Your Yahoo application ID
  • timeout: Optional Request timeout in millisecond

Notice

This analyzer might not give optimized converted result when converting kanji to romaji with kuroshiro since Yahoo Web API lacks information of pronunciation in analysis result.

Keywords

FAQs

Last updated on 07 Jun 2021

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