fonemas 0.1.5 → 0.1.6

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZmIyZjZhY2YzYjVjN2Y3NjU2NWE4ZjBjZGFlZTRkM2RhMWQ2MzRkZA==
4
+ OGM4YzNhNjVjZDYwYTEyZGFkYTFkZjA5MTkwZDA0YmVlZGI2Yjk3NA==
5
5
  data.tar.gz: !binary |-
6
- MjFjM2JiNmFjZDA3YTJiYzBkMTg2Nzg2ZWQ4MzRhMzZhMDcxMjY5Yg==
6
+ Y2NlY2EwY2U5Nzc0ZjlhMTczYTRjMDNiM2ZhNDhlMjRiMDgwZTYwYQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZDczNGQxNWMxODhmY2YwYmM2Y2FhYmIxYmE3YjFiYTVlMzNjNDk2OWU5NTcw
10
- ZTVjODlmNTZmMTBmNDM4M2JlOTQ5ZGU2OWVmMjFlZjJkODRmODA3NDkzZjU2
11
- OWE5MGU0ZDJmYmE5Mzc0OGJmYjBhMjEzYWQ2ODZmYWU5YzU1MmI=
9
+ OGM1OTRkZjRlYjhlNWViM2JiZDU2Njc3MDFlN2VjYmRhYjM2MWZkNzcyZTlj
10
+ NDE4NWRjNjYxNTkyOWFhZTI5ZTFiMTExMTBlMzU0MjgyY2ViNGM5MGZiYzdj
11
+ YjQzOTRlMTNjYjM1OTRiZjY5YzU3MWQ2MTg3YTQyMTFiYzM0Yjk=
12
12
  data.tar.gz: !binary |-
13
- ZDIxYjFkMzY0YWQ3ZTI1OGFmZjNkNmNiYmRlZjFkYTYxNWEyMTAwYzFmYTll
14
- YzJmZGUyZTZlMDJmNWQ4NDM1NzhmZGM4YjE1ZDY4OGNiZDllZmM3N2I2MzM3
15
- NTIxZDZiM2ZjMzViOGY1NWY3ZDk5YjVhZTk1NTdjNWYwNTg5OWQ=
13
+ ODk3MmQ2NWMxYzhjNDNiOGIyYzJlYTJhZTA4NTZmY2IzNTcyNGFkNzUyN2Zm
14
+ MzJlOTRmNjVmZjUwOGY0NWMyNGJiMDExNDk2MzM5OGU2MDE0MjFkNWNjN2Jl
15
+ MDUwN2Q1YzBmMWFkY2FlNjFlODI2ZTdmYWRmNGQyZDU3MmU4Mzc=
data/README.md CHANGED
@@ -22,6 +22,13 @@ Or install it yourself as:
22
22
  fonemas = Fonemas.fonemas('abuela')
23
23
  puts fonemas.join('\n')
24
24
 
25
+ Also you can use it from the command line:
26
+
27
+ fonemas archivo.txt
28
+
29
+ or print the phonem list:
30
+
31
+ fonemas --list
25
32
 
26
33
  ## Contributing
27
34
 
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
4
4
 
5
5
  require 'fonemas'
6
6
 
7
- if ARGV.include?('--lista')
7
+ if ARGV.include?('--list')
8
8
  puts Fonemas.lista_de_fonemas.join("\n")
9
9
  exit
10
10
  end
data/lib/fonemas.rb CHANGED
@@ -398,7 +398,7 @@ module Fonemas
398
398
 
399
399
  def self.lista_de_fonemas
400
400
  phonelist = ['SIL']
401
- phonelist = %w{a e i o u aa ee ii oo uu}
401
+ phonelist += %w{a e i o u aa ee ii oo uu}
402
402
  phonelist += %w{B b d e f g h i j k l m n o p q R r s t u w ks k h Gu gu ch tch sh}
403
403
 
404
404
  end
@@ -1,3 +1,3 @@
1
1
  module Fonemas
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
@@ -47,6 +47,7 @@ describe Fonemas do
47
47
  end
48
48
  end
49
49
 
50
+
50
51
  end
51
52
 
52
53
  it 'test diptongos' do
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.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Bahamondez Honores
@@ -71,7 +71,7 @@ description: Creación de fonemas para ser utilizadas en el reconocimiento de vo
71
71
  email:
72
72
  - manuel@bahamondez.com
73
73
  executables:
74
- - dictionary
74
+ - fonemas
75
75
  extensions: []
76
76
  extra_rdoc_files: []
77
77
  files:
@@ -86,7 +86,7 @@ files:
86
86
  - LICENSE.txt
87
87
  - README.md
88
88
  - Rakefile
89
- - bin/dictionary
89
+ - bin/fonemas
90
90
  - fonemas.gemspec
91
91
  - lib/fonemas.rb
92
92
  - lib/fonemas/version.rb