Commit Graph

7879 Commits

Author SHA1 Message Date
aarne
62aa1d2bc7 more work with Old2New, soon good coverage 2014-02-23 18:46:35 +00:00
aarne
aa912ee580 started transfer from old Parse grammar to new Pred grammar 2014-02-23 13:54:56 +00:00
kr.angelov
57310f1398 the Android App is now using the documentation modules instead of xml files for generating the inflection tables. The xml files are removed 2014-02-21 16:34:59 +00:00
kr.angelov
dc19edc05d completed Documentation modules for English, Swedish, Bulgarian, German, Finnish, French. The examples for Finnish, German and French could still be improved. The old parsing grammars are now restored. The new Translation grammar still don't have statistical model. 2014-02-21 16:31:50 +00:00
kr.angelov
014f4e1e11 linref for Conj in English and Bulgarian 2014-02-21 16:29:55 +00:00
hallgren
3712b2a2c0 Wide coverage demo web app: add link to Google Translate 2014-02-19 14:17:49 +00:00
hallgren
800bdcaa37 src/www/js/langcode.js: functions for converting language codes
factored out from src/www/translator/translator.js
2014-02-19 14:15:14 +00:00
kr.angelov
c61cf4ce5a bugfix in the android ui 2014-02-18 13:09:56 +00:00
kr.angelov
e566756746 fix in GF.Compile.Compute.ConcreteNew which makes it possible to compile DocumentationBul.gf 2014-02-17 09:00:14 +00:00
kr.angelov
86f1e7004c fix in DictionarySwe.gf 2014-02-17 08:52:12 +00:00
kr.angelov
19be85d70f fix in DictionaryBul.gf 2014-02-17 08:51:45 +00:00
kr.angelov
a6747eac6b a new abstract syntax in Documentation.gf which allows a more compact definition of the corresponding concrete syntax. The new strategy is so far used only in DocumentationEng and the new DocumentationBul. 2014-02-17 08:45:57 +00:00
aarne
769fd9af69 bug fixes in PredFin passives and vvtypes 2014-02-16 22:02:15 +00:00
aarne
e94c8af553 passive in PredFin 2014-02-16 16:07:05 +00:00
aarne
cd58451c8e ported (most of) the new structures to PredFin 2014-02-16 09:50:26 +00:00
aarne
7831a3d8c3 added some VP constructions to Pred: without/after/before/when doing, in order to do 2014-02-15 20:17:48 +00:00
aarne
3e1d19b043 typo in NDLift ; roughly_AdV in Dictionary 2014-02-15 14:47:05 +00:00
aarne
5127ad4352 some fixes in DictionarySwe 2014-02-15 12:53:46 +00:00
aarne
94c28d7eca updated wide coverage NDTrans Eng,Swe with the new constructs. 2014-02-14 15:41:37 +00:00
aarne
35395c22b6 added QuestIComp to Pred 2014-02-14 14:36:03 +00:00
aarne
22f817262f relatives and imperatives in Pred Eng and Swe 2014-02-14 08:41:18 +00:00
aarne
39ad565694 shall-should in Dictionary 2014-02-13 17:10:12 +00:00
john.j.camilleri
d67f8b7e19 RGL browser: update build-tags.sh to work on OSX
To run on GNU Linux you need to un/comment some stuff in the file.
To run on Windows... lol
2014-02-13 15:24:57 +00:00
hallgren
b7f57b1394 demos/translation.t2t: the translation app needs more space 2014-02-13 12:02:10 +00:00
aarne
6a4dd4aa41 Pred: proper forms of Eng auxiliaries; variants for Swe negation and future aux 2014-02-12 18:40:18 +00:00
hallgren
286c5a035a Wide coverage demo: show up to 10 translations
The translations are loaded one at a time so you don't have to wait for all
10 to see the first one.
2014-02-12 16:08:18 +00:00
kr.angelov
2c9b9cb8ad fixes in the Swedish dictionary 2014-02-12 15:33:00 +00:00
kr.angelov
3828c79253 fixes in DictionarySwe 2014-02-12 14:02:06 +00:00
aarne
32a36a246c commented out stringMark from Lang since it creates hopeless ambiguities in parsing 2014-02-11 20:09:25 +00:00
aarne
4ce2379869 DictionarySwe patched with Saldo-WordNet mappings. Most of the changes should be improvements, but some may not... the old definitions are kept as variants. 2014-02-11 17:41:25 +00:00
hallgren
15bf881e45 Work on web api & apps based on the C run-time system
+ PGFService.hs: add command c-grammar, include probability in parse results
+ js/gftranslation.js: add start position and limit parameters, return more
  info to applications
+ Simple Translator: show two wide coverage translations
+ Wide coverage demo: show parse tree and probability (intended as grammar
  debugging aids)
2014-02-11 16:43:29 +00:00
hallgren
d99f3e19d7 GFServer.hs: avoid intertwined log messages from parallel requests 2014-02-11 14:22:12 +00:00
aarne
4c26fc80ee module Markup for marking up subphrases with html tags (or other things). Implemented for Eng and Swe so far. 2014-02-11 15:42:17 +00:00
hallgren
be31b52e07 Restore compatibility with GHC 7.0 2014-02-10 21:44:34 +00:00
aarne
cbe0adb71b Swe dictionary entries from Saldo-Wordnet. Should be checked before replacing old words in DictionarySwe 2014-02-10 18:43:42 +00:00
kr.angelov
44c95e9c99 fixes in DictionaryBul 2014-02-10 16:24:08 +00:00
hallgren
ac3fae334e Fix broken C runtime support in gf.cabal and PGFService.hs
Also add PGF service command c-flush to explicitly flush cached parse results
from memory.
2014-02-10 16:04:40 +00:00
aarne
0f7ea733cc some words in DictionarySwe corrected 2014-02-10 14:12:58 +00:00
kr.angelov
2451ed123d proper error checking in the C runtime 2014-02-10 14:07:17 +00:00
hallgren
1efb9824f8 haskell-bind: fix broken pgf-shell
The type CId was replaced with String, so can't use show and read anymore.
2014-02-10 12:59:31 +00:00
kr.angelov
0e2c3f86a6 bugfix in pgf2-bind.cabal 2014-02-10 10:28:19 +00:00
aarne
6cdd5efb9e changes in translator/ExtensionsFin after the datatype reform 2014-02-09 20:41:47 +00:00
aarne
063fe069af PredFin and NDTransFin finally working 2014-02-09 20:16:29 +00:00
aarne
bcabc34527 disabled ad hoc overloading, as it still causes mysterious errors. It is just a few lines in Rename.hs 2014-02-09 19:55:17 +00:00
kr.angelov
e11a247d82 updated haskell-bind/README 2014-02-09 20:56:01 +00:00
kr.angelov
e527a526d8 cleanup the code for the FFI binding. The API is now more uniform with the Python and the Java bindings. Fixed a lot of memory leaks. 2014-02-09 20:45:11 +00:00
kr.angelov
7c66e438e1 GuVariant is now plain uintptr_t instead of a structure to make it easier to write Haskell bindings 2014-02-09 19:07:15 +00:00
aarne
d60db9a4c3 shrinking the size of some Fin datatypes (in general RGL) results in pgf size reduction to 25% of previous size 2014-02-09 17:38:24 +00:00
aarne
8b9daedc14 factored out linrefs to opers in PredInterface 2014-02-09 10:34:21 +00:00
aarne
26f6fea5a8 some refactoring, and experiments with Fin which is still too big in pgf 2014-02-09 09:31:42 +00:00