public static FCgStringSentence CreateOneWordSentence(string word, ECgStringWordRule rule = ECgStringWordRule.MatchCase) { FCgStringSentence sentence = new FCgStringSentence(); FCgStringPhrase phrase = new FCgStringPhrase(); phrase.AddAndToWord(0, word, rule); sentence.AddPhrase(phrase); return(sentence); }
public void AddSentence(FCgStringSentence sentence) { Sentences.Add(sentence); }