Irish NLP Grammar

Finite state and Constraint Grammar based analysers, proofing tools and other resources

View the project on GitHub giellalt/lang-gle

Page Content

IRISH G R A M M A R C H E C K E R

DELIMITERS

TAGS AND SETS

Tags

This section lists all the tags inherited from the fst, and used as tags in the syntactic analysis. The next section, Sets, contains sets defined on the basis of the tags listed here, those set names are not visible in the output.

Beginning and end of sentence

BOS EOS

Parts of speech tags

Art Noun Prep

Subst Check what it is

N CHECK!! A CHECK!! Noun Adjective Adv V Pron CS CC CC-CS Po Pr Pcle Num Interj ABBR ACR CLB LEFT RIGHT WEB PPUNCT Det PUNCT

COMMA ¶

Tags for POS sub-categories

Simp Sbj

Pers Dem Interr Indef Recipr Refl Rel Coll NomAg Prop Allegro Arab Romertall

Tags for morphosyntactic properties

DefArt Art Def Fem Masc Len hPref, for h prefixation Ecl Poss, possessive

Nom Acc Gen Dat Loc Com Ess Par Voc Sg Pl Cmp/SplitR Cmp/SgNom Cmp/SgGen Cmp/SgGen

Comp Superl Attr Ord Qst IV TV VD Verbal Prt Prs Ind Pot Cond Imprt ImprtII Sg1 Sg2 Sg3 Du1 Du2 Du3 Pl1 Pl2 Pl3 Inf ConNeg Neg PrfPrc VGen PrsPrc Ger Sup Actio VAbess

Err/Orth

Semantic tags

Sem/Act Sem/Ani Sem/Atr Sem/Body Sem/Clth Sem/Domain Sem/Feat-phys Sem/Fem Sem/Group Sem/Lang Sem/Mal Sem/Measr Sem/Money Sem/Obj Sem/Obj-el Sem/Org Sem/Perc-emo Sem/Plc Sem/Sign Sem/State-sick Sem/Sur Sem/Time Sem/Txt

HUMAN

HAB-ACTOR HAB-ACTOR-NOT-HUMAN

PROP-ATTR PROP-SUR

TIME-N-SET

Noun errors (Len vs. not Len) after prepositions

The following prepositions cause the following noun to be eclipsed and there are different rules for each preposition.

These prepositions always cause the nouns after them to be lenited:

Noun errors (Ecl vs. not Ecl) after prepositions

Syntactic tags

@+FAUXV @+FMAINV @-FAUXV @-FMAINV @-FSUBJ> @-F<OBJ @-FOBJ> @-FSPRED<OBJ @-F<ADVL @-FADVL> @-F<SPRED @-F<OPRED @-FSPRED> @-FOPRED> @>ADVL @ADVL< @<ADVL @ADVL> @ADVL @HAB> @<HAB @>N @Interj @N< @>A @P< @>P @HNOUN @INTERJ @>Num @Pron< @>Pron @Num< @OBJ @<OBJ @OBJ> @OPRED @<OPRED @OPRED> @PCLE @COMP-CS< @SPRED @<SPRED @SPRED> @SUBJ @<SUBJ @SUBJ> SUBJ SPRED OPRED @PPRED @APP @APP-N< @APP-Pron< @APP>Pron @APP-Num< @APP-ADVL< @VOC @CVP @CNP OBJ <OBJ OBJ> <OBJ-OTHERS OBJ>-OTHERS

SYN-V @X

Sets containing sets of lists and tags

This part of the file lists a large number of sets based partly upon the tags defined above, and partly upon lexemes drawn from the lexicon. See the sourcefile itself to inspect the sets, what follows here is an overview of the set types.

Sets for Single-word sets

Sets for word or not

WORD any word

Case sets

ADLVCASE

CASE-AGREEMENT CASE

NOT-NOM NOT-GEN NOT-ACC

Verb sets

Verbs and their complements

NOT-V

Sets for finiteness and mood

REAL-NEG

MOOD-V

NOT-PRFPRC

Sets for person

