From 7017e2111ffb1dc7ea36e52ab24c7fe9752c365e Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Mon, 16 Jun 2014 17:53:38 +0200 Subject: nlp_ruby -> zipf --- README.md | 4 ++-- avg_weights | 2 +- firstlower | 2 +- kbest_bleu_oracles | 2 +- kmeans | 2 +- lin_reg | 2 +- log_reg | 2 +- median | 2 +- merge_files | 2 +- merge_ttable | 2 +- min_max | 2 +- moses_1best | 2 +- ng | 2 +- no_empty | 2 +- per_sentence_bleu | 2 +- per_sentence_bleu_kbest | 2 +- per_sentence_ter | 2 +- tc | 2 +- tf-idf | 2 +- traintestsplit | 2 +- 20 files changed, 21 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 3212e4b..b129ef3 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,6 @@ scripts ======= A number of NLP related scripts. -Some scripts require my nlp_ruby gem, -see https://github.com/pks/nlp_ruby +Some scripts require my zipf gem, +see https://github.com/pks/zipf diff --git a/avg_weights b/avg_weights index 71ffdd9..1f9053f 100755 --- a/avg_weights +++ b/avg_weights @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' require 'trollop' require 'zlib' diff --git a/firstlower b/firstlower index fb63fcd..682a9b7 100755 --- a/firstlower +++ b/firstlower @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' while line = STDIN.gets diff --git a/kbest_bleu_oracles b/kbest_bleu_oracles index adc695e..2ac344b 100755 --- a/kbest_bleu_oracles +++ b/kbest_bleu_oracles @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' require 'trollop' diff --git a/kmeans b/kmeans index 02c9c42..ec28897 100755 --- a/kmeans +++ b/kmeans @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' require 'trollop' diff --git a/lin_reg b/lin_reg index d512104..168e7df 100755 --- a/lin_reg +++ b/lin_reg @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' require 'trollop' diff --git a/log_reg b/log_reg index c0a95d4..e6f47eb 100755 --- a/log_reg +++ b/log_reg @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' require 'matrix' require 'trollop' diff --git a/median b/median index 3797164..9499c95 100755 --- a/median +++ b/median @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' a = [] diff --git a/merge_files b/merge_files index 051ad6d..0b4941e 100755 --- a/merge_files +++ b/merge_files @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' def usage diff --git a/merge_ttable b/merge_ttable index 7c58c5f..20d86d3 100755 --- a/merge_ttable +++ b/merge_ttable @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' require 'trollop' diff --git a/min_max b/min_max index 653cde3..17dc566 100755 --- a/min_max +++ b/min_max @@ -1,6 +1,6 @@ #!/usr/bin/ruby -require 'nlp_ruby' +require 'zipf' require 'trollop' diff --git a/moses_1best b/moses_1best index 1a0805d..849ebf1 100755 --- a/moses_1best +++ b/moses_1best @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' prev_idx = nil diff --git a/ng b/ng index dbc59eb..0a29898 100755 --- a/ng +++ b/ng @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' require 'trollop' cfg = Trollop::options do diff --git a/no_empty b/no_empty index cd825c0..96c9ce4 100755 --- a/no_empty +++ b/no_empty @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' files = [] diff --git a/per_sentence_bleu b/per_sentence_bleu index b7243df..76fcf38 100755 --- a/per_sentence_bleu +++ b/per_sentence_bleu @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' require 'trollop' diff --git a/per_sentence_bleu_kbest b/per_sentence_bleu_kbest index 475da03..4d821b3 100755 --- a/per_sentence_bleu_kbest +++ b/per_sentence_bleu_kbest @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' require 'trollop' diff --git a/per_sentence_ter b/per_sentence_ter index eb7083b..8b04be5 100755 --- a/per_sentence_ter +++ b/per_sentence_ter @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' require 'trollop' require 'tempfile' diff --git a/tc b/tc index 07eab5d..993086a 100755 --- a/tc +++ b/tc @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' while line = STDIN.gets diff --git a/tf-idf b/tf-idf index ce3400a..fc12d30 100755 --- a/tf-idf +++ b/tf-idf @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' require 'trollop' diff --git a/traintestsplit b/traintestsplit index eb71354..ec88df1 100755 --- a/traintestsplit +++ b/traintestsplit @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' require 'trollop' -- cgit v1.2.3