any23-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lewis John Mcgibbney <>
Subject Re: Question about n-triple parsing
Date Wed, 11 Feb 2015 06:31:35 GMT
Hi Souri,

On Tue, Feb 10, 2015 at 10:25 PM, souri datta <>

> Thanks for the link Lewis. Its a nice tool.
> What I want is an API to convert a string representation to subject ,
> predicate and object. Can you point me to some sample code (inside any23)
> which does this?
> Yes certainly
First some Javadoc. The DocumentSource [0] is our main interface
representing a data structure which we extract triples relations from.
In particular please see the StringDocumentSource [1]. It should be noted
that the more arguments provided as parameters the better chance of good
triples extraction.
Now for some code,
Please see our data extraction guide [2], in this case we use the
HTTPDoumentSource, however you can substitute this with your
StringDocumentSource, run it and then tell us how you get on.

Hope this helps.
Feel to subscribe to the mailing lists either at or
They are both pretty low volume mailing lists.


View raw message