Commit Graph

4031 Commits

Author SHA1 Message Date
hallgren
2fe31eca17 PGF web service: option to leave &+ uninterpreted in linearized output
By adding unlexer=none (or unlexer=id) in requests that output linearizations
(e.g. command=linearize, command=translate), you can leave &+ uninterpreted
instead of gluing the adjacent tokens. This means that the output is left in
a format that can be parsed in a subsequent request.

To implement this consistently, the function linearizeAndBind was replaced
with the function linearizedAndUnlex (but there are a couple of requests
that do not call this function...)

Note that this applies to the Haskell run-time requests only. The C run-time
request (c-linearize, c-translate) always applies the &+ token and the
c-parse request can parse input containing glued tokens.
2015-07-21 14:21:49 +00:00
krasimir
a976d7e44b make the virtual machine instructions more uniform 2015-07-16 15:43:18 +00:00
krasimir
806a33ef98 refine the GNU lightning patch to avoid generating unnecessary code 2015-07-16 15:29:14 +00:00
krasimir
2b52a1a2ea bugfixes in the JIT compiler for x86_64. One of the fixes is actually in GNU lightning 2015-07-16 15:21:09 +00:00
aarne
eb8714fd77 added a space after the tag in word alignment to work around a graphviz bug shown with Chinese characters 2015-07-16 08:36:14 +00:00
hallgren
c14ca1eba4 Wide Coverage Demo: avoid errors if d3 or d3Tree can't be loaded 2015-07-15 14:07:26 +00:00
krasimir
8b3d6059c6 fixed missing do in the Haskell binding 2015-07-12 15:37:45 +00:00
krasimir
99a0b5a1d8 the reasoner's states are now closures just like the code for the def rules. This means more compact JIT compiled code and uniformity with the code for def rules 2015-07-04 15:06:34 +00:00
krasimir
85e6e017af merge the states for reasoning and evaluation into a single structure 2015-07-03 11:53:52 +00:00
krasimir
2c9c72c88d forgot to add the DBManager 2015-07-01 09:51:01 +00:00
krasimir
f716974e89 the Android app now can show Glosses from WordNet 2015-07-01 09:44:56 +00:00
krasimir
950155e24d specify strict APP_PLATFORM to avoid crashes on devices with older android version 2015-06-30 22:14:12 +00:00
krasimir
02fd379649 add function 'functions' in the Haskell binding to the C runtime 2015-06-30 20:42:19 +00:00
krasimir
2c6017ab59 some more comments in the help page 2015-06-30 17:01:56 +00:00
krasimir
f622a6250f bugfix in the Android keyboard 2015-06-30 16:51:22 +00:00
krasimir
27b4fa7453 better layout for the Thai keyboard 2015-06-30 15:54:14 +00:00
krasimir
10e48563e2 increase the version number for the app 2015-06-30 13:53:57 +00:00
krasimir
3419cf9337 added ant.properties in the App folder to make it easier to prepare releases 2015-06-30 13:53:09 +00:00
krasimir
974e152ac3 bugfix in the parser for lexical lookup 2015-06-30 12:54:19 +00:00
hallgren
4e9e7c2bdd Documentation updates for the release of GF 3.7 2015-06-25 12:10:47 +00:00
krasimir
51c13f7aac bugfix in the bottom-up prediction for the parser 2015-06-25 09:46:43 +00:00
hallgren
71c037b4df runtime/c/pf/jit.c: silence warning about alloca on MINGW32 2015-06-23 15:49:31 +00:00
hallgren
5390f6a862 Bump version of .gfo and .pgf files, improve error messages on version mismatch
Becacuse of the new special tokens added to the Symbol type, .gfo and .pgf
files produced with the current version of GF can not always be used with
older versions of GF and the PGF run-time system.

The PGF version number was increased from (2,0) to (2,1). GF can still
read version (2,0) and (1,0), so old PGF files continue to work.

