Package org.tartarus.snowball
Class SnowballProgram
java.lang.Object
org.tartarus.snowball.SnowballProgram
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SnowballStemmer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected StringBuilder
protected int
protected int
protected int
protected int
(package private) static final long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
copy_from
(SnowballProgram other) protected boolean
eq_s
(CharSequence s) protected boolean
protected int
find_among
(Among[] v) protected int
find_among_b
(Among[] v) Get the current string.protected boolean
in_grouping
(char[] s, int min, int max) protected boolean
in_grouping_b
(char[] s, int min, int max) private void
init()
protected void
insert
(int c_bra, int c_ket, CharSequence s) protected void
protected boolean
out_grouping
(char[] s, int min, int max) protected boolean
out_grouping_b
(char[] s, int min, int max) protected int
void
setCurrent
(String value) Set the current string.protected void
protected void
protected void
protected void
slice_from
(String s) protected void
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
current
-
cursor
protected int cursor -
limit
protected int limit -
limit_backward
protected int limit_backward -
bra
protected int bra -
ket
protected int ket
-
-
Constructor Details
-
SnowballProgram
protected SnowballProgram() -
SnowballProgram
-
-
Method Details
-
init
private void init() -
setCurrent
Set the current string. -
getCurrent
Get the current string. -
copy_from
-
in_grouping
protected boolean in_grouping(char[] s, int min, int max) -
in_grouping_b
protected boolean in_grouping_b(char[] s, int min, int max) -
out_grouping
protected boolean out_grouping(char[] s, int min, int max) -
out_grouping_b
protected boolean out_grouping_b(char[] s, int min, int max) -
eq_s
-
eq_s_b
-
find_among
-
find_among_b
-
replace_s
-
slice_check
protected void slice_check() -
slice_from
-
slice_from
-
slice_del
protected void slice_del() -
insert
-
insert
-
slice_to
-
assign_to
-