SG1-V SG2-V SG3-V PL1-V PL2-V PL3-V

Set for your, my and his

Note that imperative verbs are not included in these sets!

Some subsets of the VFIN sets

Pronoun sets

Adjectival sets and their complements

Adverbial sets and their complements

Sets of elements with common syntactic behaviour

NP sets defined according to their morphosyntactic features

The PRE-NP-HEAD family of sets

These sets model noun phrases (NPs). The idea is to first define whatever can occur in front of the head of the NP, and thereafter negate that with the expression WORD - premodifiers.

Border sets and their complements

Morphoponological sets

Grammarchecker sets

Here ends the list and set section

BEFORE-SECTIONS

SECTION

spellchecking

Gender errors in adjectives

RULE: msyn-adj-gender to change Masculine adjective to Feminine if it modifies a feminine noun !!IT WORKS!!

Prepositions

ADD:msyn-prep-pron RULE TO CHANGE A PREPOSITION AND A PRONOUN INTO A PREPOSITIONAL PRONOUN (e.g., AG MÉ = AGAM, ROIMH SIBH = ROMHAIBH) !!IT WORKS!!

ADD:msyn-h-after-fem-possessive-adjective: rule to add h to noun following possessor

RULE TO ADD LENITION TO NOUNS FOLLOWING PREPOSITIONS

ADD:msyn-len-after-prep:

RULE TO LENITE VERBS AFTER THE NEGATIVE PARTICLE NÍ

RULE TO LENITE VERBS IN THE PAST TENSE AFTER THE NEGATIVE PARTICLE NÍOR

ADD:msyn-len-after-prep: rule to add lenition to nouns following prepositions

rule to correct lenition (séimhiú) errors for nouns after certain prepositions

ADD:msyn-ecl-after-prep: A rule to correct eclipse errors without an intervening article. !!!IT WORKS!!!

ADD:msyn-ecl-after-prep-sfem: Eclipse after preposition … (sfem?)

Rules for lenition

ADD:msyn-teastaigh-ó: exchange prep “mé” with “ó” when following “teastaigh”

ADD:msyn-inis-do

ADD:msyn-ar-an-aonach: A rule to correct the error “ag an aonach” to the correct form “ar an aonach”.

ADD:msyn-ar-a-haon-a-chlog

ADD:msyn-fada-ó

ADD:msyn-beag-is-fiú-de “beag is fiú de” A + “de”

ADD:msyn-cúpla-plnoun-sgnoun ..

RULE TO CORRECT PLURAL NOUNS AFTER THE WORD CÚPLA AS THE NOUN AFTER CÚPLA SHOULD BE IN THE SINGULAR FORM. !!IT WORKS!!

RULE TO ENSURE THAT NOUNS APPEAR IN THE GENITIVE CASE. !!IT WORKS!!

ADD:msyn-gen-case-nouns

Definiteness errors in nouns

RULE TO CORRECT THE GENDER OF NOUNS IF THEY ARE DEFINITE FEMININE NOUNS. !!IT WORKS!!

A RULE TO CHANGE THE NOUN AFTER A NOUN AND A POSSESIVE ADJECTIVE TO THE GENITIVE CASE. !!IT WORKS!!

A simple grammar checker rule without suggestions: Ensure preceding nominal agrees with the verb

ADD:use-guillemets: Simple punctuation rules showing how to change the lemma in the suggestions:

ADD:use-ellipsis

ADD:msyn-ar-an-tae: This rule is for when people put milk in tea. In Irish, the correct way to say it is that milk is put on tea.

This rule is for when people put milk in coffee. In Irish, the correct way to say it is that milk is put on coffee. At is stands, the rule works for Ulaidh Irish. It needs to be changed to work for standard Irish.

ADD:msyn-ar-an-gcaife

ADD:msyn-ie.i.

A RULE TO INSERT THE PARTICLE A BEFORE A VERB RELATIVE PHRASE !!IT WORKS!!


This (part of) documentation was generated from tools/grammarcheckers/grammarchecker.cg3

Sitemap