Module: ScientificNameClean::ValidNameLetters0
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#value ⇒ Object
7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7164 def value res = "" text_value.split("").each do |l| l = "ae" if l == "æ" l = "oe" if l == "œ" # We normalize ë as well. It is legal in botanical code, but it # is beneficial to normalize it for the reconsiliation purposes l = "e" if l == "ë" res << l end res end |