aarne
|
599b5689c3
|
probabilistic model for the new syntax
|
2014-02-27 17:34:53 +00:00 |
|
aarne
|
9f4d8a8c55
|
passives in tree transfer
|
2014-02-27 07:56:11 +00:00 |
|
aarne
|
8db4f97bce
|
simple-minded transformer of constructor counts, to adapt a treebank quickly
|
2014-02-26 18:24:48 +00:00 |
|
aarne
|
3a064468c2
|
top-level transfer for converting trees; lexicon not included
|
2014-02-26 18:03:52 +00:00 |
|
aarne
|
b7839dd9df
|
defining top-level Old2New transfer, trying to figure out how to handle metavariables
|
2014-02-26 14:59:10 +00:00 |
|
aarne
|
e0a9e01e96
|
more cases in Old2New
|
2014-02-26 09:09:21 +00:00 |
|
aarne
|
3ea92a59d5
|
started PredInstanceChi
|
2014-02-25 10:58:15 +00:00 |
|
aarne
|
95a2ebe569
|
commented out Documentation definitions in notpresent mode. It was not enough to do this in the import list in Lang, since the import list parsing seems to be done without preprocessing.
|
2014-02-25 07:37:03 +00:00 |
|
aarne
|
62aa1d2bc7
|
more work with Old2New, soon good coverage
|
2014-02-23 18:46:35 +00:00 |
|
aarne
|
aa912ee580
|
started transfer from old Parse grammar to new Pred grammar
|
2014-02-23 13:54:56 +00:00 |
|
aarne
|
769fd9af69
|
bug fixes in PredFin passives and vvtypes
|
2014-02-16 22:02:15 +00:00 |
|
aarne
|
e94c8af553
|
passive in PredFin
|
2014-02-16 16:07:05 +00:00 |
|
aarne
|
cd58451c8e
|
ported (most of) the new structures to PredFin
|
2014-02-16 09:50:26 +00:00 |
|
aarne
|
7831a3d8c3
|
added some VP constructions to Pred: without/after/before/when doing, in order to do
|
2014-02-15 20:17:48 +00:00 |
|
aarne
|
3e1d19b043
|
typo in NDLift ; roughly_AdV in Dictionary
|
2014-02-15 14:47:05 +00:00 |
|
aarne
|
5127ad4352
|
some fixes in DictionarySwe
|
2014-02-15 12:53:46 +00:00 |
|
aarne
|
94c28d7eca
|
updated wide coverage NDTrans Eng,Swe with the new constructs.
|
2014-02-14 15:41:37 +00:00 |
|
aarne
|
35395c22b6
|
added QuestIComp to Pred
|
2014-02-14 14:36:03 +00:00 |
|
aarne
|
22f817262f
|
relatives and imperatives in Pred Eng and Swe
|
2014-02-14 08:41:18 +00:00 |
|
aarne
|
39ad565694
|
shall-should in Dictionary
|
2014-02-13 17:10:12 +00:00 |
|
aarne
|
6a4dd4aa41
|
Pred: proper forms of Eng auxiliaries; variants for Swe negation and future aux
|
2014-02-12 18:40:18 +00:00 |
|
aarne
|
32a36a246c
|
commented out stringMark from Lang since it creates hopeless ambiguities in parsing
|
2014-02-11 20:09:25 +00:00 |
|
aarne
|
4ce2379869
|
DictionarySwe patched with Saldo-WordNet mappings. Most of the changes should be improvements, but some may not... the old definitions are kept as variants.
|
2014-02-11 17:41:25 +00:00 |
|
aarne
|
4c26fc80ee
|
module Markup for marking up subphrases with html tags (or other things). Implemented for Eng and Swe so far.
|
2014-02-11 15:42:17 +00:00 |
|
aarne
|
cbe0adb71b
|
Swe dictionary entries from Saldo-Wordnet. Should be checked before replacing old words in DictionarySwe
|
2014-02-10 18:43:42 +00:00 |
|
aarne
|
0f7ea733cc
|
some words in DictionarySwe corrected
|
2014-02-10 14:12:58 +00:00 |
|
aarne
|
6cdd5efb9e
|
changes in translator/ExtensionsFin after the datatype reform
|
2014-02-09 20:41:47 +00:00 |
|
aarne
|
063fe069af
|
PredFin and NDTransFin finally working
|
2014-02-09 20:16:29 +00:00 |
|
aarne
|
bcabc34527
|
disabled ad hoc overloading, as it still causes mysterious errors. It is just a few lines in Rename.hs
|
2014-02-09 19:55:17 +00:00 |
|
aarne
|
d60db9a4c3
|
shrinking the size of some Fin datatypes (in general RGL) results in pgf size reduction to 25% of previous size
|
2014-02-09 17:38:24 +00:00 |
|
aarne
|
8b9daedc14
|
factored out linrefs to opers in PredInterface
|
2014-02-09 10:34:21 +00:00 |
|
aarne
|
26f6fea5a8
|
some refactoring, and experiments with Fin which is still too big in pgf
|
2014-02-09 09:31:42 +00:00 |
|
aarne
|
bd51fab5e0
|
Fin modules of NDTrans in place, but refactoring in needed
|
2014-02-08 22:25:06 +00:00 |
|
aarne
|
1c3d7ea22d
|
inheriting some translator Extensions in NDTrans. Many of them are not needed, since they are now covered by Pred.
|
2014-02-08 20:18:27 +00:00 |
|
aarne
|
e9af74ae09
|
moved development-phrase modules to subdir alternatives
|
2014-02-08 19:55:59 +00:00 |
|
aarne
|
2ff1587382
|
factored out fun's for lifting RGL functions to Pred, and added some
|
2014-02-08 19:53:11 +00:00 |
|
aarne
|
3c97dc4ed3
|
nondependent versions of Pred grammars, implemented by a functor over the dependent version so that no new concrete syntax code is needed. This is at the moment the grammar of choice for translation: NDTransEng is several times faster than TransEng and even faster than the old TranslateEng. The next step is to make sure that all coverage is preserved; some new coverage is already there.
|
2014-02-08 14:28:58 +00:00 |
|
aarne
|
b1aec70571
|
predication Test: top-level grammar with Lexicon and Structural instead of the big Dictionary
|
2014-02-08 10:45:17 +00:00 |
|
aarne
|
2e7190c55f
|
functorization of Pred and Trans now includes both Eng and Swe
|
2014-02-08 09:10:57 +00:00 |
|
aarne
|
b502c26e83
|
qualifications in finnish/stemmed/WNKotus to help overloading
|
2014-02-07 22:54:54 +00:00 |
|
aarne
|
1da64de767
|
PredEng now works with a functor. Some decisions about name clashes to do.
|
2014-02-07 17:59:37 +00:00 |
|
aarne
|
ed45089b83
|
completed lifting Eng verbs categories to Pred.V
|
2014-02-07 09:53:38 +00:00 |
|
aarne
|
dfb00211a8
|
refinements in VVType
|
2014-02-06 20:46:11 +00:00 |
|
aarne
|
2bc7f1049a
|
added information to V in Predication
|
2014-02-06 10:49:55 +00:00 |
|
aarne
|
935e8ee4ff
|
predication-based TransSwe delivering the first sentences
|
2014-02-05 20:03:51 +00:00 |
|
aarne
|
b11977a152
|
started TransSwe with the new Predication
|
2014-02-05 15:33:35 +00:00 |
|
aarne
|
4fe3b482d8
|
qualification of type PN in Heb.mkPN to resolve overloading
|
2014-02-05 12:39:01 +00:00 |
|
aarne
|
ddc40ee2fd
|
Predication: factored out Prep as Adv/NP; added linref's to test with chunking
|
2014-02-05 09:31:23 +00:00 |
|
aarne
|
bda94ebb95
|
some more rules included in experimental/TransEng
|
2014-02-04 21:35:09 +00:00 |
|
aarne
|
56bda6bb09
|
first experiments running Predication with the big lexicon and the other RGL modules
|
2014-02-04 20:11:03 +00:00 |
|
aarne
|
9e8be757d8
|
started embedding Predication in the big translation grammar
|
2014-02-04 16:12:22 +00:00 |
|
aarne
|
3953ac3371
|
PredicationEng complete with all agreement forms and questions; questions with contracted auxiliaries still to do
|
2014-02-04 15:24:06 +00:00 |
|
aarne
|
263ae29551
|
contractions of auxiliaries and negations in PredicationEng
|
2014-02-04 07:46:43 +00:00 |
|
aarne
|
caf3ed1053
|
PredicationEng except auxiliary in questions and agreement of copula. Swe is so much simpler...
|
2014-02-03 18:41:32 +00:00 |
|
aarne
|
cf576d245d
|
PredicationEng now almost a functor with Swe ; details to be fixed on e.g. aux/non-aux V distinction
|
2014-02-03 14:04:04 +00:00 |
|
aarne
|
26cee4374d
|
mkV2V second preposition mistakenly omitted in Dan and Nor, now fixed
|
2014-02-03 08:51:03 +00:00 |
|
aarne
|
9c415d6be6
|
Lat.VocNP issue resolved
|
2014-02-03 08:49:22 +00:00 |
|
aarne
|
cf196cb0dd
|
new overload resolution, taking care of ad hoc overloading.
|
2014-02-01 13:17:52 +00:00 |
|
aarne
|
2552b859fd
|
ad hoc overloading: a new way to deal with name resolution conflicts. Previously the renamer warned if there was e.g. an unqualified reference to mkAdv, which could come from either Syntax or Paradigms. The renamer picked randomly one of the alternatives, which then often failed in type checking. Now, all candidates are collected into a new structure AdHocOverload [Term], which is accessed by the type checker to make the choice based on the type of the constant. This eliminates some of the warnings and some of the error due to wrong choices. In some rare cases, the inherited constants have the same type, which cannot be resolved by overloading. In such cases, the type checker does the same as the renamer did before: pick the "first" option (i.e. the one that happens to be the first in the list returned by the renamer) and issues a warning. In this patch, only a couple of lines are changed. The typechecker (RConcrete) has more substantial changes, and will be recorded as the next patch.
|
2014-02-01 13:10:36 +00:00 |
|
aarne
|
4cc72722a6
|
missing import in CatLat causing an eval error with "no reason given"; commented out PhraseLat.VocNP that gives a mysterious PMCFG generation error
|
2014-02-01 13:03:08 +00:00 |
|
aarne
|
1a71260608
|
duplicated param type definition in TenseScand removed
|
2014-02-01 12:51:54 +00:00 |
|
aarne
|
1df85aa1fe
|
fixed an ambiguous reference in CatAmh.
|
2014-02-01 12:47:08 +00:00 |
|
aarne
|
4404e9c899
|
another type error revealed by record extension checking, in Est.
|
2014-02-01 12:30:40 +00:00 |
|
aarne
|
c727f7c85c
|
typo in Concrete type checker: when type checking <e : t>, return annotated e and not e itself. Fixed in RConcrete, which should soon replace Concrete; and hopefully will be replaced by some cleaner code soon, such as ConcreteNew which has been under construction for quite some time.
|
2014-01-31 21:16:07 +00:00 |
|
aarne
|
e97f31c175
|
found one type error in the whole RGL with the new (experimental) type checker, and fixed it.
|
2014-01-31 21:15:21 +00:00 |
|
aarne
|
4d4327ad8a
|
PredicationSwe now uses record updates; PredicationSwO is old-style
|
2014-01-31 20:44:34 +00:00 |
|
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 |
|