ltp_checker 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,19 @@
1
+ $:.push File.expand_path("../lib", __FILE__)
2
+ require 'ltp_checker/version'
3
+ Gem::Specification.new do |s|
4
+ s.name = 'ltp_checker'
5
+ s.version = LTP::VERSION
6
+ s.executables << 'ltp_checker'
7
+ s.date = '2014-11-05'
8
+ s.summary = 'My algorithm testing'
9
+ s.description = 'Comparing the information retrieval performance of three different methods'
10
+ s.authors = ['David Yang']
11
+ s.email = 'athoo@sina.com'
12
+ s.homepage = 'https://github.com/athoo/ws_web'
13
+ s.licenses = ["MIT"]
14
+ s.files = `git ls-files`.split("\n")
15
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
+ # s.add_development_dependency 'minitest'
17
+ # s.add_development_dependency 'minitest-rg'
18
+ # s.add_development_dependency 'set'
19
+ end
@@ -0,0 +1,11 @@
1
+ require 'minitest/autorun'
2
+ require 'minitest/rg'
3
+ require File.expand_path('../../lib/ltp_checker', __FILE__)
4
+
5
+ sample = LTP.check_tfidf("男")
6
+ describe 'testoutput' do
7
+
8
+ it 'the type is right' do
9
+ sample.wont_be_empty
10
+ end
11
+ end
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ltp_checker
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - David Yang
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-11-05 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Comparing the information retrieval performance of three different methods
14
+ email: athoo@sina.com
15
+ executables:
16
+ - ltp_checker
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - ".DS_Store"
21
+ - Gemfile
22
+ - README.md
23
+ - Rakefile
24
+ - bin/.DS_Store
25
+ - bin/ltp_checker
26
+ - lib/.DS_Store
27
+ - lib/ltp_checker.rb
28
+ - lib/ltp_checker/.DS_Store
29
+ - lib/ltp_checker/chinesewordlist.txt
30
+ - lib/ltp_checker/ltp.rb
31
+ - lib/ltp_checker/rawchineselsa.txt
32
+ - lib/ltp_checker/rawltp.txt
33
+ - lib/ltp_checker/rawtfidf.txt
34
+ - lib/ltp_checker/version.rb
35
+ - lib/ltp_checker/wordlist.txt
36
+ - lib/ltp_checker/wordlistv2.txt
37
+ - ltp_checker.gemspec
38
+ - spec/ltp_spec.rb
39
+ homepage: https://github.com/athoo/ws_web
40
+ licenses:
41
+ - MIT
42
+ metadata: {}
43
+ post_install_message:
44
+ rdoc_options: []
45
+ require_paths:
46
+ - lib
47
+ required_ruby_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: '0'
52
+ required_rubygems_version: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ requirements: []
58
+ rubyforge_project:
59
+ rubygems_version: 2.4.2
60
+ signing_key:
61
+ specification_version: 4
62
+ summary: My algorithm testing
63
+ test_files:
64
+ - spec/ltp_spec.rb