sanyaade-g2g-repos / prelude-csharp

Automatically exported from code.google.com/p/prelude-csharp
0 stars 0 forks source link

Prelude keeps repeating input #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is my code. Prelude gives output but it is the same as the input. I tried 
an empty, the supplied and the converted alice brain.

Dim pp As Object
pp = New PreLudeEngine.PreLudeInterface
pp.initializeEngine()
pp.loadedMind = "C:\Users\Johan\Downloads\mindAAA.mdu"
pp.IsSpeaking = True
temptxt2 = pp.chatWithPrelude(txtInvoer.Text)
txtGesprek2.Text = txtGesprek2.Text & vbCrLf & "Jij: " & txtInvoer.Text & 
vbCrLf & "Bot: " & temptxt2
pp.stopPreludeEngine()
txtInvoer.Text = ""
txtGesprek2.Select(txtGesprek2.Text.Length, 0)
txtGesprek2.ScrollToCaret()

Original issue reported on code.google.com by vangrams...@gmail.com on 25 Jan 2011 at 2:32