John J. Camilleri
ab3c6ec4eb
Update descriptions in Python bindings setup.py
2020-06-17 11:36:31 +02:00
John J. Camilleri
63a3a57620
Remove duplicate --gfo flag
...
Fixes #51
2020-06-16 14:59:14 +02:00
Inari Listenmaa
de8cc02ba5
Condense the unsupported token gluing as per John's suggestion
2020-06-05 19:39:31 +02:00
Inari Listenmaa
dbc7297d80
Don't output "\n **" if helpfulMsg is empty.
2020-06-04 20:19:06 +02:00
Inari Listenmaa
414c2a1a5f
Add clarification to Internal error in GeneratePMCFG
2020-06-04 19:57:55 +02:00
Inari Listenmaa
dca1fcd7fe
Add clarification to Unsupported token gluing (both good and bad case)
2020-06-04 19:57:38 +02:00
Inari Listenmaa
c0714b7d33
Add clarification to "expected foo, inferred bar" type of error msgs
2020-06-04 19:57:10 +02:00
Inari Listenmaa
a4e3bce6bb
Add clarification to "Pattern is not linear" error msg.
2020-06-04 19:56:31 +02:00
Inari Listenmaa
9a903c166f
Add suggestions to error messages that are caused by too few/many args
2020-06-04 17:56:13 +02:00
krangelov
0a915199e8
allow literals in the C shell
2020-05-20 20:18:47 +02:00
krangelov
165c5a6d9d
bugfix in parsing literals
2020-05-20 19:57:33 +02:00
krangelov
0ad1c352fe
expose lookupCohorts in Python
2020-05-20 16:12:50 +02:00
krangelov
48d3973daa
fix the uggly typo that broke the literals.
2020-05-20 10:15:53 +02:00
krangelov
9a1f982b14
split unknown words by spaces
2020-05-16 08:32:00 +02:00
krangelov
e8653135d4
Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core
2020-05-14 15:05:13 +02:00
krangelov
62bc78380e
lookupCohorts now detects and reports unknown words. Also:
...
- added added two filtering functions: filterLongest and filterBest
- updated the PGF service to work with the new API
2020-05-14 15:03:30 +02:00
aarneranta
65c810f085
accepting gf-ud style abslabels in gf-core ; cnclabels TODO
2020-05-05 15:46:48 +02:00
Johan Dahlin
589c358389
Expose PGF/Concr/Iter/Bracket
...
Expose the remaining types in the module.
These are helpful for example in type annotations.
2020-04-01 21:37:13 -03:00
krangelov
57a1ea5b56
forgot the conversion of the annotation string to jstring
2020-04-01 16:26:03 +02:00
krangelov
762d83c1f0
switch off the debugger
2020-03-25 20:03:06 +01:00
krangelov
733fdac755
restore the sequence ordering after -optimize-pgf
2020-03-15 19:57:47 +01:00
krangelov
00e25d0ccb
an API to access the names of all fields withing a category
2020-03-06 12:29:08 +01:00
krangelov
9806232532
fix the build after the change in the morphological API
2020-03-05 12:24:01 +01:00
krangelov
88f76ef671
lookup_morpho, lookup_cohorts and fullform_lexicon now report the usual conditional probability. This turns out to be more useful for part of speech tagging
2020-03-05 12:04:42 +01:00
krangelov
f22bd70585
The APIs for callbacks and the bracketed strings now use a string for the analysis intead of an integer. This is now consistent with lookupMorpho and friends
2020-03-05 11:58:21 +01:00
krangelov
3133900125
another bug related to mattern matching on multiword expression
2020-02-18 15:07:47 +01:00
krangelov
e15392e579
fix: pattern matching on strings should reconstruct the tokens after matching
2020-02-17 19:29:36 +01:00
krangelov
9604a6309c
fix the compilation of case insensitive grammars
2020-02-17 12:40:14 +01:00
krangelov
98a18843da
support command c-lookupCohorts
2020-02-13 14:51:03 +01:00
krangelov
61641e7a59
support post requests to the server
2020-02-13 14:50:23 +01:00
krangelov
c50df37144
rename the WordNet module when creating a new language
2020-01-28 21:12:28 +01:00
krangelov
34fd18ea96
added link to WordNet
2020-01-28 15:33:23 +01:00
krangelov
65024a0a55
added plugin for search in WordNet
2020-01-24 18:22:00 +01:00
krangelov
2ab9fee8e4
Python 3 literal callbacks will receive offsets in number of characters instead of bytes
2020-01-17 12:41:54 +01:00
krangelov
14f394c9e9
a version of the parser which returns a chart rather than a list of expressions
2019-12-07 22:00:39 +01:00
krangelov
dbb09cc689
remove bogus comment
2019-12-07 21:59:41 +01:00
krangelov
bb298fadbe
silence warnings in the Python bindings
2019-12-07 10:27:06 +01:00
Thomas Hallgren
f1f47f7281
GF cloud: GFMorpho: responsive layout improvement for small screens
2019-12-03 17:07:20 +01:00
Thomas Hallgren
fb1199c49c
GF Cloud: add Word inflection with smart paradigms
...
This is a reimplemention of Aarne's GFMorpho service from 2012, using
the GF shell web API. Not all features are implemented (yet).
2019-12-03 16:40:21 +01:00
Thomas Hallgren
33aeb53f7a
PGFService: userLanguage now defaults to English, if present in the grammar
...
The userLangauge is the name of the concrete syntax that has a languageCode
that matches the user's preferred language, as reported by the web browser.
If no matching language code is found, the PGF service now sets userLanguage
to the concrete syntax for English (e.g. FoodsEng) if present, and defaults
to the first concrete syntax (e.g. FoodsAfr) only if English is not present
in the grammar.
2019-11-26 15:27:02 +01:00
Thomas Hallgren
e6b33ac8b8
Minibar: make it possible to configure a list of preferred grammars
...
A preferred grammar is selected when a user visits the Minibar for the
first time. (Like before, Minibar remembers the selected grammar for future
visits.)
A preferred list of grammars can be specified in config.js in the .../minibar
directory on the server, e.g. like this:
preferred_grammars=["/grammars/Foods.pgf","/grammars/ResourceDemo.pgf"]
The first available grammar from the list is used.
2019-11-21 14:25:07 +01:00
Thomas Hallgren
28f53e801a
PGFService: revert unlexing change in PGFService to restore &+ behaviour
2019-11-18 13:20:41 +01:00
aarneranta
6f2b1a83b7
fixed a vd bug that sometimes erased the root label
2019-11-13 11:40:37 +01:00
aarneranta
d3b501d35f
fixed the problem with generating several roots in ud2gf. Now only the leftmost word becomes ROOT, the others become dep - which can be eliminated by cnclabels. This works fine for e.g. English prepositional and particle verbs. But it does not work if the 'main' word is not the leftmost one
2019-11-12 17:46:55 +01:00
krangelov
95b3fb306f
forgot that debugging is on
2019-10-09 14:34:04 +02:00
krangelov
5b790b82c5
fix chunk extraction when there are literals
2019-10-09 14:32:20 +02:00
krangelov
26361b3692
fix the parsing for literals after the latest changes in the parser
2019-10-09 14:18:05 +02:00
krangelov
30eef61f0a
more dead code
2019-09-20 16:15:28 +02:00
krangelov
29662350dc
removed more dead code
2019-09-20 10:49:29 +02:00
krangelov
4d79aa8b19
remove obsolete code
2019-09-20 10:37:50 +02:00