0 votes
38 views

I'm trying to eliminate the Genitive slot on a noun when both Genitive and Associative slots have something in them. These slots co-occur in the source language, but cannot co-occur in the target language. How do I finish this rule? (Please ignore "equal" and "literal tag" below). Basically what I want is: if a_Genitive_slot is NOT EMPTY  AND a_Associative_slot is NOT EMPTY, then eliminate a_Genitive_slot:

FLExTrans by (122 points) | 38 views

2 Answers

0 votes

It is possible to use NOT, by choosing the not(not_equal) block:

by (246 points)
I don't think this will work.
0 votes

If my copy of your FLEx project is still accurate you have 13 affixes that could go in the genitive slot and 1 that can go in the associative slot. 

The brute force method would be to have the first part of your and statement check if the 1 associative affix is present, the second part of your and statement would be a long or statement that would check equality with each of the 13 affixes.

A less long way to do the second part would be to check if the affix ends with POSS1 or POSS2 or POSS3. It might look like this:

Note that you can't use a literal tag with the ends with statement you have to use literal string and end it with a > which is the end marker for a tag.

A different approach would be to do all the enumerating in category definition. It might look like this:

Of course, this is just a partial list and you may have to add to the list for each of your noun categories. na, ni, etc.

The advantage of this, is you do all the enumerating in the category and have a rule using that category where you already know all the conditions have been met and you can do the changes needed.

I'd be curious to know what you end up choosing to do.

by (336 points)
Sara's solution worked and is the simplest.

Related questions

0 votes
1 answer 84 views
How do I use the Sample logic that’s in the transfer rules file?
Sara 246 asked Apr 28, 2025
0 votes
1 answer 106 views
How do I use the attribute element in the transfer rules?
rmdiamondl 336 asked May 8, 2022
0 votes
1 answer 120 views
Lexical categories are used to group words together. The grouping can be very broad such as verbs or very specific such ... you want to match phrases containing the word this'.
rmdiamondl 336 asked May 8, 2022
0 votes
1 answer 250 views
How do I use conditional logic in a transfer rule? (How do I say if this ... then that?)
rmdiamondl 336 asked May 8, 2022
0 votes
4 answers 240 views
Section 6.2.3 How does pattern matching work? explains that during pattern-matching the first one listed of a given length gets ... for it to be used? Or is it just a dead rule?
CraigF 237 asked Jan 30, 2023
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Don’t you know that you yourselves are God’s temple and that God’s Spirit dwells in your midst?
1 Corinthians 3:16
3,038 questions
5,994 answers
5,661 comments
2,022 users