Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 832 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 832 Bytes

CircleCI

Balderdash

A simple gibberish detection library for iOS

Installing

pod install Balderdash

Usage

balderdash = BalderdashController()
let bundle = Bundle(for: self.classForCoder)
let path = bundle.path(forResource: "trained_data", ofType: "json")
let url = URL(fileURLWithPath: path!)
balderdash.loadFile(url: url)

let string = "This is a test"
balderdash.isGibberish(string)

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments