So are you planning to do a research in text fields but not sure about how to start?
Well, why not start with pre-processing of text as it is very important while doing
research in text field and its easy! Cleaning the text helps you get quality output by removing
all irrelevant text and getting the forms of the words etc.
In this article, we will be covering:
1. Converting text to lowercase
2. Sentence tokenize
3. Word tokenize
4. Spell Check
5. Lemmatize
6. Stemming
7. Remove Tags
8. Remove numbers
9. Remove punctuation
10. Remove stopwords
| 1 | Converting text to lowercase (eg: "I AM PEMA") | |||
| 2 | Sentence tokenize(eg: "I'm Pema. This is a test.") | |||
| 3 | Word tokenize (eg: "I AM PEMA") | |||
| 4 | Spell Check(eg: "Thss is a test") | |||
| 5 | Lemmatize (eg: "the functions of this fan") | |||
| 6 | Stemming(eg: "test functioning") | |||
| 7 | Remove Tags (eg: "this <\test> tag") | |||
| 8 | Remove numbers (eg: "test 1243") | |||
| 9 | Remove punctuation (eg: "test this! or $") | |||
| 10 | Remove stopwords (eg: "all kinds of things") |