internal override bool Control(INlpAnalyzeIndex analyze, LineCollection lines, AnalyzeIndex index) { if (index.WordNumber >= lines[index.LineNumber].SentenceList[index.SentenceNumber].WordList.Count - 1) { return(false); } var nextWord = lines[index.LineNumber].SentenceList[index.SentenceNumber].WordList[index.WordNumber + 1]?.SpellWord?.Root?.Text?.ToLower(); if (nextWord == "mahalle") { return(true); } else if (nextWord == "mah") { return(true); } else if (nextWord == "mah.") { return(true); } return(false); }
internal abstract bool Control(INlpAnalyzeIndex analyze, LineCollection lines, AnalyzeIndex index);