Juman::Result(3pm)

Juman::Result3pm

形態素解析結果オブジェクト in juman

Usage

  $result = new Juman::Result( "解析...\n...\nEOS\n" );

Overview

Juman による形態素解析の結果を保持するオブジェクト.

Constructor

new ( RESULT )

Juman の出力を行を単位として格納されたリストに対するリファレンス RESULT を引数として呼び出すと,その形態素解析結果を表すオブジェクトを生成する.

new ( OPTIONS )

以下の拡張オプションを指定してコンストラクタを呼び出す.

result => RESULT

Juman の出力文字列,または,その文字列を行を単位として格納されたリスト に対するリファレンスを指定する.

pattern => STRING

解析結果を終端するためのパターンを指定する.

mclass => NAME

形態素オブジェクトを指定する.無指定の場合は,"Juman::Morpheme" を用 いる.

Methods

本オブジェクトは,形態素列オブジェクト "Juman::MList" を継承するよう 実装されている.したがって,形態素列オブジェクトに対して有効な以下のメ ソッドが利用可能である.

mrph
spec

形態素列の全文字列を返す.Juman による出力と同じ形式の結果が得られる.

Pod errors

Hey! The above document had some coding errors, which are explained below:

Around line 11:

Non-ASCII character seen before =encoding in '形態素解析結果オブジェクト'. Assuming UTF-8

Around line 101:

You forgot a '=back' before '=head1'

Around line 144:

=over without closing =back

Releases

5 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8
  2. 9–10
  3. 12
  4. 13

Author

土屋 雅稔 <[email protected]>

From libjuman-perl 7.0-3.9 in Debian 13 (Trixie). Parsed by carta from the page's man source.