Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Brazilian portuguese verb conjugation
Ruby
Branch: master
Failed to load latest commit information.
data first commit
lib keep trying to find a paradigm by shortening the sufix
test first commit
.DS_Store first commit
.document first commit
.gitignore first commit
Gemfile first commit
Gemfile.lock first commit
LICENSE.txt first commit
README.md README
README.rdoc first commit
Rakefile first commit
VERSION Version bump to 0.1.1
conjugue.gemspec Regenerate gemspec for version 0.1.1

README.md

Conjugue

Brazilian portuguese verb conjugation.

Current verb database uses br.ispell-3.0-beta4.

Usage:

Conjugue.verbo nome, tempo, pessoa, plural

Where:

nome: infinitive form

tempo:

:p => presente do indicativo
:pi => imperfeito do indicativo
:pp => perfeito do indicativo
:pm => mais-que-perfeito do indicativo
:f => futuro do pretérito do indicativo
:fp => futuro do presente do indicativo
:ps => presente do subjuntivo
:pis => imperfeito do subjuntivo
:i => imperativo afirmativo
:in => 'imperativo negativo

pessoa: person number

plural: default: false

Ex:

require 'conjugue'

Conjugue.verbo 'programar', :fp, 3, true  # "Eles programarão"

TODO

  • Tests
  • Guess conjugation for verbs not in the database
  • Consider extending linguistics gem to avoid duplication of efforts
Something went wrong with that request. Please try again.