standford专题

standford nlp 教程

github https://github.com/stanfordnlp/CoreNLP 官网:http://stanfordnlp.github.io/CoreNLP/simple.html 功能:   SummaryAnnotator dependenciesTokenizationSentence SplittingLemmatization

Standford NLP Course(2) - Edit Distance

Minimum edit distance How similar are two strings? letter scale / word scale - Insertion - Deletion - Substitution For two strings X of length n Y of length m Define D(i,j) the edit distance

Standford Compiler Course Assignment 2

第二部分的作业是语法分析,通过编写cool.y(这个assignment的任务),利用bison将其自动生成语法分析LALR(1)的代码。 语法分析,就是将词法分析阶段已经识别好的token,按照语法的规则,构建抽象语法树的过程。 比如以下的代码: x = (a + b) * (c - d); 可以构成下图的抽象语法树: =/ \x */ \+ -/ \ / \a b