def tokenize_nouns(text, spacy_nlp):
    """
    Recover only nouns from text.
    """
    doc = spacy_nlp(text)
    nouns_doc = []
    for token in doc:
        if token.pos_ in ["NOUN", "PROPN"]:
            nouns_doc.append(token.text)
    return nouns_doc