Skip to content

Instantly share code, notes, and snippets.

@VXU1230
Last active April 18, 2019 20:02
Show Gist options
  • Save VXU1230/9176d8c85d763b612f7b7070cfc4a0b6 to your computer and use it in GitHub Desktop.
Save VXU1230/9176d8c85d763b612f7b7070cfc4a0b6 to your computer and use it in GitHub Desktop.
Import libraries, Create tools for data cleaning, Define parameters
import os
import time
import numpy as np
from collections import defaultdict, OrderedDict
from multiprocessing import Pool
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras import layers
import tensorflow_datasets as tfds
import string
import nltk
from nltk.stem.wordnet import WordNetLemmatizer
from nltk.tag import pos_tag
from nltk.data import load
from nltk.corpus import wordnet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment