I am building a chatbot using nltk.util pairs. I am using regular expressions for the combinations! I want one of the responses to be “ Visit Google” where “Google” should be a hyperlink that should take you to https://www.google.com!
Asked
Active
Viewed 68 times
-1
-
What do you mean by "hyperlinked strings"? – Legorooj Apr 01 '20 at 04:53
-
A clickable string! When you click on a string it has to navigate to a specified website! – Rohan Venkatraman Apr 01 '20 at 06:12
-
In what will you be showing the hyperlink? A console (`print(hyperlink_str)`)? A GUI? – Legorooj Apr 01 '20 at 06:42
-
In a console!!! – Rohan Venkatraman Apr 01 '20 at 13:18
-
https://stackoverflow.com/q/40419276/10475068 – Legorooj Apr 02 '20 at 02:39
1 Answers
-1
It depends on what media you are showing this hyperlink. You must format the output corresponding to this
For example, if it's in web page (and the page allows it), you can return a "" link
If it's in a cli, you probably won't be able with the standard interface of the OS.

Syb
- 39
- 3