Commit Graph

8176 Commits

Author SHA1 Message Date
inari
ede6ba462c Fix ExistIP in IdiomCat + more smart paradigms for verbs in ParadigmsCat 2014-04-13 10:59:07 +00:00
aarne
0c8538aed7 carried over the Swe corrections to TopDictionarySwe to keep it in sync 2014-04-13 16:55:44 +00:00
aarne
926ce1d9c1 corrected 200+ incorrect verb inflections in DictionarySwe ; there may be more 2014-04-13 16:52:06 +00:00
aarne
677c5cdac9 CompoundAP in translator/Extensions, e.g. language(-)independent. Implemented for all but Bul,Hin 2014-04-13 10:37:58 +00:00
aarne
df7e50b5fb DictionarySwe now checked up to 1800 2014-04-13 09:43:53 +00:00
aarne
677c97a958 enabled VPI_Chunk in Dut ; a couple of Dictionary fixes 2014-04-12 07:08:52 +00:00
hallgren
93d14368b2 gftranslate.js: switch to Translate11.pgf 2014-04-11 20:08:12 +00:00
aarne
a45d9408fc Dut added to android Translator.java 2014-04-11 19:47:50 +00:00
aarne
450e4e5959 App11.pgf in Makefile 2014-04-11 18:56:59 +00:00
aarne
faad066354 corrected the position of agent in Romance passives 2014-04-11 18:55:24 +00:00
aarne
8159966dc5 checked beginnings of DictionaryIta (350) and DictionarySpa (around 100, not an expert) 2014-04-11 18:35:02 +00:00
hallgren
43319eb0b7 Wide Coverage Demo App (gftranslate.js): use a special lexer for Chinese. 2014-04-11 18:39:12 +00:00
aarne
98304d0553 do_V in Spa and Ita 2014-04-11 16:13:52 +00:00
aarne
971f450c6d big DictionaryDut from Wiktionary - very noisy for common words, but works 2014-04-11 16:04:32 +00:00
hallgren
9f3235c29f Simple Translator: use colors to indicate translation quality 2014-04-11 15:00:15 +00:00
aarne
d6d4933647 experimental AppDut added 2014-04-11 07:49:34 +00:00
kr.angelov
1e177ed6a9 named entities in the Android App 2014-04-11 12:56:31 +00:00
hallgren
77586aa080 Simple Translator: Use PGF API for (un)lexing instead of separate server calls
Also,

  + Get up to 10 (instead of 5) alternative robust translations.
  + Remove duplicates from list of alternative robust translations
  + Add GF Cloud logo to the simple translator page
2014-04-11 12:10:05 +00:00
kr.angelov
c2d79790a3 forgoten Completer.java 2014-04-11 07:52:10 +00:00
kr.angelov
a28d0d246f expose Java API for word completion 2014-04-11 07:50:22 +00:00
aarne
7363598913 added an experimental version of TranslateDut, and documentation steps.t2t on how it was built 2014-04-11 07:48:26 +00:00
kr.angelov
ea40bc151b change the JVM version to 1.6 in JNI_OnLoad 2014-04-11 07:15:27 +00:00
aarne
63b570ad30 bunch of corrections in DictionarySwe,Ger,Fre 2014-04-10 21:40:14 +00:00
aarne
a77a885f42 expelled "viktigpetter" from DictionarySwe as the translation of know_N 2014-04-10 19:51:40 +00:00
aarne
333a9d3710 DictionarySwe checked to BNF-1500, plus a number of missing Prep's 2014-04-10 19:48:14 +00:00
inari
e9a9418753 Fixes in Catalan which_IQuant; added 2- and 3-arg smart paradigms for verbs + made 1-arg smart paradigm better 2014-04-10 18:12:36 +00:00
inari
73f1ab6e36 Add InvQuestCl in ExtraSpa; fix convertir in LexiconSpa; add phonetic changes to feminine article in PhonoSpa 2014-04-10 13:41:53 +00:00
aarne
f0f56eeed6 modified the Dict check advice as for style of comments 2014-04-10 17:13:29 +00:00
aarne
e7452a19b4 more words checked in DictionaryFre 2014-04-10 17:11:50 +00:00
kr.angelov
77c545fa4f bugfix in the Java binding 2014-04-10 16:43:40 +00:00
hallgren
923107506f PGF web service: disable caching of parse results
Caching parse results uses a lot of memory, even if they expire after
2 minutes, so it won't scale up to many simultaneous users.

