Skip to content

Commit

Permalink
gramcheck-work
Browse files Browse the repository at this point in the history
  • Loading branch information
mka055 committed Nov 7, 2023
1 parent 6ec91a2 commit ceaaee0
Show file tree
Hide file tree
Showing 5 changed files with 272 additions and 1 deletion.
69 changes: 69 additions & 0 deletions tools/grammarcheckers/Working_Files/feiltyper.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
Saemiedigkie sæjhta viehkiehtidh dam lïhkes mearoegaedtievïnhtseveahkam {bæjjese bigkedh} dejnie mearoesaemien årromedajvine , jïh dåarjoem prioriterede noere göölijidie mah voestes aejkien vïnhtsem åestieh . ----- --> {Tseegkedh}


Gyhtjelassh goh guktie daate tsiehkie meehti dan stoerre sjïdtedh åvtelen gïetesovvi , jïh guktie byögkeles instaansh systematihkeles eah leah sijjen barkoem dorjeme juktie daaresjimmie-aamhtesh bæjjese fulkedh , Mikkelsen jeahta .


Saemiedigkie aaj nuepiem åtna jïjtse aamhtesh {bæjjese vaeltedh} . - ----> {lutnjedh

Voereseraerie maahta aamhtesh {bæjjese vaeltedh} jïjtje_vientien . -----> lutnjedh



2)

Våålese + tjaeledh
Madtjeles {våålese} tjaala sov {gærjesne}-illativ . - Ta bort {våålese} + sett sub. i illativ

Dov lea reaktam dov våajnoen vedtedh dïsse maam vieh-kiegïetedallije {våålese tjaaleme} gïehtjedimmien doekoe eannan nænnoes-timmien vaaltasåvva .


Skïemtjijejournaale Dam maam leah {våålese tjaaleme} skïemtjijen healsoetsiehkien bïjre , daalhkesi bïjre j. v. Dåaktere jïh jeatjah legitimeereme barkijh dïedtem_utnieh journaalem tjaeledh . --- Dïsse mïsse lea nommem tjaaleme.


Gaajhkh laaketeeksth maahta Kluweren åestijeviehkeste telefovne 08 598_191 Laaketeeksth maahta aaj åesehts {våålese} veedtjedh in-ternedtesne. ----> åesehth vïedtjelidh

Vihtesth - nommem tjaeledh

sïjse tjaalasåvva.

Gaajhkh saemieh Nöörjeste mah bijjelen 18 jaepieh jallh 18 jaepieh illieh veeljemejaepien, reaktam utnieh jïjtjemse {veeljemelåhkoen sijse tjaeledh} . - veeljemelåhkose

Staate tjuara {aamhtesen sïjse tjaangedh} juktie båatsoem jïjtse vööste vaarjelidh . - aamhtesasse


Naemhtie sïjse tjaangh - {gåatan tjaangedh} -
Mænngan nedtesijjiem saemiengïelesne teestadamme jïh bæjhkoehtamme, sæjhta aelkedh åarjelsaemien tihtelh {dan sïjse bïejedh}. ---> illativ


4)

nelnie ---> nille --- tseegkedh + tseegkesovvedh

Jïh dïhte gie daejtie mov baakojde gåvla jïh læjhkan ij dej mietie darjoeh, goh jabjohke lea mij gåetiem {saadtestahken nelnie tseegki}. --- saadtestahken nïlle tseegkedh

25 Featagi , jeanoe dolvi, gåetien vööste bïegkiji , læjhkan gåetie tjåadtjoeji juktie {tjagkere-deavan nelnie tseegkesovveme} -
- -- saadtestahken nïlle tseegkesovveme

Mijjieh gaamegidie sigkimh jih dej {tjeengkeridie nelnie} njulhtjimh. - nïlle

nelnie ---> nïlle

) « Datne mov åejjien nelnie paakeme - nïlle


5)

Kasusfeil: (prolativisk akkusativ) (til spansk - bevegelsesverb)


jaevrien nelnie ----> jaevriem (prolativisk akkusativ)

Gosse mahte bielie mijlem sovkeme, dellie vuejnieh Jeesuse båata {jaevrien nelnie vaedtsien} jïh geatskene. - jaevriem vaedtsedh

Maanide jih skoerhtjide luste {tjarven nelnie roehtedidh, goetsedidh} stååkedidh. - tjarvem


Dejtie maahta tsaekedh , gosse {lopmi nelnie vaedtsedh}, aellies goh tjelhkehth. - lopmem vaedtsedh


10 changes: 10 additions & 0 deletions tools/grammarcheckers/Working_Files/test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Config:
Spec: ../pipespec.xml
Variants: [smagram-dev, smagram]

Tests:

- "Leessh {våålese}¥{redun|} pdf-goerem vuelielisnie, dievhtieh dam jïh seedth dam dov nommevæhtine Saemiedægkan."


