Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
equipes:rcln:cluster_tal:fred [2019/04/03 12:18] rosse [Python interface to Stanford Core NLP tools v3.4.1] |
equipes:rcln:cluster_tal:fred [2020/09/23 14:36] (Version actuelle) |
||
---|---|---|---|
Ligne 492: | Ligne 492: | ||
==== Babelfly ==== | ==== Babelfly ==== | ||
- | I can't find any reference to entity disambiguation with Babelfly in FRED code, so I wont proceed to the installation from the [http:// | + | I can't find any reference to entity disambiguation with Babelfly in FRED code, so I wont proceed to the installation from the [[http:// |
+ | < | ||
$ find . -name " | $ find . -name " | ||
| | ||
Ligne 510: | Ligne 511: | ||
$ find . -name " | $ find . -name " | ||
[ ] | [ ] | ||
+ | </ | ||
===== Configuration ===== | ===== Configuration ===== | ||
First we will go to fred-corenlp directory | First we will go to fred-corenlp directory | ||
+ | < | ||
$ cd / | $ cd / | ||
+ | </ | ||
- | There, we will edit the '' | + | There, we will edit the '' |
- | | + | '' |
- | ...and line 159 with the right '' | + | ...and line 159 with the right //nltk_data// path |
- | NLTK_PATH = '/ | + | < |
Then we go back to FRED root to edit Boxer' | Then we go back to FRED root to edit Boxer' | ||
+ | < | ||
$ cd .. | $ cd .. | ||
$ emacs -nw localboxerclient localboxerserver | $ emacs -nw localboxerclient localboxerserver | ||
+ | </ | ||
- | In both files we set '' | + | In both files we set //candc// root: |
+ | < | ||
| | ||
+ | </ | ||
- | '' | + | //localboxerserver// should look like: |
+ | < | ||
| | ||
| | ||
| | ||
+ | </ | ||
===== Testing ===== | ===== Testing ===== | ||
We first go to FRED root | We first go to FRED root | ||
+ | < | ||
$ cd /opt/FRED | $ cd /opt/FRED | ||
+ | </ | ||
And launch the boxer server | And launch the boxer server | ||
- | $ sh launchboxerserver | + | < |
We get a permission error, so we add execution attribute for both files | We get a permission error, so we add execution attribute for both files | ||
+ | < | ||
$ sudo chmod a+x BoxerServer/ | $ sudo chmod a+x BoxerServer/ | ||
$ sudo chmod a+x BoxerServer/ | $ sudo chmod a+x BoxerServer/ | ||
+ | </ | ||
And we get more errors: | And we get more errors: | ||
+ | < | ||
$ sh launchboxerserver | $ sh launchboxerserver | ||
/ | / | ||
Ligne 553: | Ligne 566: | ||
/ | / | ||
| | ||
+ | </ | ||
- | '' | + | **TODO**: recompile soap clients and server paying attention to parenthesis... |