From af5fbf82489b2b883f6ad225d472426db4f668df Mon Sep 17 00:00:00 2001 From: Arjun Menon Date: Thu, 29 Nov 2018 16:30:59 +0530 Subject: [PATCH] Minor typo --- README.md | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index f861801..4ac8dcf 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # Smalltext -Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/smalltext`. To experiment with that code, run `bin/console` for an interactive prompt. - Classify short texts with neural network. This gem is specifically created to classify small sentence/datasets using a supervised training algorithm. You can use this in place of Naive Bayes. @@ -76,7 +74,7 @@ s.add_item("finance", "Share price of Microsoft") s.train -# Test your trained model using the CLassifier#classify method +# Test your trained model using the Classifier#classify(sentence) method s.classify("give me the direction to moon") @@ -104,16 +102,9 @@ s.classify("when is the next meeting") # => [["schedule_list", 0.9999189960209529]] ``` - -## Development - -After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. - -To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org). - ## Contributing -Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/smalltext. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct. +Bug reports and pull requests are welcome on GitHub at https://github.com/arjunmenon/smalltext. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct. ## License