| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
run the tests by doing a bundle exec rake
This repository aims to classify sentences by character frequency into languages based on passages in the bible.
The training set is all chapters of Matthew and Acts in Norwegian, English, Polish, Swedish, German, and Finnish.
There are two classes and a module in this repo and are:
To build a network built up on Language data one would do as follows
english = Language.new('English.txt', 'English')
network_of_english = Network.new([english])
network_of_english.train!
network_of_english.run('The quick brown fox') #=> english| Back | FazBrowse Home | New Git URL |