Skip to content

Recognizing abbreviations - custom entities #84

Discussion options

You must be logged in to vote

Hello @jonzim

We have made some improvements in wink-eng-lite-web-model — it now able to handle standard abbreviations such as tsp. and tbsp. during SBD. This is version 1.4.3.

Custom entities performs a greedy match and in case of multiple matches, the longest one is given preference.

The construct given in your example is not supported. However we are planing to add detection of more entities including QUANTITY.

We may be able to help you further if you share more details of your use case. We are giving below the revised code below.

Best,
Sanjaya

const winkNLP = require( 'wink-nlp' );
const model = require( 'wink-eng-lite-web-model' );
const nlp = winkNLP( model );
const patterns = [
  { 

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@sanjayaksaxena
Comment options

@jonzim
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by sanjayaksaxena
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants