Skip to content

Instantly share code, notes, and snippets.

@mohdsanadzakirizvi
Last active January 10, 2020 05:39
Show Gist options
  • Save mohdsanadzakirizvi/54887583cb0cb09ea8dd77d7c07bc647 to your computer and use it in GitHub Desktop.
Save mohdsanadzakirizvi/54887583cb0cb09ea8dd77d7c07bc647 to your computer and use it in GitHub Desktop.
import sys
from indicnlp import common
# The path to the local git repo for Indic NLP library
INDIC_NLP_LIB_HOME=r"indic_nlp_library"
# The path to the local git repo for Indic NLP Resources
INDIC_NLP_RESOURCES=r"indic_nlp_resources"
# Add library to Python path
sys.path.append(r'{}\src'.format(INDIC_NLP_LIB_HOME))
# Set environment variable for resources folder
common.set_resources_path(INDIC_NLP_RESOURCES)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment