1
0
forked from GitHub/gf-rgl
Commit Graph

107 Commits

Author SHA1 Message Date
tobn2701
c62c881364 Chi fixes from René Tobner 2015-11-12 15:45:10 +00:00
aarne
54fde918da removed bogus "om" from Dut infinitives; fixed "wrong" in Chi 2015-09-04 15:38:49 +00:00
hallgren
4061d03aa2 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
aarne
faabf27b93 pinyin version of ConstructionChi 2015-07-21 15:38:16 +00:00
aarne
49a8824755 constants for Chi negation words to support Pinyin 2015-07-19 09:40:59 +00:00
aarne
05be967ec4 Pinyin files using diacritics instead of numbers 2015-07-19 09:11:45 +00:00
aarne
101f829447 file with noun classifiers extracted from DictionaryChi" 2015-07-19 08:15:59 +00:00
aarne
1f531603b8 Pinyin with accents in additions to tone numbers 2015-07-16 13:58:58 +00:00
aarne
f47919dc92 fixes in Chi suggested by Mary 2015-07-14 15:11:33 +00:00
aarne
f8b9d4e1d8 subordinate sentence order and two intransitive verbs in Chi 2015-07-14 12:40:29 +00:00
krasimir
b3130736e4 the Android app now can show Glosses from WordNet 2015-07-01 09:44:56 +00:00
aarne
9a024f6625 fixed the word order of Scand discontious conjunctions: antinger jag vinner eller... -> antingen vinner jag eller... 2015-05-22 11:31:57 +00:00
aarne
0267383537 some missing Chi functions 2014-12-08 13:14:47 +00:00
aarne
03b15a8683 missing syntax functions in Chi and some other languages 2014-12-08 10:19:38 +00:00
aarne
41f7a0d9b0 Constructions: languageNP and languageCN ; languagePN removed. Requires the change of lincat from PN to N. Done for 10 languages, not yet Bul and Hin. Enables "my English is bad", "this is bad English" 2014-11-20 22:10:24 +00:00
hallgren
cec28ebec0 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
aarne
27cb32844b variants for language and wife in Chi dictionary 2014-10-20 22:24:22 +00:00
aarne
31e67742fa some adjustments for 0,1,2's in NumeralChi. Remaining problem: 225,250 gets "liang" as a variant for its second digit, should be only "er". 2014-10-20 22:07:32 +00:00
aarne
f3d4c7f4d7 added the constructor Noun.NumeralSuperlOrd for phrases like "third largest", which have special linearizations in many languages e.g. German (drittgrösste) and Finnish (kolmanneksi suurin). Implemented for Chi (to check), Dut, Eng, Fin, Ger, Romance, Scand so far 2014-08-24 14:32:44 +00:00
aarne
7815ea4b3e made the "how old" construction in Chinese more efficient by moving variants to the top level; the resulting rule is the same. This kind of inefficiencies are best found if you compile with the -v option and check for constructors creating unexpectedly many PGF rules. 2014-08-24 14:28:48 +00:00
hallgren
4c38803eea 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
75278a5828 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
9702746c0e using reduplication in Chi indirect questions, as suggested by Qiao 2014-07-15 09:41:26 +00:00
aarne
e72784f5e2 distinction between direct and indirect questions in Chi, to eliminate "ma" in indir questions 2014-07-05 08:33:45 +00:00
aarne
8466c09107 ConstructionsDut and geonames in DictionaryChi (including some in Latin letters without spaces) 2014-06-18 13:14:51 +00:00
aarne
6ffdf419e7 moved Names to Construction, to make the structure simpler ; use months and weeks as PN's as well 2014-06-18 09:27:57 +00:00
aarne
86c9ff1b4c coercions from special categories in Construction to N and PN 2014-06-18 06:29:34 +00:00
aarne
444606c246 moved lexical parts of Construction to Names, and added Language names there ; implemented for the six old Construction languages 2014-06-17 19:12:18 +00:00
aarne
b142710b38 rewrote SentenseChi.AdvSlash to prevent looping with unknown tokens ; the rule is right, but the cause of looping should be found 2014-04-20 07:41:57 +00:00
aarne
3e80f7f94d corrected use of possess_Prep in Chi to avoid double "de" 2014-03-20 06:56:44 +00:00
aarne
784808f4c7 importing DocumentationChi in LangChi, as usual 2014-03-09 21:10:14 +00:00
kr.angelov
9c45e9aa80 fix in DocumentationChi 2014-02-26 10:30:38 +00:00
kr.angelov
25d739a86a add DocumentationChi and fix the old ParseChi 2014-02-25 14:11:07 +00:00
aarne
3cb55c2764 removed obsolete DictEng??? grammars and marked Parse as obsolete in Makefile 2014-01-22 15:00:16 +00:00
aarne
ee342e0837 Merry Christmas and other Dict updates 2014-01-17 14:42:22 +00:00
aarne
df9b2c5a2e Documentation and Construction back in Lang, via the inclusion of ../api in the paths of Lang and All files 2013-12-16 11:51:15 +00:00
aarne
118be922fb added abstract to paths in Parse* to make them find Constructions and Documentation 2013-12-15 22:06:13 +00:00
aarne
935a30db90 added noun compound form to Swe; commented out Constructions and Documentation in Lang concretes, because their presence makes it impossible to bootstrap the compilation of the library, causing new makes of the library to fail (to be fixed) 2013-12-15 20:11:19 +00:00
aarne
112af19cfd time in ConstructionsChi 2013-12-15 12:22:16 +00:00
aarne
8d0262ef8f split may_VV into may_1_VV (be possible) and may_2_VV (be allowed); not yet in Bul, Hin 2013-12-12 12:35:44 +00:00
aarne
fa917cd4c6 home adverbs in Chi 2013-12-10 09:31:30 +00:00
aarne
61fb3790c1 more variants in ParseChi: topicalized adverbs, V-not-V questions 2013-12-09 10:43:57 +00:00
aarne
98f9809a4c Constructions in Ger 2013-12-08 13:24:00 +00:00
aarne
452cfdd6fb Chi constructions (part of them), topicalized time adverbs 2013-12-08 13:11:29 +00:00
aarne
d3f21cce99 added constructions to Parse grammars 2013-12-06 17:13:53 +00:00
aarne
e190bb6e71 added passives and self's to Chi 2013-12-06 09:16:50 +00:00
kr.angelov
67a44343f0 split teacher_N into two genders 2013-12-03 10:39:45 +00:00
kr.angelov
9e843ca6d3 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
hallgren
1ccd47784d Add explicit character encoding specifications in 39 more RGL modules
To silence warnings and avoid potential problems after changing the default
encoding to UTF-8.
2013-11-25 18:17:12 +00:00
kr.angelov
6b5d3deb53 split degree_N into three senses and add licentiate_N and phd_N in Bulgarian 2013-11-13 16:39:04 +00:00