summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-09-27 15:38:30 +0100
committerPatrick Simianer <p@simianer.de>2014-09-27 15:38:30 +0100
commit1934e81155b43c1c6a35424bb22dac9cb97ad917 (patch)
treeb28660e9c39304902b3a4656a18e7b576d17ffd4
parentf65e428784cfd2264f3fdfddd574c37acd38f54f (diff)
cosmetic changes, bump to 1.1
-rw-r--r--Makefile13
-rwxr-xr-xlib/zipf.rb12
-rw-r--r--zipf.gemspec4
3 files changed, 19 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index d8ae75b..1334440 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,16 @@
version := $$(grep s.version zipf.gemspec | awk '{print $$3}' | sed "s|'||g")
-
-all: lib/zipf.rb lib/zipf/bleu.rb lib/zipf/dag.rb lib/zipf/fileutil.rb lib/zipf/misc.rb lib/zipf/semirings.rb lib/zipf/SparseVector.rb lib/zipf/stringutil.rb lib/zipf/tfidf.rb lib/zipf/Translation.rb
+all: lib/zipf.rb \
+ lib/zipf/bleu.rb \
+ lib/zipf/dag.rb \
+ lib/zipf/fileutil.rb \
+ lib/zipf/hypergraph.rb \
+ lib/zipf/misc.rb \
+ lib/zipf/semirings.rb \
+ lib/zipf/SparseVector.rb \
+ lib/zipf/stringutil.rb \
+ lib/zipf/tfidf.rb \
+ lib/zipf/Translation.rb
gem build zipf.gemspec
install:
diff --git a/lib/zipf.rb b/lib/zipf.rb
index 681e2cd..db73b92 100755
--- a/lib/zipf.rb
+++ b/lib/zipf.rb
@@ -1,15 +1,15 @@
#!/usr/bin/env ruby
-require 'zipf/stringutil'
+require 'zipf/bleu'
+require 'zipf/dag'
require 'zipf/fileutil'
+require 'zipf/hypergraph'
+require 'zipf/misc'
+require 'zipf/semirings'
require 'zipf/SparseVector'
+require 'zipf/stringutil'
require 'zipf/tfidf'
require 'zipf/Translation'
-require 'zipf/dag'
-require 'zipf/semirings'
-require 'zipf/bleu'
-require 'zipf/misc'
-require 'zipf/hypergraph'
STDIN.set_encoding 'utf-8'
STDOUT.set_encoding 'utf-8'
diff --git a/zipf.gemspec b/zipf.gemspec
index 99fe588..f3380ae 100644
--- a/zipf.gemspec
+++ b/zipf.gemspec
@@ -1,7 +1,7 @@
Gem::Specification.new do |s|
s.name = 'zipf'
- s.version = '1.0.3'
- s.date = '2014-06-17'
+ s.version = '1.1'
+ s.date = '2014-09-27'
s.summary = 'zipf'
s.description = 'NLP related tools and classes'
s.authors = ['Patrick Simianer']