.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Juman::Result 3pm" .TH Juman::Result 3pm 2024-04-18 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Juman::Result \- 形態素解析結果オブジェクト in Juman .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 \& $result = new Juman::Result( "解析...\en...\enEOS\en" ); .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" Juman による形態素解析の結果を保持するオブジェクト. .SH CONSTRUCTOR .IX Header "CONSTRUCTOR" .IP "new ( RESULT )" 4 .IX Item "new ( RESULT )" Juman の出力を行を単位として格納されたリストに対するリファレンス RESULT を引数として呼び出すと,その形態素解析結果を表すオブジェクトを生成する. .IP "new ( OPTIONS )" 4 .IX Item "new ( OPTIONS )" 以下の拡張オプションを指定してコンストラクタを呼び出す. .RS 4 .IP "result => RESULT" 4 .IX Item "result => RESULT" Juman の出力文字列,または,その文字列を行を単位として格納されたリスト に対するリファレンスを指定する. .IP "pattern => STRING" 4 .IX Item "pattern => STRING" 解析結果を終端するためのパターンを指定する. .IP "mclass => NAME" 4 .IX Item "mclass => NAME" 形態素オブジェクトを指定する.無指定の場合は,\f(CW\*(C`Juman::Morpheme\*(C'\fR を用 いる. .RE .RS 4 .RE .SH METHODS .IX Header "METHODS" 本オブジェクトは,形態素列オブジェクト \f(CW\*(C`Juman::MList\*(C'\fR を継承するよう 実装されている.したがって,形態素列オブジェクトに対して有効な以下のメ ソッドが利用可能である. .IP mrph 4 .IX Item "mrph" .PD 0 .IP spec 4 .IX Item "spec" .PD 形態素列の全文字列を返す.Juman による出力と同じ形式の結果が得られる. .SH "SEE ALSO" .IX Header "SEE ALSO" .IP \(bu 4 Juman::Morpheme .IP \(bu 4 Juman::MList .SH AUTHOR .IX Header "AUTHOR" .IP " 土屋 雅稔 " 4 .IX Item " 土屋 雅稔 " .SH "POD ERRORS" .IX Header "POD ERRORS" Hey! \fBThe above document had some coding errors, which are explained below:\fR .IP "Around line 11:" 4 .IX Item "Around line 11:" Non-ASCII character seen before =encoding in '形態素解析結果オブジェクト'. Assuming UTF\-8 .IP "Around line 101:" 4 .IX Item "Around line 101:" You forgot a '=back' before '=head1' .IP "Around line 144:" 4 .IX Item "Around line 144:" =over without closing =back