private int GetTokenSuffix(int pos, int last_word_index, SolarixGrammarEngineNET.SyntaxTreeNode token)
{
if (pos == 0)
{
int tt = MatchSuffix("~~BEGIN~~");
return(tt);
}
else if (pos == last_word_index)
{
int tt = MatchSuffix("~~END~~");
return(tt);
}
else
{
string word = token.GetWord().ToLower();
string suffix = GetSuffix(word);
int tt = MatchSuffix(suffix);
return(tt);
}
}