All Projects → rossmeissl → Verbs

rossmeissl / Verbs

Licence: mit
English verb conjugation for Ruby (and Rails)

Programming Languages

ruby
36898 projects - #4 most used programming language
grammar
57 projects

Labels

Projects that are alternatives of or similar to Verbs

Novels.org
Novels.org - Your Novels in Plain Text (Emacs . org-mode)
Stars: ✭ 120 (-51.61%)
Mutual labels:  english
Parse English
English (natural language) parser
Stars: ✭ 137 (-44.76%)
Mutual labels:  english
R Ecology Lesson
Data Analysis and Visualization in R for Ecologists
Stars: ✭ 218 (-12.1%)
Mutual labels:  english
Make Novice
Automation and Make
Stars: ✭ 122 (-50.81%)
Mutual labels:  english
Pluralize
Pluralize or singularize any word based on a count
Stars: ✭ 1,808 (+629.03%)
Mutual labels:  english
Postcss Spiffing
PostCSS plugin to use British English
Stars: ✭ 158 (-36.29%)
Mutual labels:  english
Wordreview
📚 背单词网页 Django + MySQL + Pug + JS
Stars: ✭ 115 (-53.63%)
Mutual labels:  english
Tourism Demo
Flutter app backed by Redux, shows animations, internationalization (i18n), ClipPath, fonts and others...
Stars: ✭ 232 (-6.45%)
Mutual labels:  english
Workshop Template
The Carpentries Workshop Template
Stars: ✭ 137 (-44.76%)
Mutual labels:  english
Engtagger
English Part-of-Speech Tagger Library; a Ruby port of Lingua::EN::Tagger
Stars: ✭ 217 (-12.5%)
Mutual labels:  english
Roenglishre
An unofficial english translation project for Korea Ragnarok Online (kRO).
Stars: ✭ 121 (-51.21%)
Mutual labels:  english
R Novice Gapminder
R for Reproducible Scientific Analysis
Stars: ✭ 127 (-48.79%)
Mutual labels:  english
Python Novice Inflammation
Programming with Python
Stars: ✭ 199 (-19.76%)
Mutual labels:  english
Gse
Go efficient multilingual NLP and text segmentation; support english, chinese, japanese and other. Go 高性能多语言 NLP 和分词
Stars: ✭ 1,695 (+583.47%)
Mutual labels:  english
Vocabs
📚 A lightweight online dictionary integration to the command line. No browsers. No paperbacks.
Stars: ✭ 226 (-8.87%)
Mutual labels:  english
Python Ecology Lesson
Data Analysis and Visualization in Python for Ecologists
Stars: ✭ 116 (-53.23%)
Mutual labels:  english
3000
Excel版再要你命3000
Stars: ✭ 158 (-36.29%)
Mutual labels:  english
Shell Novice
The Unix Shell
Stars: ✭ 234 (-5.65%)
Mutual labels:  english
Git Novice
Version Control with Git
Stars: ✭ 227 (-8.47%)
Mutual labels:  english
Movies2anki
Convert movies with subtitles to watch them with Anki. Inspired by subs2srs
Stars: ✭ 211 (-14.92%)
Mutual labels:  english

Verbs

Conjugates most common english verbs for all persons, tenses, standard aspects, and modern moods (with active diathesis). Standard and exceptional spelling rules are obeyed.

Verbs::Conjugator.conjugate :be, :tense => :past, :person => :second, :plurality => :singular, :aspect => :perfective
# => :were
'be nice'.verb.conjugate :subject => 'Matz'
# => "Matz is nice"
:sleep.verb.conjugate :tense => :future, :person => :first, :plurality => :singular, :aspect => :progressive, :subject => true
# => :"I will be sleeping"

Installation

gem install verbs

Options

This library takes a rather strict view of English verb conjugation.

:tense

One of :past, :present, or :future. Defaults to :present.

:person

One of :first, :second, or :third. Defaults to :third.

:plurality

Either :singular or :plural. Defaults to :singular.

:aspect

One of :habitual, :perfect, :perfective, :progressive, or :prospective. Defaults to :habitual (:perfective for past tense).

See below for a guide to verb aspect.

:mood

One of :indicative, :imperative, or :subjunctive. Defaults to :indicative.

:subject

Set this to a string to prepend the conjugated verb with it. When set to true, a standard personal pronoun will be used.

:diathesis

One of :active or :passive. Defaults to :active.

Tense/aspect quick reference

EXAMPLE TENSE ASPECT
I used to accept past habitual
I had accepted past perfect
I accepted past perfective
I was accepting past progressive
I was about to accept past prospective
I accept present habitual
I have accepted present perfect
I am having accepted present perfective
I am accepting present progressive
I am about to accept present prospective
I will accept future habitual
I will have accepted future perfect

Acknowledgements

Copyright

Copyright (c) 2012 Andy Rossmeissl. See LICENSE for details.

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].