fonemas 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Yzg3NmUxNDE3MGQ4YjJkZTVkMDg0YmM4N2RlNGM3OGJjMzg4MDRhMg==
4
+ MGNhZjA4ZWJkZDFjY2ViYTEzYjljOGFlODI5ZmNlNDMxNzAxNDM2OQ==
5
5
  data.tar.gz: !binary |-
6
- MjY1ZjYwOGQ3NDcwMDJjZGViMjg5MzgyN2Q4NmE0MmEzMmQzZTNjMw==
6
+ YWFjMmNhZjA1NTA0MDA2YTljOTIyNDU3MmFiNTI1NTAxNjUyYjM2Zg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZmY1OTJlMGQ5MWVmYjhhMDYyM2M0MGQ3YTcxNjhhZGMxNDg4NWQwMTFkZjk5
10
- MjYwYTI4MGE0ZTYzMWQyNzU3MDcwMzQ3ZjhjYjBlODk4YzJlOThhNzhkMmYy
11
- ODA4YTRiOWVkZWFhOGNlNDcyN2M0ZDcxOWNhYjRhZGVjNjZmZTA=
9
+ MmEyZWVhNTRiNzQ2YTA0NDE4OGY1ZGU4MWNkZWQ2MmUxMzM0ZmI5N2I2Yzg2
10
+ NTdkNjAzMDg3ZTE3MmExYWI5NDg4YzAyMWY4Y2NiZmUwNzdmZThmYjM1YTRi
11
+ NmVhMTZkNDc0ZWRiNWZjYWJlZDFhMjJkNGQwNjZmNGRjMWE3NmU=
12
12
  data.tar.gz: !binary |-
13
- MjMzNGJiODc5ZWNiNjY1NGFjNDg0OTliNWMwN2ZlMDFiOTM2YWYwYTJkMjdj
14
- Y2UzOGZkOWUyNDcyMWQ3MDEwOTU3NWE2ZDc4ZDQ2NjBjYjQ4M2MyMzQ0OThk
15
- MWVkODQ2ZmZiYTRjM2ZhY2MwMzM2NzA1NjI4YjQwODAyZjYzOTQ=
13
+ MzU3N2JjOGYzZmYzMTZmZmViYTIyNzI3NDRlNzc4MDg4N2QxMWY2MGRmZjAw
14
+ MmI5ZThmMDYzYjZkZWJlNDc3Y2RkNzQ4Y2Y5ZjUyMTMwYjEwZGQ2YTk4OGFk
15
+ NWMzZDI2YzVjODJhNTY5NGFiNzhhNWE0NzkwOTk2MzhkMThkOTA=
@@ -36,7 +36,7 @@ module Fonemas
36
36
  def self.isTonica(word,i)
37
37
  #falta considerar las palabras que poseen acento pero no tilde
38
38
  return true if word.size == 1
39
- tildes = %w(á é í ó ú)
39
+ tildes = %w(á é í ó ú ã)
40
40
  w = word.join
41
41
  if tildes.include? word[i]
42
42
  return true
@@ -211,7 +211,7 @@ module Fonemas
211
211
  for i in 0..(word.length-1)
212
212
  letra = word[i]
213
213
  case letra
214
- when 'á' then
214
+ when 'á','ã' then
215
215
  fonema << 'aa'
216
216
  when 'é' then
217
217
  fonema << 'ee'
@@ -1,3 +1,3 @@
1
1
  module Fonemas
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fonemas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Bahamondez Honores