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 intprotected StringBuilderprotected intprotected intprotected intprotected int(package private) static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidcopy_from(SnowballProgram other) protected booleaneq_s(CharSequence s) protected booleanprotected intfind_among(Among[] v) protected intfind_among_b(Among[] v) Get the current string.protected booleanin_grouping(char[] s, int min, int max) protected booleanin_grouping_b(char[] s, int min, int max) private voidinit()protected voidinsert(int c_bra, int c_ket, CharSequence s) protected voidprotected booleanout_grouping(char[] s, int min, int max) protected booleanout_grouping_b(char[] s, int min, int max) protected intvoidsetCurrent(String value) Set the current string.protected voidprotected voidprotected voidprotected voidslice_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
-