Commit Graph
100 Commits
Author SHA1 Message Date
krangelov f3a8658cc1 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2020-10-02 19:55:24 +02:00
krangelov bfb94d1e48 fix parsing with HOAS 2020-10-02 19:34:52 +02:00
krangelov 90fc1d750e remove the deprecated pgf_print_expr_tuple 2020-08-14 21:03:48 +02:00
krangelov 24beed9a95 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2020-08-14 20:56:20 +02:00
krangelov 23edeec5a9 added an API for cloning expressions/types/literals 2020-08-14 20:54:15 +02:00
krangelov 830dbe760d expose parseToChart via the Web API 2020-07-26 15:56:54 +02:00
krangelov d7965d81b4 parseToChart also returns the category 2020-07-26 15:56:21 +02:00
krangelov a2d7f1369c filter out empty brackets 2020-07-26 15:55:18 +02:00
krangelov 0cee82f715 the if is actually unnecessary 2020-07-22 16:55:21 +02:00
krangelov 7229033e42 bugfix in bracketedLinearize 2020-07-22 16:26:05 +02:00
krangelov 8bc4cc7187 added function for posting query strings. scales better than get. 2020-07-21 22:29:00 +02:00
krangelov 2b09e70b4a allow specifying content-type in ajax_http 2020-07-21 13:19:19 +02:00
krangelov 77a2630ed9 revert to using unconditional probabilities in the different lookup functions 2020-07-11 09:52:43 +02:00
krangelov 33818076ff drop the SG library completely. 2020-07-08 21:12:01 +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
Krasimir Angelov b962bcd178 Merge pull request #50 from jdahlin/patch-1
Expose PGF/Concr/Iter/Bracket
2020-04-02 09:14:53 +02: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 4b67949d36 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2020-01-17 12:42:40 +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
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
krangelov e2ddea6c7d first version of a parser which returns chunks in case of failure 2019-08-30 13:31:57 +02:00
krangelov 59a6e3cfdd fix gu_map_next 2019-08-30 13:31:19 +02:00
krangelov 1e8d684f9a Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2019-08-30 08:12:52 +02:00
krangelov 72cfc1f48a a more reasonable API to iterate over a map 2019-08-30 08:12:15 +02:00
krangelov 394d033d19 added gu_map_delete 2019-08-20 18:55:36 +02:00
krangelov cb678dfdc8 fix packages 2019-08-18 09:37:55 +02:00
krangelov 4161bbf0ec fix reference to FastCGIUtils 2019-08-18 09:12:30 +02:00
krangelov 148590927c remove obsolete code 2019-08-18 09:09:40 +02:00
krangelov 85a81ef741 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2019-08-09 15:18:27 +02:00
krangelov 3e662475ee bugfix in the parser's scanner 2019-08-09 15:15:30 +02:00
krangelov 32379a8d11 fully supported case-insensitive parsing/lookup 2019-06-30 08:48:23 +02:00
krangelov b56591c6b6 the parser now ensures that all word senses are in the chart 2019-06-25 12:58:28 +02:00
krangelov b94bb50ec9 fix in gu_buf_heap_pop 2019-06-24 12:27:36 +02:00
krangelov e2395335cb Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2019-06-24 12:14:15 +02:00
krangelov 2d9478b973 share some code for printing 2019-06-24 12:13:14 +02:00
krangelov 8c18d7162f bits of documentation 2019-05-28 12:59:07 +02:00
krangelov ac039ec74f filter out empty cohorts 2019-05-28 12:42:59 +02:00
krangelov 9f0ea19a1c API for scanning for cohorts in an arbitrary text 2019-05-28 12:26:00 +02:00
krangelov 8df2121650 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2019-05-27 09:06:11 +02:00
krangelov 8b9719bd2d remove duplicate definition for RecordCompare 2019-05-27 09:05:41 +02:00
krangelov c628e11c01 respect the probs option also when merging PGFs 2019-04-12 11:04:40 +02:00
krangelov de53a7c4db Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2019-03-26 12:21:52 +01:00
krangelov 1e9188ea60 bugfix in the pretty printer 2019-03-26 12:21:35 +01:00
krangelov 099f2de5b4 support cross-compilation from Linux to Windows 2019-03-19 12:43:38 +01:00
krangelov 2f2b39c5d2 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2019-03-19 11:22:09 +01:00
krangelov f3d7d55752 added one more possible location for Java headers 2019-03-19 11:21:39 +01:00
krangelov 52f2739da1 strip empty phrases in bracketedLinearize 2019-02-27 08:27:50 +01:00
krangelov fc37bc26cd fixed typo on c-bracketedLinearize 2019-02-26 21:10:06 +01:00
krangelov bde1a6d586 fix the dependency to json 2019-02-26 19:32:08 +01:00
krangelov 25dc934871 replace aeson with json 2019-02-26 19:27:36 +01:00
krangelov 2fdfef13d8 added command c-bracketedLinearize 2019-02-26 15:16:36 +01:00
krangelov 64a2483b12 added Data.Data.Data instance for Expr 2019-02-20 13:00:51 +01:00
krangelov 1d1e65185a fixes in the headers for use with Microsoft Visual C++ 2019-02-18 11:39:21 +01:00
krangelov c32cd7133f fixes in the headers for compilation on Windows 2019-02-18 11:23:01 +01:00
krangelov 409731413e disable the parser debugger which was left enabled by accident 2019-02-14 15:33:21 +01:00
krangelov 8a5e7fa25d fix the reader for patterns in a def rule 2019-02-14 15:32:12 +01:00
krangelov e05c79a751 different definition for GF_ARRAY_LEN 2019-02-14 15:31:36 +01:00
krangelov ef21d08225 bugfix in computing record lengths 2019-02-14 15:29:33 +01:00
Krasimir Angelov 7c97e5566d fix after the change in bracketed string 2018-12-20 12:40:46 +01:00
Krasimir Angelov 7288425daf Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2018-12-20 10:55:56 +01:00
Krasimir Angelov 260c0d07e0 revert to printing the unique id in ppBracketedString 2018-12-20 10:54:04 +01:00
Krasimir Angelov 26dabeab9b save the original concrete category in BracketedString 2018-12-20 10:52:45 +01:00
krangelov eb22112178 a pool where the smallest chunks are memory pages 2018-12-16 07:46:14 +01:00
Krasimir Angelov fdc5659f80 Merge pull request #19 from MUSTE-Project/master
Fix deprecations from containers >= 0.4.0.0
2018-11-30 12:18:24 +01:00
Krasimir Angelov f898c250ba removed instructions which doesn't actually work 2018-11-30 11:05:59 +01:00
Krasimir Angelov 8560b4fb65 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2018-11-28 15:33:24 +01:00
Krasimir Angelov b0c3aef6ec add a few missing special tokens to the reference 2018-11-28 15:32:43 +01:00
Krasimir Angelov 05c2cfb628 remove the example-based folder. The code is still in the archive 2018-11-28 14:34:15 +01:00
Krasimir Angelov 69ad1e617e Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2018-11-28 14:25:53 +01:00
Krasimir Angelov eb2774af2b remove two obsolete options 2018-11-28 14:25:29 +01:00
Krasimir Angelov abf3911b70 expose PGF and Concr for FFI 2018-11-27 21:09:35 +01:00
Krasimir Angelov a0afbfbad3 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2018-10-15 12:04:36 +02:00