def idx_word(idx, nlp):
	"""
	Returns the token/word at the specified index of the spaCy model.

	:param idx: The index to query.
	:param nlp: The spaCy model.
	:return: Word at the index in the vocabulary.
	"""
	hash_code = nlp.vocab.vectors.find(row=idx)
	if len(hash_code) == 0: return '<UNK>'

	return nlp.vocab.strings[hash_code[0]]