<commit_before>![Ladder logo](https://github.com/ladder/ladder/blob/master/logo.png)

[![Gem Version](http://img.shields.io/gem/v/ladder.svg?style=flat)](https://rubygems.org/gems/ladder)  [![Inline docs](http://inch-ci.org/github/ladder/ladder.svg?branch=master)](http://inch-ci.org/github/ladder/ladder)  [![Build Status](https://travis-ci.org/ladder/ladder.svg)](https://travis-ci.org/ladder/ladder)

# Ladder

Ladder is a dynamic framework for [Linked Data](http://en.wikipedia.org/wiki/Linked_data) modelling, persistence, and full-text indexing. It is implemented as a series of Ruby modules that can be used individually and incorporated within existing ActiveModel frameworks (eg. [Project Hydra](http://projecthydra.org)), or combined as a comprehensive stack.

Ladder is intended to encourage the [GLAM](http://en.wikipedia.org/wiki/GLAM_(industry_sector)) community to think less dogmatically about established (often monolithic and/or niche) tools and instead embrace a broader vision of adopting more widely-used technologies.

### Components

- [Mongoid](http://mongoid.org) for persistence
- [ElasticSearch](http://www.elasticsearch.org) for full-text indexing
- [ActiveTriples](https://github.com/no-reply/ActiveTriples) for linked data<commit_msg>Add reference to Spira in README<commit_after>![Ladder logo](https://github.com/ladder/ladder/blob/master/logo.png)

[![Gem Version](http://img.shields.io/gem/v/ladder.svg?style=flat)](https://rubygems.org/gems/ladder)  [![Inline docs](http://inch-ci.org/github/ladder/ladder.svg?branch=master)](http://inch-ci.org/github/ladder/ladder)  [![Build Status](https://travis-ci.org/ladder/ladder.svg)](https://travis-ci.org/ladder/ladder)

# Ladder

Ladder is a dynamic framework for [Linked Data](http://en.wikipedia.org/wiki/Linked_data) modelling, persistence, and full-text indexing. It is implemented as a series of Ruby modules that can be used individually and incorporated within existing ActiveModel frameworks (eg. [Project Hydra](http://projecthydra.org)), or combined as a comprehensive stack.

Although conceptually similar to [Spira](https://github.com/ruby-rdf/spira), Ladder takes the opposite approach: instead of making RDF repositories (triple stores) behave like ActiveModel, it allows ActiveModel objects to behave like RDF resources.  Ladder is intended to encourage the [GLAM](http://en.wikipedia.org/wiki/GLAM_(industry_sector)) community to think less dogmatically about established (often monolithic and/or niche) tools and instead embrace a broader vision of adopting more widely-used technologies.

### Components

- [Mongoid](http://mongoid.org) for persistence
- [ElasticSearch](http://www.elasticsearch.org) for full-text indexing
- [ActiveTriples](https://github.com/no-reply/ActiveTriples) for linked data
{'fraction_non_alphanumeric': 0.13335716839470863, 'fraction_numerical': 0.0, 'mean_word_length': 5.491879350348028, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 11, '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': '3886141', 'n_tokens_mistral': 866, 'n_tokens_neox': 821, 'n_words': 219}