mjording/diminutivity — pull request #1 by randypang (2012-06-04 07:49:35+00:00)
Title: Fix major issue discarding diminutives.

Hi Matthew,

Found your gem before I rolled my own solution (based off of yours). Take these commits if you want them.

I like the general structure of it, but I noticed you had one major issue.

Basically, you discard results as you progress through the CSV. Whenever you encounter a name twice, you reset it's diminutives to the current row.

```ruby
row.each do |name|
names[name] = row - [name]
end
````

e.g.
albert,bert
bertram,bert

"bert" is now ["bertam"], "albert" was lost.

The first commit fixes this. The second just adds some desirable protection on match.

Cheers,
Randy