Commit Graph

111 Commits

Author SHA1 Message Date
aarne
6cbeea93da a couple more fixes in Chi 2015-12-11 13:42:26 +00:00
aarne
0b338f158b fix in QuestionChi, suppressing the verb in some cases and making a negative sentence interpreted as a reduplicative question 2015-12-11 13:29:00 +00:00
krasimir
07b381ee63 change in the Documentation module to accomodate topics visualization 2015-11-29 08:01:07 +00:00
krasimir
80ccd0493d now the Documentation module contains a category Definition which is used to generate definitions and examples for words in the App. 2015-11-16 14:57:32 +00:00
tobn2701
2a0edb2148 Chi fixes from René Tobner 2015-11-12 15:45:10 +00:00
aarne
ae94991571 removed bogus "om" from Dut infinitives; fixed "wrong" in Chi 2015-09-04 15:38:49 +00:00
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
aarne
9c364bbae9 pinyin version of ConstructionChi 2015-07-21 15:38:16 +00:00
aarne
b3acc4d4c3 constants for Chi negation words to support Pinyin 2015-07-19 09:40:59 +00:00
aarne
2c61609344 Pinyin files using diacritics instead of numbers 2015-07-19 09:11:45 +00:00
aarne
a68fae0f84 file with noun classifiers extracted from DictionaryChi" 2015-07-19 08:15:59 +00:00
aarne
05146d567d Pinyin with accents in additions to tone numbers 2015-07-16 13:58:58 +00:00
aarne
6af8c90ad2 fixes in Chi suggested by Mary 2015-07-14 15:11:33 +00:00
aarne
dbd4e04af3 subordinate sentence order and two intransitive verbs in Chi 2015-07-14 12:40:29 +00:00
krasimir
f716974e89 the Android app now can show Glosses from WordNet 2015-07-01 09:44:56 +00:00
aarne
b57e5dcc12 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
6067bc4932 some missing Chi functions 2014-12-08 13:14:47 +00:00
aarne
91e00cf827 missing syntax functions in Chi and some other languages 2014-12-08 10:19:38 +00:00
aarne
ef59dee4d5 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
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
aarne
2ae43ed0eb variants for language and wife in Chi dictionary 2014-10-20 22:24:22 +00:00
aarne
2bd37da274 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
e9d83e1f9d 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
67fefa20a5 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
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
17a9accf97 using reduplication in Chi indirect questions, as suggested by Qiao 2014-07-15 09:41:26 +00:00
aarne
65a9709041 distinction between direct and indirect questions in Chi, to eliminate "ma" in indir questions 2014-07-05 08:33:45 +00:00
aarne
180ba3b9d9 ConstructionsDut and geonames in DictionaryChi (including some in Latin letters without spaces) 2014-06-18 13:14:51 +00:00
aarne
08e27cd56e 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
ad519cd44a coercions from special categories in Construction to N and PN 2014-06-18 06:29:34 +00:00
aarne
613594d732 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
90161e6fec 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
6ca0417596 corrected use of possess_Prep in Chi to avoid double "de" 2014-03-20 06:56:44 +00:00
aarne
b4c0077955 importing DocumentationChi in LangChi, as usual 2014-03-09 21:10:14 +00:00
kr.angelov
7e0292f6e0 fix in DocumentationChi 2014-02-26 10:30:38 +00:00
kr.angelov
5594843faf add DocumentationChi and fix the old ParseChi 2014-02-25 14:11:07 +00:00
aarne
7111684795 removed obsolete DictEng??? grammars and marked Parse as obsolete in Makefile 2014-01-22 15:00:16 +00:00
aarne
681020b371 Merry Christmas and other Dict updates 2014-01-17 14:42:22 +00:00
aarne
990edc31cd 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
45732fa9da added abstract to paths in Parse* to make them find Constructions and Documentation 2013-12-15 22:06:13 +00:00
aarne
85d4212a91 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
5a1c19e04b time in ConstructionsChi 2013-12-15 12:22:16 +00:00
aarne
c2f1c599d1 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
71ea4f27d5 home adverbs in Chi 2013-12-10 09:31:30 +00:00
aarne
86812fee93 more variants in ParseChi: topicalized adverbs, V-not-V questions 2013-12-09 10:43:57 +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
4f877ef885 added constructions to Parse grammars 2013-12-06 17:13:53 +00:00
aarne
324eb400b5 added passives and self's to Chi 2013-12-06 09:16:50 +00:00