I gave you the link to the documentation for
types earlier today. Many of the functions return a modified copy, but as you can see there is no specific copy method. But you have not explained where the error occurs.
Take a look at the documentation at NLTK :: nltk.classify.naivebayes
passing in the parameter from your call. One of the next actions is to call
on that parameter. But the
object does not have a
method, as already shown. So the conclusion is that you are passing an invalid parameter to classify.