mecab 0.98
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/ext/MeCab_wrap.cpp +4981 -0
- data/ext/extconf.rb +12 -0
- metadata +46 -0
data/ext/extconf.rb
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'mkmf'
|
2
|
+
|
3
|
+
mecab_config = with_config('mecab-config', 'mecab-config')
|
4
|
+
enable_config('mecab-config')
|
5
|
+
|
6
|
+
`mecab-config --libs-only-l`.chomp.split.each { | lib |
|
7
|
+
have_library(lib)
|
8
|
+
}
|
9
|
+
|
10
|
+
$CFLAGS += ' ' + `#{mecab_config} --cflags`.chomp
|
11
|
+
|
12
|
+
have_header('mecab.h') && create_makefile('mecab')
|
metadata
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: mecab
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '0.98'
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Taku Kudo
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2009-09-27 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: |
|
14
|
+
Ruby bindings for MeCab, a morphological analyzer.
|
15
|
+
email: taku@chasen.org
|
16
|
+
executables: []
|
17
|
+
extensions:
|
18
|
+
- ext/extconf.rb
|
19
|
+
extra_rdoc_files: []
|
20
|
+
files:
|
21
|
+
- ext/MeCab_wrap.cpp
|
22
|
+
- ext/extconf.rb
|
23
|
+
homepage: http://mecab.sourceforge.net/
|
24
|
+
licenses: []
|
25
|
+
metadata: {}
|
26
|
+
post_install_message:
|
27
|
+
rdoc_options: []
|
28
|
+
require_paths:
|
29
|
+
- lib
|
30
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - '>='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - '>='
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
40
|
+
requirements: []
|
41
|
+
rubyforge_project:
|
42
|
+
rubygems_version: 2.0.2
|
43
|
+
signing_key:
|
44
|
+
specification_version: 4
|
45
|
+
summary: Ruby bindings for MeCab.
|
46
|
+
test_files: []
|