class WordMage::IPA::Phoneme

Overview

A phoneme

extended by WordMage::IPA::Vowel and WordMage::IPA::Consonant

Included Modules

Direct Known Subclasses

Defined in:

IPA/phoneme.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(symbol : String, romanization : String, category : Category) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def category : Category #

The category of the phoneme


[View source]
def category=(category : Category) #

The category of the phoneme


[View source]
def name : String #

Returns a human-readable name describing the phoneme

This method should be overridden by subclasses to provide detailed descriptions


[View source]
def romanization : String #

The most common romanized form


[View source]
def romanization=(romanization : String) #

The most common romanized form


[View source]
def symbol : String #

The phonetic symbol


[View source]
def symbol=(symbol : String) #

The phonetic symbol


[View source]
def to_s(io : IO) : Nil #

Returns the phoneme symbol


[View source]
def to_s : String #

Returns the phoneme symbol


[View source]