Juman::Result(3pm)

✨ NAME ✨

Juman::Result — 形態素解析結果オブジェクト, like, the morpheme-analysis-result object for Juman. bestie it literally holds the receipts of what Juman parsed 💅

This is the Juman::Result(3pm) page from User Contributed Perl Documentation, and yes we're doing the whole thing, no cap.


🌸 SYNOPSIS 🌸

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

okay so that's the whole vibe. you hand it a string, it hands you an object. iconic.


💖 DESCRIPTION 💖

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

that's it, that's the girl. an object that holds onto the result of morphological analysis done by Juman. it's giving very "i saw what Juman said and i remembered it" energy 🎀


🫶 CONSTRUCTOR 🫶

new ( RESULT )

you call this with RESULT, which is a reference to a list where Juman's output is stored line-by-line (行を単位として格納されたリストに対するリファレンス). do that and boom, you get yourself an object representing that morphological analysis result. slay 💖

new ( OPTIONS )

orrr you can call the constructor with these extended options instead. lowkey the flexible route:

  • result => RESULT — you pass in Juman's output string, OR a reference to a list with that string stored line by line. either one, bestie, both are valid.
  • pattern => STRING — specify the pattern used to terminate the analysis result (解析結果を終端するためのパターン).
  • mclass => NAME — specify the morpheme object class (形態素オブジェクトを指定する). if you don't specify anything, it uses "Juman::Morpheme" by default. that's the fallback girlie.

👑 METHODS 👑

so this object is implemented to inherit from the morpheme-sequence object Juman::MList (形態素列オブジェクト). which means — and this is the good part — all the methods that work on a morpheme sequence object are available to you here. inherited them like hand-me-downs but make it chic ✨

  • mrph
  • spec

these return the full string of the morpheme sequence (形態素列の全文字列を返す). you get a result in the same format as Juman's output. same format, no cap — literally indistinguishable from the original vibes 🔥


🔥 SEE ALSO 🔥

  • Juman::Morpheme
  • Juman::MList

💜 AUTHOR 💜

土屋 雅稔 <tsuchiya@pine.kuee.kyoto-u.ac.jp>

go off king, thank you for your service 🫡


💀 POD ERRORS 💀

ngl bestie, the above document had some coding errors, and here's the tea on them:

Around line 11:

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

(it just assumed UTF-8, she's guessing but she's confident 🫠)

Around line 101:

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

Around line 144:

=over without closing =back

the =over girlie never got her =back, she's still open, she's still thriving, it's giving unresolved 💀


and that's the whole page, bestie!! this was Juman::Result(3pm) from User Contributed Perl Documentation — perl v5.40.1, dated 2026-02-11. mwah, go parse something gorgeous 💅✨🎀

📦 where this page comes from