text-analysis-utils 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8aa34da03ff05968e5a80084e9202357dccef15d
4
- data.tar.gz: a84652578851e4a52b8e7ba3cd77ad948f9e6681
3
+ metadata.gz: 0d7cdcc6ca711d973bea6c842aba2099943c7510
4
+ data.tar.gz: 25deb0d5240705238edce96be1f38d9b1201c471
5
5
  SHA512:
6
- metadata.gz: f37a401ef683f0ece40434a943cafecc6502a7ddef853adaea0f4fe3af90beb643d04c1f3c926301c97757b95d20b546a0c9c7e371748563ca1d0b4033de393a
7
- data.tar.gz: 881ccba2a66db59b3c8d21595398dcd9dadb2d4e249268aaf202c040578d5d8b0be36d15ce7768cfa7e3b0d24bf81a5e153728822c5dd9c7a286ef668d394456
6
+ metadata.gz: 131e0830a71e25d19d96bc8d073ab30f987297249714bf275ac2367ef7014739118bbde1861d451f3c5bc4594cb9f63ce16c2d4ce35c0302dec26e9a64790120
7
+ data.tar.gz: 3cdb822371d692a0af21158d8e82f0ac8426a1ff6621e8ab37c072b35f2cfa1c6a0a75deb5c3378543316bde1180c9a6cb9e51ec65c27cf52cd6bc5d8cd99f73
@@ -3,7 +3,7 @@
3
3
  require_relative '../lib/cli'
4
4
  require_relative '../lib/document-cache'
5
5
 
6
- TAU::CLI.intercept help: "Pass in file names in argument to cache their contents. Or call this script without arguments to paste text. Use Control-D when you are done pasting."
6
+ TAU::CLI.intercept help: "Pass in file names in argument to cache their contents. Or call this script with no arguments to paste text. Use Control-D when you are done pasting."
7
7
 
8
8
  def get_text
9
9
  if ARGV.empty?
@@ -6,7 +6,7 @@ require_relative '../lib/vocabulary-chest'
6
6
  require_relative '../lib/document-cache'
7
7
  require_relative '../lib/cli'
8
8
 
9
- TAU::CLI.intercept help: "Pass in file names in argument to classify their content. Or call this script without arguments to paste words to classify. Use Control-D when you are done pasting.\n\nYou can use the switch \"-n\" to skip any word that is already in your vocabulary chest."
9
+ TAU::CLI.intercept help: "Pass in file names in argument to classify their content. Or call this script with no arguments to paste words to classify. Use Control-D when you are done pasting.\n\nYou can use the switch \"-n\" to skip any word that is already in your vocabulary chest."
10
10
 
11
11
  def get_text
12
12
  if !ARGV.empty?
@@ -4,7 +4,7 @@ require_relative '../lib/document-cache'
4
4
  require_relative '../lib/vocabulary-chest'
5
5
  require_relative '../lib/cli'
6
6
 
7
- TAU::CLI.intercept help: "Pass in a file to list the frequency of each word inside. Or call without argument to list the frequency for each word in your vocabulary chest based on the documents in your cache.\n\nYou can use the switch \"--unknown\" to only include unknown words (useful to figure out what to learn next)."
7
+ TAU::CLI.intercept help: "Pass in a file to list the frequency of each word inside. Or call with no arguments to list the frequency for each word in your vocabulary chest based on the documents in your cache.\n\nYou can use the switch \"--unknown\" to only include unknown words (useful to figure out what to learn next)."
8
8
 
9
9
  @cache = DocumentCache.new
10
10
  @chest = VocabularyChest.new
@@ -4,7 +4,7 @@ require_relative '../lib/vocabulary-chest'
4
4
  require 'colorize'
5
5
  require_relative '../lib/cli'
6
6
 
7
- TAU::CLI.intercept help: "Pass in a file to calculate how much vocabulary you know from its content. Or do not pass in any argument and paste a bit of text. Use Control-D when you are done pasting."
7
+ TAU::CLI.intercept help: "Pass in a file to calculate how much vocabulary you know from its content. Or do not pass in any arguments and paste a bit of text. Use Control-D when you are done pasting."
8
8
 
9
9
  @chest = VocabularyChest.new
10
10
 
@@ -5,7 +5,7 @@ require_relative '../lib/vocabulary-chest'
5
5
  require_relative '../lib/game'
6
6
  require_relative '../lib/cli'
7
7
 
8
- TAU::CLI.intercept help: "This script is used to play fill-in-the-blanks using example sentences from your document cache.\n\nPass in a file with a word on each line. Or just call without arguments to paste text, one word per line. Use Control-D when you are done pasting."
8
+ TAU::CLI.intercept help: "This script is used to play fill-in-the-blanks using example sentences from your document cache.\n\nPass in a file with a word on each line. Or just call with no arguments to paste text, one word per line. Use Control-D when you are done pasting."
9
9
 
10
10
 
11
11
  @cache = DocumentCache.new
@@ -2,7 +2,7 @@
2
2
  require_relative '../lib/algorithms'
3
3
  require_relative '../lib/cli'
4
4
 
5
- TAU::CLI.intercept help: "Pass in a file to calculate how readable is the content. Or just call without argument and paste a bit of text. Use Control-D when you are done pasting."
5
+ TAU::CLI.intercept help: "Pass in a file to calculate how readable is its content. Or just call with no arguments and paste a bit of text. Use Control-D when you are done pasting."
6
6
 
7
7
  def analyse text
8
8
  words = text.split(" ").size.to_f
@@ -1,3 +1,3 @@
1
1
  module TAU
2
- VERSION = '0.7.0'
2
+ VERSION = '0.7.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: text-analysis-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - '@matstc'