Commit Graph

6887 Commits

Author SHA1 Message Date
hallgren
6c40e0ac37 debian/rules: include the C run-time system when building .deb packages 2014-06-16 20:12:44 +00:00
kr.angelov
b3f8b90f2b fixed memory leak in the Haskell binding to the C runtime 2014-06-16 08:49:13 +00:00
aarne
11d8df739e updated demos/translation.t2t with link to app and explanation of colours 2014-06-15 14:12:55 +00:00
hallgren
d6252d1c16 PGF library: expose only PGF and PGF.Internal instead of all modules
PGF exports the public, stable API.
PGF.Internal exports additional things needed in the GF compiler & shell,
including the nonstardard version of Data.Binary.
2014-06-12 14:43:18 +00:00
hallgren
352ecb7eb8 New GF home page: trying blue page title and tagline instead of red 2014-06-12 12:29:35 +00:00
kr.angelov
3d43c2687f swith off the debugging in the android ui 2014-06-12 09:37:40 +00:00
kr.angelov
86201df35c now GF keywords can be used as identifiers if they are quoted 2014-06-12 09:36:32 +00:00
hallgren
63c9dcd207 new.html: a proposed new look for the GF home page 2014-06-11 13:32:31 +00:00
hallgren
84b7a56fb2 Updating the release notes and installation instructions for the next release 2014-06-10 22:12:48 +00:00
hallgren
26aecdb4d3 PGF2.hsc: use throwIO instead of throw
From the documentation: the throwIO variant should be used in preference to
throw to raise an exception within the IO monad because it guarantees ordering
with respect to other IO operations, whereas throw does not.

Also removed some unused imports.
2014-06-10 12:42:01 +00:00
aarne
7b582218c9 CompoundN in app.probs 2014-05-29 11:04:24 +00:00
normundsg
0c5ad7ea11 FrameNet-GF API Doc 2014-05-29 11:45:09 +00:00
kr.angelov
67f64cb233 now we compile context-free grammars directly to PGF without going via GF source code. This makes it quick and lightweight to compile big grammars such as the Berkley grammar 2014-05-24 07:47:06 +00:00
kr.angelov
dbb4fdd0f7 bugfix in the Java binding. it was causing a crash in the Android app 2014-05-23 10:52:00 +00:00
kr.angelov
333e537e72 small fix in tabularLinearize 2014-05-22 13:33:18 +00:00
kr.angelov
757db06ba0 added tabularLinearize in the python binding 2014-05-22 13:30:14 +00:00
kr.angelov
df80a2042b bugfix: the keyboard should not show completions when entering web passwords 2014-05-22 07:25:33 +00:00
kr.angelov
32fe1d8453 the dictionary view in the app now filters out duplicated morphological analyses 2014-05-22 07:10:28 +00:00
aarne
aeb00013ce fixed the path in AppFin.gf so that it compiles in a more general setting 2014-05-22 06:23:57 +00:00
kr.angelov
e6fa0662e4 forgot to fix the path for AppFre.gf 2014-05-21 09:36:12 +00:00
aarne
f2e28c59c6 App compilation instructions: with parallel compilation, make Phrasebook separately 2014-05-21 08:19:34 +00:00
kr.angelov
75475b579d in verbosity mode the compiler warns about missing paths 2014-05-21 07:33:35 +00:00
aarne
43eaedd326 probabilities for App 2014-05-21 07:31:18 +00:00
kr.angelov
f3f0e7abd5 fix the path in the App grammar to the Phrasebook 2014-05-21 07:30:01 +00:00
hallgren
1bba23991f Compute/ConcreteNew.hs: adding a Prawitz rewrite
(table { p_i => t_i } ! x).l ==> table { p_i => t_i.l } ! x

