BramVanroy
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -60,9 +60,9 @@ nlp = spacy.load("en_core_web_sm")
|
|
60 |
|
61 |
text = "I love eating cookies!"
|
62 |
pos_sequence = " ".join([token.pos_ for token in nlp(text)])
|
63 |
-
# 'PRON VERB
|
64 |
model.perplexity(pos_sequence)
|
65 |
-
# 6.
|
66 |
```
|
67 |
|
68 |
|
|
|
60 |
|
61 |
text = "I love eating cookies!"
|
62 |
pos_sequence = " ".join([token.pos_ for token in nlp(text)])
|
63 |
+
# 'PRON VERB VERB NOUN PUNCT'
|
64 |
model.perplexity(pos_sequence)
|
65 |
+
# 6.9449849329974365
|
66 |
```
|
67 |
|
68 |
|