Source: https://nlp.stanford.edu/~socherr/pa4_ner.pdf