summaryrefslogtreecommitdiff
path: root/README.md
blob: 26858ff96192115f203bdafee71a1aed61f40d1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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

* dags.rb : implementation of a directed acyclic graph and various algorithms
* fileutil.rb : file utilities
* PriorityQueue.rb : a simple priority queue
* semirings.rb : semirings for dags.rb
* SparseVector.rb : sparse vectors for ruby, based on Hash
* stringutil.rb : string utilities
* tfidf.rb : functions to calculate tf/ntf/idf
* ttable.rb : functions to read MT phrase tables
* Vector.rb : vector class based on Array