<commit_before># LogoExtractor

Gem for extracting logo from given url.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'logo_extractor'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install logo_extractor


## Global TODO
- [ ] Rewrite rspec tests
- [ ] Describe dependencies in gem config
- [ ] Write gemspec
- [ ] Add OptionParser support to logo_extractor.app


## Usage

Simply execute:

```ruby
LogoExtractor.extract(url)
```

which returns array of pair (url rating + logo url).

There is also simply script covering library use cases in `bin/logo_extractor.app`.

## Contributing<commit_msg>Added short installation guide to README.md<commit_after># LogoExtractor

Gem for extracting logo from given url.

## Installation

Provisionally only by github.


    $ git clone https://github.com/pkubiak/logo_extractor.git
    $ cd logo_extractor
    $ gem build logo_extractor.gemspec
    $ gem install logo_extractor-0.0.1.gem

or as unprivileged user:

    $ gem install --user-install logo_extractor-0.0.1.gem

Then if you have ruby in your PATH (otherwise by digging into your gems directory):

    $ logo_extractor.app URL

## Global TODO
- [ ] Rewrite rspec tests
- [ ] Describe dependencies in gem config
- [ ] Write gemspec
- [ ] Add OptionParser support to logo_extractor.app


## Usage

Simply execute:

```ruby
LogoExtractor.extract(url)
```

which returns array of pair (url rating + logo url).

There is also simply script covering library use cases in `bin/logo_extractor.app`.

## Contributing
{'fraction_non_alphanumeric': 0.08667941363926067, 'fraction_numerical': 0.0038240917782026767, 'mean_word_length': 3.815950920245399, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6898546', 'n_tokens_mistral': 502, 'n_tokens_neox': 475, 'n_words': 172}