Movie reviews

Report a typo

Write a program that will print the first six words of any file from the corpus with movie reviews; take the file identifier as an input.

Sample Input 1:

pos/cv118_28980.txt

Sample Output 1:

['plot', ':', 'a', 'human', 'space', 'astronaut']
Write a program in Python 3
from nltk.corpus import movie_reviews
___

Create a free account to access the full topic