Ij leah nuepie refereradidh jallh siteradidh raeriestimmieh mah leah steemmadamme mah joe tjåanghkoegærjesne gååvnesieh.
12 changes: 11 additions & 1 deletion tools/grammarcheckers/grammarchecker.cg3
Original file line number Diff line number Diff line change
Expand Up @@ -1518,9 +1518,12 @@ COPY:msyn-adj-pred-attr (Attr &SUGGEST) EXCEPT (Sg Nom &msyn-adj-pred-attr) TARG

ADD:xsyn-delete-adv-phrasal-verb (&syn-delete-adv-phrasal-verb) TARGET (Adv) IF (0 ("våålese")) (-1 ("tjaeledh")) ;
## tjaelieh våålese!
ADD:xsyn-delete-adv-phrasal-verb (&syn-delete-adv-phrasal-verb) TARGET (Adv) IF (0 ("bæjjese")) (-1 ("tjuedtjielidh")) ;
ADD:xsyn-delete-adv-phrasal-verb (&syn-delete-adv-phrasal-verb) TARGET (Adv) IF (0 ("bæjjese")) (*0 ("tjuedtjielidh") OR ("fulkedh") BARRIER (*) - Pcle) ;
## tjuedtjelh bæjjese!
## vaeltieh dejtie bïssedh!

## Gyhtjelassh goh guktie daate tsiehkie meehti dan stoerre sjïdtedh åvtelen gïetesovvi, jïh guktie byögkeles instaansh systematihkeles eah leah sijjen barkoem dorjeme juktie daaresjimmie-aamhtesh {bæjjese} fulkedh, Mikkelsen jeahta.


COPY:xsyn-delete-adv-phrasal-verb (&DELETE) EXCEPT (&syn-delete-adv-phrasal-verb) TARGET (Adv &syn-delete-adv-phrasal-verb) ;

Expand All @@ -1537,6 +1540,9 @@ ADD:xsyn-phrasal-verb-lexical-verb (&syn-phrasal-verb-lexical-verb) TARGET (Adv)
ADD:xsyn-phrasal-verb-phrasal-verb (&syn-phrasal-verb-phrasal-verb) TARGET (Adv) IF (0 ("bæjjese")) (1 ("vaeltedh") OR ("bïejedh"))(NEGATE -1 Acc LINK NOT 0 Sem/Semcon OR Sem/Prod-audio) ;
ADD:xsyn-phrasal-verb-phrasal-verb (&syn-phrasal-verb-phrasal-verb) TARGET ("vaeltedh") OR ("bïejedh") IF (-1 ("bæjjese") LINK NEGATE -1 Acc LINK NOT 0 Sem/Semcon OR Der/NomAct OR Sem/Prod-audio);

ADD:xsyn-phrasal-verb-phrasal-verb (&syn-phrasal-verb-phrasal-verb) TARGET (Adv) IF (0 ("bæjjese")) (*0 ("bigkedh") BARRIER (*) - Pcle) ;
## Saemiedigkie sæjhta viehkiehtidh dam lïhkes mearoegaedtievïnhtseveahkam {bæjjese bigkedh} dejnie mearoesaemien årromedajvine, jïh dåarjoem prioriterede noere göölijidie mah voestes aejkien vïnhtsem åestieh. ----- --> {Tseegkedh}

# baantese bïejedh - må stå før # åvtese buektedh
COPY:xsyn-phrasal-verb-phrasal-verb ("bïejedh" &SUGGEST) EXCEPT ("vaeltedh" &syn-phrasal-verb-phrasal-verb) TARGET (V &syn-phrasal-verb-phrasal-verb)(-1 ("bæjjese") LINK -1 Acc LINK 0 Sem/Prod-audio) ;

Expand All @@ -1551,6 +1557,10 @@ COPY:xsyn-phrasal-verb-phrasal-verb ("åvtese" &SUGGEST) EXCEPT ("bæjjese" &syn
#$ Manne vaaltam dam bæjjese.
# bæjjese vaeltedh = ta opp
# bæjjese vaeltedh -> åvtese buektedh





LIST PHRASAL-ADV = PHRASAL-ADV ;
LIST PHRASAL-V = PHRASAL-V ;
Expand Down
10 changes: 10 additions & 0 deletions tools/grammarcheckers/tests/Frase_verb.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Config:
Spec: ../pipespec.xml
Variants: [smagram-dev, smagram]

Tests:

- "Ij leah nuepie refereradidh jallh siteradidh raeriestimmieh mah leah {våålese}¥{redun|} steemmadamme mah joe tjåanghkoegærjesne gååvnesieh."


- "Jis datne Jupmelen Baernie, gorredh dellie jïjtjemdh jïh båetieh våålese kroesseste!"
Loading

0 comments on commit ceaaee0

Please sign in to comment.