"Is there anything this wouldn't cover?"

Idioms may be contiguous but need not be frozen. They can take arguments and 
can be modified based on TAM and GNP.

But that can be handled by separable if I'm not wrong. So yeah, seems like we 
have this handled. As constructions get larger and more complex, I'm not so 
sure.

Tanmai
________________________________
From: Xavi Ivars <[email protected]>
Sent: Thursday, January 16, 2020 4:27:37 PM
To: apertium-stuff <[email protected]>
Subject: Re: [Apertium-stuff] Idiom translation module

And, actually, something like this doesn't even need apertium-separable.

Apertium dictionaries already support multiwords when all words are contiguous 
(apertium-separable handles the case when that is not possible). And I guess 
idioms are contiguous in most cases.

There's nothing preventing right now to add "pig in a poke" as a multiworld to 
the english monodix, "gato por liebre" in the spanish monodix, and then do the 
mapping in the bidix.

Is there anything this wouldn't cover?

Missatge de Scoop Gracie <[email protected]<mailto:[email protected]>> 
del dia dj., 16 de gen. 2020 a les 4:52:
Oh, ok. So basically, this would be a duplicate of -separable?

On Wed, Jan 15, 2020 at 7:48 PM Daniel Swanson 
<[email protected]<mailto:[email protected]>> wrote:
Apertium-separable matches phrases and combines them so that the dictionary can 
treat them as single words. It's called "separable" because these phrases do 
not have to be contiguous, so it can convert ^take$ ^the$ ^trash$ ^out$ into 
something more like ^take# out$ ^the$ ^trash$.

In your case, it could convert ^pig$ ^in$ ^a$ ^poke$ to ^pig# in# a# poke$ 
which could then just be an entry in the bilingual dictionary with the other 
side being ^gato# por# liebre$.

http://wiki.apertium.org/wiki/Apertium-separable

On Wed, Jan 15, 2020 at 10:09 PM Scoop Gracie 
<[email protected]<mailto:[email protected]>> wrote:
What does -separable do?

On Wed, Jan 15, 2020 at 6:48 PM Daniel Swanson 
<[email protected]<mailto:[email protected]>> wrote:
I'm not sure we actually need a new module for this. It might be possible to 
deal with all of your examples using apertium-separable. And failing that, a 
transfer rule could be written for any particular idiom.

On Wed, Jan 15, 2020 at 8:15 PM Scoop Gracie 
<[email protected]<mailto:[email protected]>> wrote:
I've created a proposal for a new module. 
https://docs.google.com/document/d/1hdOAc-wyl3cwoSsv2M3dg8h_N_gphzkBOr_fPcg6Ss8/edit?usp=sharing
_______________________________________________
Apertium-stuff mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/apertium-stuff
_______________________________________________
Apertium-stuff mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/apertium-stuff
_______________________________________________
Apertium-stuff mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/apertium-stuff
_______________________________________________
Apertium-stuff mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/apertium-stuff
_______________________________________________
Apertium-stuff mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/apertium-stuff


--
< Xavi Ivars >
< http://xavi.ivars.me >
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to