https://github.com/mbejda/node-ark-tweetnlp
Node wrapper for Ark-TweetNLP.
https://github.com/mbejda/node-ark-tweetnlp
ark-tweetnlp mbejda nlp nlp-library nodejs
Last synced: about 1 year ago
JSON representation
Node wrapper for Ark-TweetNLP.
- Host: GitHub
- URL: https://github.com/mbejda/node-ark-tweetnlp
- Owner: mbejda
- License: mit
- Created: 2015-11-08T17:46:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-08T19:44:20.000Z (over 10 years ago)
- Last Synced: 2025-07-03T00:09:31.023Z (about 1 year ago)
- Topics: ark-tweetnlp, mbejda, nlp, nlp-library, nodejs
- Language: JavaScript
- Homepage: http://www.ark.cs.cmu.edu/TweetNLP/
- Size: 0 Bytes
- Stars: 16
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

Ark TweetNLP is a Part-of-Speech Tagging tool for Tweets.
### Installation :
`TweetNLP` Node module uses `Node-Java` as a dependency. Your project environment should be properly configured to work with `Node-Java`. Click [here](https://github.com/joeferner/node-java) to learn more about `Node-Java`.
```Javascript
npm install tweetnlp --save
```
### Usage :
The following is a copy and paste example of how to use the `tweetnlp` module.
```Javascript
var TweetNLP = require("tweetnlp");
var tweetnlp = new TweetNLP();
var tweet = '#MakeYourTailgate RT @DAbitty: My @MakersMark Bloody Mary in @Waterford Crystal.';
tweetnlp.runTagger(tweet, function(error, array) {a
console.log(array)
})
```
### Configurations :
`TweetNLP` Node module uses a trained model by default. You can pass a file path to your own trained model when initializing the module.
Example :
```Javascript
var TweetNLP = require("tweetnlp");
var tweetnlp = new TweetNLP('path/to/trained/model');
```
### Resources :
Official TweetNLP Site :
http://www.ark.cs.cmu.edu/TweetNLP
Ark Tweet-NLP for Node Github:
[https://github.com/mbejda/Node-Ark-TweetNLP](https://github.com/mbejda/Node-Ark-TweetNLP)
My Twitter : [@notmilobejda](https://twitter.com/notmilobejda)
My Website : [mbejda.com](mbejda.com)