     }
 }
 
-//extension KeymochiKeyboardViewController: SentimentAnalysisDelegate{
-//    func getSentiment(_: SentimentKeyboard, getSentimentFor phrase: String) {
-//        phrase = getPhrase
-//    }
-//    self.printSentiment(phrase)
-//}

        motionManager.stopDeviceMotionUpdates()
        if hasAssessedEmotion {
//            DataManager.sharedInatance.dumpCurrentData(withEmotion: emotion!, sentiment: Float(sentiment))
            DataManager.sharedInatance.dumpCurrentData(withEmotion: emotion!, withSentiment: sentiment)
//            WordRater.sharedInstance.returnValence(str:sentence)
            

        var ratingArr: [NSNumber] = []
        for unformString in wordArr {
            var newWord = unformString.lowercased()
            if positiveWords.contains(newWord) {
                ratingArr.append(1)
            } else if negativeWords.contains(newWord) { ratingArr.append(-1) }
