GDEX and GDEX Tools installation
Both GDEX and GDEX Tools are distributed as Python distutils packages that are installed in a standard way:
python setup.py install
Additionally:
- Sketch Engine automatically detects gdex (must be in PYTHONPATH) and unlocks respective functionality, it expects the GDEX working directory to be at /corpora/gdex/.
- GDEX Tools requires a CGI script to be created that calls method run_protected of gdextools.www.Interface.
Prerequisities:
Currently prerequisities are not checked automatically. Except from the fact that gdex_tools requires gdex to run, all prerequisities are optional and if missing, dependent functions will not work, but others will remain unaffected.
- manatee (corpus related classifiers, evaluation of sentences in corpora; see also Compatibility matrix)
- arff (export to arff, Weka classifier)
Adding configurations
The online interface provides a special page for uploading user configurations to Sketche Engine. Local installations need to modify gdexpath variable in run.cgi in section # ConcCGI options.
The value should contain a list of tuples ('configuration_name', 'full_path_to_the_configuration). E.g.:
class BonitoCGI (WSketchCGI, UserCGI, WSEval):
...
# ConcCGI options
gdexpath = [('Shorter', '/corpora/gdex/configurations/shorter')]
...
Alternatively a path to default configuration of a corpus can be set in its registry file using GDEXDEFAULTCONF.
