[WIP] Round of updates to Turkish (#15)

* Add linearization for `AdAdv` which is just `cc2`

* Add rudimentary linearization for `AdnCAdv`

* Add rudimentary linearization for `UseCl`

* Add trivial linearization for `SubjS`

* Add forgotten semicolon

* Override the lintype of CAdv from CommonX

* Add cases for `CAdv`s

* Augment the linearization of `AdnCAdv` with case information coming from the `CAdv`

* Override the lintype for `AdN`

* Implement linearizations for `AdN` and `AdnCAdv`

* Fix the linearization for `more_CAdv`

* Implment the linearization for `ComparAdvAdj`

* Add a rudimentary linearizations for `ComparAdvAdjS`

* Add rudimentary linearization for `BaseAP`

* Add linearization for `BaseAdV`

* Add linearization for `BaseAdv`

* Add a new param `Gerundification`

* Add a new `VForm` `VNoun` for verbal nouns

* Parameterize the lintypes of S and Cl by the new `Gerundification` param

* Update everything to work with the `Gerundification` parameterization

* Account for the `VNoun` case in `makeVerb`

* Revise the TODO for `ComparAdvAdjS`

* Add the subordination suffix dik in SuffixTur (not used yet)

* Formatting

* Start implementing the suffix -dik in `makeVerb`

* Add TODO for `ComplVS`

* Fix `mkClause`

* Implement a rudimentary linearization for `ComplVS`
This commit is contained in:
Ayberk Tosun
2019-03-11 08:06:57 +01:00
committed by Krasimir Angelov
parent 6d01c96c5e
commit 7790defb9e
12 changed files with 107 additions and 23 deletions
+10 -2
View File
@@ -38,8 +38,11 @@ resource ResTur = ParamX ** open Prelude, Predef, HarmonyTur in {
| VImperative
| VInfinitive
| Gerund Number Case
| VNoun Number Case
;
param Gerundification = None | SubordSuffixDik ;
param ConjType = Infix | Mixfix ;
UseGen = NoGen | YesGen Agr | UseIndef ;
@@ -79,8 +82,13 @@ resource ResTur = ParamX ** open Prelude, Predef, HarmonyTur in {
mkNP : Noun -> Number -> Person -> {s : Case => Str; a : Agr} =
\noun, n, p -> {s = noun.s ! n; a = {n = n; p = p}} ;
mkClause : Str -> Agr -> Verb -> {s : Str} =
\np, a, v -> ss (np ++ v.s ! VProg a) ;
mkClause : Str -> Agr -> Verb -> {s : Gerundification => Str} =
\np, a, v -> {
s = table {
None => np ++ v.s ! VProg a ;
SubordSuffixDik => np ++ v.s ! VNoun a.n Nom
}
} ;
mkDet : Str -> Number -> UseGen -> {s : Str; n : Number; useGen : UseGen} =
\s, n, ug -> {s = s; n = n; useGen = ug} ;