twkorean 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 36d821bc142a63e34c0e143cb53ed2e72f0f72f9
4
- data.tar.gz: 274df73ac337c3f01090f942c4b5f3948498470c
3
+ metadata.gz: d5b0224b2477336b22d92f4ad59a711b72cb3ed5
4
+ data.tar.gz: 96995f69e42be4eb7a21cdbcf63a8e3d5a6bd10c
5
5
  SHA512:
6
- metadata.gz: b3eb5720642faf5de2e04cc2c2d035f15da4889ed6f723facdd2771f9f4f404d52d09dffc1cc8f39a911d4456c62041c51a697c45c7410b8a4e8ae69c151b46f
7
- data.tar.gz: 9c80732be97e998f09ff640fc7bbedbb6ddc6f412805386cb1b7b3c8988597331814a6af66ab4e6247b404f7f2525dae9264c11eb972afff3e2517b8d8a6dc1a
6
+ metadata.gz: 314d087f4e1d8eca9d14742ae601a844375526849eba96c563b266381370c6082a98939cbb27fe857e8275922560eaf3c24337a37714020d70bdee1bd62f84aa
7
+ data.tar.gz: 2e77c37daac91d552e40198221b94f26fd84d123737b61eb67367b454f14690a600051d480167b81424e76b9eb483dd8a03c6f4bc9b9f0f42adde4c6711355e4
@@ -1,15 +1,10 @@
1
- # @name twkorean-ruby
2
- # @author JunSangPil
3
- # @version 0.0.4
4
- # @url https://github.com/jun85664396/twkorean-ruby
5
- # @license Apache License 2.0
6
1
  module Twkorean
7
2
  class TwitterKoreanText
8
3
 
9
4
  attr_accessor :korean_processor
10
5
 
11
6
  def initialize(normalization = true, stemming = true)
12
- jars = Dir.glob(File.dirname(__FILE__)+"/../jars/*.jar").join(':')
7
+ jars = Dir.glob(File.dirname(__FILE__)+"/../jars/*.jar").join(File::PATH_SEPARATOR)
13
8
  Rjb::load(jars, ['-Xmx512M'])
14
9
  self.korean_processor = Rjb::import('com.twitter.penguin.korean.TwitterKoreanProcessorJava')
15
10
  end
@@ -1,8 +1,8 @@
1
1
  # @name twkorean-ruby
2
2
  # @author JunSangPil
3
- # @version 0.0.4
3
+ # @version 0.0.5
4
4
  # @url https://github.com/jun85664396/twkorean-ruby
5
5
  # @license Apache License 2.0
6
6
  module Twkorean
7
- VERSION = "0.0.4"
7
+ VERSION = "0.0.5"
8
8
  end
data/lib/twkorean.rb CHANGED
@@ -1,8 +1,3 @@
1
- # @name twkorean-ruby
2
- # @author JunSangPil
3
- # @version 0.0.4
4
- # @url https://github.com/jun85664396/twkorean-ruby
5
- # @license Apache License 2.0
6
1
  require "twkorean/version"
7
2
  require 'rjb'
8
3
  require "twkorean/twitter_korean_text"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twkorean
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - JunSangPil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-29 00:00:00.000000000 Z
11
+ date: 2017-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler