<commit_before># NSString-HYPFormula

[![Build Status](https://img.shields.io/travis/hyperoslo/NSString-HYPFormula.svg?style=flat)](https://travis-ci.org/hyperoslo/NSString-HYPFormula)

Creating and running string-based formulas have never been this easy

``` objc

NSDictionary *values = @{
    @"hourly_pay"    : @150,
    @"work_per_week" : @32.5
};
NSNumber *result = [@"hourly_pay * work_per_week" hyp_runFormulaWithDictionary:values];
```

## Contributing

1. Fork it
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 new Pull Request

## Credits

[Hyper](http://hyper.no) made this. We're a digital communications agency with a passion for good code,
and if you're using this library we probably want to hire you.

## License

NSString-HYPFormula is available under the MIT license. See the [LICENSE](https://raw.githubusercontent.com/hyperoslo/NSString-HYPFormula/master/LICENSE.md) file for more info.
<commit_msg>Show string formulas<commit_after># NSString-HYPFormula

[![Build Status](https://img.shields.io/travis/hyperoslo/NSString-HYPFormula.svg?style=flat)](https://travis-ci.org/hyperoslo/NSString-HYPFormula)

Creating and running string-based formulas have never been this easy

## Number formulas
``` objc

NSDictionary *values = @{
    @"hourly_pay"    : @150,
    @"work_per_week" : @32.5
};
NSNumber *result = [@"hourly_pay * work_per_week" hyp_runFormulaWithDictionary:values];
```

## String formulas
``` objc

NSDictionary *values = @{
    @"first_name" : @"John",
    @"last_name"  : @"Appleseed"
};
NSString *result = [@"first_name last_name" hyp_runFormulaWithDictionary:values];
```

## Contributing

1. Fork it
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 new Pull Request

## Credits

[Hyper](http://hyper.no) made this. We're a digital communications agency with a passion for good code,
and if you're using this library we probably want to hire you.

## License

NSString-HYPFormula is available under the MIT license. See the [LICENSE](https://raw.githubusercontent.com/hyperoslo/NSString-HYPFormula/master/LICENSE.md) file for more info.

{'fraction_non_alphanumeric': 0.1276955602536998, 'fraction_numerical': 0.009302325581395349, 'mean_word_length': 4.742718446601942, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '5463016', 'n_tokens_mistral': 812, 'n_tokens_neox': 754, 'n_words': 228}