Exemplo n.º 1
0
 public int GetIndexPositionOfFirstBKPAfterClauser(
     int clauserPosition)
 {
     return(Texts
            .GetRange(
                clauserPosition, Sentence.TextCount - clauserPosition)
            .FindIndex(
                text => (text.pe_tag == UnitTypes.BKP_BreakerPunctuation ||
                         text.pe_tag_revised == UnitTypes.BKP_BreakerPunctuation) &&
                text.pe_text == " , ") + clauserPosition);
 }