nlp-compromise / compromise-plugin Goto Github PK
View Code? Open in Web Editor NEWtool for authoring plugins for compromise
Home Page: https://nlp-compromise.github.io/compromise-plugin/
tool for authoring plugins for compromise
Home Page: https://nlp-compromise.github.io/compromise-plugin/
Are there any documentation explaining the syntax of this example?
//military-words
{
plurals:{
barracks:'barracks'
},
patterns:{
"#Ordinal infantry? division":'Noun',
"major (general|lieutenant|#Person)":'Person',
"#Posessive six":'Noun',
"over$":'Expression'
},
words:{
'niner':'Value',
'buck sergeant':'Person'
}
}
Sorry this is a multi parts question
"patterns": {
"to? (readme|instruction(s)?)": "Navigation"
},
readme works as expected but can't get instruction or instructions to work.
However, this works
"patterns": {
"to? (readme|instructions|instruction)": "Navigation"
},
Is plugin the right tool for creating new intents and actions?
Now that I can see in the terms where instructions is tagged with "Navigation" from this sentence "give me instructions". What method or how can I check programmatically that the sentence in question is indeed related to "Navigation"? And how can I train it to respond with "http://mydomain/readme.html"?
I have added the ability to provide responses as part of the plugin. I want to have a chat with you before I submit a PR.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.