Last active
September 9, 2021 18:24
-
-
Save richashworth/51686d8dad069f428a901e8a145e78f0 to your computer and use it in GitHub Desktop.
Tokenisation Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
text = " ".join(list(jonathan_ross_segments)) | |
sentences = nlp(text).sents | |
HTML(DataFrame(map(lambda x: str(x), sentences), columns=["Sentences"]).to_html(index=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment