0 votes
87 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 (130 points) | 87 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 (340 points)

Related questions

0 votes
1 answer 199 views
How do I handle a source word that maps to two different target words depending on the inflection of the source word?
Sara 258 asked Apr 28, 2025
0 votes
1 answer 248 views
How do I handle noun agreement? (How do I get a target word or words to agree with a noun?)
rmdiamondl 340 asked May 8, 2022
0 votes
1 answer 133 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 130 asked Mar 4
0 votes
0 answers 53 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 130 asked Jul 22, 2025
0 votes
1 answer 308 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 130 asked Jul 16, 2025
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Just as a body, though one, has many parts, but all its many parts form one body, so it is with Christ.
1 Corinthians 12:12
3,081 questions
6,048 answers
5,710 comments
2,048 users