C# Class SF.Snowball.SnowballProgram

This is the rev 500 of the snowball SVN trunk, but modified: made abstract and introduced abstract method stem to avoid expensive reflection in filter class
Show file Open project: synhershko/lucene.net Class Usage Examples

Protected Properties

Property Type Description
bra int
current System.Text.StringBuilder
cursor int
ket int
limit int
limit_backward int

Public Methods

Method Description
GetCurrent ( ) : System.String

Get the current string.

SetCurrent ( System value ) : void

Set the current string.

Stem ( ) : bool

Protected Methods

Method Description
SnowballProgram ( ) : System
assign_to ( System s ) : StringBuilder
copy_from ( SnowballProgram other ) : void
eq_s ( int s_size, System s ) : bool
eq_s_b ( int s_size, System s ) : bool
eq_v ( System s ) : bool
eq_v_b ( System s ) : bool
find_among ( Among v, int v_size ) : int
find_among_b ( Among v, int v_size ) : int
in_grouping ( char s, int min, int max ) : bool
in_grouping_b ( char s, int min, int max ) : bool
in_range ( int min, int max ) : bool
in_range_b ( int min, int max ) : bool
insert ( int c_bra, int c_ket, System s ) : void
out_grouping ( char s, int min, int max ) : bool
out_grouping_b ( char s, int min, int max ) : bool
out_range ( int min, int max ) : bool
out_range_b ( int min, int max ) : bool
replace_s ( int c_bra, int c_ket, System s ) : int
slice_check ( ) : void
slice_del ( ) : void
slice_from ( System s ) : void
slice_to ( System s ) : StringBuilder

Method Details

GetCurrent() public method

Get the current string.
public GetCurrent ( ) : System.String
return System.String

SetCurrent() public method

Set the current string.
public SetCurrent ( System value ) : void
value System
return void

SnowballProgram() protected method

protected SnowballProgram ( ) : System
return System

Stem() public abstract method

public abstract Stem ( ) : bool
return bool

assign_to() protected method

protected assign_to ( System s ) : StringBuilder
s System
return System.Text.StringBuilder

copy_from() protected method

protected copy_from ( SnowballProgram other ) : void
other SnowballProgram
return void

eq_s() protected method

protected eq_s ( int s_size, System s ) : bool
s_size int
s System
return bool

eq_s_b() protected method

protected eq_s_b ( int s_size, System s ) : bool
s_size int
s System
return bool

eq_v() protected method

protected eq_v ( System s ) : bool
s System
return bool

eq_v_b() protected method

protected eq_v_b ( System s ) : bool
s System
return bool

find_among() protected method

protected find_among ( Among v, int v_size ) : int
v Among
v_size int
return int

find_among_b() protected method

protected find_among_b ( Among v, int v_size ) : int
v Among
v_size int
return int

in_grouping() protected method

protected in_grouping ( char s, int min, int max ) : bool
s char
min int
max int
return bool

in_grouping_b() protected method

protected in_grouping_b ( char s, int min, int max ) : bool
s char
min int
max int
return bool

in_range() protected method

protected in_range ( int min, int max ) : bool
min int
max int
return bool

in_range_b() protected method

protected in_range_b ( int min, int max ) : bool
min int
max int
return bool

insert() protected method

protected insert ( int c_bra, int c_ket, System s ) : void
c_bra int
c_ket int
s System
return void

out_grouping() protected method

protected out_grouping ( char s, int min, int max ) : bool
s char
min int
max int
return bool

out_grouping_b() protected method

protected out_grouping_b ( char s, int min, int max ) : bool
s char
min int
max int
return bool

out_range() protected method

protected out_range ( int min, int max ) : bool
min int
max int
return bool

out_range_b() protected method

protected out_range_b ( int min, int max ) : bool
min int
max int
return bool

replace_s() protected method

protected replace_s ( int c_bra, int c_ket, System s ) : int
c_bra int
c_ket int
s System
return int

slice_check() protected method

protected slice_check ( ) : void
return void

slice_del() protected method

protected slice_del ( ) : void
return void

slice_from() protected method

protected slice_from ( System s ) : void
s System
return void

slice_to() protected method

protected slice_to ( System s ) : StringBuilder
s System
return System.Text.StringBuilder

Property Details

bra protected property

protected int bra
return int

current protected property

protected StringBuilder,System.Text current
return System.Text.StringBuilder

cursor protected property

protected int cursor
return int

ket protected property

protected int ket
return int

limit protected property

protected int limit
return int

limit_backward protected property

protected int limit_backward
return int