n_2_w 0.1.1 → 0.1.2

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +25 -14
  3. data/lib/n_2_w/version.rb +1 -1
  4. data/n_2_w.gemspec +3 -2
  5. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 69f89fde3f2439ac799361459d2d52c59e95f661
4
- data.tar.gz: d06547eef84db5aba6acb38d7c9aee509d3cd17a
3
+ metadata.gz: ba707b9ba1677a9b6cf6f296b04a1163b8241b7f
4
+ data.tar.gz: d0f7882d40358f5ab864c6f34b0d0a2f3e0d5524
5
5
  SHA512:
6
- metadata.gz: 333e866dea8b8d7f666c72e94f35882e565b4c77ecf4c2a1c3814d4aa9cfbef6d1b1830e20b3f9be91dde360233de77827053b04ae80271e0bb1b42baa718f61
7
- data.tar.gz: 11448cedefabcd2c9354b3a3c5cec7383f029e7e8adfa15c79a6e2056d76b1f0688e335c388dbbd40d843c708c1fe92c76ca72140debf78cf8d5444e1a0fab63
6
+ metadata.gz: 092d350ebc8b8c4004599f01fba02238b8a46400c83cf884797d6838eaded2a02ae79aee7ceba88257f9c894a14065c1cb0a4de5ad8772905c0f72daacd2b081
7
+ data.tar.gz: 9b9e2521a8671814503ad6c75d06f058c34bf90b2d59ee88e4d175bbaf7dedf23958876ce30e97015c500756ebe6849921502ba7255de267ced29964e3efda21
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # N2W
1
+ # N2W (number_to_word!)
2
2
 
3
3
  --Convert numeric data into friendly, human-like verbal expressions that match
4
4
  the occasion!
@@ -13,26 +13,37 @@ giving your rails app, the ability to express large volumes of numerical data in
13
13
  words, in a way that sounds more natural.
14
14
 
15
15
  This might be useful to people for example who have a large database of phone
16
- numbers and they use .erb and tts technology in order to communicate this information
16
+ numbers and they use text-to-speech technology in order to communicate their data phonetically
17
17
  with their clients. This might be also useful to people who work with educational tts
18
- resources and they want to have scientific data (float readings, co-ordinates or
19
- no. of pages) read out loud during a presentation, in a more human-like manner
20
- than a single digit after the other.
21
-
22
- Finally, this might be useful in order to communicate various other data types with a more
23
- or less standard format, like zips post codes, ISBN's and twelve || sixteen digit
24
- activation tokens.
18
+ resources and they want to readily transform scores of scientific data (float readings, co-ordinates or
19
+ no. of pages) into words that can be read out loud during a presentation, in a more human-like
20
+ fashion than one single digit after the other.
25
21
 
26
22
  This facility already includes class methods for the explicit expression of the following
27
- numerical data structures and is scheduled to feature the options marked with a # in
23
+ numerical data structures and is scheduled to feature the options marked with a in
28
24
  the near future:
29
25
 
30
- Integers (0..999*10**48), takes either a string or an integer.
26
+ --Integers: (0..999*10^48), takes either a string or an integer.
31
27
 
32
- --Soon to come: Floats/Scientific measurements
28
+ --Telephone numbers: this feature uses reg expressions to discover phonetic patterns in your data
29
+ in order to make tel numbers more memorable!
30
+
31
+ The program also uses three modes in order to verbally express tel. numbers:
32
+
33
+
34
+ a) patterns: "0589998850">>zero five eight, triple nine, double eight, five zero
35
+
36
+
37
+ b) suggestive: "////222-108-2822"">>triple two, one zero, eight two eight, double two
33
38
 
34
- Telephone numbers (international, local, mobile and 800 numbers)-->this feature uses
35
- regexes to discover phonetic patterns in your data to make tel numbersmore memorable!
39
+
40
+ c) standard: "51371082918">>fifty one, three seven one, zero eighty two, nine one eight
41
+
42
+
43
+ and it has a little sorting algorithm at the top of it all in order to decide whether to go with a, b or c.
44
+
45
+
46
+ --Soon to come: Floats/Scientific measurements
36
47
 
37
48
  --Soon to come: Zips && Post Codes
38
49
 
data/lib/n_2_w/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module N2W
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/n_2_w.gemspec CHANGED
@@ -11,8 +11,9 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = %q{"--Convert numeric data into friendly, human-like verbal expressions that match
13
13
  the occasion!"}
14
- spec.description = %q{""}
15
- spec.homepage = ""
14
+ spec.description = %q{"--Convert numeric data into friendly, human-like verbal expressions that match
15
+ the occasion!"}
16
+ spec.homepage = "https://github.com/alexandros84/n_2_w"
16
17
  spec.license = "MIT"
17
18
 
18
19
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: n_2_w
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - alexandros84
@@ -52,7 +52,8 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
- description: '""'
55
+ description: "\"--Convert numeric data into friendly, human-like verbal expressions
56
+ that match \nthe occasion!\""
56
57
  email:
57
58
  - alexandros.management@outlook.com
58
59
  executables: []
@@ -73,7 +74,7 @@ files:
73
74
  - lib/n_2_w/tel.rb
74
75
  - lib/n_2_w/version.rb
75
76
  - n_2_w.gemspec
76
- homepage: ''
77
+ homepage: https://github.com/alexandros84/n_2_w
77
78
  licenses:
78
79
  - MIT
79
80
  metadata: {}