Last active
April 13, 2017 17:26
-
-
Save anujdutt9/b3ab604b5fa79e45eea43548f50cf133 to your computer and use it in GitHub Desktop.
This file contains 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
# Recurrent Neural Network based Language Model | |
# Aim: To train the NN so that it can generate random text using words from Vocabulary which is | |
# grammatically correct and makes some sense. | |
# The vocabulary is made using the input raw text data | |
# Import Dependencies | |
import os | |
import sys | |
import csv | |
import itertools | |
import operator | |
import numpy as np | |
import pickle | |
import nltk | |
from nltk import sent_tokenize, word_tokenize, FreqDist | |
from utils import * | |
import matplotlib.pyplot as plt | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment