sentiment_tracker 1.0.1beta → 1.0.2beta
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 +4 -4
- data/README.md +29 -29
- data/lib/sentiment_tracker/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: baae3c589aa36525e18c03ca69797cec28a8beef602f56baa408f05550e09930
|
4
|
+
data.tar.gz: 321a1e9137013a10782ecea3ddedc152b94137ed7d32be82fe10b5bc1d285626
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 654e89c5ee5f63e150c5e5db0a1591edc60f1b5827b601548f1a0297ae77d80b3e4883805bb0698f452558689413aa6cf2c7177e24e956d5b5d69c4e6e1ac4af
|
7
|
+
data.tar.gz: 69aa13b441ee5fd4e1ee4a5d4261f82e23c9b40527a2efbe2eff56dd88dd307a31336eea1a318a2b673f6c324ad74e0f5aa20b61b3464bf72b0278a0c065e8f7
|
data/README.md
CHANGED
@@ -1,15 +1,40 @@
|
|
1
1
|
# SentimentTracker
|
2
2
|
|
3
|
-
SentimentTracker is a plugin Rails for keep track of sentiment analysis
|
3
|
+
SentimentTracker is a plugin Rails for keep track of sentiment analysis processes.
|
4
4
|
|
5
5
|
[](https://travis-ci.org/armando1339/sentiment_tracker) [](https://coveralls.io/github/armando1339/sentiment_tracker?branch=master)
|
6
6
|
|
7
|
+
## Usage
|
8
|
+
|
9
|
+
SentimentTracker is a plugin Rails for keep track of sentiment analysis processes. It contains a control that process the data given throught SentimentTracker::Service service. Ones the data is processed the service will create tracks about all processed data. The service use [sentiment-al](https://github.com/armando1339/sentiment-al) gem to execute the Sentiment Analysis.
|
10
|
+
|
11
|
+
The control available has endpoints for track the processed texts. To access the routes call the #sentiment_tracker method into the route file. More information about the routes and request structure visit [Postman](https://documenter.getpostman.com/view/2691667/TVRn3Sen) documentation.
|
12
|
+
|
13
|
+
Example:
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
# call method #sentiment_tracker:
|
17
|
+
# config/routes.rb
|
18
|
+
|
19
|
+
Rails.application.routes.draw do
|
20
|
+
|
21
|
+
sentiment_tracker
|
22
|
+
end
|
23
|
+
|
24
|
+
```
|
25
|
+
|
26
|
+
Check routes.
|
27
|
+
|
28
|
+
```bach
|
29
|
+
rails routes
|
30
|
+
```
|
31
|
+
|
7
32
|
## Installation
|
8
33
|
|
9
34
|
Add this line to your application's Gemfile:
|
10
35
|
|
11
36
|
```ruby
|
12
|
-
gem 'sentiment_tracker'
|
37
|
+
gem 'sentiment_tracker', '~> 1.0.2beta'
|
13
38
|
```
|
14
39
|
|
15
40
|
And then execute:
|
@@ -36,33 +61,6 @@ Then:
|
|
36
61
|
$ rails db:migrate
|
37
62
|
```
|
38
63
|
|
39
|
-
## Usage
|
40
|
-
|
41
|
-
SentimentTracker is a plugin Rails for keep track of sentiment analysis process. It contains a control that process the data given throught SentimentTracker::Service. Ones the data is processed the service will create a tracks about all the responces.
|
42
|
-
|
43
|
-
The service use [sentiment-al](https://github.com/armando1339/sentiment-al) gem to execute the Sentiment Analysis .
|
44
|
-
|
45
|
-
A control is available to track the process about the texts. To access the routes call the #sentiment_tracker method into the route file.
|
46
|
-
|
47
|
-
```ruby
|
48
|
-
# call method #sentiment_tracker:
|
49
|
-
# config/routes.rb
|
50
|
-
|
51
|
-
Rails.application.routes.draw do
|
52
|
-
|
53
|
-
sentiment_tracker
|
54
|
-
end
|
55
|
-
|
56
|
-
```
|
57
|
-
|
58
|
-
Check routes.
|
59
|
-
|
60
|
-
```bach
|
61
|
-
rails routes
|
62
|
-
```
|
63
|
-
|
64
|
-
More information about the routes and request structure visit [Postman](https://documenter.getpostman.com/view/2691667/TVRn3Sen) documentation.
|
65
|
-
|
66
64
|
## Contributing
|
67
65
|
|
68
66
|
Bug report or pull request are welcome.
|
@@ -80,3 +78,5 @@ Please write tests if necessary.
|
|
80
78
|
## License
|
81
79
|
|
82
80
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
81
|
+
|
82
|
+
## Be happy!
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sentiment_tracker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Armando Alejandre
|
@@ -64,6 +64,20 @@ dependencies:
|
|
64
64
|
- - "~>"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 0.15.0
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: sentiment-all
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - "~>"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: 1.2.1beta
|
74
|
+
type: :runtime
|
75
|
+
prerelease: false
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - "~>"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 1.2.1beta
|
67
81
|
- !ruby/object:Gem::Dependency
|
68
82
|
name: rake
|
69
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -162,7 +176,7 @@ dependencies:
|
|
162
176
|
- - ">="
|
163
177
|
- !ruby/object:Gem::Version
|
164
178
|
version: '0'
|
165
|
-
description: Plugin Rails for keep track of sentiment analysis
|
179
|
+
description: Plugin Rails for keep track of sentiment analysis processes
|
166
180
|
email:
|
167
181
|
- armando1339@gmail.com
|
168
182
|
executables: []
|
@@ -210,5 +224,5 @@ requirements: []
|
|
210
224
|
rubygems_version: 3.1.4
|
211
225
|
signing_key:
|
212
226
|
specification_version: 4
|
213
|
-
summary: SentimentTracker is a plugin Rails for keep track of sentiment analysis
|
227
|
+
summary: SentimentTracker is a plugin Rails for keep track of sentiment analysis processes.
|
214
228
|
test_files: []
|