Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use regex_features? #85

Open
cold-eye opened this issue Dec 30, 2019 · 1 comment
Open

how to use regex_features? #85

cold-eye opened this issue Dec 30, 2019 · 1 comment

Comments

@cold-eye
Copy link

i cant find an example to generate regex_features, can you give some examples?

@rodrigopivi
Copy link
Owner

Hi @qinyukun-seu ,

The generated Rasa NLU json compatible dataset that this tool generates will include the "regex_features" field but it will be empty by default.

If you want to declare custom regex features for your dataset, you can edit that generated json file for the rasa adapter, or you can use the CLI and pass the formatOptions argument pointing to a template json file containing those regex_features field defined, and that file will be used as a template for the dataset. Let me know if that works for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants