This repository has been archived by the owner on Jun 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Greatly optimize the number of states in FSG created from JSGF
by avoiding new unnecessary nodes. See for details https://sourceforge.net/p/cmusphinx/bugs/358/ Patch by Steven J. Boswell II git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@12042 94700074-3cef-4d97-a70e-9c8c206c02f5
- Loading branch information
nshmyrev
committed
Nov 10, 2013
1 parent
bfacd64
commit e59cac4
Showing
7 changed files
with
189 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,24 @@ | ||
FSG_BEGIN <test.command> | ||
NUM_STATES 33 | ||
NUM_STATES 10 | ||
START_STATE 0 | ||
FINAL_STATE 1 | ||
TRANSITION 0 2 1.000000 | ||
TRANSITION 2 4 1.000000 | ||
TRANSITION 3 14 1.000000 | ||
TRANSITION 4 7 0.200004 oh | ||
TRANSITION 4 10 0.200004 could | ||
TRANSITION 4 12 0.200004 kindly | ||
TRANSITION 4 13 0.200004 please | ||
TRANSITION 4 6 0.200004 | ||
TRANSITION 5 3 1.000000 | ||
TRANSITION 6 5 1.000000 | ||
TRANSITION 7 8 1.000000 mighty | ||
TRANSITION 8 9 1.000000 computer | ||
TRANSITION 9 5 1.000000 | ||
TRANSITION 10 11 1.000000 you | ||
TRANSITION 11 5 1.000000 | ||
TRANSITION 12 5 1.000000 | ||
TRANSITION 13 5 1.000000 | ||
TRANSITION 14 20 0.500041 | ||
TRANSITION 14 16 0.500041 | ||
TRANSITION 15 24 1.000000 | ||
TRANSITION 16 18 0.500041 stop | ||
TRANSITION 16 19 0.500041 stop | ||
TRANSITION 17 15 1.000000 | ||
TRANSITION 18 17 1.000000 | ||
TRANSITION 19 16 1.000000 | ||
TRANSITION 19 17 1.000000 | ||
TRANSITION 20 23 0.500041 go | ||
TRANSITION 20 22 0.500041 | ||
TRANSITION 21 15 1.000000 | ||
TRANSITION 22 21 1.000000 | ||
TRANSITION 23 20 1.000000 | ||
TRANSITION 23 21 1.000000 | ||
TRANSITION 24 26 1.000000 | ||
TRANSITION 25 1 1.000000 | ||
TRANSITION 26 29 0.250016 thank | ||
TRANSITION 26 31 0.250016 thanks | ||
TRANSITION 26 32 0.250016 please | ||
TRANSITION 26 28 0.250016 | ||
TRANSITION 27 25 1.000000 | ||
TRANSITION 28 27 1.000000 | ||
TRANSITION 29 30 1.000000 you | ||
TRANSITION 30 27 1.000000 | ||
TRANSITION 31 27 1.000000 | ||
TRANSITION 32 27 1.000000 | ||
FINAL_STATE 8 | ||
TRANSITION 0 1 0.200004 please | ||
TRANSITION 0 1 0.200004 kindly | ||
TRANSITION 0 2 0.200004 oh | ||
TRANSITION 0 4 0.200004 could | ||
TRANSITION 0 1 0.200004 | ||
TRANSITION 1 5 0.500041 stop | ||
TRANSITION 1 6 0.500041 stop | ||
TRANSITION 1 7 0.500041 go | ||
TRANSITION 1 5 0.500041 | ||
TRANSITION 2 3 1.000000 mighty | ||
TRANSITION 3 1 1.000000 computer | ||
TRANSITION 4 1 1.000000 you | ||
TRANSITION 5 8 0.250016 please | ||
TRANSITION 5 8 0.250016 thanks | ||
TRANSITION 5 9 0.250016 thank | ||
TRANSITION 5 8 0.250016 | ||
TRANSITION 6 1 1.000000 | ||
TRANSITION 7 1 1.000000 | ||
TRANSITION 9 8 1.000000 you | ||
FSG_END |
Oops, something went wrong.