Module: Phonology

Extended by:
Phonology
Included in:
Phonology
Defined in:
lib/phonology.rb,
lib/phonology/ipa.rb,
lib/phonology/rule.rb,
lib/phonology/sound.rb,
lib/phonology/version.rb,
lib/phonology/features.rb,
lib/phonology/syllable.rb,
lib/phonology/inventory.rb,
lib/phonology/orthography.rb,
lib/phonology/sound_sequence.rb

Defined Under Namespace

Modules: Features, IPA, OrthographyTranslatorDSL, SoundBase Classes: Affricate, FeatureError, Inventory, OrthographyTranslator, Rule, RulesDSL, Sound, SoundSequence, Syllable

Constant Summary collapse

VERSION =
"0.0.9.1"

Instance Method Summary collapse

Instance Method Details

#features_for(*args) ⇒ Object



23
24
25
# File 'lib/phonology.rb', line 23

def features_for(*args)
  sounds.features(*args)
end

#soundsObject



15
16
17
# File 'lib/phonology.rb', line 15

def sounds
  @sounds ||= Inventory.new(Features::SETS).freeze
end

#symbol_for(*args) ⇒ Object



19
20
21
# File 'lib/phonology.rb', line 19

def symbol_for(*args)
  sounds.symbol(*args)
end