Commit Graph

8884 Commits

Author SHA1 Message Date
aarne a28fd18ee2 added ca. 200 new Dictionary fun's from BNC top-6000 list. Seems to be much better quality than Google 1-grams. 2014-03-30 09:25:29 +00:00
aarne 649924352a checked the top-1000 words of Google 1-grams in DictionarySwe, splitting senses of 70 words and adding the split senses to abstract Dictionary and DictionaryEng 2014-03-29 20:15:41 +00:00
aarne b5f4e308a3 around 1000 new abstract functions in Dictionary and DictionaryEng extracted from the top-10000 Google unigrams. Forthcoming in Swe and other languages soon. 2014-03-29 17:39:46 +00:00
aarne 0869181af9 paradigm for us_britishV variants 2014-03-29 17:38:48 +00:00
aarne 19881e6768 corrected the inflections of the verbs söka and behöva in DictionarySwe 2014-03-29 13:44:51 +00:00
inari cd5631058e Fixes in Swe dictionary + add first_Adv to all dictionaries 2014-03-29 13:33:36 +00:00
inari 1b08baaf28 fixes in DictionarySwe 2014-03-28 21:10:14 +00:00
inari e82e1a36a7 Couple of fixes in DictionarySwe 2014-03-28 18:40:40 +00:00
hallgren 75011c8efa Wide coverage demo web app improvements
+ Adapt language selection menus to the languages supported by the grammar.
+ Add translation quality colors to the links to alternative translations.
+ Also added more country codes in langcode.js (needed for speech synthesis
  voice selection).
2014-03-28 14:56:56 +00:00
kr.angelov 12448ef4f0 a couple of words checked in DictionaryBuk 2014-03-28 14:18:43 +00:00
kr.angelov dbad21daba fixes in the dictionaries 2014-03-28 14:09:09 +00:00
inari 5b730e090f Add constructions with motion verbs and direction adverbs for Eng,Fin,Fre,Ger,Swe in Construction 2014-03-28 12:34:07 +00:00
aarne b3b1d0dff3 added the phrase "what time is it" in ten languages. For simplicity, this is a Greeting and not a Question, which means that it has a variant appearing with ! rather than ? , similar to "how are you". Correcting this would require analysing the structure of the phrase so that it can be constructed in QS. 2014-03-28 08:02:14 +00:00
aarne ff113da8ae corrected the default of Ita mkV "...ere" to temere_20, which is considered the regular 2nd conjugation 2014-03-28 07:28:54 +00:00
hallgren d46bdda103 Wide coverage demo web app: translation quality feedback with colors
The background color of the translation changes to pale green, yellow or red
according to the quality.

Two types of quality indications are supported:

+ From the grammar: linearizations starting with "+" or "*" are assumed to
  be of high or low quality, respectively.
+ From the parse tree: if the root function is "?", then the translation is
  assumed to be of low quality.

If no quality indications are detected, medium quality is assumed.
2014-03-27 15:11:02 +00:00
hallgren 94bf87add9 support.js & gftranslate.js: improved handling of server errors
In support.js, the functions http_get_json, ajax_http_get_json
and ajax_http_post_json now calls the supplied error callback if the server
returns invalid JSON (e.g. because of a crash).

The function gftranslate.translate in gftranslate.js returns
a JSON value containing an error message (since it doesn't have an error
callback).

