Commit Graph

9541 Commits

Author SHA1 Message Date
hallgren 0721769935 gftranslate.js: use Translate10.pgf 2014-04-06 19:59:04 +00:00
aarne 79fe3f2b49 swede in DictionaryEng ; CompoundCN probability in translate.probs tweaked to avoid too aggressive compounding 2014-04-06 19:45:35 +00:00
aarne 37c3afa9b4 added "todo" dictionaries 2014-04-06 19:19:51 +00:00
aarne 82a333c602 normalized Dictionary Fin,Chin,Hin,Fre to a format easier to process automatically; other Dictionary files were already in this format: each rule prefixed by "lin", sorted, checked parts uncommented, unchecked or problematic parts commented, one rule per line 2014-04-06 16:26:16 +00:00
hallgren 5d36c4734d Fixes for compiling Translate10.pgf 2014-04-04 19:04:16 +00:00
hallgren 3fa7b3e04b 149 new words in DictinarySwe.gf (mostly geographical names) 2014-04-04 19:02:42 +00:00
aarne 0aff5f4aa4 type error in finnish revealed 2014-04-04 17:01:06 +00:00
aarne 0577ec19a4 fixed type errors in finnish revealed by improved type checker 2014-04-04 16:38:36 +00:00
hallgren 0ae79efdbf TypeCheck.RConcrete: contravariance in table types 2014-04-04 16:50:12 +00:00
aarne c4a45f687f translate10 do the right thing 2014-04-04 14:45:50 +00:00
aarne 3f24bd302a path in AppFin 2014-04-04 14:32:36 +00:00
aarne 81f76ba658 Make for Translate10 2014-04-04 14:32:05 +00:00
aarne 316e473a1e added Spa and Ita to translator/ ; omitted some Extensions functions to double the parsing speed 2014-04-04 14:13:11 +00:00
aarne ab3244fbe5 polarities restored in Hin translation 2014-04-04 12:05:20 +00:00
hallgren 15f0edae32 Removed imports of TypeCheck.Concrete, fixed problems in TypeCheck.RConcrete
+ The current type checker for concrete syntax is in
  GF.Compile.TypeCheck.RConcrete, but GF.Compile.TypeCheck.Concrete was
  still imported in GFI.

+ Fixed a bug that allowed Ints n as a subtype of Ints m, regardless of
  m and n. It now requires n<=m. Note: the type checker still allows Int
  as a subtype of Ints m, regardless of m.

+ Fixed a potential efficiency problem with large record types, by reducing
  the number of recursive calls from |R|*|S| to |R| when checking if R<=S.

+ Fixed a misleading comment: "alpha g t u" checks that u is a subtype of t,
  the other way around. Similarly, "checkIfEqLType gr g t u trm" checks that
  u is a subtype of t, not the other way around, and not that t is equal to u.
