如果你想估计一下,用二十个英文单词,可以组成多少个符合语法的句子,答案会是,“很多”。
So, if you want to estimate how many grammatical sentences under twenty words in English, the answer is, "a lot."
PorterStemmer 类是一个用于从英文单词中 获得符合语法的(前缀)词干的极其便利的工具。
The class nltk.stemmer.porter.PorterStemmer is a wonderfully handy tool to derive grammatical (prefix) stems from English words.
母语使用者可以分辨符合语法规则和不符合语法规则的句子,即使他们以前从没有听过这些特定的词语组合。
Native speakers can distinguish between grammatical and ungrammatical sentences even when they have never heard particular combinations before.
So, if you want to estimate how many grammatical sentences under twenty words in English, the answer is, "A lot."
如果你想估计一下,用二十个英文单词,可以组成多少个符合语法的句子,答案会是,"很多"
But they don't typically give feedback based on the syntax or grammaticality of what they say.
但他们通常不会根据儿童所说话语的语法,或者是否符合语法,来给予反馈
应用推荐