You are on page 1of 1

Python 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.

1929 64 bit
(AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
from nltk.book import*

#ejercicio 7
text1: Moby Dick by Herman Melville
text2: Sense and Sensibility by Jane Austen
text3: The Book of Genesis
text4: Inaugural Address Corpus
text5: Chat Corpus

text5.collocations()

#ejercicio 8
len(set(text4))
Identifica un conjunto de palabras en el texto y calcula la congitud del conjunto

#ejercicio 8

You might also like