Hi guys, I have a question about rasa and spacy intent classification. How can I use language from spacy alpha tokenization support? Or maybe I can’t and I have to use only finished langs?
This is my code
from rasa_nlu.training_data import load_data
from rasa_nlu.config import RasaNLUModelConfig
from rasa_nlu.model import Trainer
from rasa_nlu import config
train_data = load_data('./rasa_dataset.json')
trainer = Trainer(config.load('./config_spacy.yaml'))
trainer.train(train_data)
model_directory = trainer.persist('/projects/')
from rasa_nlu.model import Metadata, Interpreter
interpreter = Interpreter.load(model_directory)
interpreter.parse(u"Where I can find the nearest restaurant?")
My config_spacy.yaml file has only:
language: "en"
pipeline: "spacy_sklearn"
It’s working perfectly fine on english model.
Thanks for any help.