Commit Graph

7625 Commits

Author SHA1 Message Date
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
inari
299630e95e fixed good_A in DictEngFre 2013-12-02 15:58:54 +00:00
aarne
385d5f45fc ui/android/.../Translate.java uses Parse8 (change the name and language list if you need something else) 2013-12-02 13:34:51 +00:00
aarne
4fab9c1bb8 mkInterj in some languages; 'make Parse' in lib/src builds Parse8.pgf 2013-12-02 13:34:07 +00:00
aarne
45787ff1e6 interjections in DictEng Fin and Ger 2013-12-02 11:09:28 +00:00
hallgren
25b3d5adc0 examples/phrasebook/Makefile2: Romanian needs a larger stack 2013-11-29 17:34:09 +00:00
hallgren
7934c0a88b Commment code and options relating to the old partial evaluator
This means that the -old-comp and -new-comp flags are not recognized anymore.

The only functional difference is that printnames were still normalized with
the old partial evaluator. Now that is done with the new partial evaluator.
2013-11-29 16:26:49 +00:00
hallgren
ac16928d87 Minor release/download/developer doc changes 2013-11-29 16:04:52 +00:00
hallgren
537caca039 Move typePredefined from GF.Compile.Compute.AppPredefined to GF.Compile.TypeCheck.Primitives
Also move the list of primitives
2013-11-29 15:47:26 +00:00
hallgren
6f590a3f2c Move checkPredefError from GF.Compile.Compute.ConcreteLazy to GF.Grammar.Macros
Also simplified its type.
2013-11-29 14:43:01 +00:00
kr.angelov
d7f3aab994 -optimize-pgf should also apply to the linrefs 2013-11-29 14:25:23 +00:00
kr.angelov
724b2e04e1 fixes in the dictionaries 2013-11-29 13:56:28 +00:00
kr.angelov
938d97fad5 cleanup in LangBul 2013-11-29 13:55:46 +00:00
kr.angelov
4ae1a16a1e added caching to be able to quickly generate the inflection table for Finnish 2013-11-28 22:06:55 +00:00
hallgren
134f6a200f examples/foods: remove all -path flags
All languages n the Foods grammar compile fine with alltenses.
2013-11-29 13:03:19 +00:00
aarne
3d5f1afde6 added forms to Finnish xml table 2013-11-29 08:21:00 +00:00
aarne
e903f85a90 some missing forms in Fin (agent participle, Inf3 instructives); now also in stemmed version. 2013-11-29 08:05:55 +00:00
aarne
86937017cd html templates for Finnish noun and verb inflection started 2013-11-28 22:04:30 +00:00