StemmerBase Class |
Namespace: Accord.MachineLearning.Text.Stemmers
The StemmerBase type exposes the following members.
Name | Description | |
---|---|---|
StemmerBase |
Initializes a new instance of the StemmerBase class.
|
Name | Description | |
---|---|---|
Buffer |
Gets the current processing buffer.
| |
Current |
Gets or sets the current word to be stemmed
or the stemmed word, if the stemmer has been
proccessed.
|
Name | Description | |
---|---|---|
assign_to |
Replaces the contents of the bracket with the string s.
| |
eq_s |
Determines if the current buffer contains the
string s, starting from the current position and
going forward.
| |
eq_s_b(String) |
Determines if the current buffer contains the
string s, starting from the current position and
going backwards.
| |
eq_s_b(StringBuilder) |
Determines if the current buffer contains the
string s, starting from the current position and
going backwards.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
find_among |
Searches if the current buffer matches against one of the
amongs, starting from the current cursor position and going
forward.
| |
find_among_b |
Searches if the current buffer matches against one of the
amongs, starting from the current cursor position and going
backwards.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
in_grouping |
Determines whether the current character is
inside a given group of characters s.
| |
in_grouping_b |
Determines whether the current character is
inside a given group of characters s.
| |
insert(Int32, Int32, String) |
Replaces the contents of the bracket with the string s.
| |
insert(Int32, Int32, StringBuilder) |
Replaces the contents of the bracket with the string s.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
out_grouping |
Determines whether the current character is
outside a given group of characters s.
| |
out_grouping_b |
Determines whether the current character is
outside a given group of characters s.
| |
Process |
Calls the stemmer to process the next word.
| |
Replace |
Replaces a specific region of the buffer with another text.
| |
replace_s |
Replaces the characters between c_bra
and c_ket by the characters in s.
| |
slice_check |
Checks if a slicing can be done.
| |
slice_del |
Removes the current bracket contents.
| |
slice_from |
Replaces the contents of the bracket with the string s.
| |
slice_to |
Replaces the contents of the bracket with the string s.
| |
Stem |
Stems the buffer's contents.
| |
Stem(String) |
Stems a given word.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
bra |
Starting bracket position.
| |
current |
Gets the current string.
| |
cursor |
Current cursor position.
| |
ket |
Ending bracked position.
| |
limit |
Forward limit for inspecting the buffer.
| |
limit_backward |
Backward limit for inspecting the buffer.
|
Name | Description | |
---|---|---|
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
To(Type) | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) | |
ToT | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) |