greeb 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -6
- data/LICENSE +1 -1
- data/README.md +15 -18
- data/greeb.gemspec +1 -1
- data/lib/greeb/tokenizer.rb +1 -1
- data/lib/greeb/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 784eddaa89045b1e6911baf5f7d26c4b5a29e12e
|
4
|
+
data.tar.gz: 27e199ace6287cb169e6d7293217d27e7822e72f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c790b71500a9b0797278d62be9cfc4014e507a8c2a0c7c56133e1bb6d5e770c45be3053ca8c3a56c3186b6865a1c259847b79bd74430d335982b467d23e63673
|
7
|
+
data.tar.gz: 55e36cde42f0b27543687e691f24a57cec100b0ec2a7fc9d5c6cc6f8d2b413e1ed6063b5370c5a17b11429c985d508d6d181a0dc2d3f3f98fc204a4e38c4d76b
|
data/.travis.yml
CHANGED
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,11 +1,18 @@
|
|
1
1
|
# Greeb
|
2
2
|
|
3
|
-
Greeb [grʲip] is a simple
|
4
|
-
|
5
|
-
[RubyDoc.info]. The software demonstration is available on
|
6
|
-
<https://greeb.herokuapp.com>.
|
3
|
+
Greeb [grʲip] is a simple Unicode-aware text segmentator based on regular
|
4
|
+
expressions. The API documentation is available on [RubyDoc.info].
|
7
5
|
|
8
|
-
[
|
6
|
+
[![Gem Version][badge_fury_badge]][badge_fury_link] [![Build Status][travis_ci_badge]][travis_ci_link] [![Code Climate][code_climate_badge]][code_climage_link]
|
7
|
+
|
8
|
+
[RubyDoc.info]: https://www.rubydoc.info/github/dustalov/greeb
|
9
|
+
|
10
|
+
[badge_fury_badge]: https://badge.fury.io/rb/greeb.svg
|
11
|
+
[badge_fury_link]: https://badge.fury.io/rb/greeb
|
12
|
+
[travis_ci_badge]: https://travis-ci.org/dustalov/greeb.svg
|
13
|
+
[travis_ci_link]: https://travis-ci.org/dustalov/greeb
|
14
|
+
[code_climate_badge]: https://codeclimate.com/github/dustalov/greeb/badges/gpa.svg
|
15
|
+
[code_climage_link]: https://codeclimate.com/github/dustalov/greeb
|
9
16
|
|
10
17
|
## Installation
|
11
18
|
|
@@ -27,7 +34,7 @@ Or install it yourself as:
|
|
27
34
|
|
28
35
|
Greeb can approach such essential text processing problems as
|
29
36
|
tokenization and segmentation. There are two ways to use it:
|
30
|
-
1) as a command-line application, 2) as a Ruby library.
|
37
|
+
(1) as a command-line application, (2) as a Ruby library.
|
31
38
|
|
32
39
|
### Command-Line Interface
|
33
40
|
|
@@ -48,7 +55,7 @@ you
|
|
48
55
|
|
49
56
|
### Tokenization API
|
50
57
|
|
51
|
-
Greeb has a very
|
58
|
+
Greeb has a very convenient API that makes you happy.
|
52
59
|
|
53
60
|
```ruby
|
54
61
|
pp Greeb::Tokenizer.tokenize('Hello!')
|
@@ -203,16 +210,6 @@ There are several span types at the tokenization stage: `:letter`,
|
|
203
210
|
4. Push to the branch (`git push origin my-new-feature`);
|
204
211
|
5. Create new Pull Request.
|
205
212
|
|
206
|
-
## Build Status [<img src="https://secure.travis-ci.org/dustalov/greeb.png"/>](http://travis-ci.org/dustalov/greeb)
|
207
|
-
|
208
|
-
## Dependency Status [<img src="https://gemnasium.com/dmchk/greeb.png"/>](https://gemnasium.com/dmchk/greeb)
|
209
|
-
|
210
|
-
## Code Climate [<img src="https://codeclimate.com/github/dmchk/greeb.png"/>](https://codeclimate.com/github/dmchk/greeb)
|
211
|
-
|
212
|
-
## DOI [<img src="https://zenodo.org/badge/doi/10.5281/zenodo.10119.png"/>](http://dx.doi.org/10.5281/zenodo.10119)
|
213
|
-
|
214
213
|
## Copyright
|
215
214
|
|
216
|
-
Copyright (c) 2010-
|
217
|
-
|
218
|
-
[Dmitry Ustalov]: https://ustalov.name/
|
215
|
+
Copyright (c) 2010-2019 Dmitry Ustalov. See LICENSE for details.
|
data/greeb.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.version = Greeb::VERSION
|
8
8
|
spec.platform = Gem::Platform::RUBY
|
9
9
|
spec.authors = ['Dmitry Ustalov']
|
10
|
-
spec.email = ['dmitry@
|
10
|
+
spec.email = ['dmitry.ustalov@gmail.com']
|
11
11
|
spec.homepage = 'https://github.com/dustalov/greeb'
|
12
12
|
spec.summary = 'Greeb is a simple Unicode-aware regexp-based tokenizer.'
|
13
13
|
spec.description = 'Greeb is a simple yet awesome and Unicode-aware ' \
|
data/lib/greeb/tokenizer.rb
CHANGED
data/lib/greeb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: greeb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Ustalov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -27,7 +27,7 @@ dependencies:
|
|
27
27
|
description: Greeb is a simple yet awesome and Unicode-aware regexp-based tokenizer,
|
28
28
|
written in Ruby.
|
29
29
|
email:
|
30
|
-
- dmitry@
|
30
|
+
- dmitry.ustalov@gmail.com
|
31
31
|
executables:
|
32
32
|
- greeb
|
33
33
|
extensions: []
|
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
78
|
version: '0'
|
79
79
|
requirements: []
|
80
80
|
rubyforge_project:
|
81
|
-
rubygems_version: 2.
|
81
|
+
rubygems_version: 2.5.2
|
82
82
|
signing_key:
|
83
83
|
specification_version: 4
|
84
84
|
summary: Greeb is a simple Unicode-aware regexp-based tokenizer.
|