<commit_before># Dash2::Harvester

Harvests [OAI-PMH](http://www.openarchives.org/pmh/) metadata from a digital repository into
[Solr](http://lucene.apache.org/solr/) for indexing.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'dash2-harvester'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install dash2-harvester

## Usage

<!-- TODO: Write usage instructions here -->

## Contributing

<!-- TODO: fix github URL -->

1. Fork it ( https://github.com/[my-github-username]/dash2-harvester/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request<commit_msg>Comment some things out; add in-progress warning and TODOs<commit_after># Dash2::Harvester

> # This is a work in progress. <!-- TODO remove this when it's no longer true -->

Harvests [OAI-PMH](http://www.openarchives.org/pmh/) metadata from a digital repository into
[Solr](http://lucene.apache.org/solr/) for indexing.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'dash2-harvester'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install dash2-harvester

<!--
## Usage
<!-- TODO: Write usage instructions here -->
-->

<!--
## Contributing
<!-- TODO: fix github URL and put this back-->

1. Fork it ( https://github.com/[my-github-username]/dash2-harvester/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
-->
{'fraction_non_alphanumeric': 0.14011627906976745, 'fraction_numerical': 0.010465116279069767, 'mean_word_length': 3.6639566395663956, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '1580123', 'n_tokens_mistral': 574, 'n_tokens_neox': 528, 'n_words': 195}