Skip to content

Commit

Permalink
Implemented tagging of non-preferred diminutives for inanimate nouns …
Browse files Browse the repository at this point in the history
…as well, outputting +Err/Dim when the diminutive suffix (-is or -isis) is not the preferred one; added two dummy test lexemes in the stems file.
  • Loading branch information
aarppe committed Jan 29, 2024
1 parent 5a79a12 commit 0412683
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/fst/morphology/affixes/noun_affixes.lexc
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,15 @@ LEXICON NI_POSS_IM_0_SUFFIX
LEXICON NI_DIM_SUFFIXES
NI_POSS_SUFFIXES ;
! Independent NIs
@D.dep.DEP@@D.dim@@D.isis.ISIS@@C.sg@+Der/Dim+N+I:@D.dep.DEP@@D.dim@@D.isis.ISIS@@C.sg@%>i2%^DIMs NI_POSS_SUFFIXES ;
@D.dep.DEP@@D.dim@@D.is.IS@@C.sg@+Der/Dim+N+I:@D.dep.DEP@@D.dim@@D.is.IS@@C.sg@%>i2%^DIMsis NI_POSS_SUFFIXES ;
@D.dep.DEP@@D.dim@@D.isis.ISIS@@C.sg@+Der/Dim+N+I:@D.dep.DEP@@D.dim@@D.isis.ISIS@@C.sg@%>i2%^DIMs NI_POSS_SUFFIXES ;
@D.dep.DEP@@D.dim@@D.is.IS@@C.sg@+Der/Dim+N+I:@D.dep.DEP@@D.dim@@D.is.IS@@C.sg@%>i2%^DIMsis NI_POSS_SUFFIXES ;
@D.dep.DEP@@D.dim@@R.isis.ISIS@@P.err2.Dim@@C.sg@+Der/Dim+N+I:@D.dep.DEP@@D.dim@@R.isis.ISIS@@P.err2.Dim@@C.sg@%>i2%^DIMs NI_POSS_SUFFIXES ;
@D.dep.DEP@@D.dim@@R.is.IS@@P.err2.Dim@@C.sg@+Der/Dim+N+I:@D.dep.DEP@@D.dim@@R.is.IS@@P.err2.Dim@@C.sg@%>i2%^DIMsis NI_POSS_SUFFIXES ;
! Dependent NIs
@R.dep.DEP@@D.dim@@D.isis.ISIS@@C.sg@+Der/Dim+N+I+D:@R.dep.DEP@@D.dim@@D.isis.ISIS@@C.sg@%>i2%^DIMs NI_POSS_SUFFIXES ;
@R.dep.DEP@@D.dim@@D.is.IS@@C.sg@+Der/Dim+N+I+D:@R.dep.DEP@@D.dim@@D.is.IS@@C.sg@%>i2%^DIMsis NI_POSS_SUFFIXES ;
@R.dep.DEP@@D.dim@@D.isis.ISIS@@C.sg@+Der/Dim+N+I+D:@R.dep.DEP@@D.dim@@D.isis.ISIS@@C.sg@%>i2%^DIMs NI_POSS_SUFFIXES ;
@R.dep.DEP@@D.dim@@D.is.IS@@C.sg@+Der/Dim+N+I+D:@R.dep.DEP@@D.dim@@D.is.IS@@C.sg@%>i2%^DIMsis NI_POSS_SUFFIXES ;
@R.dep.DEP@@D.dim@@R.isis.ISIS@@P.err2.Dim@@C.sg@+Der/Dim+N+I+D:@R.dep.DEP@@D.dim@@R.isis.ISIS@@P.err2.Dim@@C.sg@%>i2%^DIMs NI_POSS_SUFFIXES ;
@R.dep.DEP@@D.dim@@R.is.IS@@@[email protected]@+Der/Dim+N+I+D:@R.dep.DEP@@D.dim@@R.is.IS@@P.err2.Dim@@C.sg@%>i2%^DIMsis NI_POSS_SUFFIXES ;

LEXICON NA_POSS_SUFFIXES
! Singular possessors
Expand Down
2 changes: 2 additions & 0 deletions src/fst/morphology/stems/noun_stems.lexc
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ ihkwa:ihkw NA_SG/A_POSS/IM "louse" ; ! AEW NA-4w (Vowel-Initial Single-Syllable-
! maskwa:maskw NA_SG/A_POSS/IM "bear" ;
! sîsîp NA_POSS/IM "duck" ;
! Inanimate Noun stems
patan NI_DIM/IS ; ! Test case for -is only diminutive
patin NI_DIM/ISIS ; ! Test case for -isis only dimunitive
askiy NI "land" ;
cîmân NI "canoe" ; ! AEW NI-1 (Consonant-Initial Regular NI Stem)
astotin NI "hat" ; ! AEW NI-1 (Vowel-Initial Regular NI Stem)
Expand Down

0 comments on commit 0412683

Please sign in to comment.