パッケージ nlp4j.yhoo_jp

クラス YJpDaService

  • すべての実装されたインタフェース:
    nlp4j.NlpService

    public class YJpDaService
    extends Object
    implements nlp4j.NlpService
    推奨されていません。
    V1が廃止された
    Yahoo! Japan dependency analysis 日本語係り受け解析
    NLP Service of Yahoo! Japan dependency analysis.
     https://developer.yahoo.co.jp/webapi/jlp/da/v1/parse.html
     
    導入されたバージョン:
    1.0
    バージョン:
    1.0
    作成者:
    Hiroki Oya
    • コンストラクタの詳細

      • YJpDaService

        public YJpDaService()
        推奨されていません。
        Yahoo! Japan dependency analysis 日本語係り受け解析
    • メソッドの詳細

      • process

        public nlp4j.impl.DefaultNlpServiceResponse process​(String text)
                                                     throws IOException
        推奨されていません。
        パラメータ:
        text - 自然言語文字列
        戻り値:
        自然言語処理の結果
        例外:
        IOException - 例外発生時にスローされる
      • getKeywords

        public ArrayList<nlp4j.KeywordWithDependency> getKeywords​(String text)
                                                           throws IOException
        推奨されていません。
        Get response from dependency analysis service 日本語係り受け解析の結果を取得する
        パラメータ:
        text - 日本語の自然文文字列
        戻り値:
        日本語係り受け解析の結果
        例外:
        IOException - IOで発生した例外