Skip to content

Commit

Permalink
Fixed simplification of accented characters for two vowels, and added…
Browse files Browse the repository at this point in the history
… condition to restrict this to contlex content.
  • Loading branch information
aarppe committed Feb 7, 2025
1 parent 34af6fb commit 77802ac
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/fst/morphology/incoming/resplit/aggregate-lexc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ gawk 'BEGIN { printf "!! Blackfoot morphotax -- aggregate of all LEXC files\n\n"
{
while((getline line < files[i])!=0)
{
gsub("á","a", line);
gsub("í","a", line);
gsub("ó","a", line);
if(index(line, ";")!=0)
{
gsub("á","a", line);
gsub("í","i", line);
gsub("ó","o", line);
}
printf "%s\n", line >> "lexicon.lexc";
}
printf "\n\n" >> "lexicon.lexc";
Expand Down

0 comments on commit 77802ac

Please sign in to comment.