         }
         
         // Get response from Watson based on user text
+        if(!text.contains("-")){
         let messageRequest = MessageRequest(text: text, context: self.context)
         conversation.message(withWorkspace: self.workspaceID, request: messageRequest, failure: failConversationWithError) { response in
             // Set current context

    var conversation : Conversation!
    var context: Context?
    var workspaceID: String!
    
    override func viewDidLoad() {
        

    }
    
    
    func getLyrics( _ song : String, _ artist: String){
        
        
//        let escapedString = "http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect?artist="+artist.lowercased().addingPercentEncoding(withAllowedCharacters: .urlHostAllowed)!+"&song=" + song.lowercased().addingPercentEncoding(withAllowedCharacters: .urlHostAllowed)!
        
        let escapedString = "http://www.azlyrics.com/lyrics/"+artist.lowercased().replacingOccurrences(of: " ", with: "")+"/"+song.lowercased().replacingOccurrences(of: " ", with: "").replacingOccurrences(of: "'", with: "")+".html"
      print(escapedString)
        let url = URL(string: escapedString)
        
        let task = URLSession.shared.dataTask(with: url!){
             (data, response, error) in
            
            if(error != nil){
                
                print(error!)
            }else{
                
                if let data = data {
                    
                    
                    let unwrappedData = NSMutableString(data: data, encoding: String.Encoding.utf8.rawValue)
                    //print(unwrappedData!)
                    
                    //let startIdentifier = "<Lyric>"
                   // let endIdentifier = "</Lyric>"
                    let startIdentifier = "<!-- Usage of azlyrics.com content by any third-party lyrics provider is prohibited by our licensing agreement. Sorry about that. -->"
                    let endIdentifier = "</div>"
                    
                    let items = unwrappedData?.components(separatedBy: startIdentifier)
                    if((items?.count)!>1){
                        
                        let items2 = items?[1].components(separatedBy: endIdentifier)
                        if let lyrics = items2?[0]{
                            
                            print(lyrics)
                            var modifLyrics = lyrics.replacingOccurrences(of: "<br>", with: "")
                            modifLyrics = modifLyrics.replacingOccurrences(of: "<br><br>", with: "\n")
                            modifLyrics = modifLyrics.replacingOccurrences(of: "</i>", with: "")
                            modifLyrics = modifLyrics.replacingOccurrences(of: "<i>", with: "")
                            modifLyrics = modifLyrics.replacingOccurrences(of: "&amp;", with: "&")
                            
                            self.displayMessage(modifLyrics)
                        }else{
                            
                            self.displayMessage("Looks like I don't have lyrics for that song yet! Make sure the artist and the song are spelt correctly!")
                        }
                        
                        
                    }else{
                        self.displayMessage("Looks like I don't have lyrics for that song yet! Make sure the artist and the song are spelt correctly!")
                    }
                    
                }
                
            }
            
            
        }
        task.resume()
        
        
    }
    
    
}