2014-04-04 13:51:07 +00:00
hallgren 703f61313c Wide Coverage Translation Web App: redesigned user interface
The layout now resembles a certain other online translation service.
The translation is started automatically after text is entered, no need to
press the Translate button.
2014-04-04 12:52:41 +00:00
hallgren 8677d799c8 gftranslate.js: increase length limit from 200 to 500 encoded bytes 2014-04-04 12:39:36 +00:00
hallgren 6f513bce44 Simple Translator: show more alternatives when using GF robust translation
The maximum number of alternatives shown has been increased from 2 to 5
although it can slow down translation.
2014-04-04 12:35:20 +00:00
hallgren e365329716 Slightly more informative error messages in translation web apps 2014-04-04 12:33:31 +00:00
hallgren 57ebfa4416 PGFService.hs: adapt to changes in the Haskell binding to the C run-time system
Parse errors used to cause crashes, but they are now handled and reported.
2014-04-04 12:28:00 +00:00
kr.angelov 268e7a697f fix the haskell binding to handle parse errors 2014-04-04 11:46:40 +00:00
aarne 06fb9eff08 AdvS added to app 2014-04-04 07:30:06 +00:00
aarne b5500723c4 the word for time in some Dictionaries 2014-04-04 07:29:42 +00:00
aarne 1b6f58c592 text in app help 2014-04-04 07:28:55 +00:00
kr.angelov 9f0ee95fd6 now the output from the speech recognizer is editable with the keyboard 2014-04-04 09:04:00 +00:00
kr.angelov 232b4518ed add activity_help.xml 2014-04-04 07:51:05 +00:00
kr.angelov 02c39118a9 add the forgoten HelpActivity.java 2014-04-04 07:48:50 +00:00
kr.angelov 793acdf171 add touch feedback to the two buttons in the app 2014-04-03 20:30:23 +00:00
kr.angelov 184c0ed29f added help view in the android app. The help itself is not very useful right now 2014-04-03 14:22:44 +00:00
kr.angelov 51dbaa0c7e GFTranslator to DGTranslator in a few more places 2014-04-03 14:06:26 +00:00
kr.angelov 95291eec92 remove the old android icon 2014-04-03 14:02:50 +00:00
kr.angelov 6edcfbe9d0 change the project name to DGTranslator 2014-04-03 13:48:08 +00:00
kr.angelov 19f7fd998b a new icon and a new name for the DG Translator 2014-04-03 13:44:14 +00:00
aarne e45038b73e added AdvVP and AdVVP to App 2014-04-03 07:25:57 +00:00
kr.angelov f4cd152e6f bugfix in the keyboard translation 2014-04-03 06:14:15 +00:00
aarne b84bd78ab9 Android app sources in examples/app - read README for advice 2014-04-02 21:34:40 +00:00
aarne 2ae1392cc1 Chunking and other robust translation facilities in plain RGL 2014-04-02 21:16:03 +00:00
kr.angelov d94c7632d4 fix in the keyboard XMLs 2014-04-02 20:05:16 +00:00
aarne 8fc7add8a8 experimenting with exclusion of some functions to gain speed in Translate 2014-04-02 14:04:48 +00:00
aarne 086085b9a3 chunks for ordinary RGL, defined with a functor 2014-04-02 13:19:34 +00:00
aarne 99c31f406b Dictionary updates in Ger,Swe 2014-04-02 09:58:25 +00:00
aarne 2f06675db1 corrected some prepositions in DictionaryGer 2014-04-02 07:48:18 +00:00
kr.angelov d110df7a1f initial binding to Prolog for the C runtime 2014-04-02 10:03:19 +00:00
aarne c328a7fd4a next 320 BNC words checked in Swe 2014-04-01 17:23:17 +00:00
aarne b9b7ed9ccc use chunking before morpho lookup in backup parsing ; show results with unknown linearizations in darkest red 2014-04-01 16:24:35 +00:00
hallgren 5d7c894380 translator/DictionarySwe.gf: fix for tasty_A, mkA "god" "gott" 2014-04-01 14:38:16 +00:00
aarne cdd7adef64 split the two senses of can_VV in Dictionary, as they are split in Structural 2014-04-01 13:57:42 +00:00
aarne fb202420dd changed the definition of MassNP in Romance so that subject position doesn't return the partitive but the definite article. Thus "wine is good" becomes "le vin est bon" and "I drink wine" becomes "je bois du vin". Partitive on subject position seems incorrect, and the definite article the best choice when translating mass terms without articles on the subject position. 2014-04-01 13:03:35 +00:00
hallgren d262bb0e48 Bug fix for pattern macros in pre{}
This bug was introduced sometime between 2013-08-21 and 2013-11-01 and caused
the function convertTerm in GF.Compile.GeneratePMCFG to encounter a EPatt where
it expected Strs. I fixed it by applying the function getPatts (from the old
partial evaluator) to the pattern.
2014-04-01 10:54:41 +00:00
aarne 0ce50f02b6 vice president and some other words 2014-03-31 19:46:05 +00:00