Click or drag to resize
Accord.NET (logo)

EnglishStemmer Class

This class was automatically generated by a Snowball to C# compiler It implements the stemming algorithm defined by a snowball script.
Inheritance Hierarchy
SystemObject
  Accord.MachineLearning.Text.StemmersStemmerBase
    Accord.MachineLearning.Text.StemmersEnglishStemmer

Namespace:  Accord.MachineLearning.Text.Stemmers
Assembly:  Accord.Text (in Accord.Text.dll) Version: 3.8.0
Syntax
public class EnglishStemmer : StemmerBase
Request Example View Source

The EnglishStemmer type exposes the following members.

Constructors
  NameDescription
Public methodEnglishStemmer
Initializes a new instance of the EnglishStemmer class.
Top
Properties
  NameDescription
Public propertyBuffer
Gets the current processing buffer.
(Inherited from StemmerBase.)
Public propertyCurrent
Gets or sets the current word to be stemmed or the stemmed word, if the stemmer has been proccessed.
(Inherited from StemmerBase.)
Top
Methods
  NameDescription
Protected methodassign_to
Replaces the contents of the bracket with the string s.
(Inherited from StemmerBase.)
Protected methodeq_s
Determines if the current buffer contains the string s, starting from the current position and going forward.
(Inherited from StemmerBase.)
Protected methodeq_s_b(String)
Determines if the current buffer contains the string s, starting from the current position and going backwards.
(Inherited from StemmerBase.)
Protected methodeq_s_b(StringBuilder)
Determines if the current buffer contains the string s, starting from the current position and going backwards.
(Inherited from StemmerBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodfind_among
Searches if the current buffer matches against one of the amongs, starting from the current cursor position and going forward.
(Inherited from StemmerBase.)
Protected methodfind_among_b
Searches if the current buffer matches against one of the amongs, starting from the current cursor position and going backwards.
(Inherited from StemmerBase.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodin_grouping
Determines whether the current character is inside a given group of characters s.
(Inherited from StemmerBase.)
Protected methodin_grouping_b
Determines whether the current character is inside a given group of characters s.
(Inherited from StemmerBase.)
Protected methodinsert(Int32, Int32, String)
Replaces the contents of the bracket with the string s.
(Inherited from StemmerBase.)
Protected methodinsert(Int32, Int32, StringBuilder)
Replaces the contents of the bracket with the string s.
(Inherited from StemmerBase.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodout_grouping
Determines whether the current character is outside a given group of characters s.
(Inherited from StemmerBase.)
Protected methodout_grouping_b
Determines whether the current character is outside a given group of characters s.
(Inherited from StemmerBase.)
Protected methodProcess
Stems the buffer's contents.
(Overrides StemmerBaseProcess.)
Protected methodreplace_s
Replaces the characters between c_bra and c_ket by the characters in s.
(Inherited from StemmerBase.)
Protected methodslice_check
Checks if a slicing can be done.
(Inherited from StemmerBase.)
Protected methodslice_del
Removes the current bracket contents.
(Inherited from StemmerBase.)
Protected methodslice_from
Replaces the contents of the bracket with the string s.
(Inherited from StemmerBase.)
Protected methodslice_to
Replaces the contents of the bracket with the string s.
(Inherited from StemmerBase.)
Public methodStem
Stems the buffer's contents.
(Inherited from StemmerBase.)
Public methodStem(String)
Stems a given word.
(Inherited from StemmerBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldbra
Starting bracket position.
(Inherited from StemmerBase.)
Protected fieldcurrent
Gets the current string.
(Inherited from StemmerBase.)
Protected fieldcursor
Current cursor position.
(Inherited from StemmerBase.)
Protected fieldket
Ending bracked position.
(Inherited from StemmerBase.)
Protected fieldlimit
Forward limit for inspecting the buffer.
(Inherited from StemmerBase.)
Protected fieldlimit_backward
Backward limit for inspecting the buffer.
(Inherited from StemmerBase.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(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.)
Public Extension MethodToTOverloaded.
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.)
Top
See Also