Package org.tartarus.snowball
Class SnowballProgram
java.lang.Object
org.tartarus.snowball.SnowballProgram
- Direct Known Subclasses:
SnowballStemmer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected StringBufferprotected intprotected intprotected intprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringBufferprotected StringBuilderprotected voidcopy_from(SnowballProgram other) protected booleanprotected booleanprotected booleaneq_v(CharSequence s) protected booleanprotected intfind_among(Among[] v, int v_size) protected intfind_among_b(Among[] v, int v_size) Get the current string.protected booleanin_grouping(char[] s, int min, int max) protected booleanin_grouping_b(char[] s, int min, int max) protected booleanin_range(int min, int max) protected booleanin_range_b(int min, int max) 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 booleanout_range(int min, int max) protected booleanout_range_b(int min, int max) protected intvoidsetCurrent(String value) Set the current string.protected voidprotected voidprotected voidprotected voidslice_from(String s) protected StringBufferprotected StringBuilder
-
Field Details
-
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()
-
-
Method Details
-
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) -
in_range
protected boolean in_range(int min, int max) -
in_range_b
protected boolean in_range_b(int min, int max) -
out_range
protected boolean out_range(int min, int max) -
out_range_b
protected boolean out_range_b(int min, int max) -
eq_s
-
eq_s_b
-
eq_v
-
eq_v_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
-
slice_to
-
assign_to
-
assign_to
-