fonemas 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/bin/fonemas +11 -6
- data/lib/fonemas/version.rb +1 -1
- data/spec/fonemas/fonema_spec.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
M2UyZDY4OGM5NTc4ZjViMDBhMGIxZTU4M2Q3Y2NjNzhkNzVmYWY3MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDVmMTdjYzc4ZjQ0Y2U5Mzc3NGZjOGI1ZmU3NWU2OTAyYjAyMjc2Yg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
M2YyMjA1MGU1N2EyZWE3NjY2NTQ4MmQxNThlNDAwOTkyMDBiMjdjMjU0NGVk
|
10
|
+
ZTIzMjdkMDE0YWY4NGJhYjY3MGYyOGUwODM1YmFkNzZiMWMyNTFkMGU3ZWEy
|
11
|
+
ZWVmYjQzMmFiNDU4NzFmZjRiNjViNWVhZmNhMjlhNWExOGNiNTI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODNiOTJkY2Q1NDU3NjY1ZTJhY2YxMzFjMjYyNTUyZTkwOWYwNWFlODBjOGRj
|
14
|
+
ZWZkNDFiYmE1ZjdkMjYxNjE5NjM3NDY4ZGUyZTk2MDM1MmNiZTc2MDhjZmY1
|
15
|
+
MjI4YmIxMTg3OWE4Y2Q5ODUzZjlkMjAzZWVjMGMxMmEyZDYwMzk=
|
data/bin/fonemas
CHANGED
@@ -32,12 +32,17 @@ words = words.uniq
|
|
32
32
|
for i in words
|
33
33
|
fonemas = Fonemas.fonemas(i)
|
34
34
|
count = 0
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
35
|
+
begin
|
36
|
+
for f in fonemas
|
37
|
+
if count > 0
|
38
|
+
puts "#{i}(#{count})\t#{f}"
|
39
|
+
else
|
40
|
+
puts "#{i}\t#{f}"
|
41
|
+
end
|
42
|
+
count += 1
|
40
43
|
end
|
41
|
-
|
44
|
+
rescue
|
45
|
+
puts "error al procesar fonemas para #{i}"
|
46
|
+
exit
|
42
47
|
end
|
43
48
|
end
|
data/lib/fonemas/version.rb
CHANGED
data/spec/fonemas/fonema_spec.rb
CHANGED