Last active
January 5, 2019 00:53
-
-
Save parulnith/5d44ff2b0a9d3bcf6c4f4b299e0edad5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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