That error is solved now. I will try going ahead with the new language pair. Thanks.
On Sun, Aug 14, 2022 at 8:12 PM Anil Singh <nlp...@gmail.com> wrote: > I will try this. I am only beginning to learn using Apertium. I had tried > some things with it long ago when it was quite new, but I have forgotten > all that. > > Best regards, > > Anil Kumar Singh > > On Sun, Aug 14, 2022, 6:59 PM Daniel Swanson <awesomeevildu...@gmail.com> > wrote: > >> The issue is that by default apertium-init assumes that both modules have >> a post-generator, but Hindi doesn't. Everything should be correct if you >> re-initialize the directory but add the option --no-pgen2. >> >> Daniel >> >> On Sun, Aug 14, 2022 at 8:41 AM Anil Singh <nlp...@gmail.com> wrote: >> >>> I did that. Bootstrapping the language module worked, that is, it gave >>> no error. >>> >>> However, when I try to bootstrap the pair: >>> >>> ./autogen.sh --with-lang1=../apertium-mai --with-lang2=../apertium-hin >>> >>> >>> I get errors: >>> >>> cp ../apertium-hin/hin.autogen.bin mai-hin.autogen.bin >>>> make: *** No rule to make target '../apertium-hin/hin.autopgen.bin', >>>> needed by 'mai-hin.autopgen.bin'. Stop. >>>> make: *** Waiting for unfinished jobs.... >>> >>> >>> Any clue as to what could be wrong? >>> >>> Regards, >>> >>> Anil Kumar Singh >>> >>> On Sat, Aug 13, 2022 at 9:35 PM Anil Singh <nlp...@gmail.com> wrote: >>> >>>> Thanks, I'll check it out. >>>> >>>> On Sat, Aug 13, 2022 at 9:15 PM Tino Didriksen <m...@tinodidriksen.com> >>>> wrote: >>>> >>>>> The most likely cause is that you don't have the tools from our >>>>> nightly repository: >>>>> >>>>> https://wiki.apertium.org/wiki/Install_Apertium_core_using_packaging#Debian-based >>>>> >>>>> So I recommend running: >>>>> $ curl -sS https://apertium.projectjj.com/apt/install-nightly.sh | >>>>> sudo bash >>>>> $ sudo apt-get dist-upgrade >>>>> $ sudo apt-get install apertium-all-dev >>>>> >>>>> -- Tino Didriksen >>>>> >>>>> >>>>> On Sat, 13 Aug 2022 at 15:48, Anil Singh <nlp...@gmail.com> wrote: >>>>> >>>>>> HI, >>>>>> >>>>>> I am trying to bootstrap a new language pair. One of them is >>>>>> available via apertium-get, but the other is not. So I tried using >>>>>> apertium-init.py. On running it, it seems to partially succeed, but I get >>>>>> an error regarding the version of lttoolbox. >>>>>> >>>>>> Trying to install lttoolbox from source code from GitHub also causes >>>>>> an error. However, I am able to build (skipping tests) lttoolbox-java and >>>>>> it seems to be working. This, I understand, is a complete port of both >>>>>> apertium and lttoolbox. >>>>>> >>>>>> Can I use lttoolbox-java.jar to initialize a new language? If so, >>>>>> how? Or is there a way to fix the error with version of lttoolbox: >>>>>> >>>>>> Requested 'lttoolbox >= 3.6.9' but version of lttoolbox is 3.6.6 >>>>>>> >>>>>> >>>>>> I am working on Ubuntu WSL on Windows 10. >>>>>> >>>>>> Regards, >>>>>> >>>>>> Anil Kumar Singh >>>>>> >>>>> _______________________________________________ >>> 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