All Projects → yohasebe → rginger

yohasebe / rginger

Licence: other
RGinger takes an English sentence and gives correction and rephrasing suggestions for it using Ginger proofreading API.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to rginger

bento
🍱 bento is an English-based automation language designed to be used by non-technical people.
Stars: ✭ 32 (+146.15%)
Mutual labels:  english
HistoryOfMe
Your own personal diary.
Stars: ✭ 50 (+284.62%)
Mutual labels:  english
YouTube to m3u
Grab .m3u8 from YouTube live channels and makes .m3u IPTV Playlist from various languages and Events. Tamil / Malayalam / English / Hindi / French / Kids / Sports / Urudu etc.
Stars: ✭ 48 (+269.23%)
Mutual labels:  english
Britfone
British English pronunciation dictionary
Stars: ✭ 66 (+407.69%)
Mutual labels:  english
TarsDocs en
The documentation of TARS in English
Stars: ✭ 16 (+23.08%)
Mutual labels:  english
words-aas
📕 a simple API to generate unique randomized words & phrases.
Stars: ✭ 69 (+430.77%)
Mutual labels:  english
translate english
Java程序员阅读源码必知英语单词
Stars: ✭ 24 (+84.62%)
Mutual labels:  english
jiten
jiten - japanese android/cli/web dictionary based on jmdict/kanjidic — 日本語 辞典 和英辞典 漢英字典 和独辞典 和蘭辞典
Stars: ✭ 64 (+392.31%)
Mutual labels:  english
automation-for-humans
Converts English statements to automation.
Stars: ✭ 67 (+415.38%)
Mutual labels:  english
SoMeWeTa
A part-of-speech tagger with support for domain adaptation and external resources.
Stars: ✭ 20 (+53.85%)
Mutual labels:  english
FCH-TTS
A fast Text-to-Speech (TTS) model. Work well for English, Mandarin/Chinese, Japanese, Korean, Russian and Tibetan (so far). 快速语音合成模型,适用于英语、普通话/中文、日语、韩语、俄语和藏语(当前已测试)。
Stars: ✭ 154 (+1084.62%)
Mutual labels:  english
convert-british-to-american-spellings
Convert text so that British spellings are swapped with their Americanized form or vice versa.
Stars: ✭ 26 (+100%)
Mutual labels:  english
InstaBot
Simple and friendly Bot for Instagram, using Selenium and Scrapy with Python.
Stars: ✭ 32 (+146.15%)
Mutual labels:  english
python-aos-lesson
Python for Atmosphere and Ocean Scientists
Stars: ✭ 78 (+500%)
Mutual labels:  english
Daft-Exprt
PyTorch Implementation of Daft-Exprt: Robust Prosody Transfer Across Speakers for Expressive Speech Synthesis
Stars: ✭ 41 (+215.38%)
Mutual labels:  english
BSD
The Business Scene Dialogue corpus
Stars: ✭ 51 (+292.31%)
Mutual labels:  english
COVID19Tweet
WNUT-2020 Task 2: Identification of informative COVID-19 English Tweets
Stars: ✭ 26 (+100%)
Mutual labels:  english
lc-wikidata
Library Carpentry Wikidata
Stars: ✭ 17 (+30.77%)
Mutual labels:  english
ety-python
A Python module to discover the etymology of words
Stars: ✭ 110 (+746.15%)
Mutual labels:  english
new-word-tab
A browser extension to learn a new word per new tab
Stars: ✭ 30 (+130.77%)
Mutual labels:  english

RGinger

RGinger takes an English sentence and gives correction and rephrasing suggestions for it using Ginger proofreading API. It can be used both as a Ruby library and a command line application.

IMPORTANT
Version 0.1.5 dropped rephrase command-line option and Rginger#rephrase function because the API endpoint for these is no longer functioning. The relevant documentation in this readme will be kept as it was for the time being though.

Installation

$ gem install rginger

Command Line Usage

Usage

$ rginger [options] "input text"

Options

     --coloring, --no-coloring, -c:   Get colorful output (default: true)
 --correction, --no-correction, -o:   Get suggestions for correcting the original
                                      sentence (default: true)
     --rephrase, --no-rephrase, -r:   Get suggestions for rephrasing the original
                                      sentence (default: true)
                     --version, -v:   Print version and exit
                        --help, -h:   Show this message

Output Sample

rginger

Library Usage

require 'rginger'

text = "I looking forward meet you"
ginger = RGinger::Parser.new
result = ginger.correct text

# {"original"=>"I looking forward meet you",
# "data"=>
#  [{"old"=>"looking",
#    "from"=>2,
#    "to"=>8,
#    "reverse_from"=>-24,
#    "reverse_to"=>-18,
#    "new"=>"am looking"},
#   {"old"=>"meet",
#    "from"=>18,
#    "to"=>21,
#    "reverse_from"=>-8,
#    "reverse_to"=>-5,
#    "new"=>"to meet"}],
# "corrected"=>"I am looking forward to meet you"}

result = ginger.rephrase text

# {"original"=>"I looking forward meet you", 
# "alternatives"=>
#  ["I was looking forward to meet you", 
#   "I look forward to meeting you", 
#   "I'm looking forward to meeting you", 
#   "I'm looking forward to meet you", 
#   "I look forwarding to meeting you", 
#   "I'm looking forwarding to meeting you", 
#   "I look forward to meeting you all"]} 

References

Alif Rachmawadi's Gingerice may be a better solution than RGinger for those who do not need colored command line output and "rephrase" functionality.

Thanks

Ginger Software for the great software and services that support learners aspiring for skills of writing good English.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].