I made a VNRecognizeTextRequest which is part of the Apple\'s Vision framework.
let request = VNRecognizeTextRequest() request.customWords = ["Weird word&quo