Consider the following two strings:
1. for (int i = 0; i < b.size(); i++) {
2. do something in English (not necessary to be a sentence).
Natural Language Processing
Calculate Words Similarity Using Wordnet in Java
This is my note of using WS4J calculate word similarity in Java. Step 1: Download Jars Download the following two jars and add them to your project library path. jawjaw-1.0.2.jar – https://code.google.com/p/jawjaw/downloads/list ws4j-1.0.1.jar – https://code.google.com/p/ws4j/downloads/list Step 2: Play With the Demo Program Code: package NLP; import edu.cmu.lti.lexical_db.ILexicalDatabase; import edu.cmu.lti.lexical_db.NictWordNet; import edu.cmu.lti.ws4j.RelatednessCalculator; import edu.cmu.lti.ws4j.impl.HirstStOnge; import … Read more
Top 8 Tools for Natural Language Processing
English text is used almost everywhere. It would be the best if our system can understand and generate it automatically. However, understanding natural language is a complicated task. It is so complicated that a lot of researchers dedicated their whole life to do it. Nowadays, a lot of tools have been published to do natural … Read more
Java example for using Stanford POSTagger
This short tutorial shows how to use Stanford POSTagger by using a simple Java example. You can directly use it in your project.
Convert verbs to base form by using Wordnet in Java
A verb can occurs in a sentence in various format such as base form, past tense, past participle, 3rd person singular present, etc. To have a general idea of how each word occurs, we often need to get base form of a word. This examples shows how to convert a verb to its base form … Read more
Natural Language Process Tools
Most software/libraries that I want to make are already made by others. Similarly, there is a lot of tools in natural language process area. There are free and maintained and have been used by a number of people. It is worth to take a look and explore some of them. Here I list some tools … Read more