skip to navigation
skip to content

pyahooapis 0.2.3

Yahoo! Japan Text APIs Python wrapper

Setup

$ easy_install pyahooapis

Example

from pyahooapis import jlp

appid = 'your-application-id'
api = jlp.JLPAPIs(appid)
sentence = 'sentence'

chunks = api.da.get_chunks(sentence)

for chunk in chunks:
    print '%s -> %s' % (chunk, chunks[chunk.dependency] if chunk.dependency != -1 else None)

Documentation

Go to Pyahooapis’s documentation

 
File Type Py Version Uploaded on Size
pyahooapis-0.2.3-py2.5.egg (md5) Python Egg 2.5 2011-05-16 24KB
pyahooapis-0.2.3.zip (md5) Source 2011-05-16 12KB