<commit_before># HtPremisUuid

A UUID creator specifically for PREMIS events used in the Hathitrust.

## Installation

Add this line to your application's Gemfile:

    gem 'ht_premis_uuid', :git => 'https://github.com/sethajoh/ht_premis_uuid.git'

And then execute:

    $ bundle

## Usage

    uuid = HtPremisUuid.generate('ht namespace', ' ht id', 'premis event name')
<commit_msg>specified uuid version 3<commit_after># HtPremisUuid

A UUID creator specifically for PREMIS events based on UUID Version 3 (uuid built with a unique object identifier).

## Installation

Add this line to your application's Gemfile:

    gem 'ht_premis_uuid', :git => 'https://github.com/sethajoh/ht_premis_uuid.git'

And then execute:

    $ bundle

## Usage

    uuid = HtPremisUuid.generate('ht namespace', ' ht id', 'premis event name')

{'fraction_non_alphanumeric': 0.0993939393939394, 'fraction_numerical': 0.0024242424242424242, 'mean_word_length': 4.294871794871795, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '4342918', 'n_tokens_mistral': 294, 'n_tokens_neox': 269, 'n_words': 87}