Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

  1. A server with Treex and Czsem-Treex-Resouces has to be ready.
    1. Some server port has to be open / reachable from the desktop
    2. Czsem-Treex-Resouces can be obtained:
      1. using czsem installer or install zip archive (see install instructions) or
      2. directly from czsem GIT repository, dir: src/czsem/resources/Treex (see it no the web)
    3. Additional Perl modules may need to be installed for treex-gate-plugin using "resources/Treex/install.cmd" .
    4. Some server port has to be free, open and reachable from the desktop
  2. GATE and Czsem with treex-gate-plugin has to be installed on your desktop.
    1. For Treex Remote Analyser, it is not necessary to install additional items: "Select Treex location" and "Additional Perl modules" on the desktop.
  3. Start Treex Server
    1. using resources/Treex/run_treex_server.sh <port>
    2. or just:
      cd resources/Treex
      perl treex_online.pl <port>
      ... see the details inside the run_treex_server.sh script
    3. 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


  4. Connect form GATE desktop
    1. Run GATE
    2. Load treex-gate-plugin (in CREOLE plugin manager)
    3. Create new Processing Resource "czsem Treex Remote Analyser"
    4. Set treexServerUrl to the most suitable value printed by treex server (point 3c)
    5. Configure as described below...

...