But some excessive memory use seems to be caused by space leaks in
(the Haskell binding to) the C run-time system, and these should be fixed.
For example, flushing the PGF cache does not release the memory allocated
by the C run-time system when loading a PGF file.
2014-04-10 15:55:33 +00:00
hallgren
62903443f0 Wide Coverage Demo App: it now works ok without server caching of parse results 2014-04-10 15:50:34 +00:00
kr.angelov
a9ebeaea44 now fully functional Java API for custom literals 2014-04-10 14:14:31 +00:00
kr.angelov
3a0aa8b997 bugfix in the C runtime 2014-04-10 07:42:49 +00:00
aarne
0525c7837a improved generation of BNC dictionaries ; now called TopDictionary for clarity 2014-04-10 13:07:05 +00:00
aarne
7eb4097681 added a list of split word senses and their explanations generated from Dictionary.gf 2014-04-10 11:58:22 +00:00
aarne
7a8706aa7e removed but_Subj from Dictionary: but is never a subjunction, and treating it so causes word order errors in many languages 2014-04-10 11:53:11 +00:00
kr.angelov
66d60ce9d1 a quick hack to enable the NERC from bindings. This should be made available from the API but for now I just hacked the C runtime 2014-04-10 07:27:07 +00:00
aarne
4b34c51e4c more automatic creation of files in CheckDict ; words for translation in DictionaryFre 2014-04-10 07:06:57 +00:00
hallgren
37c473a559 Wide Coverage Demo App: new buttons: to switch colors on/off & to try Google Translate 2014-04-09 20:51:31 +00:00
hallgren
739dc3f29d localstorage.js: bug fix
If you stored "false" and tried to retrieve it with a default value, you got
the default value instead of "false".
2014-04-09 20:49:53 +00:00
hallgren
17cf501d4c Wide Coverage Demo App: use PGF service lexing/unlexing
It is now enough to make one server call per translation, and the results can
cached by the browser.
2014-04-09 19:49:45 +00:00
hallgren
43e61a1e3b PGF web service: add unlexers and enable client side caching
Most PGF web API commands that produce linearizations now accept an
unlexer parameter. Possible values are "text", "code" and "mixed".

The web service now include Date and Last-Modified headers in the HTTP,
responses. This means that browsers can treat responses as static content and
cache them, so it becomes less critical to cache parse results in the server.

Also did some cleanup in PGFService.hs, e.g. removed a couple of functions
that can now be imported from PGF.Lexing instead.
2014-04-09 17:51:25 +00:00
hallgren
f2cc1d2c68 Change the type of PGF.Lexing.bindTok to [String] -> [String]
The old type was [String] -> String. This function was only used
in GF.Text.Lexing.stringOp, which now uses (unwords . bindTok) instead,
with no change in behaviour.
2014-04-09 17:39:21 +00:00
hallgren
0d1ad2f0e5 Unlexers: move capitalization of first word from GF.Text.Lexing to PGF.Lexing
The capitalization of the first word was done in GF.Text.Lexing.stringOp,
but is now done in the functions unlexText and unlexMixed in PGF.Lexing.
These functions are only used in stringOp and in PGFService (where the change
is needed), so the subtle change in behaviour should not cause any bugs.
2014-04-09 17:26:23 +00:00
aarne
1397bb4528 restored passives in Extensions for Bul,Fre,Ita,Spa ; PassAgentVPSlash in ExtraBul to be verified 2014-04-09 16:16:32 +00:00
hallgren
1602eab5b6 PGF Service: a bit more clever lexer=text
Only change the first word to lowercase if the original input is not found in
the grammar's morphology. This allows parsing of sentenses starting with "I" in 
English, nouns in German and proper names in other languages, but it can make
the wrong choice for multi-words.
2014-04-09 14:13:18 +00:00
hallgren
02b57c3f79 Wide Coverage Demo App updates
+ Add Clear button.
+ Use localstorage to remember entered text between visits.
+ Add a link to it on the GF cloud service start page.
2014-04-09 13:59:35 +00:00
aarne
6c7f1245ce more passives in App. Import changes are now produced with MkApp.hs, which copies the exclude list from App.gf to the concrete syntax files. 2014-04-09 14:01:06 +00:00
aarne
6d6d641b73 more explicit inheritance list for Extensions in Translate 2014-04-09 13:06:14 +00:00