Skip to content

Commit

Permalink
disam, func, dep og stems
Browse files Browse the repository at this point in the history
  • Loading branch information
KennyMcFly committed Sep 4, 2023
1 parent 99d4d5f commit 5522242
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
4 changes: 3 additions & 1 deletion src/cg3/dep_KalEng.cg3
Original file line number Diff line number Diff line change
Expand Up @@ -3543,7 +3543,7 @@ SETPARENT:OrObl0150 @CL-<CIT + Par - GAANNI IF
(NEGATE *-1 Con + ORATIOOBLVERB BARRIER V LINK *-1 VFIN + ORATIOOBLVERB OR CONT + ORATIOOBLVERB + CONJ-C)#Sulisartup qallunaap Eriup Kalaallit Nunaanniit aallalerami Katrine asasarilikkani aningaasanik tunivaa Danmarkiliarnissaminut akissanik, ilisimatilluguli aatsaat nammineq nalunaarfigereeruniuk AGGERUMAARTOQ
(NEGATE 0 (/"taama"\ IP\ Der/nv\ Gram/IV\ GALUAR\ Der/vv\ Gram/IV\ V\ Par\ 3Sg/l) LINK *1 V + Par)#Rasmus Lyberth akinngilaq, kisiannili illalaartuinnaalluni, paasinarporlu TAAMAAKKALUARTOQ Tom Jonesiunngitsoq.
#oo ved oqarpoq aldrig simultan med taama;# Inuppassuit tupigusupput tusarpassuk Kalaallit Nunaat aamma Savalimmiut naalagaaffiuSUT ataaseq.
TO (-*1 OQARPOQ OR ORATIOOBLVERB - N OR ("taa" 3SgO) BARRIER KOMMA LINK NEGATE -*1 ("taama") OR ("nalinginnaq"))
TO (-*1A OQARPOQ OR ORATIOOBLVERB - N OR ("taa" 3SgO) BARRIER KOMMA LINK NEGATE -*1 ("taama") OR ("nalinginnaq"))
;
#

Expand Down Expand Up @@ -4381,6 +4381,8 @@ SETPARENT:M0300A @SUBJ> + Abs + Sg - PRENUM - Gram/Dem - ("kinguneq") - LIK IF

TO (*1C INTRANSVERB + Par + 3Sg BARRIER 3SgO OR KOMMA OR VFIN);

#MAP:M0300B @SUBJ> TARGET Abs + Sg IF (1 ORATIOOBLVERB + VFIN LINK 1 NIR + Par + 3Sg); #QASOQQARUJUSSUARNEQ nalunikuuara suunersoq.

#Føgende laves om. Genererer pt. over 20 fejl
#SETPARENT:M0300B @<APPOS + Sem/Hum - FIRSTNAME TO (*-1 @SUBJ> + HUMAN BARRIER (*) - Abs - KOMMA); #Unammiuaarnerit ingerlanneqarnerisa nalaanni ujakkaartartoq Martin MØLLERI angusarissaarnissamik periarfissarissaarnerusoq, taassuma oqaatigaa.

