Access Senticnet API using Python
Project description
# Senticnet API
Ultra simple API to use Senticnet 2 without be bothered by RDF stuff.
## Install
Using pip:
```
$ pip install senticnet
```
Using the repository code:
```
$ python setup.py install
```
## How to use
```python
from senticnet.senticnet import Senticnet
sn = Senticnet()
concept_info = sn.concept('love')
polarity = sn.polarity('love')
semantics = sn.semantics('love')
sentics = sn.sentics('love')
```
Ultra simple API to use Senticnet 2 without be bothered by RDF stuff.
## Install
Using pip:
```
$ pip install senticnet
```
Using the repository code:
```
$ python setup.py install
```
## How to use
```python
from senticnet.senticnet import Senticnet
sn = Senticnet()
concept_info = sn.concept('love')
polarity = sn.polarity('love')
semantics = sn.semantics('love')
sentics = sn.sentics('love')
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
senticnet-0.3.tar.gz
(4.2 kB
view hashes)