Module: Phonos
- Defined in:
- lib/phonos.rb,
lib/phonos/analyzer.rb
Defined Under Namespace
Modules: Language Classes: Analyzer
Constant Summary collapse
- SCALES =
[ :good, :big, :gentle, :feminine, :light, :active, :simple, :strong, :hot, :fast, :beautiful, :smooth, :easy, :gay, :safe, :majestic, :bright, :rounded, :glad, :loud, :long, :brave, :kind, :mighty, :mobile ]
- PATTERNS =
{ :ru => { :detect => /[а-я]/, :select => [ [/[^а-яё]/, ''], [/[бвгджзклмнпрстфхцчшщ][еёиьюя]/, Proc.new { |match| match.mb_chars.capitalize }] ] } }