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
Extracting custom numbers from an utterance #1284
Comments
Which extractors do you have configured? How your code looks like? What tesponse you get? Please provide more details. |
The code looks like the following; it'd be awesome if you could let me know what I'm doing wrong.
Output continues to look like literal "{number1}" or "$number1" or however I write it, instead of the number provided in the input. |
Please print out the full result. I just see that you do not initialize any entity extractors, so not sure if that does anything then. I think you need to ad a extractor https://github.com/axa-group/nlp.js/blob/master/docs/v4/ner-manager.md#built-in-entities ... the "default "one or compromise shpuld be able to extract numbers |
exclaimer: My nlp is german so i have to build my number entities myself.
Explained here kind of: |
For numbers you can still use the default extractors ... (maybe it is just about the comma vs. point as decimal separator) |
I just wanna extract whatever the input variable is... I've tried something like this in my corpus, but it doesn't seem to be working:
The text was updated successfully, but these errors were encountered: