lib/name-spotter/scientific_name.rb in name-spotter-0.1.0 vs lib/name-spotter/scientific_name.rb in name-spotter-0.1.1

- old
+ new

@@ -1,10 +1,11 @@ class NameSpotter class ScientificName attr_reader :verbatim, :scientific, :start_pos, :end_pos, :score def self.normalize(name) - name.gsub(/\s+/, ' ') + name = name.gsub(",", " ") + name.gsub(/\s+/, " ") end def initialize(verbatim_name, options={}) @verbatim = verbatim_name if options[:start_position]