mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
update analysis and utility nodes info style
This commit is contained in:
@@ -19,13 +19,13 @@
|
||||
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
||||
<input type="text" id="node-input-name" placeholder="Name">
|
||||
</div>
|
||||
<div class="form-tips">Adds <b>msg.pos</b> as the anaylsis result.
|
||||
<div class="form-tips">Adds <code>msg.pos</code> as the anaylsis result.
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-help-name="wordpos">
|
||||
<p>Analyses <b>msg.payload</b> and classifies the part-of-speech of each word.</p>
|
||||
<p>The resulting message has <b>msg.pos</b> added with the results:</p>
|
||||
<p>Analyses <code>msg.payload</code> and classifies the part-of-speech of each word.</p>
|
||||
<p>The resulting message has <code>msg.pos</code> added with the results:</p>
|
||||
<pre>{
|
||||
nouns:[],
|
||||
verbs:[],
|
||||
|
@@ -1,12 +1,12 @@
|
||||
node-red-node-wordpos
|
||||
=====================
|
||||
|
||||
A <a href="http://nodered.org" target="_new">Node-RED</a> node that breaks a sentance into the various parts of (English) speech.
|
||||
A <a href="http://nodered.org" target="_new">Node-RED</a> node that breaks a sentence into the various parts of (English) speech.
|
||||
|
||||
Install
|
||||
-------
|
||||
|
||||
Run the following command in the root directory of your Node-RED install
|
||||
Run the following command in your Node-RED user directory - typically `~/.node-red`
|
||||
|
||||
npm install node-red-node-wordpos
|
||||
|
||||
@@ -14,9 +14,9 @@ Run the following command in the root directory of your Node-RED install
|
||||
Usage
|
||||
-----
|
||||
|
||||
Uses the wordpos npm to analyse the **msg.payload** and classify the part-of-speech of each word.
|
||||
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:
|
||||
The resulting message has a `msg.pos` object added with the results split into the following:
|
||||
|
||||
nouns:[],
|
||||
verbs:[],
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-wordpos",
|
||||
"version" : "0.0.2",
|
||||
"version" : "0.0.3",
|
||||
"description" : "A Node-RED node that breaks a sentence into the various parts of (English) speech.",
|
||||
"dependencies" : {
|
||||
"wordpos" : "0.1.*"
|
||||
|
Reference in New Issue
Block a user