| Age | Commit message (Collapse) | Author |
|
|
|
Along with the changes to Setup.hs it should now be enough to do
cabal install
pgf-http
open http://localhost:41296/
to run the PGF service locally and play with some example grammars in minibar.
|
|
The document root is now part of the arguments passed to runHTTP.
|
|
Together with the changes to pgf-http, this should make it much easier to run
the PGF service and minibar locally.
|
|
|
|
probabilities for some functions or categories
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxes but not to the whole PGF
|
|
to help minibar pick the right default language
|
|
3.2 release
|
|
|
|
|
|
slower for grammars with a small lexicon but 3-4 times faster for the English Resource Grammar used in combination with Oxford Advanced Learners Dictionary
|
|
|
|
|
|
compliant with IEEE 754.
The default binary representation in haskell's Data.Binary package is
homemade and quite complicated. Making it compliant with IEEE 754 will
make it easyer for the java runtimes (and probably others) to load the
PGF.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
functions (to be fixed in ToAPI)
|
|
|
|
|
|
|
|
|
|
This provides easier access to minibar internals for people who want to extend
it, but probably also reveals too much of the internal machinery...
|
|
|
|
|
|
|
|
Instead of just giving an explicit list of languages to compile, you can
now also add and remove languages from the default list by using langs=+...
or langs=-...
Examples:
cabal build langs=Eng,Swe,Ger -- as before, compile the given 3 langs
cabal build langs=-Fin -- use default languages, but omit Fin
cabal build langs=+Urd -- use default languages + Urd
("cabal build ..." is the same as "runhaskell Setup.hs build ...")
|
|
|
|
|
|
;-separated words
|
|
|
|
|