Sorry if this is a dumb question, however it's something I don't yet
understand.
I tried creating a corpus file with a series literal names in it:
tell andrew smith
tell bob jones
tell kari newhouse
The problem i'm having is that the language model, created from lmtool3,
respondes with things like "andrew andrew" or "bob newhouse". My goal is to
only match an entire string and not have a mix and match. Is that possible?
Thanks, Andrew
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Andrew, I use grammars that I generate from a database for the tasks like the
one you described in your post. My experiences have been very good using
grammars. Below is an example I created from your example above which includes
a bit more thn your example. You can read all of the details about grammar
writing at http://www.w3.org/TR/jsgf/
EXAMPLE -
JSGF V1.0;
grammar verb_so_and_so ;
public <tell_so_and_so> = <verb> <first_name> ; </first_name></verb></tell_so_and_so>
<verb> = tell | (say to) | inform ; </verb>
<first_name> = andrew | bob | kari ; </first_name>
<surname> = smith | jones | newhouse; </surname>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry if this is a dumb question, however it's something I don't yet
understand.
I tried creating a corpus file with a series literal names in it:
tell andrew smith
tell bob jones
tell kari newhouse
The problem i'm having is that the language model, created from lmtool3,
respondes with things like "andrew andrew" or "bob newhouse". My goal is to
only match an entire string and not have a mix and match. Is that possible?
Thanks, Andrew
Andrew, I use grammars that I generate from a database for the tasks like the
one you described in your post. My experiences have been very good using
grammars. Below is an example I created from your example above which includes
a bit more thn your example. You can read all of the details about grammar
writing at http://www.w3.org/TR/jsgf/
EXAMPLE -
JSGF V1.0;
grammar verb_so_and_so ;
public <tell_so_and_so> = <verb> <first_name> ; </first_name></verb></tell_so_and_so>
<verb> = tell | (say to) | inform ; </verb>
<first_name> = andrew | bob | kari ; </first_name>
<surname> = smith | jones | newhouse; </surname>
Perfect, thanks!