<commit_before># scanR ruby client  

 gem build scanr.gemspec; sudo gem install ./scanr-ruby-0.0.2.gem
 irb
 require 'scanr'
 s = Scanr.new('token')
 p JSON.parse s.ocr '/Users/sagivo/dev/side/scanr-ruby/foo.pdf'

##use

```ruby
gem install scanr
scanr = Scanr.new 'YOUR_TOKEN', 'eng'
p scanr.ocr '/path/to/image.png'
```

(more docs)[http://docs.scanr.xyz]<commit_msg>bump version<commit_after># scanR ruby client  

 gem build scanr.gemspec; sudo gem install ./scanr-ruby-0.0.2.gem
 irb
 require 'scanr'
 s = Scanr.new('token')
 p JSON.parse s.ocr '/Users/sagivo/dev/side/scanr-ruby/foo.pdf'

##use

```ruby
gem install scanr
scanr = Scanr.new 'YOUR_TOKEN', 'eng'
p scanr.ocr '/path/to/image.png'
```

[more docs](http://docs.scanr.xyz)
{'fraction_non_alphanumeric': 0.17320703653585928, 'fraction_numerical': 0.008119079837618403, 'mean_word_length': 3.8051948051948052, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3155601', 'n_tokens_mistral': 324, 'n_tokens_neox': 299, 'n_words': 68}