if __name__ == '__main__':
    import nltk

    CORPORA = ['punkt']

    for corpus in CORPORA:
        nltk.download(corpus)
if __name__ == '__main__':
    from nltk import download

    CORPORA = ['punkt']

    for corpus in CORPORA:
        download(corpus)

Fix a build for travis-CI
Fix a build for travis-CI

  if __name__ == '__main__':
-     import nltk
+     from nltk import download
  
      CORPORA = ['punkt']
  
      for corpus in CORPORA:
-         nltk.download(corpus)
+         download(corpus)
+ 
Fix a build for travis-CI
## Code Before:
if __name__ == '__main__':
    import nltk

    CORPORA = ['punkt']

    for corpus in CORPORA:
        nltk.download(corpus)
## Instruction:
Fix a build for travis-CI
## Code After:
if __name__ == '__main__':
    from nltk import download

    CORPORA = ['punkt']

    for corpus in CORPORA:
        download(corpus)
