Commit Graph

189 Commits

Author SHA1 Message Date
hallgren
72459b5158 lib/src/*/Numeral*.gf: fix inconsistent inheritance form Cat
While the abstract Numeral inherits only Cat[Numeral,Digits], some of the
concrete NumeralNNN of Numeral inherited everything from CatNNN.

Normally the compiler outputs a warning message when a concrete syntax 
contains superflous lincats, but apparently not when they get included
through inheritance...

This does not seem to cause problems in the Haskell run-time system, but the 
C run-time system fails to load PGFs with superflous lincats.

This problems shows up when creating application grammars that inherit Numeral.
The Phrasebook is an example of such a grammar.
2015-08-26 11:53:16 +00:00
krasimir
f716974e89 the Android app now can show Glosses from WordNet 2015-07-01 09:44:56 +00:00
kr.angelov
cfa8639abd fix ConstructionBul.gf 2014-12-11 23:11:24 +00:00
kr.angelov
1c9eda6f7f fix the languages in ConstructionBul.gf 2014-12-11 21:55:55 +00:00
kr.angelov
0587071a60 in the documentation for adjectives in Bulgarian, show the adverb as well 2014-12-11 08:16:06 +00:00
kr.angelov
7bad06d08f PresPartAP and PastPartAP 2014-12-10 20:35:22 +00:00
aarne
025ce90634 ExtAdvVP added to some languages where it was missing 2014-12-08 13:21:28 +00:00
kr.angelov
78d1acccab fix in LexiconBul.gf 2014-12-06 21:31:09 +00:00
kr.angelov
f8324ee49c fix a warning in ExtraBul.gf 2014-12-05 12:47:56 +00:00
kr.angelov
4810860afc store the accusative as well as the dative clitics in Bulgarian 2014-12-05 12:46:17 +00:00
kr.angelov
4f751105ab fix in MorphoFunsBul.compoundN 2014-11-06 12:26:01 +00:00
hallgren
ef9f16b63a Lang???.gf: exclude Documentation from present mode
The Documentation module is excluded from present mode in abstract/Lang.gf,
so it needs to be excluded in the corresponding concrete syntaxes too
to avoid problems.
2014-10-23 16:32:55 +00:00
hallgren
be301d8a5e Convert many RGL modules from Latin-1 to UTF-8 to speed up compilation
Also add flags coding=utf8 to silence warnings.
2014-08-19 19:42:05 +00:00
hallgren
7dee933802 Adjust the -path flags in 112 RGL modules
The -path flags in the RGL modules compiled during 'cabal build' now refer 
directly to the needed source directories. References 'alltenses' and 'present'
(and the nonexistent directory 'mathematical') have been removed.

This allows the files to be compiled in any order (e.g. in parallel). In
addition, you can do things like

	gf -retain lib/src/api/TrySwe.gf

without compiling/installing any other RGL modules first, and without 
setting any other path flags or environment variables.
2014-08-18 22:26:29 +00:00
aarne
7ec57cc035 path in AllBul to work with Construction ; potential clash in ConstructionHin 2014-06-18 15:55:01 +00:00
kr.angelov
e3d4d6661a added ConstructionBul.gf 2014-06-18 15:28:07 +00:00
kr.angelov
d0d55a8175 fix mkN011 in Bulgarian 2014-05-07 07:49:45 +00:00
kr.angelov
500a874fd2 ~1700 new nouns in DictionaryBul. A few words in the English dictionary are merged. 2014-05-03 11:55:00 +00:00
aarne
1397bb4528 restored passives in Extensions for Bul,Fre,Ita,Spa ; PassAgentVPSlash in ExtraBul to be verified 2014-04-09 16:16:32 +00:00
kr.angelov
dbad21daba fixes in the dictionaries 2014-03-28 14:09:09 +00:00
aarne
775fbc5fd3 import DocumentationBul in LangBul 2014-03-14 14:49:52 +00:00
kr.angelov
dc19edc05d completed Documentation modules for English, Swedish, Bulgarian, German, Finnish, French. The examples for Finnish, German and French could still be improved. The old parsing grammars are now restored. The new Translation grammar still don't have statistical model. 2014-02-21 16:31:50 +00:00
kr.angelov
014f4e1e11 linref for Conj in English and Bulgarian 2014-02-21 16:29:55 +00:00
kr.angelov
a6747eac6b a new abstract syntax in Documentation.gf which allows a more compact definition of the corresponding concrete syntax. The new strategy is so far used only in DocumentationEng and the new DocumentationBul. 2014-02-17 08:45:57 +00:00
aarne
7111684795 removed obsolete DictEng??? grammars and marked Parse as obsolete in Makefile 2014-01-22 15:00:16 +00:00
kr.angelov
db67c180a5 approximately 3500 new Bulgarian words extracted from the phrasetables for EuroParl 2014-01-21 16:51:56 +00:00
aarne
681020b371 Merry Christmas and other Dict updates 2014-01-17 14:42:22 +00:00
kr.angelov
ba191fb438 fixes in DictEngBul and DictEngSwe 2013-12-20 12:03:36 +00:00
kr.angelov
86523f872c partial cleanup in DictEngBul 2013-12-19 09:42:15 +00:00
kr.angelov
1de632df5a DictEngBul is almost doubled in size by importing more data. It will take a long to clean it up :-) 2013-12-18 17:49:44 +00:00
kr.angelov
ad79e7144c fixes in Swedish 2013-12-18 11:22:56 +00:00
kr.angelov
87760bb843 fixes in the Bulgarian and Swedish dictionaries 2013-12-18 10:26:05 +00:00
kr.angelov
0bc9c4f7aa another fix 2013-12-18 09:49:36 +00:00
kr.angelov
f534cc8dcb fixes in the dictionaries inspired by a paper phrasebook 2013-12-18 09:18:55 +00:00
aarne
45732fa9da added abstract to paths in Parse* to make them find Constructions and Documentation 2013-12-15 22:06:13 +00:00
kr.angelov
27a9f72f37 three more interjections from Susanne 2013-12-15 11:17:33 +00:00
aarne
6324726b8f may_VV split in Bul and Hin (to check in Hin!) ; Documentation added to Lang and ParseEngAbs 2013-12-12 15:43:49 +00:00
kr.angelov
5a62a3739f fix ExistNP in Bulgarian with double negation 2013-12-11 17:05:21 +00:00
kr.angelov
8819070c5b fixes in the dictionaries 2013-12-11 14:10:49 +00:00
kr.angelov
9076b8b1d6 a lot more words in English have gender now. Some words are also marked as animate in Bulgarian 2013-12-11 10:04:28 +00:00
kr.angelov
3fcf1df68c fix in StructuralBul 2013-12-06 08:44:57 +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
kr.angelov
5d93c1d4de split teacher_N into two genders 2013-12-03 10:39:45 +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
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