Skip to content

Commit e83abd5

Browse files
committed
This is an experimental checkin.
It has added optional prefixes an- and ró- to all adjectives. Note that it will be problematic for these two adjectives: ró-ard Adj1-2; ró-oirmhinneach Adj1-3; .. as it will generate both an-ró-ard and ró-ró-ard. This can be avoided by removing these two adjectives from the lexicon. Overgeneration of non-existing stems could be stopped by flags, or even by a system distinguishing descriptive and normative prefixing (we recognise all but mark some as wrong). Please evaluate.
1 parent 1f6c304 commit e83abd5

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

src/fst/morphology/root-adj.lexc

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
! giellatekno@hum.uit.no or feedback@divvun.no
1414

1515
! ========================================================================== !
16-
! !! !!!Irish morphological analyser !
16+
!! #Irish morphological analyser !
1717
! ========================================================================== !
1818
!! INTRODUCTION TO MORPHOLOGICAL ANALYSER OF Irish LANGUAGE.
1919

@@ -765,7 +765,19 @@ Multichar_Symbols !!≈ # @CODE@ definitions
765765
^Verb
766766
^áil
767767

768-
LEXICON Root
768+
LEXICON Root !!= - **@CODE@** Where all adjectives start
769+
AdjectiveAndPrefix ; !!= - **@CODE@** and splits according to affix
770+
771+
LEXICON AdjectiveAndPrefix !!= - **@CODE@**
772+
an- AllAdjectives ; !!= - **@CODE@** they may get an an- prefix
773+
ró- AllAdjectives ; !!= - **@CODE@** ... a ró- prefix
774+
AllAdjectives ; !!= - **@CODE@** ... or no prefix
775+
!! - This is for testing only. We might want tags
776+
!! for these prefixes or perhaps a flag that makes
777+
!! it possible to block an- or ró- forms of certain
778+
!! adjectives in the lexicon.
779+
780+
LEXICON AllAdjectives
769781
AdjA; ! ORIGINAL TEST LEXICON
770782
AdjIrregular; ! ORIGINAL TEST LEXICON
771783
Adj-BaseOnly; !AdjBASE; ! ORIGINAL TEST LEXICON

0 commit comments

Comments
 (0)