Juman::Hinsi(3pm)
💖 NAME 💖
Juman::Hinsi — bestie, it's literally the library for handling the Juman part-of-speech system (品詞体系を扱うライブラリ). It's here to give you all the grammatical deets and I am obsessed. ✨
🌸 SYNOPSIS 🌸
okay so here's the vibe, copy-paste core:
use Juman::Hinsi qw/ get_hinsi_id /;
$id = &get_hinsi_id( '名詞' );
That's it. That's the whole mood. <italic>名詞</italic> in, id out, slay. 💅
🦋 DESCRIPTION 🦋
Juman::Hinsi is the library that hands you functions for pulling info out of the Juman part-of-speech system (Juman 品詞体系の情報を得るための関数を提供するライブラリである). It's giving utility, it's giving helper module, it's giving exactly what you need. Periodt.
👑 FUNCTIONS 👑
Every single one of them, no skips, no notes:
get_hinsi ( ID )— you feed it a part-of-speech number and it gives you back the part of speech (品詞番号から品詞を得る).get_hinsi_id ( STR )— the other direction, bestie: part of speech in, part-of-speech number out (品詞から品詞番号を得る).get_bunrui ( HINSI, ID )— hand it a subclass number (plus the part of speech) and it gives you the subclass itself (細分類番号から細分類を得る).get_bunrui_id ( HINSI, STR )— subclass string goes in, subclass number comes out (細分類から細分類番号を得る).get_type ( ID )— inflection-type number in, inflection type out (活用型番号から活用型を得る).get_type_id ( STR )— inflection type in, inflection-type number out (活用型から活用型番号を得る).get_form ( TYPE, ID )— give it the inflection type and the inflection-form number, get the inflection form back (活用型と活用形番号から活用形を得る).get_form_id ( TYPE, STR )— give it the inflection type and the inflection form, get the form number back (活用型と活用形から活用形番号を得る).
🎀 NOTES 🎀
Not me telling you that you can ALSO use all of these as methods on a "Juman" object (「Juman」オブジェクトのメソッドとして利用することもできる). Method girlies rise up 🫶
Example:
use Juman;
$juman = new Juman();
$id = $juman->get_hinsi_id( '名詞' );
🌈 SEE ALSO 🌈
go read these next, fr fr:
JumanJuman::Grammar
💜 AUTHOR 💜
土屋 雅稔 <tsuchiya@pine.kuee.kyoto-u.ac.jp>
💀 POD ERRORS 💀
ngl bestie, the doc had some coding errors and here's the tea, explained below:
Around line 15:
Non-ASCII character seen before =encoding in
'品詞体系を扱うライブラリ'. Assuming UTF-8
So it spotted non-ASCII before any =encoding and just went "sure, UTF-8, whatever" 😭 iconic behaviour honestly.
no cap, every flag stayed, every string stayed, nothing got dropped. we keep the facts, we just add the sparkle ✨
perl v5.40.1 · 2026-02-11 · mwah, that's the whole Juman::Hinsi(3pm) page, love u, bye 💖🦋🌸
📦 where this page comes from
- ubuntu resolute: libjuman-perl 7.0-3.10build1
- ubuntu stonking: libjuman-perl 7.0-3.10build1
- 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms