<commit_before># bar-of-progress

Everyone knows that progress bars are one of the hard, unsolved problems of computer science, so I decided to give it a shot.

![xkcd rocks](http://imgs.xkcd.com/comics/estimation.png)

## API

Boring, normal progress bars:

``` ruby
bar = BarOfProgress.new #=> defaults to completeness == "100"  

bar.progress #=> "[◌◌◌◌◌◌◌◌◌◌]"

bar.progress(50) #=> "[●●●●●◌◌◌◌◌]"

bar.progress(49) #=> "[●●●●◍◌◌◌◌◌]"
```
<commit_msg>Start documenting 0.1.0 features<commit_after># bar-of-progress

Everyone knows that progress bars are one of the hard, unsolved problems of computer science, so I decided to give it a shot.

![xkcd rocks](http://imgs.xkcd.com/comics/estimation.png)

## API

### Default progress bars

``` ruby
bar = BarOfProgress.new #=> defaults to completeness == "100"  

bar.progress #=> "[◌◌◌◌◌◌◌◌◌◌]"

bar.progress(50) #=> "[●●●●●◌◌◌◌◌]"

bar.progress(49) #=> "[●●●●◍◌◌◌◌◌]"
```

### Custom progress bars

``` ruby
bar = BarOfProgress.new(
  :total => 338.2,             #=> default: 100.0
  :length => 14,               #=> default: 10
  :braces => %w{( )},          #=> default: ["[", "]"]
  :complete_indicator => "■",  #=> default: "●"
  :partial_indicator => "▤",   #=> default: "◍"
  :incomplete_indicator => "□" #=> default: "◌"
)

bar.progress(66) #=> "(■■▤□□□□□□□□□□□)"

```

{'fraction_non_alphanumeric': 0.23984962406015037, 'fraction_numerical': 0.02330827067669173, 'mean_word_length': 3.8933823529411766, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 24, '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': '272237', 'n_tokens_mistral': 638, 'n_tokens_neox': 563, 'n_words': 123}