On Wed, May 29, 2019 at 10:14 PM Jack Park <[email protected]> wrote:

> Correction: no link-grammar-java
>

Well, that just says that something somewhere is not finding the
link-grammar java bindings.  I cannot speculate why. Maybe some CLASSPATH
doesn't point to the where the link-grammar jar file is.  Normally, I think
it ends up in /usr/local/share/java/linkgrammar.jar

viz. java -classpath /usr/local/share/java/linkgrammar.jar
relex.RelationExtractor -h

If that doesn't fix it try adding

-Djava.library.path=/usr/local/lib:/usr/local/lib/jni

I assume it's something like that.

-- Linas


> On Wednesday, May 29, 2019 at 6:35:56 PM UTC-7, Jack Park wrote:
>>
>> That's the error message in a small testbed to feed RelEx sentences and
>> learn how to process the results.
>> Context:
>> Simple Eclipse project on an Ubuntu box with LinkGrammar parser 5.6.1
>> installed and RelEx did run its simple test, which, I believe, means it's
>> working.
>> This project is not that RelEx but instead, uses the entire RelEx library
>> of jars in the Eclipse project, including the linkgrammar.5.6.1.jar; it's
>> all in there.
>>
>> I create a copy of RelationExtractor and then ask it getVersion() -
>> that's when the error occurs; it's not finding the parser.
>>
>> Is there a simple explanation for that error message?
>>
>> BTW: I posted this question in the OpenCog slack as well.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "opencog" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/opencog.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/opencog/8c05b715-a4ed-4540-b696-20f0997575c1%40googlegroups.com
> <https://groups.google.com/d/msgid/opencog/8c05b715-a4ed-4540-b696-20f0997575c1%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
cassette tapes - analog TV - film cameras - you

-- 
You received this message because you are subscribed to the Google Groups 
"opencog" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/opencog.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/opencog/CAHrUA340JZFa%3DtXfnWETNdOh3XN2fezpM12_wzDEbjCv2N26VQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to