CoryKrol / BigramLanguageModel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bi-Gram Language Model

Assignment for UTD course CS 6320 Natural Language Processing

How to run

Please run using Java 8 or above, the default Java 7 on csgrads1 will not run it

run_program.sh must be in the same folder as bigram-spring-boot.jar

Use the bash script run_program.sh to run. It will only work with an absolute file path, no relative file paths.

<smoothing_enabled> = 1 to enable smoothing, 0 to disable it

 % bash ./run_program.sh <training_file_absolute_path> <smoothing_enabled>

run_program.sh was written to run on csdgrads1, if you are not using csgrads1 you will need to update it with your machine's java location

It is running such an old version of spring-boot and junit5 tests commented out because I did not see other versions of java on csgrads1 initially

About


Languages

Language:Java 99.8%Language:Shell 0.2%