Skip to content

Commit

Permalink
ellipser med HNOUN vs. nyhedsoverskrifter
Browse files Browse the repository at this point in the history
  • Loading branch information
KennyMcFly committed Sep 22, 2023
1 parent 85ca3f4 commit d839b47
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/cg3/dep_KalEng.cg3
Original file line number Diff line number Diff line change
Expand Up @@ -3077,7 +3077,7 @@ SETPARENT:M0028E @VOK + Sem/Hum + Abs IF

TO (@0 (*)); #Uanga kaffi, JAAKU aamma illit?

SETPARENT:M0028F @VOK + FAM + Sg IF
SETPARENT:M0028F @VOK + FAM + Abs + Sg IF
(-1 BOS OR KOMMA)
(NEGATE *0 V)
(NEGATE 1 ("."))#ataatagigaluara.
Expand Down Expand Up @@ -7830,7 +7830,7 @@ TO (-*1CA INTRANSVERB + 3Sg - ("tassa") OR VERB-NOTCONT + INTRANSVERB + 4Sg - ("
#
#MAP:M0720B @<SUBJ TARGET Abs + Sg - UNA - UKU IF (-*1C INTRANSVERB + 3Sg - ("tassa") OR INTRANSVERB + 4Sg - ("tassa") BARRIER ("tassa") OR TRANSVERB OR NEXUS LINK NOT 0 (TUQ Der/vn QAR Der/nv))(NEGATE 0 ORATIOOBLVERB OR DIRTALE)(NEGATE *1 V) #Sumiippalu taanna ”najugaqarfiit”?
#(NEGATE 0 LU LINK 1 1PlPoss)#Siullermik siunertaagaluarpoq DRONNINGILU naapeqatigiinnissarput

#(NEGATE *-1 @SUBJ>) #Nipi mamarisaminik najorsisimariarluni ALLANNGORTARTOQ.
#;
##(NEGATE -1 ("\("))(NEGATE 1 Abs + Sg LINK *1 V) (NEGATE 0 CONJ-LU LINK *1 Rel + Sg LINK *1 TRANSVERB + 3Sg)(NEGATE -*1 TRANSVERB + 3Sg BARRIER INTRANSVERB + 3Sg)(NEGATE -1 Abs + Sg - Der/vn)(NEGATE *-1 KOMMA BARRIER V LINK -1 @PRED LINK *1 _TARGET_ LINK *1 @PRED)(NEGATE 0 ATTRIBUTIV) #20091109 - trediesidste NEGATE, 20101013 næstsidste NEGATE for at forhindre hit på 'S V O-LU S V', sidste NEGATE for ikke at hitte på kongruensadled. 20170425 -kinguneq for at forebygge hit på sætningsadverbialer
#
Expand Down
23 changes: 21 additions & 2 deletions src/cg3/disambiguator.cg3
Original file line number Diff line number Diff line change
Expand Up @@ -2326,6 +2326,7 @@ REMOVE:0001BU ("uuj") + MAA IF (0 ("uummaa"));
REMOVE:0001BV ("kip") + SII OR ("kisii") IF (0 ("kisi"));
REMOVE:0001CA ("sannip") + NGA (0 ("sanner")) ;
REMOVE:0001CB ("ba") + IAR IF (0 ("baaja"));
REMOVE:0001CC ("politik") + R IF (0 ("politiker"));

#Gram/Exclm og Guess overgenerer voldsomt. Skal kun overleve, når de er eneste læsning undtagen ved strukturen tassa Gram/Excl eller når eneste andet verbum er sætningsadverbalt.
SELECT:0002A EXCLAMATION IF (1 EXCLMARK)
Expand Down Expand Up @@ -3531,6 +3532,7 @@ REMOVE:0005W (/RUJUK\ Der/nn\ U\ Der/nv\ Gram/IV\ UTIGE\ Der/vv/l) IF (0 (/RUJUU
REMOVE:0005X (/NIAQ\ Der/vn\ PASIP\ Der/nv/l) IF (0 (/NIAR\ Der/vv\ PASIP\ Der/vv/l));
REMOVE:0005Y (/HTR\ Der/vv\ Gram/IV\ JA\ Der/vv/l) IF (0 RIAR); #Alliguma imigassamut nakkaatissaanga, inuunera ANNAARIAANNANNGUSSAVARA.
REMOVE:0005Z (/\ UTE\ Der/vn/l) + (/\ UTE\ Der/nv/l); #Uangalu aqagu ASAASSUTTUSSAAVAKKA.
SELECT:0005AA QAR + UTE IF (0 QE + Ind LINK *0 Ind BARRIER KOMMA); #Lars K.S. Olsen-ilu oqarpoq QINNUTEQAATIT illoqarfinnit marlunneersut.
SELECT:0005 ("ingip") + A + 3Pl IF (0 ("issaq") OR IP + SAR) ; #Totalt forvirrede ambiguiteter ved issaapput
REMOVE:0006 ("qaap") IF (0 ("qaammat"));
REMOVE:0006A (/"utaqqi"\ Gram/TV\ QQAAR\ Der/vv\ Gram/TV\ TUSSAA\ Der/vv\ Gram/Refl/l) IF (0 (/"utaqqi"\ Gram/IV\ QQAAR\ Der/vv\ Gram/IV\ TUQ\ Der/vn\ SSAQ\ Der/nn\ U\ Der/nv\ Gram/IV/l)); #UTAQQEQQAARTUSSAALLUNGA paasitinneqarpunga.
Expand Down Expand Up @@ -4053,6 +4055,8 @@ SELECT:0015 Par IF (0 N + Abs OR Rel)(*-1 BOS BARRIER (*) - Adv - OBLIQUE)(1 EOS
(NEGATE 0 Prop + &&IV_SUBJ& LINK *1 VFIN + &&IV_SUBJ& BARRIER V )#Mette Frederiksen Folketingimi ammaanersiornermi: ISSITTOQ soqutigineqaleraluttuinnarpoq
(NEGATE -1 BOS LINK 2 (":") )#Nutserisoq:
(NEGATE0 LEKSIKALISERING + N)
(NEGATE *-1W N LINK NOT *0 V) #Asanninnipalaavik asanninnipalaaq! MAQAASITITSISOQ. SUMIGINNAASOQ. KISERLIORTITSISOQ. Anaq! Sooq uanga?? Neriuutaaruppunga.
(NEGATE 0 TUQ LINK NOT *0 VFIN LINK *-1W VFIN) #Eqqissisimaniarsarivunga. Sallaappunga. ANAANAALLUARTOQ.
;

#Vokativ meget sjælden uden proprium
Expand Down Expand Up @@ -4911,6 +4915,7 @@ REMOVE:0044A N - ATTRIBUTIV - HUM IF (0 Par - Orth/Alt)(NEGATE *0 VFIN OR Cau OR
(NEGATE *-1 Abs - HUMAN LINK *1 _TARGET_ + HUMVERB BARRIER V)#Ulloq uannut inuttut annertuumik ALLORIARFIUSOQ.
(NEGATE *-1 Abs LINK *1 CONJ-C LINK *1 _TARGET_ + Abs LINK NEGATE *0 VFIN)#Kattuffiunissaq nukittooq ilaasortani pillugit atasoq ilaasortaminullu pitsaanerpaamik SULLISSISOQ.
(NEGATE 0 Rel + Pl LINK *1 3PlPoss LINK NOT *-1 Rel + Pl - _TARGET_)#SULISITSISUT naligiissumik tatigeqatigiiffiusumillu suleqatiginissaat.
(NEGATE *-1W VFIN) #Anaanama kamaa ilisimajuaannarnikuuara. Kamarujussuartarneri UTEQQIAJUARTUT.
;

#Tidlig disambiguering af næsten helt sikker possessor-possessum
Expand All @@ -4935,6 +4940,7 @@ REMOVE:0044F N IF (*-1 Abs + &&IV_SUBJ& LINK *1 _TARGET_ + Par + &&IV_SUBJ& LINK
(NEGATE 0 (/Sem/be_attribute/l) LINK -1 TUQ LINK -1 Abs LINK -1 BOS LINK 4 CLB) #Illarneq imaqanngitsoq NILLERTOQ.
(NEGATE 0 CONJ-LU LINK -1 TUQ) #Tusarnaartut, oqaluttut ILLARTULLU.
(NEGATE -1 N LINK *-1 ("soorlu") - MI LINK -1 BOS LINK NEGATE *0 VFIN) #Soorlu uumasoq MIAGGOORTOQ.
(NEGATE *-1W VFIN) #Anaanama kamaa ilisimajuaannarnikuuara. Kamarujussuartarneri UTEQQIAJUARTUT.
;

REMOVE:0044G1 Par IF (0 (/Sem/be_attribute/l) LINK -1 Abs LINK -1 BOS LINK 3 CLB); #Kalassuit AJORTUT.
Expand Down Expand Up @@ -6069,6 +6075,7 @@ REMOVE:0322E1 Gram/Refl IF (NEGATE *-1 ("immi") BARRIER KOMMA)
(NEGATE 0 ("nusup") + TIP) #Ujarassuarmiit aqqarnissannut sapileqqavunga, ammullu isigiinnavillunga annilaangagalugu NUSUTSEQINAGAMA.
(NEGATE 0 (/"tunillap"\ Gram/TV\ \(iSem/pollute\ \)?TIP\ Der/vv\ Gram/Refl/l) LINK 0 Gram/Pass)
(NEGATE 0 TIR) #TIP bliver altid slettet, når det også kan være TIR, hvilket det dog kun meget sjældent er.
(NEGATE 0 Imp + 2Sg LINK 0 Par + 2Sg + 3SgO LINK NOT *0 VFIN)
;

REMOVE:0322E2 (/Gram/TV\ V\ Ind\ 3Sg\ 1SgO/l) IF (0 (/Gram/Refl\ \(Gram/IV\ \)?V\ Ind\ 1Sg/l) LINK NEGATE *0 V + 3Sg) (-1 Aeq OR ("immi")) #Isumaalliortutut MISIGISIMAQAANGA, nalulerlugulu qanoq qanilleqqissinnaanerlugu, angoqqissanerlugu
Expand Down Expand Up @@ -12091,6 +12098,7 @@ SELECT:0422 Par + 3Sg (-*1 Abs + Sg + TIME OR WEATHER LINK NOT 0 V)(*1 Abs + Sg
(NEGATE 1 TUQ + CONJ-LU) #Anori NILLERTOQ masannartorlu suli timinni malugisinnaavara, inili kiatsissimaqaaq pujoqalersimaqalunilu.
;

SELECT:0423 Par + 3Sg IF (0 ADV-LU LINK *-1 Abs + Sg BARRIER V LINK *0 V - Par - 3Sg); #Asulumi seqineq NUISORLU pinngorama


SELECT:0425 Par IF (0 TEMPUSVERB)(-1 TIME)
Expand Down Expand Up @@ -12137,7 +12145,7 @@ SELECT:0435 Par + INTRANSVERB IF (*-1 VFIN - ORATIOOBLVERB - Gram/Exclm)
(NEGATE 0 TIGE) #Ikaartarfiliortoqassaaq minnermik 5 m-tut angitigisoq.
(NEGATE 1 EOS LINK -1 _TARGET_ + Abs LINK *-1 U + V BARRIER (*) - OBLIQUE)#ARTEK tassaasoq »Center for Arktisk Teknologi« Sisimiuniippoq issittumullu tunngasumut ingeniøritut ilinniartitaanerulluni Danmarkimi DTU Byg-imut ATASOQ.
(NEGATE 0 $$KASUS LINK *-1 CONJ-C BARRIER (*) - OBLIQUE LINK -1 $$KASUS)#Inuusuttuni sullinniakkani pineqarput inuusuttut suliffeqanngitsut aammalu suliffissarsiortutut NALUNAARSORSIMANNGITSUT.

(NEGATE *-1 VFIN LINK 0 N) #Piumasaqaatit uannut KIFFAANNGISSUSIIAASUT.
#(NEGATE *-1 N + %AmbiguøsPar)#Kattuffiunissaq nukittooq ilaasortani pillugit atasoq ilaasortaminullu pitsaanerpaamik SULLISSISOQ. #Verbal læsning kun mulig hvis ATASOQ er verbal og _TARGET_ Cont #Virker ikke fordi nukittooq har verbal læsning som Grem/Exclm

;
Expand Down Expand Up @@ -12177,6 +12185,7 @@ SELECT:0439A Par + 3Sg IF (-*1 Abs + Sg BARRIER VFIN OR CONJ-C)
(NEGATE *1 V + 3Sg BARRIER V LINK *-1 _TARGET_ + Abs + Sg + Hyb/2-2 LINK *1 Abs + Sg )#Coronavirusit ilaat Tuluit NunaanneERSOQ Danmarkimi maanna atugaanerulersoq
(NEGATE 0 $$KASUS + $$NUMERUS LINK *-1 (/"una"\ Prefix/TA/l) + $$KASUS + $$NUMERUS BARRIER (*) - %PossOblique)#Tassa kalaalimineerniarfik, taanna Brugsenip eqqaaniITTOQ.
(NEGATE -1 N LINK *-1 ("soorlu") - MI LINK -1 BOS LINK NEGATE *0 VFIN) #Soorlu uumasoq MIAGGOORTOQ.
(NEGATE *-1W VFIN) #Paninnguara isigilerpara, sulilu iluamik imminut uterfiginngitsutut ippunga, isigisakkali isigaakka, kisiannili soorlu uangaananga. Timaa nukeqanngitsoq, aammik TANINNEQARSIMASOQ.
;

REMOVE:0439B Par + 3Sg IF (0 $$KASUS + $$NUMERUS LINK *-1 (/"una"\ Prefix/TA/l) + $$KASUS + $$NUMERUS BARRIER (*) - %PossOblique);
Expand All @@ -12186,6 +12195,10 @@ REMOVE:0439B Par + 3Sg IF (0 $$KASUS + $$NUMERUS LINK *-1 (/"una"\ Prefix/TA/l)
REMOVE:0441 Par + 3Pl IF (NEGATE *0 VFIN)(NEGATE 0 VFIN)(*1 Par + 3Pl) ; # evt. også (@1 ("tassa")) som IF, hvis for bred
#vn, som er subjekt to SELECT:100 er ikke selv Par

REMOVE:0442 Par IF (NOT *0 VFIN OR Cau LINK *-1W VFIN LINK NOT *0 Par) #Pineqaatissiissutigineqartoq piumasaqaateqarpoq. Piumasaqaatit uannut KIFFAANNGISSUSIIAASUT. #må stå før 0443
(NEGATE 0 Par + $$PN LINK *0 Cont - $$PN - 4Sg - 4Pl) #Ups toortooriga. Uatsinniik kunaat. Nukissaalatsivoq. Isumaqarlunga MASSAKKUUSOQ. Ajuusaarpunga kingusinaarlunga suliakkiissutissat nassiukkakkit.
(NEGATE *0 UNA OR UKU OR UKUA); #Naasunukua ajorniaannarlutik KAPINARTOQARTUT.

SELECT:0443 Par + 3Pl IF
(NEGATE *0 VFIN - (Gram/Exclm))
(NEGATE *-1 Gram/Dem + Pron LINK -1 BOS)
Expand Down Expand Up @@ -12640,6 +12653,8 @@ SELECT:0549P Par IF (0 ADV-LU LINK *-1 Abs LINK -1 BOS LINK *1 _TARGET_ LINK 1 C

REMOVE:0549Q INTRANSVERB + &&IV_SUBJ& + Par IF (0 TUQ + Abs + &&IV_SUBJ& ) (-1 Abs + &&IV_SUBJ& ) (*1 INTRANSVERB + Cau + &&IV_SUBJ& - ("<taamaammat>") BARRIER V OR KOMMA ) ; #- Pujoq ussitTOQ nunatsinnut anngummat, seqineq iserissernerani ersigunnaartaarpoq.

SELECT:0549R Par IF (0 TUQ LINK *-1 UNA OR ("sooruna") BARRIER V); #Sooruna TOQUSOQARTARTOQ?

SECTION #Skal kun bruges til at isolere Par - reglerne

############################################
Expand Down Expand Up @@ -13109,7 +13124,7 @@ SELECT:1829A Ind IF (NEGATE *-1 Ind)(NEGATE *1 Ind OR ("?"))(NEGATE 0 Par LINK *
(NEGATE 0 Gram/Exclm LINK NEGATE 1 EOS)#Aalisarneq, aalisakkat pisat suuneri, AALISARIUTEQATIGIIT aamma sumiissutsinut immikkoortillugit. Gram/Exclm sjælden, men hvis forekomme så normalt sidst i sætningen
(NEGATE 0 NIR LINK 0 (NIQ Abs) LINK *1 Ind OR Par )#Unnummut inuuneq/toqu pillugu EQQARTUEQATIGIINNERPUT imaqartoq.
(NEGATE 0 Abs LINK *-1 ("tassa") + Adv) #Tassalu tamanna annerusumik QILANAARINIKUUSIMASARPUT, ilinniartoqatit ataatsimooqatigalugit najoqqaaqatigeerujoornissaq.

(NEGATE 0 ("pi") + GUMA + TAQ + QAR) #PIUMASAQAATIT uannut kiffaanngissusiiaasut.
;
SELECT:1829B Ind + INTRANSVERB + 3Pl IF (-*1 Abs + Pl BARRIER VFIN LINK NEGATE -*1 Rel + Pl BARRIER POSSESSUM)
(NEGATE 0 3PlO LINK *-1 Abs + Pl BARRIER V)(NEGATE 0 1PlPoss LINK NOT 1 DIRTALESLUT OR EOS OR KOMMA) # Piitakkut ikinngutaat QASOQAAT
Expand Down Expand Up @@ -14444,6 +14459,7 @@ REMOVE:5200BU ("minguk") (0 ("mingup") LINK -1 ("tupa") + Ins) ; #Jude 20230909
REMOVE:5200BV Gram/Exclm (0 N LINK -1 BOS LINK 1 _TARGET_ LINK 1 (*)) ; #Jude 20230913
REMOVE:5200BW ("itersaq") + PALUK IF (0 ("iter") + SAR + PALUP); #Angutip aappaa anerpaluinnartoq, angutip kiserngoruttup anaanaga artuleqqasoq ITERSARPALULERPAA.
REMOVE:5200BX ("ani") + PALLAP + Der/nv IF (0 ("ani") + PALLAP + Der/vv); #ikke lyden af en storebror
REMOVE:5200BY ("pi") + GUMA + TAR + QE IF (0 ("pi") + GUMA + TAQ + QAR); #PIUMASAQAATIT uannut kiffaanngissusiiaasut.

# Verbum eller verbum?
SELECT:Sel0083 (INNAR NNGIT) IF (*1 ("aamma") ) ; #+INNAR=NNGIT aamma Vb fremfor NAR)
Expand Down Expand Up @@ -14808,6 +14824,7 @@ REMOVE:5490GO TUQ + N (0 Par LINK -1* ORATIOOBLVERB + CONJ-LU BARRIER TUQ + N) ;
REMOVE:5490GP ("oqami") IF (0 ("oqar") + MISAAR); #”Schh.. rolig..” assani isaatiutigalugu qanilliartorlunga nipikitsumik OQAMISAARPOQ.
REMOVE:5490GQ ("nakkaap") IF (0 ("nakkaa") + TIP); #Alliguma imigassamut NAKKAATISSAANGA, inuunera annaariaannanngussavara.
REMOVE:5490GR (*) - ("iser") (0 ("<isaati.*>"r)) ; #Jude 20230915
REMOVE:5490GS ("tup") + LLUAR IF (0 ("tulluar"));

# Verbum eller partikel?
SELECT:5491A ("aarit") IF (-1 BOS);
Expand Down Expand Up @@ -17183,6 +17200,8 @@ SELECT:9975D Lok + 3PlPoss IF (0 3SgPoss LINK *-1W Lok + Pl); #Issiavinni siorle

SELECT:9975E Nom + $$PN IF (*-1W $$PN); #Anaanapalaajuvutit! Kisivit!

REMOVE:9975F Par IF (0 TUQ LINK *-1W N LINK NOT *0 V); #Asanninnipalaavik asanninnipalaaq! MAQAASITITSISOQ. SUMIGINNAASOQ. KISERLIORTITSISOQ. Anaq! Sooq uanga?? Neriuutaaruppunga.

REMOVE:9999 Gram/ACR; #fjern forkortelser, der stadigvæk har en anden læsning (jf. Sel0049)

#SUBSTITUTE:S0060 %AmbiguøsN (*) TARGET %AmbiguøsN ;
Expand Down
4 changes: 2 additions & 2 deletions src/cg3/functions.cg3
Original file line number Diff line number Diff line change
Expand Up @@ -2930,7 +2930,7 @@ MAP:M0028E @VOK TARGET Sem/Hum + Abs IF (0 Sem/Hum LINK *1 2Sg BARRIER V + (/3[S
(NEGATE *1 3SgO BARRIER V)#EVA panigaajuk?
;

MAP:M0028F @VOK TARGET FAM + Sg IF (-1 BOS OR KOMMA)
MAP:M0028F @VOK TARGET FAM + Abs + Sg IF (-1 BOS OR KOMMA)
(NEGATE 1 ("."))#ataatagigaluara.
(NEGATE *0 V);#Suu, ANAANA ilinnut.

Expand Down Expand Up @@ -6997,7 +6997,7 @@ MAP:M0720A @<SUBJ TARGET Abs + Sg - ("kinguneq") - UNA - UKU IF (-*1C INTRANSVER

MAP:M0720B @<SUBJ TARGET Abs + Sg - UNA - UKU IF (-*1C INTRANSVERB + 3Sg - ("tassa") OR INTRANSVERB + 4Sg - ("tassa") BARRIER ("tassa") OR TRANSVERB OR NEXUS LINK NOT 0 (TUQ Der/vn QAR Der/nv))(NEGATE 0 ORATIOOBLVERB OR DIRTALE)(NEGATE *1 V) #Sumiippalu taanna ”najugaqarfiit”?
(NEGATE 0 LU LINK 1 1PlPoss)#Siullermik siunertaagaluarpoq DRONNINGILU naapeqatigiinnissarput

(NEGATE *-1 @SUBJ>) #Nipi mamarisaminik najorsisimariarluni ALLANNGORTARTOQ.
;

MAP:M0730A @N< TARGET Abs + Pl IF (-*1C INTRANSVERB + 3Pl OR 4Pl BARRIER V)(NEGATE *1S CONJ-C)(NEGATE NOT *0 @<SUBJ) ;
Expand Down
2 changes: 1 addition & 1 deletion src/fst/stems/nouns.lexc
Original file line number Diff line number Diff line change
Expand Up @@ -32506,7 +32506,7 @@ suluunnaliugaq GEMS ;
suluunnaq Z1Zmorf ;
suluusalik:suluusa Z2+lZmorf ;
suluusaq Z1Zmorf ;
sumiginnaasoq Z1Zmorf ;
!sumiginnaasoq Z1Zmorf ; !KW22092023
sumiiffik Z2-Zmorf ;
sumiiffilerut tptmorf ;
sumiissuseq SEQgemin ;
Expand Down
2 changes: 1 addition & 1 deletion src/fst/stems/verbs.lexc
Original file line number Diff line number Diff line change
Expand Up @@ -22332,7 +22332,7 @@ tulliusussaa IV_voq_stem ;
tulliusaannar IV_r_stem ;
tullivallaar IV_long_stem ;
tulli XIi_voqXmorf_stem ;
!tulluar IV_r_stem ; !KW22092023
tulluar IV_r_stem ;
tulluarsar HTR_r_GAQ_i ;
tulluare:tulluar HTR_schwa_SAQ_nnip ;
tulluavip XIiXmorf_stem ;
Expand Down

0 comments on commit d839b47

Please sign in to comment.