Genres

Report a typo

Write a program to print the names of the first three documents in any category of the Brown corpus; take the category name as an input.

Sample Input 1:

science_fiction

Sample Output 1:

['cm01', 'cm02', 'cm03']
Write a program in Python 3
from nltk.corpus import brown
___

Create a free account to access the full topic