Skip to content

emilioriosvz/smart-grouper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart keyword grouper tool

Standard - JavaScript Style Guide

This experiment consist of grouping, in a more or less smart way, a set of keywords into topics.

Installation

npm i

Run the server

npm start

Endpoint

There is only one endpoint, where you will have to pass the list of sentences to process

POST localhost:3000/grouper

{
  "text": "...list of sentences (separated by \n or comma)"
}

In addition you can pass two query params.

  • lang: which accept en and es (you can try with other languages but you know, I will not be responsible of the disaster ¯_(ツ)_/¯)
  • minSize: which means that the grouper will not create smart groups smaller than the value

Example

I have prepared a test call object to do some test and this is the response using it, so you can get an idea of what this experiment can do 🙃


Use it, break it and tell me what you think drink! 🍻

About

smart keyword grouper tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published