Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offset #1

Closed
amandalmia14 opened this issue Feb 10, 2020 · 1 comment
Closed

Offset #1

amandalmia14 opened this issue Feb 10, 2020 · 1 comment

Comments

@amandalmia14
Copy link

Hi @vaibhavad ,

Can you please elaborate more on the offset with an example?

Thanks.

@vaibhavad
Copy link
Owner

Hi @amandalmia14,

The offsets are used internally in OpenIE and we plan to remove it from JSON response in our next update. OpenIE works best on simple sentences. To facilitate that, a module breaks conjunctive sentences to simple ones and then runs extractions on them. The offsets correspond to these simple sentences. To just give an insight into how offsets are used -

"He entered the Society of Jesus on 7 September 1630 and was sent to the English missions in 1640 ." is split into "He entered the Society of Jesus on 7 September 1630" and "He was sent to the English missions in 1640 ."

You'll see the offsets in the extractions corresponding to these sentences rather than the original sentence.

Regards,
Vaibhav

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants