/
Treex GATE Plugin
Treex GATE Plugin
Treex Local Analyser
Works the same as remote. Desktop = Server. The client part starts the server part on startup.
Treex Remote Analyser
Make it Run
- A server with Treex and Czsem-Treex-Resouces has to be ready.
- Czsem-Treex-Resouces can be obtained:
- using czsem installer or install zip archive (see install instructions) or
- directly from czsem GIT repository, dir:
src/czsem/resources/Treex
(see it no the web)
- Additional Perl modules may need to be installed for treex-gate-plugin using "
resources/Treex/install.cmd
" . - Some server port has to be free, open and reachable from the desktop
- Czsem-Treex-Resouces can be obtained:
- GATE and Czsem with treex-gate-plugin has to be installed on your desktop.
- For Treex Remote Analyser, it is not necessary to install additional items: "Select Treex location" and "Additional Perl modules" on the desktop.
- Start Treex Server
- using
resources/Treex/run_treex_server.sh <port>
- or just:
cd resources/Treex
perl treex_online.pl
<port>
... see the details inside therun_treex_server.sh
script - It should type several URLs - how the server can be reached, e.g.:
http://localhost:9090
http://treex-server:9090
http://123.123.123.123:9090
- using
- Connect form GATE desktop
- Run GATE
- Load treex-gate-plugin (in CREOLE plugin manager)
- Create new Processing Resource "czsem Treex Remote Analyser"
- Set treexServerUrl to the most suitable value printed by treex server (point 3c)
- Configure as described below...
Configuration
Parameters
- scenarioSetup
List of either Treex block names or scenario files. Paths are relative from Treex server working directory.
Examples
Czech full analysis:
W2A::CS::Segment
devel/analysis/cs/s_w2t.scen
Czech analytical analysis:
W2A::CS::Segment
W2A::CS::Tokenize
devel/cs2cs/scenarios/cs_analysis_w2a.scen
Czech morphology:
W2A::CS::Segment
W2A::CS::Tokenize
W2A::CS::TagFeaturama lemmatize=1
W2A::CS::FixMorphoErrors
, multiple selections available,