0 votes
19 views

How do I trap for punctuation when splitting words from the source to the target lg? In the following screenshot du-wa-uyu '3p.S-EXIST-INC / they are still there' has a comma after it. In the target language, the incompletive is a separate word, not an enclitic. But the comma ends up coming out in between the two words, and I need it to come out after the two words:

Here's my rule:

FLExTrans by (122 points) | 19 views

1 Answer

0 votes
In looking at your source text, you have two verbs separated by a comma. Perhaps unexpectedly, your phrasal verb rule is running and it seems to be a quirk of Apertium that when you have some stuff (like a comma) between two words and both words get matched for a rule, any additional thing that gets put out before word 2 is going to come after the stuff.

You probably don't want the phrasal verb rule firing in this case anyway. You can capture the comma by making it part of your sentence ending punctuation. In this way commas will be in their own lexical unit. And a pattern like v v won't match because the data stream will be v sent v. Now if you are interested in matching across a comma (or other sentence punctuation) you would have to include 'sent' in the pattern.

P.S. Your first image was almost unreadable. Please make it a little higher resolution.
by (336 points)

Related questions

0 votes
1 answer 29 views
How do I handle a source word that maps to two different target words depending on the inflection of the source word?
Sara 246 asked Apr 28, 2025
0 votes
1 answer 132 views
How do I handle noun agreement? (How do I get a target word or words to agree with a noun?)
rmdiamondl 336 asked May 8, 2022
0 votes
1 answer 19 views
I've been away from FLExTrans for a few months while I did text analysis on the target lg. In the process, I redefined ... namux-na-ta=di what reason-3s.POSS-QUES=PL 'what reasons'
matoxltr 122 asked Mar 4
0 votes
0 answers 15 views
In the source language Mato, Proper Nouns take an associative suffix -am in the same way any other noun does: However, ... this work? Is there a different way to approach this?
matoxltr 122 asked Jul 22, 2025
0 votes
1 answer 19 views
What's the best way to handle verb to verb phrase translations? In Mato (source lg) we have harungia 'speak against ... cumbersome, and I'm wondering if there's an easier solution?
matoxltr 122 asked Jul 16, 2025
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
So Peter was kept in prison, but the church was earnestly praying to God for him.
Acts 12:5
3,041 questions
5,996 answers
5,663 comments
2,023 users