README.rdoc in taxamatch_rb-0.9.8 vs README.rdoc in taxamatch_rb-0.9.9
- old
+ new
@@ -6,25 +6,24 @@
require 'taxamatch_rb'
tm = Taxamatch::Base.new
tm.taxamatch('Homo sapien', 'Homo sapiens') #returns true
tm.taxamatch('Homo sapiens Linnaeus', 'Hommo sapens (Linn. 1758)') #returns true
- tm.taxamatch('Homo sapiens Mozzherin', 'Homo sapiens Linnaeus') #returns false
+ tm.taxamatch('Homo sapiens Mozzherin', 'Homo sapiens Linnaeus') #returns false
-Taxamatch_Rb is compatible with ruby versions 1.8.7 and 1.9.1 and higher
+Taxamatch_Rb is compatible with ruby versions 1.9.1 and higher
== Installation
sudo gem install taxamatch_rb
== Usage
- require 'rubygems' #not needed for ruby > 1.9.1
require 'taxamatch_rb'
tm = Taxamatch::Base.new
-
+
* compare full scientific names
tm.taxamatch('Hommo sapiens L.', 'Homo sapiens Linnaeus')
* preparse names for the matching (necessary for large databases of scientific names)
@@ -36,14 +35,14 @@
* compare preparsed names
tm.taxamatch_preparsed(parsed_name1, parsed_name2)
* compare genera
-
+
tm.match_genera('Monacanthus', 'MONOCANTUS')
* compare species
-
+
tm.match_species('fronticinctus', 'frontecinctus')
* compare authors and years
Taxamatch::Authmatch.authmatch(['Linnaeus'], ['L','Muller'], [1786], [1787])