Automatic Document Classification Python