Skip to content

epifanycx/Balderdash

Repository files navigation

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