- Open
File > Open Projects from File System
, choose the directory to import the project and press Finish. - Project will be loaded in Eclipse.
- Go to
Window -> Preferences -> Expand General
and clickWorkspace
, text file encoding (near bottom) has an encoding chooser. Select"Other" radio button -> Select UTF-8
from the drop down and ClickApply and OK
button OR simply clickOK
. - Go to
Main.java
class undercom.upb.snowden
package, run the file as Java application. - The output
SNLP2020_test_output.ttl
file will be generated insrc/main/resources
directory after refreshing the project.
- Load the project as a Maven Project in Intellij IDE.
- Build project and Run
main
method inMain.java
. - The output
SNLP2020_test_output.ttl
file will be generated in/resources
directory.
- To enable logs, configure
isLoggingEnabled = true
inmain/java/utils/Logger.java
. - To run training data, uncomment the
processTrainData()
method inMain.java
.