question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

values.toApproximate

See original GitHub issue

Could you please add .quantify(list) as in Pattern.en. Again a WordNet lookup with .meet(noun1,noun2) as in NodeBox Linguistics.

Two sweet and essential missing NLP pieces. Nice job by the way… graduallly making JS great again! 😃

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ohenepeecommented, Jun 16, 2018

I’m building a bot that can generate meaningful response (Natural Language Generation). Your method could be an addition, but the previous methods I’ve presented would help in generating natural language from database values (multiple database values to be precise).

I mean generating from a dictionary or key-value object… as well as an item and its amount. I also do love the toApproximate() however is that more descriptive than quantify() ?

0reactions
spencermountaincommented, Jun 16, 2018

thanks, yeah this is a cool idea. What, if you don’t mind, are you using it for?

I would see this feature implemented something like this:

doc=nlp('27 seven thousand rats')
doc.values().toApprox()
doc.out()
// 'several thousand rats'

something like that?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using tables to approximate limit values - Khan Academy
Learn how to create tables in order to find a good approximation of a limit, and learn how to approximate a limit given...
Read more >
Approximate Value | Lexique de mathématique
An approximate value by excess of a number is a value that is close to this number, greater than it, as close as...
Read more >
How to Find Approximate Value - Application of Derivative
Derivative ( Differentials) is an excellent way to find the approximate value of any function. We have so many other use of derivative ......
Read more >
How to Approximate Function Values by Differentials - YouTube
How to Approximate Function Values by Differentials. Watch later. Share. Copy link. Info. Shopping. Tap to unmute.
Read more >
How to Approximate the Values of f Near x=a By Using Taylor ...
Estimate √4.1 4.1 by using a Taylor Polynomial of degree 2 2 for f(x)=√x f ( x ) = x centered at x=4...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found