-
Notifications
You must be signed in to change notification settings - Fork 74
Hello World! code and additional examples
With EOP we provide some examples that you can try to become more confident with EOP. With them you will see how to pre-process a data set, how to train a new model and how to annotate a data set. The examples are distributed as a Maven project that you have to import in Eclipse before running them.
-
Download the zip file containing the Maven project:
Maven project with examples -
Copy it into you working directory (e.g. your home directory)
> cp /home/user_name/Downloads/myProject-EOPv{_version_}.tar.gz ~
- Unzip the file
> tar -xvzf myProject-EOPv{_version_}.tar.gz
- Import the Maven project into Eclipse
Maven projects can be imported using File → Import → Maven → Existing Maven Projects
- Run one of the examples in the project (e.g. Hello World!)
-
Check the method main in the code and set the value of the reported variable so that they correspond to the path where EOP has been installed.
-
Right click on HelloWorld.java in myProject/src/main/java and the Run As → Java Application