Expand Down
10 changes: 9 additions & 1 deletion src/cg3/disambiguator.cg3
Original file line number Diff line number Diff line change
Expand Up @@ -6071,6 +6071,7 @@ REMOVE:0322E1 Gram/Refl IF (NEGATE *-1 ("immi") BARRIER KOMMA)
(NEGATE 0 ("misige") LINK -1* Aeq)
(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.
;

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 @@ -6205,6 +6206,8 @@ SELECT:0383 Ind + GE + 3Pl + 3PlO + TRANSVERB IF (NEGATE *0 VFIN)(*-1 Abs + Pl L
(NEGATE 0 3SgO LINK *-1 Abs + Sg LINK *-1 Rel)#Ullumilu inuit 1.200-t missaasa aqqut taanna ukiumut AQQUTIGISARPAAT.
;

REMOVE:0384førD TARE + Int + 2Sg + 1SgO; #Qaqikkakkilli oqimaassusersuisa misigitippaannga nunama taamaallaat ARTUKKERTARAANGA, inuiaqatima qanoq uannut oqimaaloqutaatigineri. #regel må stå før 0384D

#En regel der vælger 3PlO frem for 2SgO i Cau og Con
SELECT:0384A 3PlO + CON_CAU IF (*-1 Abs + Pl BARRIER INTRANSVERB + 3Pl);
SELECT:0384A_paratakse 3PlO + CON_CAU IF (*-1 Abs + Sg + CONJ-C LINK -*1 Abs + Sg BARRIER INTRANSVERB + 3Pl);#Angajuga erneralu TIKERAARTORIGAKKIT maannga allagartartaariartorluni tikinnikuummat, taamaammat ullut kingullii ulapeqattaartorujussuugama piffissaqanngitsoortaqattaarlunga.
Expand All @@ -6213,6 +6216,7 @@ SELECT:0384B 3PlO + CON_CAU IF (*-1 Abs + Sg LINK 1 Abs + CONJ-LU);
REMOVE:0384C 1Sg + CON_CAU IF (0 2Sg + CON_CAU LINK *0 VFIN + 2Sg LINK NEGATE *0 V + 1Sg - _TARGET_) #Angerlarsimaannassaatit inuit COVID-19-imik tunillatsissimasutut paasineqartut QANILLISIMAGUKKIT.
(NEGATE *0 ("illit") OR 2Sg)
;

REMOVE:0384D 3PlO IF (0 CON_CAU + 1Sg + 2SgO LINK *0 ("illit") OR 2Sg);

SELECT:0384E 3PlO + CON_CAU IF (*1 3PlPoss LINK NEGATE -1 Rel + Pl); #ISIGILLUALERIARAKKIT takulerpara kiinaanni soorlu kigutaat nuugissut takisuut, siggui qalipaateqaratik paningaaramik siittoornernik ulikkaartut.
Expand Down Expand Up @@ -14760,6 +14764,8 @@ REMOVE:5490GB ("najor") + SI IF (0 ("najor") + HTR);
REMOVE:5490GC (*) - (/"aasaq"\ GIP\ Der/nv\ SI\ Der/vv\ RUTTUR\ Der/vv\ Gram/TV\ V\ Par\ 3Sg\ 3SgO/l) (0 ("<aasarisseruttoraa>")) ; #Jude 20230831
REMOVE:5490GD ("itip") IF (0 ("iter"))(NEGATE -1 Aeq);
REMOVE:5490GE ("erser") OR ("ersi") IF (0 ("ersip") LINK -1 ("aki") + Trm); #Qalipaatit akimut ERSINNGITSUT, affaannarsunngitsullu.
REMOVE:5490GF ("inuup") IF (0 ("inuk") + U); #Sunik oqimaatsunik nammataqannguarnani INUULLUNI, asuli inooqataarujuuginnaqaluni. #lav undtagelser når de kommer
REMOVE:5490GG (/"nakkaa"\ Gram/TV/l) + TIP IF (0 (/"nakkaa"\ Gram/IV/l) + TIP); #"lade sig falde", ikke "lade nogen lade noget falde"

# Verbum eller partikel?
SELECT:5491A ("aarit") IF (-1 BOS);
Expand Down Expand Up @@ -15501,7 +15507,7 @@ REMOVE:9480 i3SgPoss + iPOSSESSUM IF (-1 Pl + Rel);
REMOVE:9481 iPOSSESSUM - iPOSSESSUM3 IF (0 iOBLIQUE - iPOSSESSUM) ; #qaqqakkoornerli

# Possessum singularis eller pluralis?
SELECT:9490 Sg + POSSESSUM + SPATIAL (NEGATE 0 ("ati") + TAQ) #NEGATE for ikke at blande atisassat ind i stedet for ataa
SELECT:9490A Sg + POSSESSUM + SPATIAL (NEGATE 0 ("ati") + TAQ) #NEGATE for ikke at blande atisassat ind i stedet for ataa
(NEGATE 0 Interj LINK -1 BOS OR KOMMA OR DIRTALESTART) #QAA, oqaluttuuteriannga aat?
(NEGATE *-1 HUM LINK *1 _TARGET_ + ("ateq") + POSSESSUM4)#Allakkat ilaanni arnat ATIMINNIK saqqummiussipput.
(NEGATE *-1 Abs BARRIER V LINK *1 _TARGET_ + 4SgPoss LINK 0 Lok + LU LINK 1 Abs)#Timmisartuaqqat inuttaqanngitsut ILULIARSUARNILU GPS-it Sullualummi isumannaannerulersitsissasut.
Expand All @@ -15511,6 +15517,8 @@ SELECT:9490 Sg + POSSESSUM + SPATIAL (NEGATE 0 ("ati") + TAQ) #NEGATE for ikke a

SELECT:9490B ("amerla") + Pl + POSSESSUM (0 ("amerla") + Sg) ;

SELECT:9490C ("inuiaqat") + Rel + Pl + 1SgPoss IF (0 Rel + Pl); #Qaqikkakkilli oqimaassusersuisa misigitippaannga nunama taamaallaat artukkertaraanga, INUIAQATIMA qanoq uannut oqimaaloqutaatigineri. #dem har man sandsynligvis flere af

SELECT:9491D ("ila") + Sg + 3PlPoss IF (-1 ("ulloq") + Rel + Pl) ; #Ullut ilaat næsten garanteret Sg
SELECT:9491A Pl + POSSESSUM IF (0 HUM + @MIK-OBJ> OR HUM + @i-MIK-OBJ>) ; #Sing obj oftest direkte objekt. Specialitet før 9491B
#X@X
Expand Down
2 changes: 2 additions & 0 deletions src/cg3/functions.cg3
Original file line number Diff line number Diff line change
Expand Up @@ -4041,6 +4041,8 @@ MAP:M0300A @SUBJ> TARGET Abs + Sg - PRENUM - Gram/Dem - ("kinguneq") - LIK IF (*
(NEGATE 1 Abs + CONJ-C LINK *1 3PlO BARRIER V)#TRUMP sulisullu illersorniarlugit qanoq-iliuuseqartoqartoq illersuutinillu ilaatigut atugaqartut, præsidentip illorsuata Det Hvide Husip oqaaseqartartuata Judd Deerep oqaatigaa.
;

MAP:M0300B @SUBJ> TARGET Abs + Sg IF (1 ORATIOOBLVERB + VFIN LINK 1 NIR + Par + 3Sg); #QASOQQARUJUSSUARNEQ nalunikuuara suunersoq.

MAP:M0301 @SUBJ> TARGET Abs + Sg - PRENUM - Gram/Dem - ("kinguneq") - LIK IF (*1 @<APPOS BARRIER (*) - @>N - @PROP> LINK *1 INTRANSVERB + Par + 3Sg BARRIER 3SgO - OBJVERB OR KOMMA OR VFIN)(*0 ORATIOOBLVERB)(NEGATE 1 CONT + 3SgO)
(NEGATE 0 POSSESSUM + Der/vn LINK -1 Rel LINK -1 Abs) #må ikke hitte på possessumadnominal til SUBJ> til venstre
#NEGATE for ikke at hitte på TAMANNA i Nalunngilat Per TAMANNA pillugu sulisartoq
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 @@ -22244,7 +22244,7 @@ oqinaarsisoq Z1Zmorf ;
oqinninnguaq Z1nnguaqZmorf ;
oqitsoralaannguaq Z1nnguaqZmorf ;
oqitsoralaannguusoq Z1Zmorf ;
oqitsorsiortoq Z1Zmorf ;
!oqitsorsiortoq Z1Zmorf ; !KW04092023
oqitsuinnarsiortoq Z1Zmorf ;
oqorsaasersuineq Z2Zmorf ;
oqorsaasersuisartoq Z1Zmorf ;
Expand Down
4 changes: 2 additions & 2 deletions src/fst/stems/verbs.lexc
Original file line number Diff line number Diff line change
Expand Up @@ -10463,12 +10463,12 @@ nakkaala IV_voq_stem ;
nakkaaller UDEN_HTR_r_GAQ ;
nakkaallaatige:nakkaallaatig HTR_schwa_SAQ_nnip ;
nakkaalaar IV_long_stem ;
nakkaannar IV_r_stem ;
!nakkaannar IV_r_stem ; !KW04092023
nakkaap XIuteXmorf ;
nakkaatigigajup UDEN_HTR_k_TAQ ;
nakkaatigi XIi_voqXmorf_stem ;
nakkaatige:nakkaatig HTR_schwa_SAQ_nnip ;
nakkaatip HTR_C_TAQ_tsi ;
!nakkaatip HTR_C_TAQ_tsi ; !KW04092023
nakkaavi HTR_i_SAQ_si ;
nakkaja IV_voq_stem ;
nakkajasup IV_k_stem ;
Expand Down

0 comments on commit 5522242

Please sign in to comment.