Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modelling ideophones with the reduplicated word-final syllable in Foma/XFST #1

Open
rcastromamani opened this issue Jan 30, 2017 · 0 comments

Comments

@rcastromamani
Copy link
Contributor

Working on solving the conflict with -tsi -shi- suffixes


# AshaninkaReduplication.script

define RedupSyl  [{ri}|{po}|{mi}|{pi}|{ra}];
define V [a|e|i|o];

define REDUPSYL ?* "+redup.syl.";

define Ashaninka 0:"^["
            [{pinairi}|{sori}|{shipo}|{tsimi}|{sapi}|{shipari}|{sakiri}|{shiri}|{pakara}|{teri}|{mari}|{mantsari}|{moreri}]
            ["+redup.syl."]
            0:"^]";

define DeleteRedupSyl "+redup.syl." -> 0;

define AshaninkaRedup RedupSyl @-> "[" ... "]^{1,5}" || V  _ REDUPSYL "^]" .#. ; 

regex Ashaninka .o. AshaninkaRedup .o. DeleteRedupSyl ; 

set retokenize off

compile-replace lower

#print lower-words

#####################################################################

! Test
! xfst[12]: up mantsari
! mantsari+redup.syl.
! xfst[12]: up mantsariri
! mantsari+redup.syl.
! xfst[12]: up mantsaririri
! mantsari+redup.syl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant