Skip to content

tmeskuti/JavaNLP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NLP using the n-gram model

This program uses basic NLP to determine the language of a mystery text file. You are expected to provide as a command-line argument, the path of a folder (similiar to this), that contains subdirectories with files in a specific language. These subdirectories are used to train a model, which then is used to determine the language of the mystery.txt file.

To run the code

cd src
javac Main.java
java Main.java <YOUR_FOLDER_PATH>

About

Basic NLP in Java using n-gram model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages