File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,10 @@ An `xml` file will be created per passage (separate by blank lines in the text f
46
46
47
47
To download and extract models pre-trained on the Wiki corpus, run:
48
48
49
- curl --remote-name-all http://www.cs.huji.ac.il/~danielh/ucca/{sparse,mlp,bilstm}.tar.gz
50
- tar xvzf sparse.tar.gz
51
- tar xvzf mlp.tar.gz
52
- tar xvzf bilstm.tar.gz
49
+ curl --remote-name-all http://www.cs.huji.ac.il/~danielh/ucca/{sparse,mlp,bilstm}-1.2 .tar.gz
50
+ tar xvzf sparse-1.2 .tar.gz
51
+ tar xvzf mlp-1.2 .tar.gz
52
+ tar xvzf bilstm-1.2 .tar.gz
53
53
54
54
Run the parser using any of them:
55
55
@@ -61,13 +61,13 @@ Run the parser using any of them:
61
61
62
62
To get a French model pre-trained on [ the * 20K Leages* corpus] ( https://github.com/huji-nlp/ucca-corpus/tree/master/vmlslm/fr ) , run:
63
63
64
- curl -O http://www.cs.huji.ac.il/~danielh/ucca/sparse_fr .tar.gz
65
- tar xvzf sparse_fr .tar.gz
64
+ curl -O http://www.cs.huji.ac.il/~danielh/ucca/sparse-1.2-fr .tar.gz
65
+ tar xvzf sparse-1.2-fr .tar.gz
66
66
67
67
Run the parser on a French text file, using the French spaCy models too:
68
68
69
69
export SPACY_MODEL=fr_depvec_web_lg
70
- python -m tupa.parse exemple.txt -c sparse -m models/sparse_fr
70
+ python -m tupa.parse exemple.txt -c sparse -m models/sparse-fr
71
71
72
72
Author
73
73
------
You can’t perform that action at this time.
0 commit comments