Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Brazilian portuguese verb conjugation

Resources

License

Languages

You can’t perform that action at this time.