Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

jp2en web services api collection

Project Description
==========
jp-net-kit
==========

Collection of utilities, dedictated for consuming following services:

* MeCab;
* JDic;
* Kradfile
* Weblio;
* Jisho;
* Wordnet.


Example usage:

#!/usr/bin/env python
# encoding: utf-8

from jpnetkit.kradfile import Kradfile
from jpnetkit.jisho import Jisho
from jpnetkit.weblio import Weblio
from jpnetkit.mecab import MeCab

# our kanji
amusing_kanji = u'称'

# get radical decomposition
radicals = Kradfile().get_radikals_for(amusing_kanji)

# compile examples list with readings and translation
# for each of the word, that contains our kanji
examples = {}
weblio = Weblio()
mecab = MeCab()
jisho = Jisho()

for word in jisho.complete(amusing_kanji):
for sentence, translation in weblio.examples(word).iteritems():
examples[word] = {
'example': sentence,
'translation': translation,
'reading': mecab.get_reading(sentence),
}
Release History

Release History

This version
History Node

0.1dev

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
jpNetKit-0.1dev.tar.gz (9.4 kB) Copy SHA256 Checksum SHA256 Source Apr 9, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting