terms but keep hyphens

node v18.11.0
version: master
endpointsharetweet
const nlp=require('compromise') let doc = nlp('one two-three four five') doc.splitAfter('!@hasHyphen').out('array')
Loading…

no comments

    sign in to comment