You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zero/ZeroLevel/Services/Semantic/Snowball/Among.cs

23 lines
737 B

6 years ago
namespace Iveonik.Stemmers
{
internal class Among
{
public readonly int s_size; /* search string */
public readonly char[] s; /* search string */
public readonly int substring_i; /* index to longest matching substring */
public readonly int result; /* result of the lookup */
6 years ago
public delegate bool boolDel();
6 years ago
public readonly boolDel method; /* method to use if substring matches */
public Among(string s, int substring_i, int result, boolDel linkMethod)
{
this.s_size = s.Length;
this.s = s.ToCharArray();
this.substring_i = substring_i;
this.result = result;
this.method = linkMethod;
}
}
}

Powered by TurnKey Linux.