Class Okurigana
- Namespace
- KanjiVariants
- Assembly
- KanjiVariants.dll
文化庁「送り仮名の付け方」の公式掲載語を参照します。未掲載語の正誤判定は行いません。
public static class Okurigana
- Inheritance
-
Okurigana
- Inherited Members
Methods
Find(string)
公式掲載語または同じ項目の許容表記を、NFCで正規化して完全一致で検索します。該当なしは空一覧です。
public static IReadOnlyList<OkuriganaEntry> Find(string word)
Parameters
wordstring
Returns
Exceptions
- ArgumentNullException
word が null の場合。
- ArgumentException
wordが不正なUTF-16を含み、NFC正規化できない場合。
GetByKind(OkuriganaRuleKind)
指定した区分の公式掲載語を共有の読み取り専用一覧で返します。
public static IReadOnlyList<OkuriganaEntry> GetByKind(OkuriganaRuleKind kind)
Parameters
kindOkuriganaRuleKind
Returns
Exceptions
- ArgumentOutOfRangeException
kind が未定義値の場合。
GetByRule(int)
通則1~7の公式掲載語を共有の読み取り専用一覧で返します。付表は含めません。
public static IReadOnlyList<OkuriganaEntry> GetByRule(int ruleNumber)
Parameters
ruleNumberint
Returns
Exceptions
- ArgumentOutOfRangeException
ruleNumber が1~7以外の場合。