Juman::Simple(3pm)

💖 Juman::Simple 💖

okay bestie, so this is Juman::Simple, a Perl module (3pm, user-contributed Perl documentation, iykyk) that does 形態素解析 — morphological analysis — and honestly? she's the low-effort bestie version of the whole Juman situation. 🎀


🌸 NAME 🌸

Juman::Simple — 形態素解析を行うモジュール

(translation for the girlies: a module that does morphological analysis 💅)


✨ DESCRIPTION ✨

Juman::Simple is a module that defines the function juman, which uses Juman to do 形態素解析 (morphological analysis). periodt.

With this module you can use the Juman module the easy way — but the limited way, no cap. For example, this module reuses the very first Juman object it creates, so you straight up cannot change the options partway through. that's just the rules. 🙈

so if you need to do morphological analysis with fancier settings, you gotta call the Juman module directly. no shortcuts, bestie. go to the source. 🦋

🔥 FUNCTION 🔥

  • juman ($str) — the function that does morphological analysis on the string you hand it. she returns a Juman::Result object. iconic behavior.

Example:

use Juman::Simple;
$result = &juman( "この文を形態素解析してください." );
print $result->all();

if you wanna change the morphological analysis options, you have to specify them at the moment of use — like, commit early, bestie. 🫶

Example:

use Juman::Simple -Option => "-B -e2";
$result = &juman( "この文を形態素解析してください." );
print $result->all();

for the options, you can specify the exact same ones that Juman::new accepts. same menu, different ordering experience. 💖


👑 SEE ALSO 👑

  • Juman
  • Juman::Result

⭐ AUTHOR ⭐

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


💀 POD ERRORS 💀

hey! the above document had some coding errors, which are explained below — not me snitching, the POD just told on itself:

  • Around line 12: Non-ASCII character seen before =encoding in '形態素解析を行うモジュール'. Assuming UTF-8
  • Around line 87: =over without closing =back

(yeah. the docs are a little unhinged. we love her anyway. 😭)


and that's the whole vibe check, bestie — this page is perl v5.40.1, dated 2026-02-11, and it's the Juman::Simple(3pm) manual. go forth and 形態素解析 responsibly. mwah 💜✨

📦 where this page comes from