hallgren
ccc43b28f0
WebSetup.hs: use the correct --gf-lib-path when building example grammars
...
The directory should be the same as the one used in Setup.hs when building
the RGL, where a build directory supplied by cabal is used. This is usually
dist/build/rgl, but it could be different, e.g. when using a cabal sandbox.
2014-03-11 13:46:10 +00:00
aarne
ccda8f00e1
android: added (1) dg icon (2) green/yellow/red colours for translation confidence (3) App grammars as test case in Translator.java
2014-03-10 18:04:43 +00:00
aarne
2ee2769146
reference to DictEngChi changed to DictionaryChi
2014-03-10 18:00:15 +00:00
aarne
0537de6726
added alternative build with Pred grammars to android, commented out by default
2014-03-09 11:42:47 +00:00
kr.angelov
178d06d5a2
added word completion in the Android UI
2014-03-07 21:30:54 +00:00
kr.angelov
2132eb6bed
added Java API to the simple word completion
2014-03-07 21:29:26 +00:00
kr.angelov
319308007c
fix in the Java binding after the implementation for pre
2014-03-07 21:28:40 +00:00
kr.angelov
ba28cfd80e
added pgf_lookup_word_prefix which makes it possible to do simple word prediction
2014-03-07 21:24:20 +00:00
kr.angelov
ae59508f6a
another fix in the keyboard
2014-03-07 14:13:21 +00:00
kr.angelov
a8e18c3bdf
bugfix in the keyboard
2014-03-07 13:51:28 +00:00
kr.angelov
df3406c11f
added Devanagari keyboard for Android
2014-03-07 13:42:13 +00:00
kr.angelov
6cb693bdf5
bugfix in pgf-translate
2014-03-07 09:35:57 +00:00
hallgren
052ead6797
C run-time: protect from Windows specific #includes with #ifdef __MINGW32__
2014-03-06 13:42:27 +00:00
kr.angelov
e916c77cb4
bugfix in the android keyboard for multiline documents
2014-03-05 13:42:55 +00:00
kr.angelov
459f3bffa6
bugfix in the Android UI
2014-03-05 12:50:36 +00:00
kr.angelov
4f9afb9343
implementation for pre in the C runtime
2014-03-05 10:17:42 +00:00
hallgren
d04ffb60ac
Fix the fix
2014-03-04 14:35:14 +00:00
hallgren
108e04b7bd
Fixes for GHC 7.6 compatibility
2014-03-04 14:28:44 +00:00
hallgren
76ba865c2e
Three fixes for compatibility with GHC 7.8
...
Two of the fixes were in the custom version of the binary package. We
should get rid of it at some point, to reduce the maintenance burden.
The third fix was to add new version constraints for happy and alex in
gf.cabal. New versions of them are needed because of the ugly, low-level,
GHC-specific code they produce need to be different for GHC 7.8.
More fixes might be needed for -server mode, but the cgi package is not
compatible with GHC 7.8 at the moment, so it will have to wait.
2014-03-04 14:13:41 +00:00
kr.angelov
cbe17732a6
use pgf_linearize instead of pgf_lzr_linearize_simple in pgf-translate.c
2014-03-04 10:30:23 +00:00
kr.angelov
2e1dd543e9
memory leak in parseval.c
2014-03-04 10:29:18 +00:00
kr.angelov
c197de7fbd
rename pgf_lzr_linearize_table to pgf_lzr_get_table
2014-03-04 10:13:23 +00:00
kr.angelov
ddf36bcd62
more in src/runtime/java/INSTALL
2014-02-27 21:21:19 +00:00
kr.angelov
60bfacf7c2
another fix for building the Java binding
2014-02-27 21:20:19 +00:00
kr.angelov
aeeabe3f0e
added file with instructions for compiling the Java binding
2014-02-27 20:20:59 +00:00
kr.angelov
994d936ce9
instructions for compiling the C runtime on Windows
2014-02-27 20:04:30 +00:00
kr.angelov
2eaf51f15a
changes in Makefile.am to make it easier to compile the C runtime on Windows
2014-02-27 19:37:10 +00:00
kr.angelov
2238d1e462
include malloc.h in a few places to avoid warnings on Windows
2014-02-27 19:34:14 +00:00
kr.angelov
b87104aa89
update the Eclipse project for jpgf with settings needed for Windows
2014-02-27 19:28:25 +00:00
kr.angelov
6a044edc39
bugfix with the keyboard label for Chinese
2014-02-25 12:15:29 +00:00
kr.angelov
d1a65d6aec
the Android UI uses a new progress indicator which works on both Nexus 1 and Nexus 7
2014-02-25 09:46:05 +00:00
kr.angelov
e5a6592080
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
hallgren
9b1b42bd22
Wide coverage demo web app: add link to Google Translate
2014-02-19 14:17:49 +00:00
hallgren
62dcb1e14a
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
1ec7065fb3
bugfix in the android ui
2014-02-18 13:09:56 +00:00
kr.angelov
5b97e9637b
fix in GF.Compile.Compute.ConcreteNew which makes it possible to compile DocumentationBul.gf
2014-02-17 09:00:14 +00:00
hallgren
29ac39c5cc
demos/translation.t2t: the translation app needs more space
2014-02-13 12:02:10 +00:00
hallgren
2a130d7565
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
hallgren
44ee072331
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
23dc22cea4
GFServer.hs: avoid intertwined log messages from parallel requests
2014-02-11 14:22:12 +00:00
hallgren
c9af5d11c0
Restore compatibility with GHC 7.0
2014-02-10 21:44:34 +00:00
hallgren
60980d1617
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
kr.angelov
44a764cd2f
proper error checking in the C runtime
2014-02-10 14:07:17 +00:00
hallgren
1bcb2d06e3
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
5818b0fe1b
bugfix in pgf2-bind.cabal
2014-02-10 10:28:19 +00:00
aarne
6faaa795c5
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
1746e3ad2a
updated haskell-bind/README
2014-02-09 20:56:01 +00:00
kr.angelov
adeeb47e06
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
f30c60c3d7
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
hallgren
1d69feac38
gf.cabal: pgf-shell needs containers now
2014-02-07 16:42:51 +00:00