The GFO version was increased from "GF03" to "GF04".
2015-06-23 12:58:14 +00:00
krasimir
1d5043bde2 forgot changes in the serialization in the Haskell runtime 2015-06-17 12:58:46 +00:00
krasimir
324cdffc26 the orthographic tokens were broken when they appear inside a dictionary entry. Now this is fixed by treating those as syntactic rules 2015-06-12 13:03:19 +00:00
krasimir
0804f386ff fixed typo in the Haskell runtime 2015-06-11 07:41:28 +00:00
aarne
9510870d2d updated Android helpfile 2015-06-09 09:32:11 +00:00
krasimir
aa87b0d272 print error message for missing abstract categories in the C runtime 2015-06-05 07:41:59 +00:00
aarne
2529f87942 copied examples/app to examples/slowApp; the new app is a bit scaled down but much faster 2015-06-02 12:59:29 +00:00
hallgren
7c9e860d87 Wide Coverage Translation Demo: add buttons for speech output
Also fixed a problem with showing inflections for words containing underscores
(e.g. race_2_N).
2015-05-27 13:29:41 +00:00
hallgren
d64bb8b83d minibar: moved 2 reusable functions from minibar_translations.js to minibar_support.js 2015-05-27 13:28:40 +00:00
hallgren
602b6fffae Fixed a problem with minibar when invoked from gfse or the syntax editor
Minibar needs js/langcode.js now, so need to include it in gfse/index.html
and syntax-exitor/editor.html too.
2015-05-21 08:00:49 +00:00
hallgren
1173ebc230 minibar: cosmetic fix for the "To:" menu 2015-05-19 14:26:39 +00:00
hallgren
4211511dfb minibar: more work on speech output 2015-05-19 13:38:42 +00:00
krasimir
121fe53968 added callback in C for unknown words 2015-05-19 09:15:48 +00:00
krasimir
4347ce727a the NERC in C is now fully up-to-date with the other NERCs. In addition the NERC in Haskell and Java now refuses to recognize names that match words in the lexicon. The latest is useful for German 2015-05-19 07:26:56 +00:00
hallgren
975b39716a minibar: speech output (experimental) (in browsers that support it) 2015-05-18 15:58:57 +00:00
hallgren
a73af40230 minibar: use SVG instead of PNG for trees and alignment diagrams if supported by the browser 2015-05-18 14:54:29 +00:00
krasimir
815d1f441f bugfix in the NERC in C 2015-05-18 15:02:44 +00:00
krasimir
3ebadcbc3b the callbacks in C now take the concrete syntax as a parameter 2015-05-18 14:41:33 +00:00
krasimir
8cfd46b9bb pgf_lookup_morpho and pgf_lookup_word_prefix are now also case insensitive if case_sensitive=off 2015-05-18 14:20:35 +00:00
hallgren
512fbb49e6 GF cloud: updated lists of supported RGL languages and some minor style updates 2015-05-18 13:16:45 +00:00
krasimir
472a95a844 "flags case_sensitive=off" makes the parser case insensitive 2015-05-11 14:11:42 +00:00
krasimir
3d502a76b3 added all orthographic primitives 2015-05-11 13:01:39 +00:00
krasimir
949310ef1b implemented CAPIT in parsing 2015-05-08 18:54:50 +00:00
krasimir
7ee9edd080 fix in the dictionary lookup 2015-05-08 18:12:24 +00:00
krasimir
b87ed432a5 a new nice and elegant algorithm for dictionary lookup in the parser 2015-05-08 14:38:24 +00:00
krasimir
e600eb764a the parser is now fully Unicode compatible 2015-05-08 09:23:29 +00:00
krasimir
5b60c3a00e fix gu_ucs_is_space in libgu 2015-05-07 15:50:55 +00:00
krasimir
6eb15eb585 fix the NERC in C to work for PN as literal 2015-05-07 15:16:55 +00:00