syllabify 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.markdown +2 -2
- data/languages/en.yml +1 -0
- data/lib/cody_robbins/syllabify.rb +1 -1
- data/syllabify.gemspec +1 -1
- metadata +50 -37
data/README.markdown
CHANGED
|
@@ -12,9 +12,9 @@ Transcription constraints
|
|
|
12
12
|
|
|
13
13
|
Any phonemes represented in IPA by [digraphs](http://en.wikipedia.org/wiki/Digraph_\(orthography\)) (such as [affricates](http://en.wikipedia.org/wiki/Affricate_consonant), [doubly-articulated consonants](http://en.wikipedia.org/wiki/Doubly_articulated_consonant), and [diphthongs](http://en.wikipedia.org/wiki/Diphthong)) must be transcribed using a [tie](http://en.wikipedia.org/wiki/Tie_\(typography\)), otherwise there is no way to distinguish them from the phonemes of their individual components and syllabification will be incorrect in some cases.
|
|
14
14
|
|
|
15
|
-
For example, in English transcriptions the [voiceless postalveolar affricate](http://en.wikipedia.org/wiki/Voiceless_postalveolar_affricate) is customarily transcribed without the tie. For the purposes of syllabification, however, this is problematic because in English /t͡ʃ/ is a legal onset but /tʃ/ is not. If the English voiceless postalveolar affricate were to be transcribed without the tie as /tʃ/ then it would have to be included in the inventory of onsets, but doing so would cause the phoneme sequence /t/ followed by /ʃ/ to also be interpreted as an onset—which it isn’t.
|
|
15
|
+
For example, in English transcriptions the [voiceless postalveolar affricate](http://en.wikipedia.org/wiki/Voiceless_postalveolar_affricate) is customarily transcribed without the tie. For the purposes of syllabification, however, this is problematic because in English /t͡ʃ/ is a legal onset but /tʃ/ is not. If the English voiceless postalveolar affricate were to be transcribed without the tie as /tʃ/ then it would have to be included in the inventory of onsets, but doing so would cause the phoneme sequence /t/ followed by /ʃ/ to also be interpreted as an onset—which it isn’t. In this case, without the tie transcriptions where /tʃ/ represents two different phonemes rather than one—such as in *nutshell* /nʌtʃɛl/—will be incorrectly syllabified as /nʌ.tʃɛl/ rather than /nʌt.ʃɛl/. Similarly, without a tie it’s not possible to determine whether the diphthong /ɔɪ/ in *clawing* /klɔɪŋ/ is one or two separate phonemes.
|
|
16
16
|
|
|
17
|
-
In other words, tie glyphs together if they represent the same phoneme. The only digraphs requiring ties in English are the voiced and voiceless postalveolar affricates
|
|
17
|
+
In other words, tie glyphs together if they represent the same phoneme. The only digraphs requiring ties in English are the voiced and voiceless postalveolar affricates /t͡ʃ, d͡ʒ/ and the diphthongs /a͡ʊ, a͡ɪ, e͡ɪ, o͡ʊ, ɔ͡ɪ/.
|
|
18
18
|
|
|
19
19
|
### How to enter ties
|
|
20
20
|
|
data/languages/en.yml
CHANGED
data/syllabify.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,33 +1,43 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: syllabify
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
prerelease: false
|
|
5
|
+
segments:
|
|
6
|
+
- 1
|
|
7
|
+
- 0
|
|
8
|
+
- 1
|
|
9
|
+
version: 1.0.1
|
|
6
10
|
platform: ruby
|
|
7
|
-
authors:
|
|
11
|
+
authors:
|
|
8
12
|
- Cody Robbins
|
|
9
13
|
autorequire:
|
|
10
14
|
bindir: bin
|
|
11
15
|
cert_chain: []
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
16
|
+
|
|
17
|
+
date: 2011-11-12 00:00:00 -05:00
|
|
18
|
+
default_executable:
|
|
19
|
+
dependencies:
|
|
20
|
+
- !ruby/object:Gem::Dependency
|
|
15
21
|
name: activesupport
|
|
16
|
-
requirement: &70147390060300 !ruby/object:Gem::Requirement
|
|
17
|
-
none: false
|
|
18
|
-
requirements:
|
|
19
|
-
- - ! '>='
|
|
20
|
-
- !ruby/object:Gem::Version
|
|
21
|
-
version: '0'
|
|
22
|
-
type: :runtime
|
|
23
22
|
prerelease: false
|
|
24
|
-
|
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
24
|
+
requirements:
|
|
25
|
+
- - ">="
|
|
26
|
+
- !ruby/object:Gem::Version
|
|
27
|
+
segments:
|
|
28
|
+
- 0
|
|
29
|
+
version: "0"
|
|
30
|
+
type: :runtime
|
|
31
|
+
version_requirements: *id001
|
|
25
32
|
description:
|
|
26
33
|
email: cody@codyrobbins.com
|
|
27
34
|
executables: []
|
|
35
|
+
|
|
28
36
|
extensions: []
|
|
37
|
+
|
|
29
38
|
extra_rdoc_files: []
|
|
30
|
-
|
|
39
|
+
|
|
40
|
+
files:
|
|
31
41
|
- .gitignore
|
|
32
42
|
- .yardopts
|
|
33
43
|
- LICENSE
|
|
@@ -37,37 +47,40 @@ files:
|
|
|
37
47
|
- lib/cody_robbins/syllabify/syllable.rb
|
|
38
48
|
- lib/syllabify.rb
|
|
39
49
|
- syllabify.gemspec
|
|
50
|
+
has_rdoc: true
|
|
40
51
|
homepage: http://codyrobbins.com/software/syllabify
|
|
41
52
|
licenses: []
|
|
42
|
-
post_install_message: ! '
|
|
43
53
|
|
|
54
|
+
post_install_message: |+
|
|
55
|
+
|
|
44
56
|
-------------------------------------------------------------
|
|
45
|
-
|
|
46
57
|
Follow me on Twitter! http://twitter.com/codyrobbins
|
|
47
|
-
|
|
48
58
|
-------------------------------------------------------------
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
'
|
|
59
|
+
|
|
52
60
|
rdoc_options: []
|
|
53
|
-
|
|
61
|
+
|
|
62
|
+
require_paths:
|
|
54
63
|
- lib
|
|
55
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
requirements:
|
|
64
|
-
- -
|
|
65
|
-
- !ruby/object:Gem::Version
|
|
66
|
-
|
|
64
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - ">="
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
segments:
|
|
69
|
+
- 0
|
|
70
|
+
version: "0"
|
|
71
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
segments:
|
|
76
|
+
- 0
|
|
77
|
+
version: "0"
|
|
67
78
|
requirements: []
|
|
79
|
+
|
|
68
80
|
rubyforge_project:
|
|
69
|
-
rubygems_version: 1.
|
|
81
|
+
rubygems_version: 1.3.6
|
|
70
82
|
signing_key:
|
|
71
83
|
specification_version: 3
|
|
72
84
|
summary: A Ruby port of the Penn Phonetics Toolkit (P2TK) syllabifier.
|
|
73
85
|
test_files: []
|
|
86
|
+
|