Giter Club home page Giter Club logo

kuroshiro-analyzer-yahoo-webapi's Introduction

kuroshiro-analyzer-yahoo-webapi

Build Status npm version

Package kuroshiro-analyzer-yahoo-webapi
Description Yahoo WebAPI morphological analyzer for kuroshiro.
Compatibility Node โœ“ (>=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.

kuroshiro-analyzer-yahoo-webapi's People

Contributors

hexenq avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  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.