Re: [Apertium-stuff] newbie

2023-08-23 Thread Kevin Brubeck Unhammer
> Theoretical, if I am able to get thru Sysdamins, this is “all” we need for 
> Suse?
> # Nightly, unstable, new, almost always use this:
> curl -sS https://apertium.projectjj.com/rpm/install-nightly.sh | sudo bash
>
> —OR—
>
> # Release, stable, old:
> curl -sS https://apertium.projectjj.com/rpm/install-release.sh | sudo bash
> and finally:
> # OpenSUSE:
> sudo zypper install apertium-all-devel
> What I do not see how ENG-DEU module will be part of it?

If you run install-nightly.sh, you should be able to install
apertium-eng-deu (and apertium-apy) afterwards.


signature.asc
Description: PGP signature
___
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff


Re: [Apertium-stuff] newbie

2023-08-22 Thread Zoltan Levardy
thanks for explanation.

For me no real option to install docker, or anything. Our target server SLE 15, 
where admins install anything. Quite a strict process. I also not found 
apertium.rpm packages out of box. Since that thought to get “trans” former 
Google Translate Shell on the system as wrapper, but under the hood finally 
Apertium binary is expected. Also no idea for security concerns if able to get 
py server and internal (firewall) traffic. Corporates now days very much 
security-fear-driven :(

Theoretical, if I am able to get thru Sysdamins, this is “all” we need for Suse?
# Nightly, unstable, new, almost always use this:
curl -sS https://apertium.projectjj.com/rpm/install-nightly.sh | sudo bash

—OR—

# Release, stable, old:
curl -sS https://apertium.projectjj.com/rpm/install-release.sh | sudo bash
and finally:
# OpenSUSE:
sudo zypper install apertium-all-devel
What I do not see how ENG-DEU module will be part of it?

thx

 
> On 2023. Aug 22., at 14:11, Tino Didriksen  wrote:
> 
> No, there is currently no way to run the whole pipe in Java, and we have no 
> plans to upgrade the Java port to be usable.
> 
> For easier administration, you can run Apertium in a Debian/Ubuntu Docker 
> container. Either via the apertium-apy server, or execute the pipe directly.
> 
> Pure Android version would similarly need a native NDK build of the tools. We 
> know it all builds on NDK and runs on Android, but haven't taken the time to 
> build an actual app.
> 
> -- Tino Didriksen
> 
> On Tue, 22 Aug 2023 at 13:30, Zoltan Levardy  > wrote:
>> Thank you Kevin
>> 
>> I was asked to find offline translator for a tomcat based webapp. Tomcat 
>> itself is running on linux (development on win and mac). Our goal was with 
>> pure java to get less integration issues with system administration and to 
>> keep all logic in the same (WAR) file. But know my understanding, that 
>> lttoolbox-java is part of the game. 
>> No way to get a java only version? Even how pure android version would go?
>> 
>> thx
>> 
>> > On 2023. Aug 22., at 9:31, Kevin Brubeck Unhammer > > > wrote:
>> > 
>> > Hi,
>> > 
>> > lt-proc is just one part of the pipeline, you also need transfer, tagger
>> > etc. – the full pipeline is at
>> > https://github.com/apertium/apertium-eng-deu/blob/master/modes.xml#L19..L62
>> > It also depends on cg-proc, lsx-proc and lrx-proc which don't have Java
>> > ports. So as of now, you can't run it with just lttoolbox.jar. The
>> > easiest option is to just shell out to the regular Apertium pipeline.
>> > 
>> > Is this meant to run on Android or something since you're looking at
>> > Java?
>> > 
>> > best regards,
>> > Kevin Brubeck Unhammer 
>> > 
>> > 
>> > 
>> > ___
>> > 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


Re: [Apertium-stuff] newbie

2023-08-22 Thread Tino Didriksen
No, there is currently no way to run the whole pipe in Java, and we have no
plans to upgrade the Java port to be usable.

For easier administration, you can run Apertium in a Debian/Ubuntu Docker
container. Either via the apertium-apy server, or execute the pipe directly.

Pure Android version would similarly need a native NDK build of the tools.
We know it all builds on NDK and runs on Android, but haven't taken the
time to build an actual app.

-- Tino Didriksen

On Tue, 22 Aug 2023 at 13:30, Zoltan Levardy  wrote:

> Thank you Kevin
>
> I was asked to find offline translator for a tomcat based webapp. Tomcat
> itself is running on linux (development on win and mac). Our goal was with
> pure java to get less integration issues with system administration and to
> keep all logic in the same (WAR) file. But know my understanding, that
> lttoolbox-java is part of the game.
> No way to get a java only version? Even how pure android version would go?
>
> thx
>
> > On 2023. Aug 22., at 9:31, Kevin Brubeck Unhammer 
> wrote:
> >
> > Hi,
> >
> > lt-proc is just one part of the pipeline, you also need transfer, tagger
> > etc. – the full pipeline is at
> >
> https://github.com/apertium/apertium-eng-deu/blob/master/modes.xml#L19..L62
> > It also depends on cg-proc, lsx-proc and lrx-proc which don't have Java
> > ports. So as of now, you can't run it with just lttoolbox.jar. The
> > easiest option is to just shell out to the regular Apertium pipeline.
> >
> > Is this meant to run on Android or something since you're looking at
> > Java?
> >
> > best regards,
> > Kevin Brubeck Unhammer
> >
> >
> >
> > ___
> > 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] newbie

2023-08-22 Thread Kevin Brubeck Unhammer
> Thank you Kevin
>
> I was asked to find offline translator for a tomcat based webapp.
> Tomcat itself is running on linux (development on win and mac). Our
> goal was with pure java to get less integration issues with system
> administration and to keep all logic in the same (WAR) file. But know
> my understanding, that lttoolbox-java is part of the game.
> No way to get a java only version? Even how pure android version would go?

There was a pure Java Android app long ago, but lately pretty much all
language pairs require modules that don't have Java ports.

But if you're on a Linux server, you can probably just run
https://apertium.projectjj.com/apt/install-nightly.sh and then `apt
install apertium-apy apertium-eng-deu` and you'll have a localhost api
you can call, see https://wiki.apertium.org/wiki/Apertium-apy

Or use the apy Docker image if you're on a non-Debian-based system; that
might be easiest if you're developing on non-Linux anyway.






___
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff


Re: [Apertium-stuff] newbie

2023-08-22 Thread Zoltan Levardy
Thank you Kevin

I was asked to find offline translator for a tomcat based webapp. Tomcat itself 
is running on linux (development on win and mac). Our goal was with pure java 
to get less integration issues with system administration and to keep all logic 
in the same (WAR) file. But know my understanding, that lttoolbox-java is part 
of the game. 
No way to get a java only version? Even how pure android version would go?

thx

> On 2023. Aug 22., at 9:31, Kevin Brubeck Unhammer  wrote:
> 
> Hi,
> 
> lt-proc is just one part of the pipeline, you also need transfer, tagger
> etc. – the full pipeline is at
> https://github.com/apertium/apertium-eng-deu/blob/master/modes.xml#L19..L62
> It also depends on cg-proc, lsx-proc and lrx-proc which don't have Java
> ports. So as of now, you can't run it with just lttoolbox.jar. The
> easiest option is to just shell out to the regular Apertium pipeline.
> 
> Is this meant to run on Android or something since you're looking at
> Java?
> 
> best regards,
> Kevin Brubeck Unhammer 
> 
> 
> 
> ___
> 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] newbie

2023-08-22 Thread Kevin Brubeck Unhammer
Hi,

lt-proc is just one part of the pipeline, you also need transfer, tagger
etc. – the full pipeline is at
https://github.com/apertium/apertium-eng-deu/blob/master/modes.xml#L19..L62
It also depends on cg-proc, lsx-proc and lrx-proc which don't have Java
ports. So as of now, you can't run it with just lttoolbox.jar. The
easiest option is to just shell out to the regular Apertium pipeline.

Is this meant to run on Android or something since you're looking at
Java?

best regards,
Kevin Brubeck Unhammer 



___
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff


[Apertium-stuff] newbie

2023-08-21 Thread Zoltan Levardy
Dear Apertium Stuff,

I have found this mail list about aperium in general. Maybe I am at the wrong 
place, please forgive me in this case, and help me to find sub channels.

There is a need to make an offline translation from German to English with java 
projects. I have download from GIT lltoolbox-java and able to create jar by 
maven build. Also was able to run ‘lt-comp” with “lr” or “rl”, finally tried to 
“lt-proc” with simple words, like: white, hello, etc. The ENG-DEU module was 
also fetched from GIT (nersery), and got compiled:

Some of my attempts to compile eng-due:
CF:lttoolbox-java leva$ java -jar target/lttoolbox.jar lt-comp lr 
/Users/leva/Downloads/apertium-eng-deu.eng-deu.dix eng-deu.bin
CF:lttoolbox-java leva$ java -jar target/lttoolbox.jar lt-comp rl 
/Users/leva/Downloads/apertium-eng-deu.eng-deu.dix deu-eng.bin
CF:lttoolbox-java leva$ ls -al
-rw-r--r--   1 leva  staff  1647022 Aug 17 15:21 deu-eng.bin
-rw-r--r--   1 leva  staff  1562679 Aug 17 15:21 eng-deu.bin

CF:lttoolbox-java leva001$ echo "about" | java -jar target/lttoolbox.jar 
lt-proc -e eng-deu.bin2
Warning: Decomposition symbol <:compound:only-L> not found
Warning: Decomposition symbol <:compound:R> not found
about

May I ask some help why is not able to trigger translator?
(In a further step I would like to trigger language translation from a java 
project? Is this possible with lltoolbox.jar as a library?)

Many thanks in advance,
Zol



___
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff