# File lib/linguistics/en.rb, line 683 def postprocess( original, inflected ) inflected.sub!( /([^|]+)\|(.+)/ ) { Linguistics::classical? ? $2 : $1 } case original when "I" return inflected when /^[A-Z]+$/ return inflected.upcase when /^[A-Z]/ # Can't use #capitalize, as it will downcase the rest of the string, # too. inflected[0,1] = inflected[0,1].upcase return inflected else return inflected end end