Commit 79f2c4a1 authored by Fize Jacques's avatar Fize Jacques
Browse files

Update README.md

parent 9fa448b7
No related merge requests found
Showing with 10 additions and 15 deletions
+10 -15
......@@ -21,23 +21,18 @@ To make it works, clone this repository using :
git clone <repoAdress>
Then compile the project by using this command :
Then install using the following command :
javac -cp .:JarBioTexExterne.jar:commons-io-2.5.jar Principal.java
(sudo) pip3 install .
Then create the necessary jar with this command :
jar cvfm Biotex.jar Manifest.txt Principal.class JarBioTexExterne.jar commons-io-2.5.jar
# Example
# Running
```python
from biotex import BiotexWrapper
wrapper = BiotexWrapper(lang="fr")
corpus= [Load your corpus here]
wrapper.create_corpus_from_txt(corpus)
terminology = wrap.extract_terminology("output.txt")
```
## Python
In Python, either you import the library and import the ’BiotexWrapper’ class or using this command :
python3 BiotexWrapper.py <input> [-d:debug] [-o:specify output filename] [-s:gramSize selected (ALL to get all gramSize)]
## Java
Modify the configuration file 'configuration.txt' and change the value if needed (especially treetagger src). Then use :
java -jar Biotex.jar <input> <outputDir>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment