christian1122
Gebruiker
- Lid geworden
- 7 nov 2011
- Berichten
- 32
ik ben een soort van alice/cleverbot aan het maken en was de manual van cleverbot aan het lezen
ik zag iets wat ik ook wil doen in visual basic maar ik weet alleen de code niet
wat ik nu heb is
if textbox2.text.contains "hello" then
richtextbox1.text = richtextbox1.text & "bot: " "hello"
end if
dat soort standaard dingen dus
maar wat ik dus wil is zoiets als dit:
al die labels enzo mag je wegdenken het gaat me om het matchen van antwoorden
dat hellloo bijv ook gezien word als hello en je dus hetzelfde antwoord krijgt
weet iemand daar een code voor i visual basic?
ik zag iets wat ik ook wil doen in visual basic maar ik weet alleen de code niet
wat ik nu heb is
if textbox2.text.contains "hello" then
richtextbox1.text = richtextbox1.text & "bot: " "hello"
end if
dat soort standaard dingen dus
maar wat ik dus wil is zoiets als dit:
Accuracy
column determines how accurate your prediction needs to be. If you set the accuracy
of the input to 100%, then only the exact word “hello” would match. If you set it to something
really low like 20% then all sorts of things, like “heeeeelelllllloooo” would also match. 75% allows
for some typos and mistakes so “helloo” would also match. Note that upper and lower case and any
punctuation marks at the end are ignored when making string comparisons.
The 0% on the second input means it will match anything else. So anything not 75% similar to
“hello” will Goto the output labelled sorry
al die labels enzo mag je wegdenken het gaat me om het matchen van antwoorden
dat hellloo bijv ook gezien word als hello en je dus hetzelfde antwoord krijgt
weet iemand daar een code voor i visual basic?