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

I R I S H 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

Tags for POS sub-categories

Tags for morphosyntactic properties

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

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

Verb sets

Verbs and their complements

Sets for finiteness and mood

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

Genitive rules

  1. N N => N N.Gen (When two nouns come together, the second noun has to be in the genitive case.)

  2. N DefArt N => N DefArt N.Gen (When two nouns come together and there is the definite article between the nouns.)

  3. N DetPoss N => N DetPoss N.Gen (When two nouns come together and there is a possessive adjective between the nouns, the possessive adjective does not cancel the rule of the second noun being in the genitive case.)

  4. N A => N A.Gen When adjectives come after nouns in the genitive, the adjective must be rendered into the genitive case as well.)

  5. VN N.Gen => VN N.Gen (When a definite noun follows a verbal noun, the definite noun has to be in the genitive case.)

Other gen tags:

Other tags

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

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

rule to take away lenition for nouns after certain prepositions

Rules for lenition

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

ADD:msyn-inis-do

ADD:msyn-fada-o

ADD:msyn-beag-is-fiu-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!!

Genitive rule 1. Noun + Noun => Noun + Noun.Gen

Genitive rule 2. Noun DefArt Noun => Noun DefArt Noun.Gen

Genitive rule 3. Noun DetPoss Noun

A RULE TO CHANGE THE NOUN AFTER A NOUN AND A POSSESIVE ADJECTIVE TO THE GENITIVE CASE. Note: Rule says target is Noun.Com + Det.Poss + Noun.Com, and changes the final noun.

Genitive rule 4 N A

Genitive rule 5. Verbal noun + noun e.g., ag scríobh an litir > ag scríobh na litreach VN NOUN ART NOUN.Com > VN Noun Art.Gen Noun.Gen

Art + Noun.Gen => Art.Gen + Noun.Gen # here we correct

ADD:msyn-gen-case-nouns

Definiteness errors in nouns, e.g., an asal > an t-asal, an bean > an bhean, an sráid > an tsráid.

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:use-ie.i.

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

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

ADD:lex-ar-a-haon-a-chlog

ADD:lex-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:lex-ar-an-gcaife

ADD:msyn-ecl-after-prep: A rule to correct eclipse errors without an intervening article. !!!IT WORKS!!! THESE RULES NEED TO BE AFTER THE ADDING AN ARTICLE AFTER PREPOSITION RULES

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


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

Sitemap