Computronium Blog
Published in

Computronium Blog

Inputting & PreProcessing Text

Input Methods, String & Unicode, Regular Expression Use Cases

NLTK has preprocessed texts. But we can also import and process our own texts.

Importing

from __future__ import division 
import nltk, re, pprint

To Import a Book as a Txt

--

--

--

Discovering Natural Language Processing and Machine Learning || Every Monday

Recommended from Medium

Linear Regression in Ruby

Intro to Knowledge Graphs

Face Recognition Testing:-

Quora Question Pair Similarity Case Study

Monocular Depth in the Real World

Get your machine learning model into production

Creating Machine Learning Model on Docker Container.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jake Batsuuri

Jake Batsuuri

I write about software && math. Occasionally I design && code. Find my stuff batsuuri.ca

More from Medium

NLP Automation for Invoice Processing

Install PyLucene on macOS

Sentiment Analysis, Part 1 — A friendly guide to Sentiment Analysis

Accelerate NLP preprocessing pipeline by optimizing a batch-processing loop