blob: 338109c81a4fffbf8e7fa0d1e854159012c8768a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
nlp_ruby
========
My little NLP library, supposed to make _my_ work a little easier and less redundant.
The .gem can be found here: https://rubygems.org/gems/nlp_ruby
bleu.rb : BLEU implementation, also per-sentence-BLEU
dag.rb : implementation of a directed acyclic graph and various algorithms
fileutil.rb : file utilities
hg.rb : data structures and algorithms (viterbi currently) for hypergraphs
misc.rb : misc. stuff (e.g. monkey patches for Array and String)
semirings.rb : semirings (used in dags.rb)
SparseVector.rb : sparse vectors for ruby, based on Hash class
stringutil.rb : string utilities
tfidf.rb : functions to calculate tf/ntf/idf
Translation.rb : an object for
|