Methods for deriving present participles for the English-language Linguistics module.
Attempt to return the inflected string in its present participle form (e.g., talked -> talking).
# File lib/linguistics/en/participles.rb, line 15
def present_participle
plural = self.to_s.en.plural_verb
plural.sub!( /ie$/, 'y' ) or
plural.sub!( /ue$/, 'u' ) or
plural.sub!( /([auy])e$/, '$1' ) or
plural.sub!( /i$/, '' ) or
plural.sub!( /([^e])e$/, "\\1" ) or
/er$/.match( plural ) or
plural.sub!( /([^aeiou][aeiouy]([bdgmnprst]))$/, "\\1\\2" )
return "#{plural}ing"
end