wordcuta 0.1.0 → 0.2.0
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 +15 -0
- data/wordcuta.gemspec +2 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f77edbb75622406c64839dff1ed7c45c5f0d07ac9775f268d9ab36dba0b163c
|
4
|
+
data.tar.gz: 16c7697a501a4aaa044dde4a0c2626e176192fac42a65c8fcfe29eaacd2b9236
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1f63dcb36276a0e2118cde0aae5a07c44fc73a78937f787d0802d7ba68977dfcee3549ac7c6ab3c6470ced53aa44a4e19857abaeeeb7cf60fcf80f84430b698
|
7
|
+
data.tar.gz: 66dc0d88cf17cef24a2ff66140fe1e7b0e6f043f75513be0fb3097103a5cf38beba55e0eaa13d4472cab8d9756a42f3be4d29fefffc40184ef4dade8e9c0fca7
|
data/README.md
CHANGED
@@ -1 +1,16 @@
|
|
1
1
|
# WordcutA
|
2
|
+
|
3
|
+
## Install
|
4
|
+
|
5
|
+
* Install [wordcutw](https://github.com/veer66/wordcutw)
|
6
|
+
* gem install wordcuta
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```Ruby
|
11
|
+
require 'wordcuta'
|
12
|
+
wc = WordcutA::Wordcut.new(WordcutA::DEFAULT_THAI_DICT_PATH)
|
13
|
+
p wc.put_delimiters('กากาก้า', '|')
|
14
|
+
p wc.into_strings('กากา')
|
15
|
+
p wc.into_ranges('กากา')
|
16
|
+
```
|
data/wordcuta.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'wordcuta'
|
3
|
-
s.version = '0.
|
3
|
+
s.version = '0.2.0'
|
4
4
|
s.authors = ['Vee Satayamas']
|
5
5
|
s.email = ['5ssgdxltv@relay.firefox.com']
|
6
6
|
s.licenses = ['LGPL-3.0']
|
@@ -9,4 +9,5 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
10
10
|
s.summary = "A word segmentation tools for ASEAN languages wrapper for Ruby"
|
11
11
|
s.files = %w(README.md LICENSE Gemfile wordcuta.gemspec data/thai-dix.txt lib/wordcuta.rb)
|
12
|
+
s.requirements << 'ffi, v1.15.5'
|
12
13
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wordcuta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vee Satayamas
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A word segmentation tools for ASEAN languages wrapper for Ruby
|
14
14
|
email:
|
@@ -27,7 +27,7 @@ homepage: https://github.com/veer66/wordcuta
|
|
27
27
|
licenses:
|
28
28
|
- LGPL-3.0
|
29
29
|
metadata: {}
|
30
|
-
post_install_message:
|
30
|
+
post_install_message:
|
31
31
|
rdoc_options: []
|
32
32
|
require_paths:
|
33
33
|
- lib
|
@@ -41,9 +41,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
41
41
|
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: '0'
|
44
|
-
requirements:
|
45
|
-
|
46
|
-
|
44
|
+
requirements:
|
45
|
+
- ffi, v1.15.5
|
46
|
+
rubygems_version: 3.2.22
|
47
|
+
signing_key:
|
47
48
|
specification_version: 4
|
48
49
|
summary: A word segmentation tools for ASEAN languages wrapper for Ruby
|
49
50
|
test_files: []
|