Part-2: Tokenization (NLP)

Kabir Narayan Jha
2 min readMay 23, 2020

--

wakeupcoders are moving

Dear Reader,

We have moved to the new Blog post account. Please click here to read the same article on other account with more better content and experiences.

Link : https://medium.com/@wakeupcoders/part-2-tokenization-nlp-480c67015700

— — — — — — — — — — — — — — — — — — — — — — — — — — — — — -

Text is very important data. Once we try to convert this data into the informational model. Our first for NLP is to do tokenization. Lets understand this how to deal with it :D.

Learn Tokenization for begginers by wakeupcoders

What is Tokenization (NLP)?

Tokenization is the process of tokenizing or splitting a string, text into a list of tokens. One can think of token as parts like a word is a token in a sentence, and a sentence is a token in a paragraph.

Tokenization example

As you can see from the above example a string is now tokenized. Now question is why we are doing tokenization.

Why Tokenization (NLP)?

Now as we know that the process of splitting sentence or word is known as tokenization. We do tokenization because if we will be having the words and sentences differently then we can reach to each and every word and sentence and can have insights from each and every word or sentence. That is why tokenization is very important for us.

How to Implement Tokenization?

Please go through the above given notebook for different types of Tokenization.

Practice Assignment Time :)

Now i hope you understood from the above explaination you know about tokenization. Please use this practice assignment to have more better understanding on tokenization.

https://github.com/wakeupcoders/Natural-Language-Processing-/tree/master/Tokenization/Practice%20Assignment%20of%20Tokenization

Feel free to use our github repo associated with this NLP series : https://github.com/wakeupcoders/Natural-Language-Processing-

Quick Links

Link : Part -1 : Introduction to NLP

Hope you enjoyed this blog. Please join us on Instagram, Twitter, Linkedin This blog is a collaboration with Sambhav Jain. Thanks for reading.

--

--

Kabir Narayan Jha
Kabir Narayan Jha

Written by Kabir Narayan Jha

Software Engineer & Content Creator | Ex Capgemini | Udemy Instructor 12k+ Students | Building Wakeupcoders | Helping Individual and startups Grow on YouTube.

No responses yet