public sealed override bool IncrementToken() { if (m_input.IncrementToken()) { string text = termAttribute.ToString(); termAttribute.SetEmpty(); termAttribute.Append(CyrillicLatinConverter.cir2lat(text)); return(true); } return(false); }
public override bool IncrementToken() { bool success = false; if (m_input.IncrementToken()) { string text = termAttribute.ToString(); termAttribute.Clear(); termAttribute.Append(CyrillicLatinConverter.Cir2lat(text)); success = true; } return(success); }
public override bool IncrementToken() { ClearAttributes(); if (nextTokenStringNeedingLeaf != null) { termAtt.Append(nextTokenStringNeedingLeaf); termAtt.Append((char)Cell.LEAF_BYTE); nextTokenStringNeedingLeaf = null; return(true); } if (iter.MoveNext()) { Cell cell = iter.Current; string token = cell.TokenString; termAtt.Append(token); if (cell.IsLeaf()) { nextTokenStringNeedingLeaf = token; } return(true); } return(false); }