Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -10,16 +10,19 @@ $ pip3 install git+https://github.com/OntoGene/OGER.git | ... | @@ -10,16 +10,19 @@ $ pip3 install git+https://github.com/OntoGene/OGER.git |
10 | ``` | 10 | ``` |
11 | ## Run | 11 | ## Run |
12 | 1. Set CLASSPATH | 12 | 1. Set CLASSPATH |
13 | + | ||
13 | ```shell | 14 | ```shell |
14 | $ export CLASSPATH=/path/STANFORD_CORENLP/stanford-corenlp-full-2017-06-09/* | 15 | $ export CLASSPATH=/path/STANFORD_CORENLP/stanford-corenlp-full-2017-06-09/* |
15 | ``` | 16 | ``` |
16 | 2. Create new dir in source | 17 | 2. Create new dir in source |
18 | + | ||
17 | ```shell | 19 | ```shell |
18 | $ cd source | 20 | $ cd source |
19 | $ mkdir newdir | 21 | $ mkdir newdir |
20 | ``` | 22 | ``` |
21 | 3. Save your text file with sentences in newdir | 23 | 3. Save your text file with sentences in newdir |
22 | 4. Run python script with Python 3.x | 24 | 4. Run python script with Python 3.x |
25 | + | ||
23 | ```shell | 26 | ```shell |
24 | $ cd bind | 27 | $ cd bind |
25 | $ python specie_annotation.py --file ../source/newdir/sentences.txt | 28 | $ python specie_annotation.py --file ../source/newdir/sentences.txt | ... | ... |
-
Please register or login to post a comment