     func updateACDisplay() {
         let acWord = getAutoCompleteWord()
         autocompleteDisplay.text = acWord
-        //autocompleteDisplay.text = getCurWord()
     }
    
     func enterAutoCompleteWord() {

        
        let doubleTap = UITapGestureRecognizer(target: self, action: #selector(enterAutoCompleteWord))
        doubleTap.numberOfTapsRequired = 2
        
//        tap.require(toFail: doubleTap)

        
        view.addGestureRecognizer(swipeDown)
        view.addGestureRecognizer(swipeUp)

        swipeUp.direction = UISwipeGestureRecognizerDirection.up
        
        let swipeLeft = UISwipeGestureRecognizer(target: self, action: #selector(enterDelete))
        swipeLeft.direction = UISwipeGestureRecognizerDirection.left
        
        let swipeRight = UISwipeGestureRecognizer(target: self, action: #selector(enterSpace))
        swipeRight.direction = UISwipeGestureRecognizerDirection.right
        
        let tap = UITapGestureRecognizer(target: self, action: #selector(insertSelectedCharacter (_:)))
