title: node-nlp how to extract email, phone, url?
body: <p>I'm using <a href="https://www.npmjs.com/package/node-nlp#example-of-use" rel="nofollow noreferrer">node nlp</a> to extract the phone, url ,email etc. The sample code given was just an object in the help page. I don't know how to initialize the extract code. The read me for extraction url is <a href="https://github.com/axa-group/nlp.js/blob/master/docs/builtin-entity-extraction.md#ip-extraction" rel="nofollow noreferrer">https://github.com/axa-group/nlp.js/blob/master/docs/builtin-entity-extraction.md#ip-extraction</a></p>
  
  <p>One of the sample in that page is given below.</p>
  
  <p><strong>Email extraction</strong></p>
  
  <p>It can identify and extract valid emails accounts, this works for any language.</p>
  
  <pre><code>"utterance": "My email is something@somehost.com please write me",
  "entities": [
    {
      "start": 12,
      "end": 33,
      "len": 22,
      "accuracy": 0.95,
      "sourceText": "something@somehost.com",
      "utteranceText": "something@somehost.com",
      "entity": "email",
      "resolution": {
        "value": "something@somehost.com"
      }
    }
  ]
  </code></pre>
  
  <p>I have installed the npm and initialized like this</p>
  
  <pre><code>const { NlpManager } = require('node-nlp');
  
  const manager = new NlpManager({ languages: ['en'] });
  </code></pre>
  
  <p>What must be the next steps(Need a sample code) to do the extractions?</p>
  
  <p>The npm url is : <a href="https://www.npmjs.com/package/node-nlp" rel="nofollow noreferrer">https://www.npmjs.com/package/node-nlp</a></p>