node-red-node-wordpos 0.0.3

A Node-RED node that breaks a sentence into the various parts of (English) speech.

npm install node-red-node-wordpos

A Node-RED node that breaks a sentence into the various parts of (English) speech.

Install

Run the following command in your Node-RED user directory - typically ~/.node-red

npm install node-red-node-wordpos

Usage

Uses the wordpos npm to analyse the msg.payload and classify the part-of-speech of each word.

The resulting message has a msg.pos object added with the results split into the following:

nouns:[],
verbs:[],
adjectives:[],
adverbs:[],
rest:[]

Note: a word may appear in multiple POS (eg, 'great' is both a noun and an adjective).

Node Info

Version: 0.0.3
Updated 1 year, 8 months ago
License: Apache-2.0

Downloads

0 in the last day
13 in the last week
61 in the last month

Nodes

  • wordpos

Keywords

  • node-red
  • wordpos

Maintainers

  • dceejay
  • knolleary