Skip to content

The locations or offsets of sentences in a text #892

Answered by spencermountain
hehuan2112 asked this question in Q&A
Discussion options

You must be logged in to vote

hey Huan - yup you can do that like this:

doc.sentences().json({offset:true})

https://runkit.com/spencermountain/61bc982d7cf0930008a200a4
sorry it's not very clear in the docs right now
cheers

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@hehuan2112
Comment options

@ryanj11
Comment options

Answer selected by spencermountain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants