Skip to content

Instantly share code, notes, and snippets.

@parulnith
Last active January 5, 2019 00:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parulnith/5d44ff2b0a9d3bcf6c4f4b299e0edad5 to your computer and use it in GitHub Desktop.
Save parulnith/5d44ff2b0a9d3bcf6c4f4b299e0edad5 to your computer and use it in GitHub Desktop.
config = """
language: "en"
pipeline:
- name: "nlp_spacy" # loads the spacy language model
- name: "tokenizer_spacy" # splits the sentence into tokens
- name: "ner_crf" # uses the pretrained spacy NER model
- name: "intent_featurizer_spacy" # transform the sentence into a vector representation
- name: "intent_classifier_sklearn" # uses the vector representation to classify using SVM
- name: "ner_synonyms" # trains the synonyms
"""
%store config > config.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment