如何写 For 1 data type, integer, and only identifiers are single letter (i.e. there are only 26 possible identifiers).
不区分大小写,每个词位之间有空格(空白字符、制表符和行尾字符)。 see this
最佳答案
有一个很棒的 NLP 引擎叫做 OpenNLP用 Java 编写。
看看那里的代码,你会学到很多东西。
关于java - 如何编写java解释器/词法分析器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9494248/