This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import spacy | |
| nlp = spacy.load("pt") | |
| doc = nlp("eu gosto de batata, mas também gosto de estudar") | |
| for token in doc: | |
| print(token) # para cada palavra a biblioteca gerou um objeto Token (https://spacy.io/api/token#attributes) |