Secret Agent Noun

Verb to agent noun inflector.

Usage

require 'secret_agent_noun'

SecretAgentNoun.agent_noun('build')    # 'builder'
SecretAgentNoun.agent_noun('Civilize') # 'civilizer'
SecretAgentNoun.agent_noun(:massage)   # 'masseuse'

SecretAgentNoun.verb('caller')   # 'call'
SecretAgentNoun.verb('Creator')  # 'create'
SecretAgentNoun.verb(:organizer) # 'organize'

Installation

Add this line to your application's Gemfile:

gem 'secret_agent_noun'

And then execute:

$ bundle

Or install it yourself as:

$ gem install secret_agent_noun

Attribution

The words used were taken from adambom/dictionary, which in turn is from the Webster's Unabridged English Dictionary, found here.

Contributing

  • Corrections and additions very much appreciated!