Skip to content

Instantly share code, notes, and snippets.

@language-engineering
Created September 27, 2012 12:52
Show Gist options
  • Select an option

  • Save language-engineering/3793841 to your computer and use it in GitHub Desktop.

Select an option

Save language-engineering/3793841 to your computer and use it in GitHub Desktop.
import os,sys
# add to python path so that the sussex_nltk package can be loaded
sys.path.append(os.path.join("path","to","LanguageEngineering"))
import sussex_nltk
# set the root of the sussex_nltk package so that the corpora can be loaded correctly
sussex_nltk._set_root(os.path.join("path","to","LanguageEngineering"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment