hallgren
4e1df7eb59
testsuite: fix test of generate_trees
...
There were two differences between the current output and the old gold file:
1. The trees are no longer generated with increasing depth
2. The meaning of the -depth flag has changed: for example,
"gt -cat=Nat -depth=1" used to generate only "zero",
now you also get "succ zero".
2013-12-10 16:49:40 +00:00
kr.angelov
e4246d090c
move src/runtime/haskell/CRuntimeFFI to src/runtime/haskell-bind. Don't mess up with the stable Haskell runtime!
2013-12-10 16:11:47 +00:00
kr.angelov
87527c5f04
load/unload in the Java binding
2013-12-10 16:06:34 +00:00
inari
4b2d56d56c
Haskell bindings for the C runtime
...
Added Haskell bindings for the C runtime. Work in progress, the files are not (and should not be) included in makefiles or anything.
2013-12-10 15:27:28 +00:00
inari
a24f603165
added haskell bindings to the c library
2013-12-10 15:25:44 +00:00
aarne
52a6c03605
Fin.VPSlashPrep is cyclic in the presence of empty-strinc prepositions. Therefore omitted it from ParseFin.
2013-12-10 15:17:35 +00:00
aarne
81d37de270
extended ResourceDemo and changed it to compile without optimizing pgf, so that all inflection forms are kept
2013-12-10 15:14:18 +00:00
kr.angelov
6028a63b42
loading and unloading of languages in the C runtime and in the Python bindings
2013-12-10 15:00:52 +00:00
inari
a4be3c169e
small bugfix in DictEngFin
2013-12-10 13:36:48 +00:00
aarne
31918cf25f
French inflection display in android
2013-12-10 13:03:50 +00:00
kr.angelov
0f352ba1d5
bugfix in the grammar splitter
2013-12-10 12:31:40 +00:00
kr.angelov
faed1348b1
option --split-pgf replaces option --mk-index. This splits the PGF into one file for the abstract and one more for each concrete syntax. This is a preparation for being able to load only specific languages from the whole grammar.
2013-12-10 10:43:13 +00:00
aarne
71ea4f27d5
home adverbs in Chi
2013-12-10 09:31:30 +00:00
aarne
b03430fd02
removed duplicate from DictEngFin
2013-12-09 15:52:36 +00:00
aarne
c4ac0bd0f7
adverbs at_home, from_home in Eng,Fin,Swe ; display categories in ParseFin ; some corrections in Fin and Swe Dict
2013-12-09 15:08:09 +00:00
aarne
a0583ef688
new inflection_fi.xml, for stemmed and refactored ParseFin
2013-12-09 14:48:19 +00:00
aarne
86812fee93
more variants in ParseChi: topicalized adverbs, V-not-V questions
2013-12-09 10:43:57 +00:00
aarne
e5caac511f
little fixes to make lib/src 'make Parse8' work again and produce a better than ever 'open text' translator
2013-12-08 20:36:14 +00:00
aarne
a91add2bbb
corrected the treatment of passives in Fin
2013-12-08 14:58:29 +00:00
aarne
30df21ffd8
Constructions in Ger
2013-12-08 13:24:00 +00:00
aarne
01bf55f6c9
Chi constructions (part of them), topicalized time adverbs
2013-12-08 13:11:29 +00:00
aarne
39cff5a66b
another doubling of parsing speed for Fin by using stems inside VP as well. Now just 10% of the time before these optimizations.
2013-12-07 15:55:20 +00:00
aarne
a03037b830
changed Finnish VP so that the verb is stored as such. This makes compilation and parsing several times faster. TODO: treat passivization correctly; optimize further by only storing the stems.
2013-12-07 11:13:17 +00:00
aarne
0f2cc75490
make ParseFin compile with Construction
2013-12-07 08:01:28 +00:00
aarne
4f877ef885
added constructions to Parse grammars
2013-12-06 17:13:53 +00:00
aarne
5c22d9ac1b
fixed latin1 character errors in DictEngFre, and converted the file to utf8
2013-12-06 17:12:55 +00:00
aarne
b9afa70236
Construction: a repository of idiomatic constructions involving special lexical items. Started with some Phrasebook ones and implemented for Eng,Fin,Fre,Swe
2013-12-06 15:44:45 +00:00
hallgren
4280c885dd
testsuite: reduced the number of failing tests from 25 to 13
...
Some tests may fail on Windows because of \ instead of / in paths.
2013-12-06 16:01:13 +00:00
hallgren
41827b1aab
Show relative file paths in error messages
...
This is to avoid one trivial reason for failures in the test suite.
2013-12-06 15:43:34 +00:00
kr.angelov
1026824060
partial reconstruction for sentence structures in Susanne
2013-12-06 15:05:56 +00:00
hallgren
0d047707fc
GF.Compile.CheckGrammar: add source path to error message for circular definitions
2013-12-06 13:46:59 +00:00
hallgren
e6096bffc5
GF shell: fix help text for generate_trees
...
Trees are not generated with increasing depth.
2013-12-06 13:45:12 +00:00
aarne
324eb400b5
added passives and self's to Chi
2013-12-06 09:16:50 +00:00
aarne
be58b6f224
PassAgentVPSlash in Ger
2013-12-06 09:05:52 +00:00
aarne
61b07c5b08
self constructions in IdiomFre ; not quite satisfactory yet, see comments in file
2013-12-06 08:56:20 +00:00
kr.angelov
3fcf1df68c
fix in StructuralBul
2013-12-06 08:44:57 +00:00
aarne
06799aab5a
latin1 flags to some Afrikaans modules
2013-12-06 08:42:22 +00:00
aarne
376ed50c2e
PassAgentVPSlash for Eng, Swe, Fin, Fre
2013-12-06 08:32:53 +00:00
kr.angelov
39fff9318d
more on the Susanne treebank
2013-12-05 10:05:33 +00:00
aarne
3d381a0b56
Konstruktikon up to proportion_i_om
2013-12-05 09:07:11 +00:00
aarne
342dd279d9
continued Konstruktikon up to pred_som
2013-12-04 14:44:13 +00:00
aarne
8567d4df55
started implementing Swedish construction grammar from Språkbanken
2013-12-04 10:03:02 +00:00
kr.angelov
6fa7b1ed99
added script for reading the Susanne treebank
2013-12-04 12:11:41 +00:00
kr.angelov
bf9bffdd69
fix the translation of enable_V2V in DictEngBul
2013-12-04 08:43:53 +00:00
kr.angelov
3f7fd1887b
fix the agreement for V2V in ComplSlash
2013-12-04 08:43:01 +00:00
kr.angelov
c796468766
remove UncNeg from ParseBul since now it is a variant in the English grammar
2013-12-04 08:30:24 +00:00
kr.angelov
ffed8ba854
double negation in Bulgarian
2013-12-04 08:20:40 +00:00
kr.angelov
4d625c7ba5
fix the encoding in CatBul.gf
2013-12-04 08:20:02 +00:00
aarne
996e0141e2
three new uses of "self" in Idion(Eng,Fin,Ger,Swe): SelfAdvVP (he is singing himself), SelfAdVVP (he is himself singing), SelfNP (he himself is singing; I know the president himself)
2013-12-03 18:54:56 +00:00
hallgren
dd78657191
testsuite: Use Cabal's new test suite interface
...
* The old way: a user hook in Setup.hs
* The new way: specify it in gf.cabal
* The test suite is now called gf-tests, and it runs testsuite/run.hs.
* You can run it manually with 'runhaskell testsuite/run.hs'. It also runs,
together with rgl-tests, when you do 'cabal test'
* Currently only 9 of 34 tests pass. Many failures have silly causes:
- Error messages that look slightly different
- Same output but in a different order
- Absolute paths in output
2013-12-03 17:13:39 +00:00