opener-tree-tagger 3.2.0 → 3.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/ext/hack/support.rb +1 -1
- data/lib/opener/tree_tagger.rb +2 -4
- data/lib/opener/tree_tagger/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YTg1NzE3NzUwM2RlYTY2ZGYzMDQ0YjY5NWUzYmM5YzljNjU3MGRmYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NWU1NGJjOTdlZDE2ZTBiNGI5OTAyOGMyODFlYTBiZGM1YTIwMGQxNg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjQzZWViYzA2YjUyZjI5MmMwNjU3YWY2YzIwMTZmODQyNmQ0N2Y0MzBmYzYw
|
10
|
+
OTU2OWNjYjUwYWZiMWZlM2YxNzU0ZmQ4ZDYzZWI2YWFkMjc1MDg4MTMwMmIw
|
11
|
+
NDA5ZTkxOGNiNjlmZTFiNDhhNTU4NTNjYmRkYTJkNjQyZTI1ZjI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
M2U4NGExMmM4ZGY1YzQ2N2EzZmIzZGY5OTkxMzA3ZjlhOGQyYjRkNWIzZjAw
|
14
|
+
NmUyNGM4Mzg0Y2Y2NzExNmZkNGJmY2JjYTE2YzRjZDY5MDNiYjYxMmUwMDFm
|
15
|
+
N2IzMDUxNzQ3M2ZjMzAyM2RmMDZjMDU4MmZhNTNlNTNlN2FlYjM=
|
data/ext/hack/support.rb
CHANGED
@@ -48,8 +48,8 @@ end
|
|
48
48
|
|
49
49
|
def install_tree_tagger
|
50
50
|
#return if ENV['TREE_TAGGER_PATH']
|
51
|
-
|
52
51
|
build = VENDOR_BUILD_DIRECTORY
|
52
|
+
mkdir_p(build)
|
53
53
|
cd build do
|
54
54
|
sh "curl -o tree-tagger-linux-3.2.tar.gz http://www.cis.uni-muenchen.de/~schmid/tools/TreeTagger/data/tree-tagger-linux-3.2.tar.gz"
|
55
55
|
sh "curl -o tagger-scripts.tar.gz http://www.cis.uni-muenchen.de/~schmid/tools/TreeTagger/data/tagger-scripts.tar.gz"
|
data/lib/opener/tree_tagger.rb
CHANGED
@@ -45,15 +45,13 @@ module Opener
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def command
|
48
|
-
|
49
|
-
puts c
|
50
|
-
c
|
48
|
+
"#{adjust_python_path} #{prepend_tree_tagger_path} python -E -OO #{kernel} #{args.join(' ')}"
|
51
49
|
end
|
52
50
|
|
53
51
|
protected
|
54
52
|
|
55
53
|
def prepend_tree_tagger_path
|
56
|
-
|
54
|
+
return if ENV['TREE_TAGGER_PATH']
|
57
55
|
path = File.expand_path('../../../core/vendor/build', __FILE__)
|
58
56
|
return "TREE_TAGGER_PATH=#{path}"
|
59
57
|
end
|