Package edu.cmu.sphinx.jsgf.rule

Examples of edu.cmu.sphinx.jsgf.rule.JSGFRuleTag


            resolveRule(((JSGFRuleCount) r).getRule());
            return;
        }

        if (r instanceof JSGFRuleTag) {
            JSGFRuleTag rt = (JSGFRuleTag) r;

            JSGFRule rule = rt.getRule();
            String ruleStr = rule.toString();

            // add the tag the tag-table
            Collection<String> tags = ruleTags.get(ruleStr);
            if (tags == null) {
                tags = new HashSet<String>();
                ruleTags.put(ruleStr, tags);
            }
            tags.add(rt.getTag());

            resolveRule(rule);
            return;
        }
View Full Code Here

TOP

Related Classes of edu.cmu.sphinx.jsgf.rule.JSGFRuleTag

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.