in reply to Simple RegEX text parser

Hello guys . I have got a new problem. As you could see in my above code, the text splitting part was not working fine. Now I would like to know more about any Perl modules for text breaking / splitting. It wud be really helpful if u cud give my suggestions.

And also there is a java application known as SentParBreaker for sentence breaking. It works great. I have got the .jar file from the site, but I dont knw how to call a java function from perl.

I have read about Inline::Java, but I think that for tht module to work I need the source code of my application. which of course I dont have. Cud any1 please tell me how to invoke a java application from perl and use the input

Replies are listed 'Best First'.
Re^2: Simple RegEX text parser
by ikegami (Patriarch) on Jan 02, 2009 at 10:18 UTC

    I have read about Inline::Java, but I think that for tht module to work I need the source code of my application.

    Nope, see the section called "STUDYING".

    By the way, the language is called Perl (not PERL).

      Thanks Ikegami for pointing out my mistake. I'm sorry for that...And I have read about the "STUDYING" Section. Yah it should help me. But I am totally new to Java..so I shall take some time in understanding the terms..Meanwhile I wish my code to be fully Perl-oriented i.e to minimise the use of other language applications...So it would be of great help if you could suggest some perl modules for the same task

Re^2: Simple RegEX text parser
by kevk (Initiate) on Aug 13, 2009 at 10:52 UTC
    Hi I-Box, do you still have the SentParBreaker .jar file? I would like to try it out, but the only download link I can find for it is broken. Any chance you could YSI it for me or something? Many thanks in advance!