<commit_before># Wikiquotes wrapper
A simple API wrapper to use in my projects.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'quote_getter', github: 'aperala/quote_getter'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install github: 'aperala/quote_getter'

## Usage

`client = QuoteGetter::Client.new`

To get an array of quotations from the specified page, enter the topic as a string, e.g.,

`client.quotes("cats")`

To return a random quotation from the response:

`response = client.quotes("cats")`

`client.random_quote(response)`

## 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]/quote-getter. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.


## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
<commit_msg>more README fixes<commit_after># Wikiquotes wrapper
A simple API wrapper to use in my projects.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'wikiquotes-gem', github: 'aperala/wikiquotes-gem'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install github: 'aperala/wikiquotes-gem'

## Usage

`client = QuoteGetter::Client.new`

To get an array of quotations from the specified page, enter the topic as a string, e.g.,

`client.quotes("cats")`

To return a random quotation from the response:

`response = client.quotes("cats")`

`client.random_quote(response)`

## 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/aperala/wikiquotes-gem. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.


## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

{'fraction_non_alphanumeric': 0.08850393700787401, 'fraction_numerical': 0.0, 'mean_word_length': 4.494809688581315, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2692703', 'n_tokens_mistral': 920, 'n_tokens_neox': 879, 'n_words': 418}