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 <scoopgra...@gmail.com> 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 <awesomeevildu...@gmail.com>
> 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 <scoopgra...@gmail.com>
>> wrote:
>>
>>> What does -separable do?
>>>
>>> On Wed, Jan 15, 2020 at 6:48 PM Daniel Swanson <
>>> awesomeevildu...@gmail.com> 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 <scoopgra...@gmail.com>
>>>> 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
>>>>> Apertium-stuff@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>>>>>
>>>> _______________________________________________
>>>> Apertium-stuff mailing list
>>>> Apertium-stuff@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>>>>
>>> _______________________________________________
>>> Apertium-stuff mailing list
>>> Apertium-stuff@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>>>
>> _______________________________________________
>> Apertium-stuff mailing list
>> Apertium-stuff@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>>
> _______________________________________________
> Apertium-stuff mailing list
> Apertium-stuff@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>


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

Reply via email to