Package org.tartarus.snowball.ext
Class PorterStemmer
java.lang.Object
org.tartarus.snowball.SnowballProgram
org.tartarus.snowball.SnowballStemmer
org.tartarus.snowball.ext.PorterStemmer
- All Implemented Interfaces:
Serializable
This class implements the stemming algorithm defined by a snowball script.
Generated by Snowball 2.0.0 - https://snowballstem.org/
- See Also:
-
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 boolean
private static final char[]
private static final char[]
private int
private int
private static final MethodHandles.Lookup
private static final long
Fields inherited from class org.tartarus.snowball.SnowballProgram
bra, cursor, ket, limit, limit_backward
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
private boolean
r_R1()
private boolean
r_R2()
private boolean
r_shortv()
private boolean
private boolean
private boolean
private boolean
r_Step_2()
private boolean
r_Step_3()
private boolean
r_Step_4()
private boolean
private boolean
boolean
stem()
Methods inherited from class org.tartarus.snowball.SnowballProgram
assign_to, copy_from, eq_s, eq_s_b, find_among, find_among_b, getCurrent, getCurrentBuffer, getCurrentBufferLength, in_grouping, in_grouping_b, insert, out_grouping, out_grouping_b, replace_s, setCurrent, setCurrent, slice_check, slice_del, slice_from, slice_to
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
methodObject
-
a_0
-
a_1
-
a_2
-
a_3
-
a_4
-
a_5
-
g_v
private static final char[] g_v -
g_v_WXY
private static final char[] g_v_WXY -
B_Y_found
private boolean B_Y_found -
I_p2
private int I_p2 -
I_p1
private int I_p1
-
-
Constructor Details
-
PorterStemmer
public PorterStemmer()
-
-
Method Details
-
r_shortv
private boolean r_shortv() -
r_R1
private boolean r_R1() -
r_R2
private boolean r_R2() -
r_Step_1a
private boolean r_Step_1a() -
r_Step_1b
private boolean r_Step_1b() -
r_Step_1c
private boolean r_Step_1c() -
r_Step_2
private boolean r_Step_2() -
r_Step_3
private boolean r_Step_3() -
r_Step_4
private boolean r_Step_4() -
r_Step_5a
private boolean r_Step_5a() -
r_Step_5b
private boolean r_Step_5b() -
stem
public boolean stem()- Specified by:
stem
in classSnowballStemmer
-
equals
-
hashCode
public int hashCode()
-