diff options
author | Patrick Simianer <p@simianer.de> | 2014-06-16 17:53:38 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-06-16 17:53:38 +0200 |
commit | 7017e2111ffb1dc7ea36e52ab24c7fe9752c365e (patch) | |
tree | db6b79074978fc307e1e3ba266b8d9364df844df | |
parent | 2783f837303ae07c4a1d676302bca779abbb1296 (diff) |
nlp_ruby -> zipf
-rw-r--r-- | README.md | 4 | ||||
-rwxr-xr-x | avg_weights | 2 | ||||
-rwxr-xr-x | firstlower | 2 | ||||
-rwxr-xr-x | kbest_bleu_oracles | 2 | ||||
-rwxr-xr-x | kmeans | 2 | ||||
-rwxr-xr-x | lin_reg | 2 | ||||
-rwxr-xr-x | log_reg | 2 | ||||
-rwxr-xr-x | median | 2 | ||||
-rwxr-xr-x | merge_files | 2 | ||||
-rwxr-xr-x | merge_ttable | 2 | ||||
-rwxr-xr-x | min_max | 2 | ||||
-rwxr-xr-x | moses_1best | 2 | ||||
-rwxr-xr-x | ng | 2 | ||||
-rwxr-xr-x | no_empty | 2 | ||||
-rwxr-xr-x | per_sentence_bleu | 2 | ||||
-rwxr-xr-x | per_sentence_bleu_kbest | 2 | ||||
-rwxr-xr-x | per_sentence_ter | 2 | ||||
-rwxr-xr-x | tc | 2 | ||||
-rwxr-xr-x | tf-idf | 2 | ||||
-rwxr-xr-x | traintestsplit | 2 |
20 files changed, 21 insertions, 21 deletions
@@ -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' @@ -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' @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' require 'trollop' @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' require 'trollop' @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' require 'matrix' require 'trollop' @@ -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' @@ -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 @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' require 'trollop' cfg = Trollop::options do @@ -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' @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'nlp_ruby' +require 'zipf' while line = STDIN.gets @@ -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' |