Write a rexp for the lexemes of each token. Number = digit Keyword = if' else' ... R, matching all lexemes for all tokens (and a pattern for everything else. ...
... based on the ontological distance between them within a semantic knowledge base. ... Uses knowledge base distance measures to determine semantic similarity. ...