<commit_before># RequestInMemory

[![CI Status](http://img.shields.io/travis/azu/RequestInMemory.svg?style=flat)](https://travis-ci.org/azu/RequestInMemory)
[![Version](https://img.shields.io/cocoapods/v/RequestInMemory.svg?style=flat)](http://cocoadocs.org/docsets/RequestInMemory)
[![License](https://img.shields.io/cocoapods/l/RequestInMemory.svg?style=flat)](http://cocoadocs.org/docsets/RequestInMemory)
[![Platform](https://img.shields.io/cocoapods/p/RequestInMemory.svg?style=flat)](http://cocoadocs.org/docsets/RequestInMemory)

Once a fetch, does query request as many times as you wants.

## Installation

RequestInMemory is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

    pod "RequestInMemory"

## Usage

```objc
@interface RequestInMemory : NSObject
// initialize class + fetch data from CoreData
+ (instancetype)memoryEntityDescription:(NSEntityDescription *) entityDescription context:(NSManagedObjectContext *) managedObjectContext;

#pragma mark - manually

// manually update internal database
// when initialize the class, automatically call this method.
- (NSArray *)fetchAll;

#pragma mark - filter helper<commit_msg>remove travis<commit_after># RequestInMemory

[![Version](https://img.shields.io/cocoapods/v/RequestInMemory.svg?style=flat)](http://cocoadocs.org/docsets/RequestInMemory)
[![License](https://img.shields.io/cocoapods/l/RequestInMemory.svg?style=flat)](http://cocoadocs.org/docsets/RequestInMemory)
[![Platform](https://img.shields.io/cocoapods/p/RequestInMemory.svg?style=flat)](http://cocoadocs.org/docsets/RequestInMemory)

Once a fetch, does query request as many times as you wants.

## Installation

RequestInMemory is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

    pod "RequestInMemory"

## Usage

```objc
@interface RequestInMemory : NSObject
// initialize class + fetch data from CoreData
+ (instancetype)memoryEntityDescription:(NSEntityDescription *) entityDescription context:(NSManagedObjectContext *) managedObjectContext;

#pragma mark - manually

// manually update internal database
// when initialize the class, automatically call this method.
- (NSArray *)fetchAll;

#pragma mark - filter helper
{'fraction_non_alphanumeric': 0.13028322440087145, 'fraction_numerical': 0.0, 'mean_word_length': 6.130434782608695, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 7, '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': '4766046', 'n_tokens_mistral': 734, 'n_tokens_neox': 689, 'n_words': 146}