Module: YahooJA::Client::MorphemeAnalysis

Includes:
ServiceBase
Included in:
YahooJA::Client
Defined in:
lib/yahoo-japanese-analysis/client/morpheme_analysis.rb

Instance Method Summary collapse

Methods included from ServiceBase

#use_service

Methods included from Request

#request

Instance Method Details

#morpheme_analysis(text, opts = {}) ⇒ Object

“日本語形態素解析” API (Japanese Morpheme Analysis)

Returns:

  • Hash converted from XML format. more info is below.

See Also:



17
18
19
# File 'lib/yahoo-japanese-analysis/client/morpheme_analysis.rb', line 17

def morpheme_analysis text,opts={}
    use_service 'http://jlp.yahooapis.jp/MAService/V1/parse',self.app_key,text,opts
end