Access Senticnet API using Python
Project description
# Senticnet API
Ultra simple API to use Senticnet without be bothered by RDF stuff.
## Dependencies
You need to install the rdflib:
```
$ pip install rdflib
```
## How to use
```python
from senticnet.senticnet import Senticnet
sn = Senticnet()
polarity = sn.polarity('love')
semantics = sn.semantics('love')
sentics = sn.sentics('love')
```
Ultra simple API to use Senticnet without be bothered by RDF stuff.
## Dependencies
You need to install the rdflib:
```
$ pip install rdflib
```
## How to use
```python
from senticnet.senticnet import Senticnet
sn = Senticnet()
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.2.tar.gz
(4.2 kB
view hashes)