Skip to content

output sentences to file #918

Answered by AngledLuffa
FuzzyNZ asked this question in Q&A
Jan 7, 2022 · 16 comments · 7 replies
Discussion options

You must be logged in to vote
for idx, sentence in enumerate(doc.sentences):
  print(idx, sentence.text)

Replies: 16 comments 7 replies

Comment options

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

@FuzzyNZ
Comment options

Answer selected by FuzzyNZ
Comment options

You must be logged in to vote
1 reply
@FuzzyNZ
Comment options

Comment options

You must be logged in to vote
1 reply
@FuzzyNZ
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@AngledLuffa
Comment options

Comment options

You must be logged in to vote
1 reply
@rahonalab
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rahonalab
Comment options

Comment options

You must be logged in to vote
0 replies
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