rudachi 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -8
  3. data/lib/rudachi/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f43021bc769b0005c5d46c3abde244756712ce1419b82ae884729508aab64780
4
- data.tar.gz: 5f3b2f74e771d2b3feb8d6de4abf7d59864da6108904437c28a498f2ae6d1e98
3
+ metadata.gz: 0a4e15eb13cac06919c3703fc9c3efa185267b3d90cfa965f393126e145ff8f9
4
+ data.tar.gz: c270fc32d9a7cc3bf06179e667dd5a264d880873b6004a1118ea6f3bcb57722c
5
5
  SHA512:
6
- metadata.gz: 38535bc9cee7b34ee2ab3219294484d30758c82b4c2a85f53cb36519700eb52d2e44f75160ba2aee24a626a7dc95c5a02774bfd10c86da18067a7d6afcd33996
7
- data.tar.gz: 289e76174d4f7053e71c2c276635ab6b2283b48c220cb498615c88605ffec6a41f3888c89a80ad728383170c5052c3dd76be81a02bef91dc38f4049b18db1c21
6
+ metadata.gz: ab74a535d435b84dc0b25affde71cdea3eb4a9decec781a60f3e40069468b6fe02e4c26d2bbca3a3b5e317b5096c4766b02721fbf11cb093722494ef47db9bd3
7
+ data.tar.gz: a890984b99a0fdefaa4122db1e3f13bc9ba7df100af36e0e9dc9d2290e4b6d21172e1e416dc4c8d90e40fca830530ddf84fb5042c872c3966f452c3762f3d3bb
data/README.md CHANGED
@@ -1,20 +1,20 @@
1
1
  # Rudachi
2
2
  [Sudachi](https://github.com/WorksApplications/Sudachi) wrapper Gem for JRuby.
3
3
 
4
- - Text base
4
+ #### Text base
5
5
  ```rb
6
6
  Rudachi::TextParser.parse('東京都へ行く')
7
7
  => "東京都\t名詞,固有名詞,地名,一般,*,*\t東京都\nへ\t助詞,格助詞,*,*,*,*\tへ\n行く\t動詞,非自立可能,*,*,五段-カ行,終止形-一般\t行く\nEOS\n"
8
8
  ```
9
9
 
10
- - File base
10
+ #### File base
11
11
  ```rb
12
12
  File.open('sample.txt', 'w') { |f| f << '東京都へ行く' }
13
13
  Rudachi::FileParser.parse('sample.txt')
14
14
  => "東京都\t名詞,固有名詞,地名,一般,*,*\t東京都\nへ\t助詞,格助詞,*,*,*,*\tへ\n行く\t動詞,非自立可能,*,*,五段-カ行,終止形-一般\t行く\nEOS\n"
15
15
  ```
16
16
 
17
- - With some options
17
+ #### With [some options](https://github.com/WorksApplications/Sudachi#options)
18
18
  ```rb
19
19
  Rudachi::TextParser.new(o: 'result.txt', m: 'A').parse('東京都へ行く')
20
20
  File.read('result.txt')
@@ -28,9 +28,9 @@ File.read('result.txt')
28
28
 
29
29
  ## Installation
30
30
 
31
- 1. Install JAR and dictionary of Sudachi ([details](https://github.com/WorksApplications/Sudachi/blob/develop/docs/tutorial.md#linux-%E3%81%AE%E5%A0%B4%E5%90%88))
31
+ 1. Install JAR and dictionary of Sudachi ([Details](https://github.com/WorksApplications/Sudachi/blob/develop/docs/tutorial.md#linux-%E3%81%AE%E5%A0%B4%E5%90%88))
32
32
 
33
- - Install the Sudachi JAR file
33
+ ##### Install the Sudachi JAR file
34
34
  ```sh
35
35
  $ wget https://github.com/WorksApplications/Sudachi/releases/download/v0.5.3/sudachi-0.5.3-executable.zip
36
36
  $ unzip sudachi-0.5.3-executable.zip
@@ -38,7 +38,7 @@ $ ls sudachi-0.5.3
38
38
  LICENSE-2.0.txt README.md javax.json-1.1.jar jdartsclone-1.2.0.jar licenses sudachi-0.5.3.jar sudachi.json sudachi_fulldict.json
39
39
  ```
40
40
 
41
- - Install the Sudachi dictionary
41
+ ##### Install the Sudachi dictionary
42
42
  ```sh
43
43
  $ wget http://sudachi.s3-website-ap-northeast-1.amazonaws.com/sudachidict/sudachi-dictionary-latest-full.zip
44
44
  $ unzip -j -d sudachi-dictionary-latest-full sudachi-dictionary-latest-full.zip
@@ -51,7 +51,7 @@ LEGAL LICENSE-2.0.txt system_core.dic
51
51
 
52
52
  ```rb
53
53
  # Gemfile
54
- gem 'rudachi', git: 'https://github.com/SongCastle/rudachi.git', tag: 'v1.0.0'
54
+ gem 'rudachi'
55
55
  ```
56
56
 
57
57
  Then run `bundle install` .
@@ -68,7 +68,7 @@ Rudachi::Option.configure do |config|
68
68
  end
69
69
  ```
70
70
 
71
- 4. Dit it !!
71
+ 4. Did it !!
72
72
 
73
73
  ```rb
74
74
  require 'rudachi'
@@ -1,3 +1,3 @@
1
1
  module Rudachi
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rudachi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - SongCastle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-06 00:00:00.000000000 Z
11
+ date: 2022-04-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Sudachi wrapper for JRuby.
14
14
  email: "-"