artemo 3.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.DS_Store +0 -0
- data/.gitignore +5 -0
- data/.gitlab-ci.yml +15 -0
- data/CHANGELOG +27 -0
- data/CONTRIBUTING.md +3 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +36 -0
- data/LICENSE +674 -0
- data/README.md +27 -0
- data/Rakefile +7 -0
- data/artemo.gemspec +22 -0
- data/bin/artemo +4 -0
- data/include/.DS_Store +0 -0
- data/include/database.yaml +8274 -0
- data/include/text.txt +25 -0
- data/lib/.DS_Store +0 -0
- data/lib/artemo/.DS_Store +0 -0
- data/lib/artemo/basic_emotions.rb +76 -0
- data/lib/artemo/common.rb +11 -0
- data/lib/artemo/complex_emotions.rb +43 -0
- data/lib/artemo/keywords.rb +11 -0
- data/lib/artemo/loader.rb +11 -0
- data/lib/artemo/result.rb +19 -0
- data/lib/artemo/version.rb +3 -0
- data/lib/artemo.rb +26 -0
- data/spec/.DS_Store +0 -0
- data/spec/test_artemo_basic_emotions_spec.rb +35 -0
- data/spec/test_artemo_complex_emotions_spec.rb +25 -0
- data/spec/test_artemo_keywords_spec.rb +27 -0
- data/spec/test_artemo_loader_spec.rb +16 -0
- metadata +117 -0
data/README.md
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# README.md
|
2
|
+
|
3
|
+
Install gem https://rubygems.org/gems/artemo and use by: `artemo [your file]`.
|
4
|
+
|
5
|
+
Version 3.0.0
|
6
|
+
|
7
|
+
* Rewritten, simpler and working.
|
8
|
+
|
9
|
+
Version 3.0.1
|
10
|
+
|
11
|
+
* Changed names of methods, add half of rspec tests, add Rakefile and Gemfile.
|
12
|
+
|
13
|
+
Version 3.0.2
|
14
|
+
|
15
|
+
* Add `rake file['']` to use on custom texts.
|
16
|
+
|
17
|
+
Version 3.0.3
|
18
|
+
|
19
|
+
* All rspec tests are write.
|
20
|
+
|
21
|
+
Version 3.0.4
|
22
|
+
|
23
|
+
* All documentation is write, add bin/artemo file and checked code by RuboCop, some methods change names.
|
24
|
+
|
25
|
+
Version 3.0.5
|
26
|
+
|
27
|
+
* Gem is ready.
|
data/Rakefile
ADDED
data/artemo.gemspec
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
require File.expand_path("../lib/artemo/version", __FILE__)
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = 'artemo'
|
5
|
+
s.version = ArtEmo::VERSION
|
6
|
+
s.licenses = ['GPL-3.0']
|
7
|
+
s.summary = "Analyze emotions in texts"
|
8
|
+
s.description = "Simple program to analyze emotions in texts by keywords database. To use: artemo [path to file]"
|
9
|
+
s.author = ["Łukasz Fuszara"]
|
10
|
+
s.email = 'opalizoid@gmail.com'
|
11
|
+
s.date = '2016-11-11'
|
12
|
+
s.homepage = 'https://rubygems.org/gems/artemo'
|
13
|
+
s.required_ruby_version = '>= 2.3.1'
|
14
|
+
|
15
|
+
s.files = `git ls-files`.split("\n")
|
16
|
+
s.executable = 'artemo'
|
17
|
+
s.require_path = 'lib'
|
18
|
+
|
19
|
+
s.add_development_dependency 'rake', '~> 11.3'
|
20
|
+
s.add_development_dependency 'rspec', '~> 3.5'
|
21
|
+
s.add_development_dependency 'yard', '~> 0.9.5'
|
22
|
+
end
|
data/bin/artemo
ADDED
data/include/.DS_Store
ADDED
Binary file
|