Skip to content

Commit

Permalink
Minor typo
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunmenon authored Nov 29, 2018
1 parent baaa990 commit af5fbf8
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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")

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit af5fbf8

Please sign in to comment.