Last active
August 29, 2015 13:55
-
-
Save mohemohe/8785360 to your computer and use it in GitHub Desktop.
Example of how to use covconv API in Ruby .
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
require 'net/http' | |
require 'uri' | |
response = Net::HTTP.post_form(URI.parse('http://api.ghippos.net/covlang/'), | |
{'ja_JP'=> 'ここに原文を入力すると、こふ語になります。'}) | |
puts response.body |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment