Re: grammar checker in AbiWord

From: Robert Staudinger <robert.staudinger_at_gmail.com>
Date: Tue Sep 20 2005 - 10:44:21 CEST

On 9/20/05, msevior@physics.unimelb.edu.au
<msevior@physics.unimelb.edu.au> wrote:
>
> > On Monday 19 September 2005 03:21, Martin Sevior wrote:
> >
> >> Ah this is very interesting! Does it compile with gcj? Do you have or
> >> plan to have an C/C++ API to access the functionality of your code?
> >
> > I have no experience with gcj. I guess compiling LanguageTool wouldn't be
> > difficult but it makes use of some libraries which would also need to be
> > compiled then I guess. Any help is appreciated.
> >
> > About the C API: I have no idea how to add one, can you get this
> > automatically with gcj?
> >
>
> I have no experience with either java or gjc. I know that the
> gnu-classpath project exists to provide free implementations of a large
> number of the java libraries. You might be lucky have find yours already
> implemented.

Offhand there are a number of possibilities:

(1) Port LanguageTool to C++. Work++, cleanliness++

(2) Embed the jvm in AbiWord. Will probably take some memory and time
to start up. Also depends on the jvm being installed.
>> http://gcc.gnu.org/onlinedocs/gcj/Invocation.html#Invocation

(3) Create a .so/.dll from LanguageTool and link it with the
cooresponding AbiWord plugin. "gcjh" can be used to generate header
files of LanguageTool. Must then link against libgcj.
>> http://gcc.gnu.org/onlinedocs/gcj/Mixing-with-C_002b_002b.html#Mixing-with-C_002b_002b

Cheers,
Rob
Received on Tue Sep 20 10:45:34 2005

This archive was generated by hypermail 2.1.8 : Tue Sep 20 2005 - 10:45:35 CEST