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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTc4NTA2YmQzYzVlZTZlMjhmNzk0NmFmZjI0NzBmZTU1MzU4YzNkMQ==
4
+ YTg1NzE3NzUwM2RlYTY2ZGYzMDQ0YjY5NWUzYmM5YzljNjU3MGRmYw==
5
5
  data.tar.gz: !binary |-
6
- MDc0OTUzZTI3YjVmYjZlMjA1YzNjYTI2NjY0ZGJkMDVjY2YwOTdmZg==
6
+ NWU1NGJjOTdlZDE2ZTBiNGI5OTAyOGMyODFlYTBiZGM1YTIwMGQxNg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NGNhNzhmOThhZWQ5N2FmNGU3YzQ1MzBlYTM4YTU0MDNjZGY0YTQ0NzZmMzZi
10
- ZDdkN2I0NDFjODRjZjM3MTVmMTc4NGJmZTJiOTJhODIzMDI3MTFiODRhYTll
11
- OTA5ZGE5M2NjMTBiMjc1NTkwNmIwOGIxMmE1MzU3YTRiMmU5NDE=
9
+ ZjQzZWViYzA2YjUyZjI5MmMwNjU3YWY2YzIwMTZmODQyNmQ0N2Y0MzBmYzYw
10
+ OTU2OWNjYjUwYWZiMWZlM2YxNzU0ZmQ4ZDYzZWI2YWFkMjc1MDg4MTMwMmIw
11
+ NDA5ZTkxOGNiNjlmZTFiNDhhNTU4NTNjYmRkYTJkNjQyZTI1ZjI=
12
12
  data.tar.gz: !binary |-
13
- Mjc2M2NkMWZjNTg2ODZkYzA5MjljNmFlMjk4ZTVkMDkxMzFiMjhmNjE1M2Rk
14
- ZGFhODVmYWVhZjY1ZDc4ZmU0YWY0NDAzMGQ0NTNjZDMwOTdhYzQ4MGNkNTQ4
15
- MTgwOTNlYjQ4ZDY3NWNjZTAxN2Y3MzEwNDEzNWU1OWMzZDFjZGM=
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"
@@ -45,15 +45,13 @@ module Opener
45
45
  end
46
46
 
47
47
  def command
48
- c = "#{adjust_python_path} #{prepend_tree_tagger_path} python -E -OO #{kernel} #{args.join(' ')}"
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
- #unless ENV['TREE_TAGGER_PATH']
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
@@ -1,5 +1,5 @@
1
1
  module Opener
2
2
  class TreeTagger
3
- VERSION = "3.2.0"
3
+ VERSION = "3.2.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-tree-tagger
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - rubenIzquierdo