Hi all,

I need help with ComLib - anton (Great Job!), I have played with the
demo (speech.r) and i am very interested
to play with MS speech recognition. Since i don't understand other
programming language like C, i'm a little stuck
with API. and there's no tutorial for comlib.

can anybody provide me small sample to begin with? so maybe i can extend it?
i just need rebol to get the recognized phrase returned from 'spPhrase'
from SAPI
(i have MS Speech SDK 5.1)

i think it should resemble like this.

COMLib: do %COMLib.r
if error? set/any 'error try [
    COMLib/initialize
    ;do/args %../COMLib.r
    do bind [
    sr: make object! [
        init: func [][
            sprcg: CreateObject "Sapi.spSharedRecognizer"
            .
            .
            .           
            ]
        addwords: func[][
                .
                .
                ]
           
        recognized? [do ...]
           
        ]
    ]
    ] COMLib/api

][
    print mold disarm error
]


Thanks all.
irza pulungan.
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to