Commit Graph

7642 Commits

Author SHA1 Message Date
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
hallgren
9118f72fda testsuite: use forward slashes in paths 2013-12-03 16:59:33 +00:00
aarne
938587c159 top-level access to contracted auxiliaries in ExtraEng. Introduced them as variants in ParseEng. 2013-12-03 14:52:12 +00:00
gregoire.detrez
23f13d5b55 Fix bescherelle tests broken (True/False order) 2013-12-03 14:29:36 +00:00
aarne
302e2d3ebd introduced contracted auxiliaries in English. So far only available internally in the tables created from Cl. TODO: make them accessible on top level in Extra; use them as variants in Parse. Also the use in QCl needs some more work: we can say "he's here", "I'm here", "where's he" but not "'s he here", "where'm I". 2013-12-03 13:54:57 +00:00
aarne
e0ded7e7e8 changed the order of Prelude.Bool to False | True. This is how it is in Haskell to create expected Ord and Enum. Now it also gives a better default for English clause linearizations, as False = uncontracted. 2013-12-03 13:52:52 +00:00
aarne
1778cd7c19 removed the unlines-lines wrapper from Lexing.unlexer to prevent empty lines when an unlexer (such as -bind or -unchars) is used as an option in linearization. Don't know really why the input had been broken into lines in the first place. You can see the effect by importing LangEng and running "gr -cat=Cl | l -table -bind" before and after recompiling GF. 2013-12-03 13:27:22 +00:00
kr.angelov
98e0f79324 fix in inflection_en.xml 2013-12-03 12:15:06 +00:00
kr.angelov
5d93c1d4de split teacher_N into two genders 2013-12-03 10:39:45 +00:00
kr.angelov
ff5dcf0f6a FeatN and FeatN2 in English now show the gender if it is masculine or feminine 2013-12-03 09:05:20 +00:00
kr.angelov
41642e8d30 in DictEng all hyphenated words are again merged into a single token without spaces. This is necessary because there is no lexer anymore 2013-12-03 08:31:04 +00:00
kr.angelov
63c779f844 forgoten entry in DictEngAbs.gf 2013-12-03 08:28:09 +00:00
john.j.camilleri
f7e91e06c1 Maltese RG: Fix apposition. Add ExtAdvNP & ExtAdvVP. Fix adjective order. 2013-12-03 08:19:38 +00:00
kr.angelov
2356aa7e65 one big patch with several changes in the different dictionaries
1. the duplicated variants in the French entries are merged
2. ~150 abstract words are split into masculine and feminine entries.
   The actual defininitions for English, Bulgarian, French and German differ.
   For the other languages they are just copied.
3. fan_N, intelligency_N, character_N and letter_N are split into
   different senses. The entries for Bulgarian, Swedish, German and French
   are sense disambiguated. For English they are just copied since they
   are ambiguous. For the other languages they are copied since I don't
   know how to translate them.
2013-12-03 08:14:05 +00:00