Universal Dependencies annotation of tokens #
The bridge between the analytical inventories of person, number, gender and case and the tags treebanks annotate. Each inventory realizes as a tag where one exists and each tag ingests as a value: person's clusivity has no tag and collapses to the first person, so ingestion after realization is coarsening; number's minimal, augmented and general values have no tag, and the inverse, collective and count tags no value; the animacy genders have no tag. A token's features realize as an annotation record and an annotation ingests as features, and an annotation ingests as an agreement bundle.
Main declarations #
Person.toUD,Person.fromUD: realization of a person as a tag, clusivity collapsing to the first person, and ingestion of a tag, the impersonalPerson=0as no person, withPerson.fromUD_toUDshowing ingestion after realization is coarsening.Number.toUD,Number.fromUD: the partial realization and ingestion of number, withNumber.roundtrip_fromUD_toUDon the seven values that have a tag.Gender.toUD,Gender.fromUD: realization where a tag exists and total ingestion,Gender.isPartialInv_fromUD_toUDmaking realization a partial inverse.Case.toUD,Case.fromUD: realization of a case as a tag, the oblique asAcc, and ingestion of a tag, withCase.fromUD_toUDshowing ingestion after realization is the identity but on the oblique.Morphology.Features.toUD,Morphology.Features.ofUD: the annotation record a token's features realize as, and the features an annotation ingests as.Agreement.Bundle.ofUD: the agreement bundle an annotation ingests as.
References #
Person #
Realize as an annotation: clusivity collapses to the first person.
Equations
Instances For
Ingest an annotation; the impersonal Person=0 is the absence of a person.
Equations
Instances For
The annotation conflates the clusivity values.
Number #
Realize as an annotation; general, minimal, augmented, unit augmented and global plural have no tag.
Equations
- Number.general.toUD = none
- Number.singular.toUD = some UD.Number.Sing
- Number.dual.toUD = some UD.Number.Dual
- Number.trial.toUD = some UD.Number.Tri
- Number.paucal.toUD = some UD.Number.Pauc
- Number.plural.toUD = some UD.Number.Plur
- Number.greaterPaucal.toUD = some UD.Number.Grpa
- Number.greaterPlural.toUD = some UD.Number.Grpl
- Number.minimal.toUD = none
- Number.augmented.toUD = none
- Number.unitAugmented.toUD = none
- Number.globalPlural.toUD = none
Instances For
Ingest an annotation; the inverse, collective and count tags have no value.
Equations
- Number.fromUD UD.Number.Sing = some Number.singular
- Number.fromUD UD.Number.Plur = some Number.plural
- Number.fromUD UD.Number.Dual = some Number.dual
- Number.fromUD UD.Number.Tri = some Number.trial
- Number.fromUD UD.Number.Pauc = some Number.paucal
- Number.fromUD UD.Number.Grpa = some Number.greaterPaucal
- Number.fromUD UD.Number.Grpl = some Number.greaterPlural
- Number.fromUD UD.Number.Inv = none
- Number.fromUD UD.Number.Coll = none
- Number.fromUD UD.Number.Count = none
Instances For
The values with a tag round-trip.
Gender #
Realize as an annotation; the animacy labels have no tag.
Equations
- Gender.masculine.toUD = some UD.Gender.Masc
- Gender.feminine.toUD = some UD.Gender.Fem
- Gender.neuter.toUD = some UD.Gender.Neut
- Gender.common.toUD = some UD.Gender.Com
- Gender.animate.toUD = none
- Gender.inanimate.toUD = none
Instances For
Ingest an annotation.
Equations
Instances For
Realization is a partial inverse of ingestion.
Case #
Realize as an annotation.
Equations
- Case.nom.toUD = UD.Case.Nom
- Case.acc.toUD = UD.Case.Acc
- Case.gen.toUD = UD.Case.Gen
- Case.dat.toUD = UD.Case.Dat
- Case.inst.toUD = UD.Case.Ins
- Case.loc.toUD = UD.Case.Loc
- Case.voc.toUD = UD.Case.Voc
- Case.abl.toUD = UD.Case.Abl
- Case.erg.toUD = UD.Case.Erg
- Case.abs.toUD = UD.Case.Abs
- Case.obl.toUD = UD.Case.Acc
- Case.part.toUD = UD.Case.Par
- Case.ess.toUD = UD.Case.Ess
- Case.transl.toUD = UD.Case.Tra
- Case.com.toUD = UD.Case.Com
- Case.ade.toUD = UD.Case.Ade
- Case.ine.toUD = UD.Case.Ine
- Case.ill.toUD = UD.Case.Ill
- Case.ela.toUD = UD.Case.Ela
- Case.all.toUD = UD.Case.All
- Case.sub.toUD = UD.Case.Sub
- Case.sup.toUD = UD.Case.Sup
- Case.del.toUD = UD.Case.Del
- Case.ter.toUD = UD.Case.Ter
- Case.tem.toUD = UD.Case.Tem
- Case.caus.toUD = UD.Case.Cau
- Case.ben.toUD = UD.Case.Ben
- Case.perl.toUD = UD.Case.Per
- Case.abess.toUD = UD.Case.Abe
Instances For
Ingest an annotation.
Equations
- Case.fromUD UD.Case.Nom = Case.nom
- Case.fromUD UD.Case.Acc = Case.acc
- Case.fromUD UD.Case.Gen = Case.gen
- Case.fromUD UD.Case.Dat = Case.dat
- Case.fromUD UD.Case.Ins = Case.inst
- Case.fromUD UD.Case.Loc = Case.loc
- Case.fromUD UD.Case.Voc = Case.voc
- Case.fromUD UD.Case.Abl = Case.abl
- Case.fromUD UD.Case.Erg = Case.erg
- Case.fromUD UD.Case.Abs = Case.abs
- Case.fromUD UD.Case.Par = Case.part
- Case.fromUD UD.Case.Ess = Case.ess
- Case.fromUD UD.Case.Tra = Case.transl
- Case.fromUD UD.Case.Com = Case.com
- Case.fromUD UD.Case.Ade = Case.ade
- Case.fromUD UD.Case.Ine = Case.ine
- Case.fromUD UD.Case.Ill = Case.ill
- Case.fromUD UD.Case.Ela = Case.ela
- Case.fromUD UD.Case.All = Case.all
- Case.fromUD UD.Case.Sub = Case.sub
- Case.fromUD UD.Case.Sup = Case.sup
- Case.fromUD UD.Case.Del = Case.del
- Case.fromUD UD.Case.Ter = Case.ter
- Case.fromUD UD.Case.Tem = Case.tem
- Case.fromUD UD.Case.Cau = Case.caus
- Case.fromUD UD.Case.Ben = Case.ben
- Case.fromUD UD.Case.Per = Case.perl
- Case.fromUD UD.Case.Abe = Case.abess
Instances For
Tokens #
The annotation of a token's features.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The features an annotation ingests as.
Equations
- Morphology.Features.ofUD m Morphology.Feature.person = Option.bind m.person Person.fromUD
- Morphology.Features.ofUD m Morphology.Feature.number = Option.bind m.number Number.fromUD
- Morphology.Features.ofUD m Morphology.Feature.gender = Option.map Gender.fromUD m.gender
- Morphology.Features.ofUD m Morphology.Feature.case = Option.map Case.fromUD m.case_
- Morphology.Features.ofUD m Morphology.Feature.definiteness = m.definite
- Morphology.Features.ofUD m Morphology.Feature.degree = m.degree
- Morphology.Features.ofUD m Morphology.Feature.pronType = m.pronType
- Morphology.Features.ofUD m Morphology.Feature.reflex = if m.reflex = true then some () else none
- Morphology.Features.ofUD m Morphology.Feature.verbForm = m.verbForm
- Morphology.Features.ofUD m Morphology.Feature.tense = m.tense
- Morphology.Features.ofUD m Morphology.Feature.aspect = m.aspect
- Morphology.Features.ofUD m Morphology.Feature.mood = m.mood
- Morphology.Features.ofUD m Morphology.Feature.voice = m.voice
- Morphology.Features.ofUD m Morphology.Feature.polarity = m.polarity
Instances For
The agreement bundle an annotation ingests as.