Finite state and Constraint Grammar based analysers, proofing tools and other resources
View the project on GitHub giellalt/lang-gle
IRISH G R A M M A R C H E C K E R
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.
BOS EOS
Art Noun Prep
Subst Check what it is
N A Adv V Pron CS CC CC-CS Po Pr Pcle Num Interj ABBR ACR CLB LEFT RIGHT WEB PPUNCT Det PUNCT
COMMA ¶
Simp Sbj
Pers Dem Interr Indef Recipr Refl Rel Coll NomAg Prop Allegro Arab Romertall
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 VTI 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
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
The following prepositions cause the following noun to be eclipsed and there are different rules for each preposition.
These prepositions want an additonal consonant in front of its complement in order to cause ECL:
LIST ART-PREP-ECL = “" "
LIST PREP-LEN = “" "
Noun errors (Ecl vs. not Ecl) after prepositions
@+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
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.
WORD any word
ADLVCASE
CASE-AGREEMENT CASE
NOT-NOM NOT-GEN NOT-ACC
NOT-V
REAL-NEG
MOOD-V
NOT-PRFPRC
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
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.
LIST SUGGEST = SUGGEST ;
Here ends the list and set section
ADD:spell-it-all (&typo SUGGESTWF) (
LIST HUMAN-N = “dochtúir” “múinteoir” “bean” “fear” ; (to be moved to other tags)
*RULE: lex-tá-is ** to change *tá to is
RULE: msyn-adj-gender to change Masc adjective to Fem if it modifies a feminine noun
LIST LEN-PREP = “ag” “ar” “i” “thar” “de” “do” “faoi” “gan” “idir” “ó” “roimh” “thar” “trí” “um” ;
These prepositions want an lenited version, adding an h after the initial letter
LIST GEN-PREP = “ar_feadh” “i_rith” “le_linn” “thar” ;
This is what ???
ADD:msyn-prep-pron rule complex that turns a simple preposition into a person-inflected preposition
ADD:msyn-lenition-after-possessive-adjective: rule to add lenition to nouns following a possessive adjective
ADD:msyn-h-after-fem-possessive-adjective: rule to add h to noun following possessor
ADD:msyn-len-after-prep: rule to add lenition to nouns following prepositions
ADD:msyn-len-after-prep: rule to add lenition to determiners following prepositions
ADD:msyn-ecl-after-prep: A rule to correct eclipse errors with an intervening article
ADD:msyn-ecl-after-prep: A rule to correct eclipse errors without an intervening article.
ADD:msyn-ecl-after-prep-sfem: Eclipse after preposition … (sfem?)
More rules here forthcoming
ADD:msyn-teastaigh-ó: exchange prep “mé” with “ó” when following “teastaigh”
ADD:msyn-inis-do …
ADD:msyn-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 ..
ADD:msyn-gen-case-nouns
ADD:msyn-gen-case-nouns …
ADD:msyn-noun-defart ..
ADD:msyn-possadj-nom-gen …
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-tóin-poill
ADD:msyn-ie.i. …
ADD:syn-a-before-verb-relativephrase …
This (part of) documentation was generated from tools/grammarcheckers/grammarchecker.cg3