Class persianStemmer
java.lang.Object
org.tartarus.snowball.SnowballProgram
org.tartarus.snowball.SnowballStemmer
org.tartarus.snowball.ext.persianStemmer
This class implements the stemming algorithm defined by a snowball script.
Generated from persian.sbl by Snowball 3.1.1 - https://snowballstem.org/
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Among[]private static final Among[]private static final Among[]private static final Among[]private static final Among[]private static final Among[]private static final Among[]private static final Among[]private booleanprivate booleanprivate intFields inherited from class SnowballProgram
bra, current, cursor, ket, length, limit, limit_backward -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SnowballProgram
copy_from, eq_s, eq_s_b, find_among, find_among_b, getCurrent, getCurrentBuffer, getCurrentBufferLength, go_in_grouping, go_in_grouping_b, go_out_grouping, go_out_grouping_b, in_grouping, in_grouping_b, insert, out_grouping, out_grouping_b, replace_s, setCurrent, setCurrent, slice_check, slice_del, slice_from
-
Field Details
-
a_0
-
a_1
-
a_2
-
a_3
-
a_4
-
a_5
-
a_6
-
a_7
-
I_p1
private int I_p1 -
B_remove_verb_person_endings
private boolean B_remove_verb_person_endings -
B_saw_present_prefix
private boolean B_saw_present_prefix
-
-
Constructor Details
-
persianStemmer
public persianStemmer()
-
-
Method Details
-
r_Normalize_Characters
private boolean r_Normalize_Characters() -
r_Prefixes
private boolean r_Prefixes() -
r_Delete_ZWNJ
private boolean r_Delete_ZWNJ() -
r_R1
private boolean r_R1() -
r_Protect_Lexical_AN
private boolean r_Protect_Lexical_AN() -
r_AN_Exception
private boolean r_AN_Exception() -
r_Irregular_Noun
private boolean r_Irregular_Noun() -
r_Stem_Noun_or_Adjective
private boolean r_Stem_Noun_or_Adjective() -
r_Stem_Verb
private boolean r_Stem_Verb() -
stem
public boolean stem()- Specified by:
stemin classSnowballStemmer
-
equals
-
hashCode
-