| 1 | package Wiktionary::Parser::Section::Pronunciation::Representation; | ||
| 2 | |||
| 3 | # keys: | ||
| 4 | # representation: IPA, SAMPA, prUS | ||
| 5 | # pronunciation: string representing pronunciation in the given representation format | ||
| 6 | # context: e.g. en(US), en(UK) | ||
| 7 | 14 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 8 | 14 | my $class = shift; | |
| 9 | 14 | my %args = @_; | |
| 10 | 14 | my $self = bless \%args, $class; | |
| 11 | 14 | return $self; | |
| 12 | } | ||
| 13 | |||
| 14 | 0 | ▶ | sub get_representation { |
|
Subroutine
get_representation: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 15 | 0 | my $self = shift; | |
| 16 | 0 | return $self->{representation}; | |
| 17 | } | ||
| 18 | |||
| 19 | 0 | ▶ | sub get_pronunciation { |
|
Subroutine
get_pronunciation: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 20 | 0 | my $self = shift; | |
| 21 | 0 | return $self->{pronunciation}; | |
| 22 | } | ||
| 23 | |||
| 24 | 0 | ▶ | sub get_context { |
|
Subroutine
get_context: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 25 | 0 | my $self = shift; | |
| 26 | 0 | return $self->{context}; | |
| 27 | } | ||
| 28 | |||
| 29 | 0 | ▶ | sub get_senses { |
|
Subroutine
get_senses: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 30 | 0 | my $self = shift; | |
| 31 | 0 | return $self->{senses}; | |
| 32 | } | ||
| 33 | |||
| 34 | 3 | 1; | |