1st may / 20 july - Guilherme RAZET, LORIA, Nancy
-
Clone the repository ( link);
-
Open a terminal in CoreNLP-Semafor-Pipeline;
-
Run this command :
./bin/install.sh [language]withlanguage = [a=arabic] [c=chinese] [e=english] [f=french] [g=german] [s=spanish]; -
Check environnements variables in
bin/config.sh;
The automatic report generation will work only if you have a LaTeX compiler (as TexLive) on your computer.
The pipeline is ready !
-
Place your document in the folder
data(this document must be a plain text file); -
Open a terminal in CoreNLP-Semafor-Pipeline;
-
Run this command :
./bin/runSemafor.sh [input] [output] [number of threads] [language], with :-
[input]= name of your document (exemple :test.txt); -
[output]= path and name of your output (exemple :data/test.out.xml). CAUTION : this document must be in.xmland it must not exist; -
[number of threads]= number of threads used in the process, usually at least 2; -
[language]= language of the document, with[a=arabic] [c=chinese] [e=english] [f=french] [g=german] [s=spanish]. CAUTION : the language package must be download before the process, usually during the install.
-
This process need 2MiB of free RAM, else it will not work.
Documentation of Stanford Core NLP : click here.
Documentation of Semafor : click here.
Documentation of PyLateX : click here.