'Initializes the encoder.
Args:
embeddings: Dictionary of word to embedding vector (1D numpy array).'

def __init__(self, embeddings):

    self._sentence_detector = nltk.data.load('tokenizers/punkt/english.pickle')
    self._embeddings = embeddings
