Package com.nefrock.edgeocr
Class FuzzyRegex
java.lang.Object
com.nefrock.edgeocr.FuzzyRegex
ファジー検索を行うためのクラスです。
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumファジー検索の種類を定義する列挙型。 ファジー検索の際に使用するモードを選択するために使用します。 -
Constructor Summary
ConstructorsConstructorDescriptionFuzzyRegex(String pattern, FuzzyRegex.FuzzyType fuzzyType, float threshold) コンストラクタ -
Method Summary
Modifier and TypeMethodDescriptionvoidデストラクタマッチングを行います。
-
Constructor Details
-
FuzzyRegex
コンストラクタ- Parameters:
pattern- 正規表現のStringfuzzyType- FuzzyType による検索モードthreshold- NNで使用するしきい値
-
-
Method Details
-
dropFuzzyRegex
public void dropFuzzyRegex()デストラクタ -
match
マッチングを行います。- Parameters:
text- マッチング対象の文字列- Returns:
- マッチング結果
-