Class Among
This is the rev 502 of the Snowball SVN trunk, but modified: made abstract and introduced abstract method stem to avoid expensive reflection in filter class. refactored StringBuffers to StringBuilder uses char[] as buffer instead of StringBuffer/StringBuilder eq_s,eq_s_b,insert,replace_s take CharSequence like eq_v and eq_v_b reflection calls (Lovins, etc) use EMPTY_ARGS/EMPTY_PARAMS
Inheritance
System.Object
Among
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Tartarus.Snowball
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class Among
Constructors
| Improve this Doc View SourceAmong(String, Int32, Int32, String, SnowballProgram)
Declaration
public Among(string s, int substring_i, int result, string methodname, SnowballProgram methodobject)
Parameters
Type | Name | Description |
---|---|---|
System.String | s | |
System.Int32 | substring_i | |
System.Int32 | result | |
System.String | methodname | |
SnowballProgram | methodobject |
Properties
| Improve this Doc View SourceLength
search string
Declaration
public int Length { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Method
method to use if substring matches
Declaration
public MethodInfo Method { get; }
Property Value
Type | Description |
---|---|
System.Reflection.MethodInfo |
MethodObject
object to invoke method on
Declaration
public SnowballProgram MethodObject { get; }
Property Value
Type | Description |
---|---|
SnowballProgram |
Result
result of the lookup
Declaration
public int Result { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
S
search string
Declaration
public char[] S { get; }
Property Value
Type | Description |
---|---|
System.Char[] |
SubstringIndex
index to longest matching substring
Declaration
public int SubstringIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 |