| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
moment
|
|
|
|
|
|
Fixes #51
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- added added two filtering functions: filterLongest and filterBest
- updated the PGF service to work with the new API
|
|
|
|
Expose the remaining types in the module.
These are helpful for example in type annotations.
|
|
|
|
|
|
|
|
|
|
|
|
conditional probability. This turns out to be more useful for part of speech tagging
|
|
analysis intead of an integer. This is now consistent with lookupMorpho and friends
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
instead of bytes
|
|
|
|
|
|
|
|
|
|
This is a reimplemention of Aarne's GFMorpho service from 2012, using
the GF shell web API. Not all features are implemented (yet).
|
|
The userLangauge is the name of the concrete syntax that has a languageCode
that matches the user's preferred language, as reported by the web browser.
If no matching language code is found, the PGF service now sets userLanguage
to the concrete syntax for English (e.g. FoodsEng) if present, and defaults
to the first concrete syntax (e.g. FoodsAfr) only if English is not present
in the grammar.
|
|
A preferred grammar is selected when a user visits the Minibar for the
first time. (Like before, Minibar remembers the selected grammar for future
visits.)
A preferred list of grammars can be specified in config.js in the .../minibar
directory on the server, e.g. like this:
preferred_grammars=["/grammars/Foods.pgf","/grammars/ResourceDemo.pgf"]
The first available grammar from the list is used.
|
|
|