GiellaLT provides an infrastructure for rule-based language technology aimed at minority and indigenous languages, and streamlines building anything from keyboards to speech technology.
Meeting on NDS documentation 20.9.16
Ciprian, Ryan, Trond
Issues
Cases in point, examples:
Scenarios:
Debugging
The FAB documentation:
Functions:
We actually need two top-down
The docker was there because Ryan needed it for experimenting on another place than the production environment. It is not needed for production.
TODO: Put explanation in the readme file .
Flask is the django of NDS. The xml database = the dictionary. Oahpa uses a relational database, but flask uses xml for the dictionary.
It was not clear what was required and what was not.
We need a separate documentation for NDS without morphology (Trond note: Even half an hour work will give a useful fst).
Feature: Export to paper-readable format
What it does is great, how it is done is hmm not. needs documentation
Adding new lexicon attributes to the xml template:
[/dicts/nds/NDSLinguisticSettings.html]
[/dicts/nds/NDSDeveloping.html]
Using virtualenv for building a development session
“you may start work on NDS”
means:
Now we set up an environment so that you may run python here, and run NDS here.
(env) tf-hsl-m0016:neahtta ttr000$ fab itwewina runserver
[localhost] Executing task 'itwewina'
Warning: Unable to load SSH config file '/Users/ttr000/.ssh/config'
[localhost] Executing task 'runserver'
Warning: Unable to load SSH config file '/Users/ttr000/.ssh/config'
** Production config not found, using development (*.in)
** Go.
[localhost] local: NDS_CONFIG=configs/itwewina.config.yaml.in python neahtta.py dev
* Missing dependency in $PATH: uglifyjs
Install the executable, check that it is available in $PATH,
and check that it's executable.
Done.
(env) tf-hsl-m0016:neahtta ttr000$ pwd
/Users/ttr000/main/apps/dicts/nds/src/neahtta
(env) tf-hsl-m0016:neahtta ttr000$
``` izh: mees
Traceback (most recent call last): File “/Users/pyry/gtsvn/apps/dicts/nds/src/env/lib/python2.7/site-packages/flask/app.py”, line 1836, in call return self.wsgi_app(environ, start_response) File “/Users/pyry/gtsvn/apps/dicts/nds/src/env/lib/python2.7/site-packages/flask/app.py”, line 1820, in wsgi_app response = self.make_response(self.handle_exception(e)) File “/Users/pyry/gtsvn/apps/dicts/nds/src/env/lib/python2.7/site-packages/flask/app.py”, line 1403, in handle_exception reraise(exc_type, exc_value, tb) File “/Users/pyry/gtsvn/apps/dicts/nds/src/env/lib/python2.7/site-packages/flask/app.py”, line 1817, in wsgi_app response = self.full_dispatch_request() File “/Users/pyry/gtsvn/apps/dicts/nds/src/env/lib/python2.7/site-packages/flask/app.py”, line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File “/Users/pyry/gtsvn/apps/dicts/nds/src/env/lib/python2.7/site-packages/flask/app.py”, line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File “/Users/pyry/gtsvn/apps/dicts/nds/src/env/lib/python2.7/site-packages/flask/app.py”, line 1475, in full_dispatch_request rv = self.dispatch_request() File “/Users/pyry/gtsvn/apps/dicts/nds/src/env/lib/python2.7/site-packages/flask/app.py”, line 1461, in dispatch_request return self.view_functionsrule.endpoint File “/Users/pyry/gtsvn/apps/dicts/nds/src/env/lib/python2.7/site-packages/flask/views.py”, line 84, in view return self.dispatch_request(*args, kwargs) File “/Users/pyry/gtsvn/apps/dicts/nds/src/env/lib/python2.7/site-packages/flask/views.py”, line 149, in dispatch_request return meth(*args, **kwargs) File “/Users/pyry/gtsvn/apps/dicts/nds/src/neahtta/views/search.py”, line 854, in post search_result_context = self.search_to_context(user_input, **self.get_shared_context(_from, _to)) File “/Users/pyry/gtsvn/apps/dicts/nds/src/neahtta/views/search.py”, line 704, in search_to_context current_app.lexicon_templates.render_template(g._from, template, **tplkwargs) File “/Users/pyry/gtsvn/apps/dicts/nds/src/neahtta/entry_templates.py”, line 287, in render_template ‘message’: e.class(msg), TypeError: **init() takes exactly 4 arguments (2 given)
```
file://
vs. http://
& https://
issues