This should result in fewer situations where "nothing happens" and the user
doesn't know if it is beacuse the server is slow, or if there was an error.
2014-03-27 15:02:27 +00:00
inari 4f4905b353 Add containers to Construction*.gf + missing saturday_Weekday in the abstract 2014-03-26 16:06:30 +00:00
inari ccfd229fe6 Add need_V* to DictionaryFre (nécessiter, TODO add multi-word verb constructor for mkV for "avoir besoin de") 2014-03-26 14:34:45 +00:00
aarne 8b9431b60b ExtensionsSpa added 2014-03-25 16:30:41 +00:00
kr.angelov 709f5dfcd8 small fixes in the C runtime 2014-03-25 13:57:57 +00:00
kr.angelov 762a6a8845 fixes in the Bulgarian dictionary 2014-03-22 08:00:43 +00:00
kr.angelov 5f3b35a5f9 refactor the compilation of CFG and EBNF grammars. Now they are parsed by using GF.Grammar.Parser just like the ordinary GF grammars. Furthermore now GF.Speech.CFG is moved to GF.Grammar.CFG. The new module is used by both the speech conversion utils and by the compiler for CFG grammars. The parser for CFG now consumes a lot less memory and can be used with grammars with more than 4 000 000 productions. 2014-03-21 21:25:05 +00:00
kr.angelov 8695d8724d fixes in the Bulgarian dictionary 2014-03-21 10:52:40 +00:00
kr.angelov b33c163068 added hasLinearization method in the Python binding 2014-03-20 14:48:47 +00:00
kr.angelov 132612365a fix in the Python binding which was forgoten after a change in the C runtime 2014-03-20 14:48:02 +00:00
aarne 49f0ca5659 any determineds in DictionarySwe 2014-03-20 08:09:28 +00:00
aarne 6ca0417596 corrected use of possess_Prep in Chi to avoid double "de" 2014-03-20 06:56:44 +00:00
aarne 1329ed7758 corrected Irreg verbs in DictionaryIta: over 700 occurrences 2014-03-19 21:54:35 +00:00
aarne 9231b49b8e added IrregIta with over 600 verbs 2014-03-19 21:22:05 +00:00
hallgren 6cc8557e6b gf -server: add a command to manually flush the PGF cache
This can be used if the cloud service seems slow, but it would probably
be better to automatically expire unused PGFs from the cache after some time.
2014-03-19 16:15:05 +00:00
aarne fd8cf9af58 a darker red in translation app: dictionary lookup for each word, identity if lookup fails 2014-03-18 13:22:13 +00:00
aarne 22e3eb2223 Hin and Ger added to android app again 2014-03-18 10:21:53 +00:00
aarne e45306b2d0 added tenses to RGLBaseHin 2014-03-18 10:21:29 +00:00
kr.angelov bc81d163fb whitespace cleanup in the parser 2014-03-18 10:19:35 +00:00
aarne e0caa63046 RGLBaseHin added ; DocumentationHin in LangHin so that it gets compiled in RGL 2014-03-18 09:16:38 +00:00
aarne 8a9bd1b4a9 DictionarySwe: compound form of vice_N 2014-03-17 18:16:41 +00:00
aarne 5bf298386b worked around a problem of evaluating BIND in pre in DiffFre.relPron 2014-03-17 18:09:23 +00:00
aarne 6d8aff65c8 show the value in the error message when failing to get Str from value 2014-03-17 18:02:07 +00:00
aarne b7f1975be2 Fre and Ita: elision with BIND 2014-03-17 16:29:11 +00:00
hallgren a229c539e9 Wide coverage demo web app: add speech synthesis
Works in Safari and Chrome.
2014-03-17 15:59:43 +00:00
hallgren 539cb5746b doc/Logos/gf1.svg: variant of the GF logo with a subtle shadow 2014-03-13 14:50:30 +00:00
aarne 131044cfc9 RGLBaseGer added 2014-03-16 15:28:44 +00:00
kr.angelov ddb0d90c18 bugfix in the compiler for linref of empty record 2014-03-15 11:33:54 +00:00
aarne 76afac499b Jordi's addition to Combinators api: appCN and appCNc 2014-03-15 06:09:58 +00:00
aarne 7bfb2444af bg in android app 2014-03-14 15:00:33 +00:00
aarne 775fbc5fd3 import DocumentationBul in LangBul 2014-03-14 14:49:52 +00:00
aarne 6a56e175ff added RGLBaseBul 2014-03-14 14:49:33 +00:00
aarne 9ce239fb6c moved the small app chunking grammars from lib/src/experimental to examples/translator; the proper place might be in the git contributions, but this can be decided later 2014-03-14 13:28:42 +00:00
kr.angelov 49b85a2773 fix in DictionaryEng.gf 2014-03-14 12:50:25 +00:00
aarne d18fcde814 Spanish in android app 2014-03-14 09:45:46 +00:00