Re: [Apertium-stuff] Bootstrapping a new language pair – Hanging Problem
Hi Zanga, I believe you're running into a know issue with the tagger as apertium-init sets it up: https://github.com/apertium/apertium-init/issues/31 The fix is to add -x to the apertium-tagger lines in your bilingual modes.xml. A work-around is to just remove the apertium-tagger blocks entirely. Let us know if you continue having trouble with this. -- Jonathan On Mon, Jan 13, 2020, 06:21 Hèctor Alòs i Font wrote: > Hi Zanga, > > I've downloaded your code and compiled it. It doesn't hang in my computer: > https://drive.google.com/open?id=16GLQjMIlwJx2Dtx585JFpmvV61dUrpUH > > According to your screenshot you have a problem in apertium-tagger. > Seemingly, you get a result if you type: > > $ echo "houses" | apertium -d . nya-yao-disam > ^houses/house$^./.$ > > But not if you type: > > $ echo "houses" | apertium -d . nya-yao-tagger > ^house$^.$ > > So, it seems there is a problem in your installation of Apertium. > > Best, > Hèctor > > Missatge de Zanga Chimombo del dia dl., 13 de gen. > 2020 a les 9:41: > >> I have followed the guidelines on bootstrapping a new language pair >> (with no existing monolingual packages) at: >> http://wiki.apertium.org/wiki/How_to_bootstrap_a_new_pair >> >> I have made one change only to one of the monolingual language >> dictionaries, replacing “house” with “casa” in a couple of places in >> order to be able to test the new pair. My code is at: >> https://gitlab.com/zangaphee/CiBantu >> >> However, I am encountering the hanging problem. When I attempt the >> tests suggested in the README file: >> echo "House" | apertium -d . nya-yao >> echo "casas" | apertium -d . yao-nya >> It just hangs. I don’t know what it is doing. >> >> Apertium-Viewer is quite helpful but I am unable to interpret the >> screenshot uploaded to the following location: >> https://gitlab.com/snippets/1929316 >> >> >> ___ >> 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
Re: [Apertium-stuff] Bootstrapping a new language pair – Hanging Problem
Thanks for the insight. Will look into that. On Mon, Jan 13, 2020 at 1:21 PM Hèctor Alòs i Font wrote: > > Hi Zanga, > > I've downloaded your code and compiled it. It doesn't hang in my computer: > https://drive.google.com/open?id=16GLQjMIlwJx2Dtx585JFpmvV61dUrpUH > > According to your screenshot you have a problem in apertium-tagger. > Seemingly, you get a result if you type: > > $ echo "houses" | apertium -d . nya-yao-disam > ^houses/house$^./.$ > > But not if you type: > > $ echo "houses" | apertium -d . nya-yao-tagger > ^house$^.$ > > So, it seems there is a problem in your installation of Apertium. > > Best, > Hèctor > > Missatge de Zanga Chimombo del dia dl., 13 de gen. > 2020 a les 9:41: >> >> I have followed the guidelines on bootstrapping a new language pair >> (with no existing monolingual packages) at: >> http://wiki.apertium.org/wiki/How_to_bootstrap_a_new_pair >> >> I have made one change only to one of the monolingual language >> dictionaries, replacing “house” with “casa” in a couple of places in >> order to be able to test the new pair. My code is at: >> https://gitlab.com/zangaphee/CiBantu >> >> However, I am encountering the hanging problem. When I attempt the >> tests suggested in the README file: >> echo "House" | apertium -d . nya-yao >> echo "casas" | apertium -d . yao-nya >> It just hangs. I don’t know what it is doing. >> >> Apertium-Viewer is quite helpful but I am unable to interpret the >> screenshot uploaded to the following location: >> https://gitlab.com/snippets/1929316 >> >> >> ___ >> 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
Re: [Apertium-stuff] Bootstrapping a new language pair – Hanging Problem
Hi Zanga, I've downloaded your code and compiled it. It doesn't hang in my computer: https://drive.google.com/open?id=16GLQjMIlwJx2Dtx585JFpmvV61dUrpUH According to your screenshot you have a problem in apertium-tagger. Seemingly, you get a result if you type: $ echo "houses" | apertium -d . nya-yao-disam ^houses/house$^./.$ But not if you type: $ echo "houses" | apertium -d . nya-yao-tagger ^house$^.$ So, it seems there is a problem in your installation of Apertium. Best, Hèctor Missatge de Zanga Chimombo del dia dl., 13 de gen. 2020 a les 9:41: > I have followed the guidelines on bootstrapping a new language pair > (with no existing monolingual packages) at: > http://wiki.apertium.org/wiki/How_to_bootstrap_a_new_pair > > I have made one change only to one of the monolingual language > dictionaries, replacing “house” with “casa” in a couple of places in > order to be able to test the new pair. My code is at: > https://gitlab.com/zangaphee/CiBantu > > However, I am encountering the hanging problem. When I attempt the > tests suggested in the README file: > echo "House" | apertium -d . nya-yao > echo "casas" | apertium -d . yao-nya > It just hangs. I don’t know what it is doing. > > Apertium-Viewer is quite helpful but I am unable to interpret the > screenshot uploaded to the following location: > https://gitlab.com/snippets/1929316 > > > ___ > 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] Bootstrapping a new language pair – Hanging Problem
I have followed the guidelines on bootstrapping a new language pair (with no existing monolingual packages) at: http://wiki.apertium.org/wiki/How_to_bootstrap_a_new_pair I have made one change only to one of the monolingual language dictionaries, replacing “house” with “casa” in a couple of places in order to be able to test the new pair. My code is at: https://gitlab.com/zangaphee/CiBantu However, I am encountering the hanging problem. When I attempt the tests suggested in the README file: echo "House" | apertium -d . nya-yao echo "casas" | apertium -d . yao-nya It just hangs. I don’t know what it is doing. Apertium-Viewer is quite helpful but I am unable to interpret the screenshot uploaded to the following location: https://gitlab.com/snippets/1929316 ___ Apertium-stuff mailing list Apertium-stuff@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/apertium-stuff