This was used in the old partial evaluator and can significantly reduce term
sizes in some cases.
2014-05-16 21:27:20 +00:00
hallgren
307795f385 Fix an eta expansion bug in the grammar compiler
Eta expansion is applied between partial evaluation and PMCFG generation.
The buggy version generated type incorrect terms, but PMCFG generation
apparently worked anyway.
2014-05-16 14:10:07 +00:00
hallgren
e9b5b8b094 Simple Translator: fall back to word-for-word translation if the parser fails
Same as in the Wide Coverage demo app.
2014-05-15 13:58:42 +00:00
hallgren
121afca05a Haskell binding: free memory pool to avoid space leak when readPGF fails 2014-05-13 14:07:36 +00:00
hallgren
7c9ff164bf gf -server: include list of loaded PGFs in version info 2014-05-12 13:45:36 +00:00
hallgren
12a8e113c2 examples/phrasebook/Makefile2: add Chinese
Also remove arguments to raise the stack size, GF's built-in default is big
enough now.
2014-05-09 13:07:02 +00:00
john.j.camilleri
2fcc035623 Add link to IRC logs
The logs are simply dumped there in raw form, but at least having a link
should make them Google-indexed. One day we'll put something there with
an interface.
2014-05-09 06:53:41 +00:00
kr.angelov
41c8749b5c fix the literals API in Java for strings with non-latin characters 2014-05-08 14:56:46 +00:00
hallgren
1fbe17aabe Wide Coverage Demo Web App: bug fix: swapping source and target works again 2014-05-08 14:18:03 +00:00
hallgren
6f6e9096e8 Wide Coverage Demo Web App: bug fix: restore lost quality indications after switching target languages 2014-05-08 14:05:07 +00:00
hallgren
8d9816ee98 PGF web api, command c-wordforword: re-enable parsing of individual words
The space leak in the Haskell binding to the C parser has been fixed.
2014-05-08 11:38:41 +00:00
kr.angelov
58d0cdc943 fix memory leak in the Haskell binding 2014-05-08 08:41:58 +00:00
hallgren
fc6d8f6362 Wide Coverage Demo App: show all Phrasebook translations
Also improve behaviour for languages that are missing in Phrasebook (Chinese).
Also update the initial set of languages in the menus to match Translate11.pgf.
2014-05-07 23:42:05 +00:00
hallgren
70b192594e pgf-shell.hs: fix compilation problem with GHC 7.4 2014-05-07 17:06:34 +00:00
hallgren
04e7bdb6fe Two improvements in the pgf-shell example
1. Like pgf-translate, it now shows one result at a time, press Enter to get
   more results.
2. You can load a new grammar with the command 'i <path-to-pgf>'
2014-05-07 16:37:28 +00:00
aarne
27fc5e5b04 improved paths and Makefile in examples/app ; see README how to compile with just 'make -j' 2014-05-06 21:42:49 +00:00
aarne
41d7f2dfaf eliminated dependency of PhrasebookChi from DictionaryChi ; added 'make forApp' to compile what is needed for Phrasebook in App 2014-05-06 20:09:21 +00:00
aarne
d752167f59 some more words and phrases in PhrasebookChi ; native speaker check should be done soon 2014-05-03 15:57:21 +00:00
hallgren
bd80c3c201 Wide Coverage Web Demo: fix bug introduced in previous patch
Word-for-word translations were shown in the wrong language after switching
traget language.
2014-04-29 19:09:24 +00:00
hallgren
580b8cc783 Wide Coverage Demo App: translate to all available target langauges at once
This means that the new translation is available instantly when switching
target languages. It can also reduce space leaks problems in the server
somewhat by avoiding repeated parsing of the source text.
2014-04-29 16:01:57 +00:00
hallgren
a7b1f9e1b3 PGF web api, command c-wordforword: don't repeat parsing/morpho analysis for each target language
Also omit attemts to parse individual words for now, to avoid space leaks in
the Haskell binding to the C parser.
2014-04-29 15:51:46 +00:00
hallgren
2721f7358f Spring cleaning
Nothing major...
2014-04-28 13:56:20 +00:00
hallgren
b5fd7d88c1 Simple Translator: remove extra space before punctuation 2014-04-28 12:07:41 +00:00
kr.angelov
d278965095 an initial Java/C API for predicting literals. Still not utilized 2014-04-25 08:53:18 +00:00
kr.angelov
3a0da12e3d remove dead code to avoid warnings 2014-04-24 19:21:00 +00:00
kr.angelov
aefaed2056 make the input box in the conversation view self-adjustable when entering longer text 2014-04-24 19:18:28 +00:00