aarne
|
e19a28f46c
|
experimental type checker module GF.Compile.TypeCheck.RConcrete.hs with record updates enabled by ** expressions. Can be changed back to Concrete.hs by just changing one import command in GF.Compile.CheckGrammar.hs. The worst thing that *should* happen with the new type checker is that some old code is detected to be invalid, which happens if it contains a type-incompatible record extension, e.g. {x = "foo"} ** {x = 1}. Previously such errors were silently ignored. A set of test runs detected one such error in the RGL, which was corrected. On the positive side, the new type checker now enables record updates in the natural way: R ** {x = 1} will give value x = 1 overshadowing any value of x in R (provided the expected type of x is Int). lib/src/experimental/PredicationSwe.gf illustrates this, as opposed to PredicationSwO.gf which has to use old-style copying of even the unchanged record fields.
|
2014-01-31 20:28:25 +00:00 |
|
aarne
|
8b1b17c33b
|
abstracting complement and extension insertion in the test file PredicationSwR.gf
|
2014-01-31 08:13:28 +00:00 |
|
aarne
|
4e126a1356
|
an example of how grammars look with record updates: PredicationSwR (as compared with PredicationSwe)
|
2014-01-30 06:50:57 +00:00 |
|
aarne
|
0900ea04ed
|
restored the a.s field in infinitives in PredicationSwe, needed in linearization.
|
2014-01-29 08:02:44 +00:00 |
|
aarne
|
65cc186f13
|
PredicationSwe: suppress tense string in infinitives to change spurious ambiguity to a metavariable. Maybe a better solution, but to be seen.
|
2014-01-28 21:42:32 +00:00 |
|
aarne
|
fbcb66fd19
|
Adv added to Cl instead of VP reduces ambiguity but needs some work to restore coverage.
|
2014-01-27 14:11:47 +00:00 |
|
aarne
|
1db9dfec8c
|
typos and name changes in PredicationSwe
|
2014-01-27 12:43:32 +00:00 |
|
aarne
|
1db4f8d456
|
commented PredicationSwe with todo's and made some abstractions to enable a functor
|
2014-01-27 07:53:05 +00:00 |
|
aarne
|
7c8807279e
|
Predication: participles of V's as AP's.
|
2014-01-26 22:06:39 +00:00 |
|
aarne
|
a7e80c218c
|
added passives to Predication - forms selected from tables as the first step of VP formation
|
2014-01-26 18:46:20 +00:00 |
|
aarne
|
a33e0da323
|
set of predication test examples; support for N-complement verbs such as "we were promoted to professors"
|
2014-01-26 11:27:56 +00:00 |
|
aarne
|
dc70c946f5
|
PredicationSwe: omission of auxiliary in compound tenses, subordinate and infinitive
|
2014-01-26 10:43:03 +00:00 |
|
aarne
|
11395b50f0
|
compound tenses in PredicationSwe
|
2014-01-25 17:35:24 +00:00 |
|
aarne
|
4a245c1253
|
completing all verb subcats and dealing with subject/object control; only fully implemented in PredicationSwe
|
2014-01-25 11:51:52 +00:00 |
|
aarne
|
42a28523c0
|
VP coordination, focus in QCl in Predication. Swe is close to correct but in Eng details with auxiliaries have to be fixed.
|
2014-01-24 13:57:44 +00:00 |
|
aarne
|
7d41ff0b9f
|
testing Predication with Swe
|
2014-01-23 21:20:52 +00:00 |
|
aarne
|
2c71e31a64
|
generalized some types in Predication so that the same fun's now cover slash propagation ("who does she force us to love") as well
|
2014-01-23 17:50:30 +00:00 |
|
aarne
|
8c1128c16c
|
experimental Predication with dependent types - promising, but far from finished
|
2014-01-23 16:12:28 +00:00 |
|
aarne
|
7111684795
|
removed obsolete DictEng??? grammars and marked Parse as obsolete in Makefile
|
2014-01-22 15:00:16 +00:00 |
|
aarne
|
1ca7e33ea6
|
working through translator/Extensions with some reorganization and generalizations
|
2014-01-22 14:44:56 +00:00 |
|
aarne
|
fca176cbbf
|
new copy of DictionaryBul with phrasetable extensions
|
2014-01-22 14:44:22 +00:00 |
|
aarne
|
8a5717d38c
|
notes in Extensions
|
2014-01-21 15:23:02 +00:00 |
|
aarne
|
9b986255bf
|
completed Translate grammars for all 8 languages; a Makefile entry for them; updated doc/translation.html. What remains to do is to make the new documentation facilities (GF-driven, in the Documentation modules) available in the Android app, so that the Parse* modules can be retired from translation tasks.
|
2014-01-21 08:20:46 +00:00 |
|
aarne
|
370296c0ba
|
added Translate modules for Hindi
|
2014-01-21 07:26:53 +00:00 |
|
aarne
|
c20f5c3cea
|
removed paths to english in Translate modules
|
2014-01-21 07:26:17 +00:00 |
|
aarne
|
355777e0ca
|
added refactored TranslateFin. Starting to get confident that the refactoring is on the right track.
|
2014-01-20 21:52:14 +00:00 |
|
aarne
|
68bee264a5
|
Translate grammar refactoring for Bul and Chi
|
2014-01-20 21:32:39 +00:00 |
|
aarne
|
f22647f73c
|
lib/src/translator: refactored wide-coverage translator grammar structured as described in lib/doc/translate.html. Implemented for Eng and Swe. To do: more languages, makefile entries (to be converted from entries for Parse), some internal refactoring in translator/Extensions.gf.
|
2014-01-20 20:59:26 +00:00 |
|
aarne
|
0f1826a868
|
subtitles in translation doc
|
2014-01-20 08:32:09 +00:00 |
|
aarne
|
65457e12e8
|
translation doc: principles distinguishing translation and resource grammars
|
2014-01-19 18:42:45 +00:00 |
|
aarne
|
43daeaf1b4
|
translation doc with a module diagram and as html
|
2014-01-19 18:28:36 +00:00 |
|
aarne
|
88af7ed93a
|
started a doc describing the use of RGL in translation, in order to gather relevant information in one place and to structure future developments
|
2014-01-19 10:50:48 +00:00 |
|
aarne
|
681020b371
|
Merry Christmas and other Dict updates
|
2014-01-17 14:42:22 +00:00 |
|
aarne
|
b572226e37
|
removed the generated html files
|
2014-01-10 14:55:21 +00:00 |
|
aarne
|
31062771ee
|
started demo pages for translation and resource grammars
|
2014-01-10 14:54:21 +00:00 |
|
aarne
|
665603c248
|
typo in Fin tuesday
|
2013-12-17 10:16:32 +00:00 |
|
aarne
|
599027ff18
|
ParseFin ProDrop variants ; ParseFre question word order and pronoun gender variants
|
2013-12-17 09:54:11 +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
|
db278b0393
|
commented out examples in InflectionV* as they blow up the pgf size enormously (from 26 to 80M in ParseFin)
|
2013-12-15 15:11:05 +00:00 |
|
aarne
|
2b217eda24
|
commented out some things from ParseFin to make Parse8 link
|
2013-12-15 13:35:30 +00:00 |
|
aarne
|
5a1c19e04b
|
time in ConstructionsChi
|
2013-12-15 12:22:16 +00:00 |
|
aarne
|
3c935f12ba
|
added more temporal Constructions in Eng,Fin,Fre,Ger,Swe
|
2013-12-15 11:38:43 +00:00 |
|
aarne
|
8fcd920054
|
functorized Documentation for Fin, Fre, Ger
|
2013-12-14 15:13:14 +00:00 |
|
aarne
|
ced38d5f9f
|
refactored Documentation to Terminology and Documentation proper. This makes it possible to functorize the display of tables, for instance show Swedish inflection tables with headings in English terminology. Carried out the functorization in Eng and Swe, other languages coming soon.
|
2013-12-14 09:21:15 +00:00 |
|
aarne
|
b394d16ed0
|
DocumentationSwe : N and A
|
2013-12-13 21:00:27 +00:00 |
|
aarne
|
dba791cc83
|
added examples to the documentation of verbs and prepositions
|
2013-12-13 17:39:51 +00:00 |
|
aarne
|
a1d641ea4a
|
completed DocumentationFre, also added Cl examples to V's
|
2013-12-13 12:50:09 +00:00 |
|
aarne
|
1554d160c2
|
DocumentationFre completed with finite verb forms; missing notpresent tags added to DocumentationFin to make it compile with present
|
2013-12-13 10:01:12 +00:00 |
|
aarne
|
fa1d995d08
|
started DocumentationFre
|
2013-12-13 08:56:24 +00:00 |
|
aarne
|
78b7331626
|
completed DocumentationFin
|
2013-12-13 08:29:15 +00:00 |
|
aarne
|
ebe1fac77c
|
more in DocumentationFin
|
2013-12-12 20:58:33 +00:00 |
|
aarne
|
630bee9242
|
started DocumentationFin
|
2013-12-12 18:46:48 +00:00 |
|
aarne
|
5559d600be
|
completed DocumentationGer and DocumentationEng
|
2013-12-12 17:17:27 +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 |
|
aarne
|
83eab8e79b
|
documentation module, implemented for German to produce inflection tables
|
2013-12-12 15:40:56 +00:00 |
|
aarne
|
ac29497c99
|
some more functions in prelude/HTML
|
2013-12-12 15:39:48 +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
|
bc787ece75
|
corrected the inflection of "olla" in stemmed Finnish
|
2013-12-12 08:00:13 +00:00 |
|
aarne
|
51a6f31b7e
|
some fixes in DictEng,Swe when analysing course plans
|
2013-12-11 16:12:45 +00:00 |
|
aarne
|
112514341b
|
verb correspond_V2 (correspond to) in DictEng, Swe, Fin
|
2013-12-11 14:14:25 +00:00 |
|
aarne
|
eb2f006cf5
|
weekdays in Swe ; adverbs for next and last weekday
|
2013-12-11 13:10:21 +00:00 |
|
aarne
|
01ffe53fe9
|
some adjustments in weekdays in Construction; added them in Eng as well
|
2013-12-11 12:57:16 +00:00 |
|
aarne
|
ac8098719a
|
import Construction in AllEng
|
2013-12-11 09:49:43 +00:00 |
|
aarne
|
168e7d54a3
|
solved the issue with it_Pron not having possessive suffix in Fin; fixed a number of warnings in Fin
|
2013-12-11 08:06:01 +00:00 |
|
aarne
|
19d2e41781
|
at last, proper possessive suffixes in Finnish Prep. This needs a parameter and vowel harmony: "opettajan mukaan" (according to the teacher), "meidän mukaamme" (according to us), "hänen jälkeensä" (after her).
|
2013-12-10 20:35:52 +00:00 |
|
aarne
|
52a6c03605
|
Fin.VPSlashPrep is cyclic in the presence of empty-strinc prepositions. Therefore omitted it from ParseFin.
|
2013-12-10 15:17:35 +00:00 |
|
aarne
|
81d37de270
|
extended ResourceDemo and changed it to compile without optimizing pgf, so that all inflection forms are kept
|
2013-12-10 15:14:18 +00:00 |
|
aarne
|
31918cf25f
|
French inflection display in android
|
2013-12-10 13:03:50 +00:00 |
|
aarne
|
71ea4f27d5
|
home adverbs in Chi
|
2013-12-10 09:31:30 +00:00 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
aarne
|
938587c159
|
top-level access to contracted auxiliaries in ExtraEng. Introduced them as variants in ParseEng.
|
2013-12-03 14:52:12 +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 |
|
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 |
|