Dude, spaCy all the way. It’s *blazing* fast compared to NLTK. Yeah, it’s a bit overkill for simple stuff, but once you get the hang of it, you’ll never go back.
For slang, try adding custom rules to the tokenizer. SpaCy lets you do that pretty easily. Also, the `profanity-check` lib is fun if you’re filtering text.
Here’s a cool tutorial I used: [Link to spaCy tutorial]. Helped me a lot with english parsing python.
For slang, try adding custom rules to the tokenizer. SpaCy lets you do that pretty easily. Also, the `profanity-check` lib is fun if you’re filtering text.
Here’s a cool tutorial I used: [Link to spaCy tutorial]. Helped me a lot with english parsing python.
