├── doc ├── .#sclite.1 ├── .#options.htm ├── det.png ├── bhist.png ├── hist.png ├── equation.jpg ├── grange.spk.png ├── grange.sys.png ├── grange2.spk.png ├── grange2.sys.png ├── rover │ ├── rover.htm │ ├── image1.gif │ ├── image10.gif │ ├── image11.gif │ ├── image2.gif │ ├── image3.gif │ ├── image4.gif │ ├── image5.gif │ ├── image6.gif │ ├── image7.gif │ ├── image8.gif │ ├── image9.gif │ └── reformat.sh ├── rover-sample.png ├── trans_rules │ └── ma970904.glm ├── env_vari.txt ├── readme.txt ├── makefile ├── images_src │ └── equation.tex └── mcn.htm ├── src ├── sclite │ ├── testdata │ │ ├── base │ │ │ ├── test1.err │ │ │ ├── test1.out │ │ │ ├── test10.err │ │ │ ├── test10.out │ │ │ ├── test10_1.err │ │ │ ├── test10_1.out │ │ │ ├── test11.err │ │ │ ├── test11.out │ │ │ ├── test12.err │ │ │ ├── test12.out │ │ │ ├── test13.err │ │ │ ├── test13.out │ │ │ ├── test13_D.err │ │ │ ├── test13_D.out │ │ │ ├── test13_a.err │ │ │ ├── test13_a.out │ │ │ ├── test13_aD.err │ │ │ ├── test13_aD.out │ │ │ ├── test14_a.err │ │ │ ├── test14_a.out │ │ │ ├── test14_b.err │ │ │ ├── test14_b.out │ │ │ ├── test14_c.err │ │ │ ├── test14_c.out │ │ │ ├── test14_d.err │ │ │ ├── test14_d.out │ │ │ ├── test14_e.err │ │ │ ├── test14_e.out │ │ │ ├── test15_a.err │ │ │ ├── test15_a.out │ │ │ ├── test15_b.err │ │ │ ├── test15_b.out │ │ │ ├── test15_c.err │ │ │ ├── test15_c.out │ │ │ ├── test15_d.err │ │ │ ├── test15_d.out │ │ │ ├── test16_1.out │ │ │ ├── test16_2.out │ │ │ ├── test16_3.out │ │ │ ├── test16_4.out │ │ │ ├── test16_5.out │ │ │ ├── test16_6.out │ │ │ ├── test16_7.out │ │ │ ├── test16_8.out │ │ │ ├── test16_9.err │ │ │ ├── test16_9.out │ │ │ ├── test17.err │ │ │ ├── test17.out │ │ │ ├── test1a.err │ │ │ ├── test1a.out │ │ │ ├── test1b.err │ │ │ ├── test1b.out │ │ │ ├── test1c.err │ │ │ ├── test1c.out │ │ │ ├── test1d.err │ │ │ ├── test1d.out │ │ │ ├── test1e.err │ │ │ ├── test1e.out │ │ │ ├── test2.out │ │ │ ├── test3.err │ │ │ ├── test3.out │ │ │ ├── test3a.err │ │ │ ├── test3a.out │ │ │ ├── test3b.err │ │ │ ├── test3b.out │ │ │ ├── test3c.err │ │ │ ├── test3c.out │ │ │ ├── test4.out │ │ │ ├── test5.out │ │ │ ├── test6.err │ │ │ ├── test6.out │ │ │ ├── test7.err │ │ │ ├── test7.out │ │ │ ├── test7_1.err │ │ │ ├── test7_1.out │ │ │ ├── test7_2.err │ │ │ ├── test7_2.out │ │ │ ├── test7_2a.err │ │ │ ├── test7_2a.out │ │ │ ├── test7_3.err │ │ │ ├── test7_3.out │ │ │ ├── test7_4.err │ │ │ ├── test7_4.out │ │ │ ├── test7_5.err │ │ │ ├── test7_5.out │ │ │ ├── test7_6.err │ │ │ ├── test7_6.out │ │ │ ├── test7_noD.err │ │ │ ├── test7_noD.out │ │ │ ├── test7_r.err │ │ │ ├── test7_r.out │ │ │ ├── test8.err │ │ │ ├── test8.out │ │ │ ├── test9.err │ │ │ ├── test9.out │ │ │ ├── test9_1.err │ │ │ ├── test9_1.out │ │ │ ├── test7-utf8-2bytes.err │ │ │ ├── test7-utf8-2bytes.out │ │ │ ├── test7-utf8-3bytes.err │ │ │ ├── test7-utf8-3bytes.out │ │ │ ├── test7-utf8-4bytes.err │ │ │ ├── test7-utf8-4bytes.out │ │ │ ├── test1a.com │ │ │ ├── test2.com │ │ │ ├── test2.err │ │ │ ├── test4.err │ │ │ ├── test5.err │ │ │ ├── test6.pra │ │ │ ├── test9.dtl │ │ │ ├── test9.pra │ │ │ ├── test9.prf │ │ │ ├── test10.pra │ │ │ ├── test10.prf │ │ │ ├── test11.pra │ │ │ ├── test12.pra │ │ │ ├── test1d.com │ │ │ ├── test3b.com │ │ │ ├── test3c.com │ │ │ ├── test9_1.pra │ │ │ ├── test10_1.pra │ │ │ ├── test3.com │ │ │ ├── test16_8.err │ │ │ ├── test3a.com │ │ │ ├── test1b.com │ │ │ ├── test1c.com │ │ │ ├── test1.com │ │ │ ├── test15_a.com │ │ │ ├── test16_9.com │ │ │ ├── test16_1.com │ │ │ ├── test16_4.err │ │ │ ├── test16_5.err │ │ │ ├── test16_7.err │ │ │ ├── test1e.com │ │ │ ├── test16_2.com │ │ │ ├── test16_3.com │ │ │ ├── test16_6.com │ │ │ ├── test15_b.com │ │ │ ├── test15_c.com │ │ │ ├── test15_d.com │ │ │ ├── test16_4.com │ │ │ ├── test16_5.com │ │ │ ├── test16_7.com │ │ │ ├── test16_8.com │ │ │ ├── test17.com │ │ │ ├── test16_1.err │ │ │ ├── test7-utf8-2bytes.com │ │ │ ├── test7-utf8-3bytes.com │ │ │ ├── test7-utf8-4bytes.com │ │ │ ├── test16_6.err │ │ │ ├── test16_3.err │ │ │ ├── test16_2.err │ │ │ └── test15_a.pra │ │ ├── base_sc_stats │ │ │ ├── test1a.err │ │ │ ├── test1b.err │ │ │ ├── test1a.out │ │ │ └── test1b.out │ │ ├── stm2ctm_missing.hyp-missall.ctm │ │ ├── mand.lex │ │ ├── csrnab_r.blm │ │ ├── mand_hyp.ctm │ │ ├── mand_ref.stm │ │ ├── tests.hyp.utf8-5bytes │ │ ├── tests.hyp.utf8-6bytes │ │ ├── tests.ref.utf8-5bytes │ │ ├── tests.ref.utf8-6bytes │ │ ├── tests.lex │ │ ├── test.turkish.hyp │ │ ├── test.turkish.ref │ │ ├── test.cantonese.stm │ │ ├── demo.hyp.txt │ │ ├── demo.ref.txt │ │ ├── csrnab1.hyp │ │ ├── csrnab1.ref │ │ ├── build_lm.sh │ │ ├── test.ukranian.hyp │ │ ├── test.ukranian.ref │ │ ├── lvc_refm.stm │ │ └── stm2ctm_missing.hyp-missfile2.ctm │ ├── slm_v2 │ │ ├── doc │ │ │ └── toolkit_framework.gif │ │ └── endian.sh │ ├── booldef.h │ ├── mcnemar.c │ ├── pad.h │ ├── slm_intf.h │ ├── arcseq1.c │ ├── wtokeini.c │ ├── sign.c │ ├── sgml.h │ ├── boolpr1.c │ ├── cores.h │ ├── llist.h │ ├── marc1.c │ ├── killarc1.c │ ├── utf-8-aux │ │ └── script_parse_codepoints.sh │ └── rsprintf.c ├── md-eval │ ├── test │ │ ├── md_test1.output.saved.log │ │ ├── md_test12.output.saved.log │ │ ├── md_test17.output.saved.log │ │ ├── md_test18.output.saved.log │ │ ├── md_test19.output.saved.log │ │ ├── md_test20.output.saved.log │ │ ├── md_test24.output.saved.log │ │ ├── md_test25.output.saved.log │ │ ├── md_test26.output.saved.log │ │ ├── md_test27.output.saved.log │ │ ├── md_test28.output.saved.log │ │ ├── md_test3.output.saved.log │ │ ├── md_test30.output.saved.log │ │ ├── md_test4.output.saved.log │ │ ├── md_test5.output.saved.log │ │ ├── md_test7.output.saved.log │ │ ├── md_test8.output.saved.log │ │ ├── sd_test1.output.saved.log │ │ ├── sd_test2.output.saved.log │ │ ├── sd_test3.output.saved.log │ │ ├── sd_test4.output.saved.log │ │ ├── md_test_greg.output.saved.log │ │ ├── md_test1.uem │ │ ├── md_test10.uem │ │ ├── md_test11.uem │ │ ├── md_test12.uem │ │ ├── md_test13.uem │ │ ├── md_test14.uem │ │ ├── md_test18.uem │ │ ├── md_test19.uem │ │ ├── md_test2.uem │ │ ├── md_test20.uem │ │ ├── md_test22a.uem │ │ ├── md_test29.uem │ │ ├── md_test3.uem │ │ ├── md_test30.uem │ │ ├── md_test5.uem │ │ ├── md_test6.uem │ │ ├── md_test8.uem │ │ ├── md_test9.uem │ │ ├── sd_test2.uem │ │ ├── sd_test3.uem │ │ ├── sd_test6.uem │ │ ├── md_test24.uem │ │ ├── md_test7.uem │ │ ├── sd_test4.uem │ │ ├── md_test21.uem │ │ ├── md_test23.uem │ │ ├── md_test25.uem │ │ ├── md_test_greg.uem │ │ ├── md_test15.uem │ │ ├── md_test16.uem │ │ ├── md_test17.uem │ │ ├── sd_test1.uem │ │ ├── md_test4.uem │ │ ├── md_test29.output.saved.log │ │ ├── sd_test6.output.saved.log │ │ ├── md_test2.output.saved.log │ │ ├── md_test10.output.saved.log │ │ ├── md_test11.output.saved.log │ │ ├── md_test14.output.saved.log │ │ ├── md_test15.output.saved.log │ │ ├── md_test16.output.saved.log │ │ ├── md_test9.output.saved.log │ │ ├── md_test13.output.saved.log │ │ ├── md_test22a.output.saved.log │ │ ├── md_test23.output.saved.log │ │ ├── md_test6.output.saved.log │ │ ├── md_test28.uem │ │ ├── md_test26.uem │ │ ├── md_test27.uem │ │ └── md_test21.output.saved.log │ └── makefile.in ├── rttmValidator │ ├── test_suite │ │ ├── test01.log.saved │ │ ├── test25.log.saved │ │ ├── test30.rttm.toskip │ │ ├── test31.rttm.toskip │ │ ├── test34.rttm.toskip │ │ ├── test35.rttm.toskip │ │ ├── test36.log.saved │ │ ├── test16.log.saved │ │ ├── test17.log.saved │ │ ├── test18.log.saved │ │ ├── test19.log.saved │ │ ├── test24.log.saved │ │ ├── test03.log.saved │ │ ├── test26.log.saved │ │ ├── test28.log.saved │ │ ├── test22.log.saved │ │ ├── test27.log.saved │ │ ├── test29.log.saved │ │ ├── test11.log.saved │ │ ├── test20.log.saved │ │ ├── test21.log.saved │ │ ├── test02.log.saved │ │ ├── test10.log.saved │ │ ├── test08.log.saved │ │ ├── test14.log.saved │ │ ├── test09.log.saved │ │ ├── test15.log.saved │ │ ├── test13.log.saved │ │ ├── test33.log.saved │ │ ├── test34.log.saved │ │ ├── test23.log.saved │ │ ├── test35.log.saved │ │ ├── test30.log.saved │ │ ├── test31.log.saved │ │ ├── test12.log.saved │ │ ├── test05.log.saved │ │ ├── test06.log.saved │ │ ├── test07.log.saved │ │ ├── test32.log.saved │ │ ├── test01.rttm │ │ ├── test10.rttm │ │ ├── test03.rttm │ │ ├── test14.rttm │ │ ├── test15.rttm │ │ ├── test25.rttm │ │ ├── test02.rttm │ │ ├── test19.rttm │ │ ├── test08.rttm │ │ ├── test05.rttm │ │ ├── test09.rttm │ │ ├── test11.rttm │ │ ├── test13.rttm │ │ ├── test20.rttm │ │ ├── test21.rttm │ │ ├── test33.rttm │ │ ├── test12.rttm │ │ ├── test18.rttm │ │ ├── test22.rttm │ │ ├── test07.rttm │ │ ├── test16.rttm │ │ ├── test17.rttm │ │ ├── test36.rttm │ │ ├── test06.rttm │ │ └── test24.rttm │ └── makefile.in ├── hubscr │ ├── test2-sastt.base │ │ ├── sastt-case2.sys.rttm.filt.sbhist.dat │ │ ├── sastt-case2.sys.rttm.filt.alignments │ │ │ └── images │ │ │ │ ├── white_dk.gif │ │ │ │ └── white_lt.gif │ │ ├── sastt-case2.sys.rttm.filt.det.dat.00 │ │ ├── sastt-case2.sys.rttm.filt.mdeval.spkrmap │ │ ├── sastt-case2.sys.rttm.filt.sbhist.plt │ │ ├── sastt-case2.sys.rttm.filt.hist.plt │ │ ├── log │ │ ├── sastt-case2.sys.rttm.filt.det.plt │ │ ├── sastt-case2.sys.rttm │ │ └── sastt-case2.sys.rttm.filt │ ├── test1.base │ │ ├── Ensemble.grange2.sys.mean │ │ ├── Ensemble.grange2.sys.median │ │ ├── Ensemble.grange2.spk.mean │ │ ├── Ensemble.grange2.spk.median │ │ ├── Ensemble.grange2.sys.dat │ │ ├── Ensemble.grange2.spk.dat │ │ ├── Ensemble.grange2.spk.plt │ │ ├── Ensemble.grange2.sys.plt │ │ ├── Ensemble.res │ │ └── Ensemble.es │ ├── test1-notag-a.base │ │ ├── Ensemble.grange2.sys.mean │ │ ├── Ensemble.grange2.sys.median │ │ ├── Ensemble.grange2.spk.mean │ │ ├── Ensemble.grange2.spk.median │ │ ├── Ensemble.grange2.sys.dat │ │ ├── Ensemble.grange2.spk.dat │ │ ├── Ensemble.grange2.spk.plt │ │ ├── Ensemble.res │ │ ├── Ensemble.es │ │ └── Ensemble.grange2.sys.plt │ ├── test1-notag.base │ │ ├── Ensemble.grange2.sys.mean │ │ ├── Ensemble.grange2.sys.median │ │ ├── Ensemble.grange2.spk.mean │ │ ├── Ensemble.grange2.spk.median │ │ ├── Ensemble.grange2.sys.dat │ │ ├── Ensemble.grange2.spk.dat │ │ ├── Ensemble.grange2.spk.plt │ │ ├── Ensemble.res │ │ ├── Ensemble.es │ │ └── Ensemble.grange2.sys.plt │ ├── test1-sastt.base │ │ ├── sastt-case1.sys.rttm.filt.alignments │ │ │ └── images │ │ │ │ ├── white_dk.gif │ │ │ │ └── white_lt.gif │ │ ├── sastt-case1.sys.rttm.filt.mdeval.spkrmap │ │ └── log │ ├── testArb.base │ │ └── test.arb2004.glm │ └── makefile.in ├── stmValidator │ ├── test_suite │ │ ├── test01.log.saved │ │ ├── test02.stm │ │ ├── test01.stm │ │ └── RunTest.sh │ └── makefile.in ├── asclite │ ├── testfiles │ │ ├── isgbug-work.ctm │ │ ├── isg1.uem │ │ ├── isg3.uem │ │ ├── isg4.uem │ │ ├── isgbug-fail.ctm │ │ ├── isg2.uem │ │ ├── sastt.ref.stm │ │ ├── basic.trn │ │ ├── stmctm.stm │ │ ├── rttmstm.stm │ │ ├── sastt.map.csv │ │ ├── basic.stm │ │ ├── test12.mdalign.csv │ │ ├── overlap.correct.stm │ │ ├── overlap.stm │ │ ├── stmctm.ctm │ │ ├── overlap.correct.ctm │ │ ├── scliteCompatTestOutDir │ │ │ ├── CT-basic.sgml │ │ │ └── CT-rttmstm-i-x-x.sgml │ │ ├── generic-1.rttm │ │ ├── sastt.ref.rttm │ │ ├── sastt.sys.rttm │ │ └── overlap.ctm │ ├── test │ │ └── config.in │ ├── core │ │ ├── lzma │ │ │ └── Alloc.h │ │ └── id.cpp │ └── makefile ├── chfilt │ └── chfilt.pl ├── def_art │ ├── def_art.pl │ └── makefile.in ├── test_suite │ ├── test.man.stm │ ├── test.man.utf │ ├── test.man2004.glm │ ├── test.man2004.txt │ ├── test.trn.in │ ├── test.trn.out │ ├── test.trn.-dh.out │ ├── test.man2004.txt.stm │ ├── test.man2004.txt.rfilter1 │ ├── test_ctm.errors.out │ ├── test.cantonese.stm │ ├── test.cantonese.stm.rfilter1 │ ├── example.utm │ ├── test.cantonese.glm │ ├── test.txt │ ├── testmss.in │ ├── test.eng.notrans.stm │ ├── testmss.stm │ ├── test.eng.stm │ ├── testmss.numbers.stm │ ├── test.arb2004.glm │ ├── test.txt.-contexp.stm │ ├── test.stm.out │ ├── test.txt.-optdel.stm │ ├── test.stm.-dh.out │ ├── test.txt.stm │ ├── test.stm.in │ ├── test.eng.utf │ ├── test.rttm.in │ ├── test.rttm.out │ ├── test.rttm.-dh.out │ ├── test_ctm.in │ ├── test_ctm.errors.in │ ├── sastt-case2.sys.rttm │ └── sastt-case2.sys.rttm.filt ├── align2html │ ├── images │ │ ├── white_dk.gif │ │ └── white_lt.gif │ └── makefile.in ├── utf_filt │ └── config.in ├── rfilter1 │ └── include │ │ ├── ssstr1.h │ │ ├── booldef.h │ │ ├── frstr1.c │ │ ├── hparstr1.h │ │ ├── gdatadef.h │ │ ├── prtrim2.c │ │ ├── prtrim.c │ │ ├── stdpars.h │ │ ├── str_eq.c │ │ ├── textlen.c │ │ ├── mupper.c │ │ ├── del_eol.c │ │ ├── strcutr.c │ │ ├── atobool.c │ │ ├── calloc2.c │ │ ├── boolpr1.c │ │ ├── gcomflag.c │ │ ├── strdup2.c │ │ ├── pltrim.c │ │ ├── ss_len.c │ │ ├── valdata.c │ │ └── pltrimf.c ├── ctmValidator │ └── makefile.in ├── rttm2ctm │ └── makefile.in ├── rttmSort │ └── makefile.in ├── spkr2sad │ └── makefile.in ├── stm2rttm │ └── makefile.in ├── rttmSmooth │ └── makefile.in ├── mergectm2rttm │ └── makefile.in ├── acomp │ └── makefile.in ├── csrfilt │ └── makefile.in └── slatreport │ ├── makefile.in │ └── slatTest.pl ├── Dockerfile └── DISCLAIMER /doc/.#sclite.1: -------------------------------------------------------------------------------- 1 | jon@PN109025.39583 -------------------------------------------------------------------------------- /doc/.#options.htm: -------------------------------------------------------------------------------- 1 | jon@PN109025.42500 -------------------------------------------------------------------------------- /src/sclite/testdata/base/test1.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test1.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test10.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test10.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test10_1.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test10_1.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test11.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test11.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test12.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test12.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test13.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test13.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test13_D.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test13_D.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test13_a.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test13_a.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test13_aD.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test13_aD.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test14_a.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test14_a.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test14_b.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test14_b.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test14_c.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test14_c.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test14_d.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test14_d.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test14_e.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test14_e.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test15_a.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test15_a.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test15_b.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test15_b.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test15_c.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test15_c.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test15_d.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test15_d.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_1.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_2.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_3.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_4.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_5.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_6.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_7.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_8.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_9.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_9.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test17.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test17.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test1a.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test1a.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test1b.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test1b.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test1c.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test1c.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test1d.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test1d.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test1e.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test1e.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test2.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test3.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test3.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test3a.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test3a.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test3b.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test3b.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test3c.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test3c.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test4.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test5.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test6.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test6.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7_1.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7_1.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7_2.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7_2.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7_2a.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7_2a.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7_3.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7_3.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7_4.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7_4.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7_5.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7_5.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7_6.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7_6.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7_noD.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7_noD.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7_r.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7_r.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test8.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test8.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test9.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test9.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test9_1.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test9_1.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test1.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test12.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test17.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test18.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test19.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test20.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test24.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test25.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test26.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test27.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test28.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test3.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test30.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test4.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test5.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test7.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test8.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/sd_test1.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/sd_test2.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/sd_test3.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/sd_test4.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test_greg.output.saved.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test01.log.saved: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test25.log.saved: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test30.rttm.toskip: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test31.rttm.toskip: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test34.rttm.toskip: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test35.rttm.toskip: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test36.log.saved: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7-utf8-2bytes.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7-utf8-2bytes.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7-utf8-3bytes.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7-utf8-3bytes.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7-utf8-4bytes.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7-utf8-4bytes.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base_sc_stats/test1a.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/base_sc_stats/test1b.err: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sclite/testdata/stm2ctm_missing.hyp-missall.ctm: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test1.uem: -------------------------------------------------------------------------------- 1 | md_test1 1 10.0 21.0 2 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test10.uem: -------------------------------------------------------------------------------- 1 | md_test10 1 10.0 26.0 2 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test11.uem: -------------------------------------------------------------------------------- 1 | md_test11 1 10.0 26.0 2 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test12.uem: -------------------------------------------------------------------------------- 1 | md_test12 1 9.0 30.0 2 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test13.uem: -------------------------------------------------------------------------------- 1 | md_test13 1 10.0 21.0 2 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test14.uem: -------------------------------------------------------------------------------- 1 | md_test14 1 10.0 21.0 2 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test18.uem: -------------------------------------------------------------------------------- 1 | md_test18 1 10.0 28.0 2 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test19.uem: -------------------------------------------------------------------------------- 1 | md_test19 1 10.0 29.0 2 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test2.uem: -------------------------------------------------------------------------------- 1 | md_test2 1 10.0 21.99 2 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test20.uem: -------------------------------------------------------------------------------- 1 | md_test20 1 10.0 21.0 2 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test22a.uem: -------------------------------------------------------------------------------- 1 | md_test22a 1 10.0 21.0 2 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test29.uem: -------------------------------------------------------------------------------- 1 | md_test29 1 10.0 21.0 2 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test3.uem: -------------------------------------------------------------------------------- 1 | md_test3 1 10.0 22.00 2 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test30.uem: -------------------------------------------------------------------------------- 1 | md_test30 1 10.0 21.0 2 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test5.uem: -------------------------------------------------------------------------------- 1 | md_test5 1 10.0 22.0 2 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test6.uem: -------------------------------------------------------------------------------- 1 | md_test6 1 10.0 21.0 2 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test8.uem: -------------------------------------------------------------------------------- 1 | md_test8 1 10.0 21.0 2 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test9.uem: -------------------------------------------------------------------------------- 1 | md_test9 1 10.0 26.0 2 | -------------------------------------------------------------------------------- /src/md-eval/test/sd_test2.uem: -------------------------------------------------------------------------------- 1 | sd_test2 1 10.0 24.0 2 | -------------------------------------------------------------------------------- /src/md-eval/test/sd_test3.uem: -------------------------------------------------------------------------------- 1 | sd_test3 1 10.0 24.0 2 | -------------------------------------------------------------------------------- /src/md-eval/test/sd_test6.uem: -------------------------------------------------------------------------------- 1 | sd_test6 1 10.0 21.0 2 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test24.uem: -------------------------------------------------------------------------------- 1 | md_test24 1 1.0 180.0 2 | 3 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test7.uem: -------------------------------------------------------------------------------- 1 | md_test7 1 1.0 180.0 2 | 3 | -------------------------------------------------------------------------------- /src/hubscr/test2-sastt.base/sastt-case2.sys.rttm.filt.sbhist.dat: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /doc/det.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/det.png -------------------------------------------------------------------------------- /src/stmValidator/test_suite/test01.log.saved: -------------------------------------------------------------------------------- 1 | Validated test01.stm 2 | -------------------------------------------------------------------------------- /doc/bhist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/bhist.png -------------------------------------------------------------------------------- /doc/hist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/hist.png -------------------------------------------------------------------------------- /src/asclite/testfiles/isgbug-work.ctm: -------------------------------------------------------------------------------- 1 | Speech012 0 316.160 0.290 SO 7.07 2 | -------------------------------------------------------------------------------- /src/md-eval/test/sd_test4.uem: -------------------------------------------------------------------------------- 1 | 20010228_2100_2200_MNB_NBW 1 10.795 266.201 2 | -------------------------------------------------------------------------------- /doc/equation.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/equation.jpg -------------------------------------------------------------------------------- /src/hubscr/test1.base/Ensemble.grange2.sys.mean: -------------------------------------------------------------------------------- 1 | 1 59.187017 2 | 2 59.187017 3 | -------------------------------------------------------------------------------- /src/hubscr/test1.base/Ensemble.grange2.sys.median: -------------------------------------------------------------------------------- 1 | 1 51.142571 2 | 2 51.142571 3 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test21.uem: -------------------------------------------------------------------------------- 1 | md_test21 1 10.0 14.0 2 | md_test21 1 16.0 20.9 3 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test23.uem: -------------------------------------------------------------------------------- 1 | md_test23 1 10.0 11.0 2 | md_test23 1 13.0 21.0 3 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test25.uem: -------------------------------------------------------------------------------- 1 | 20010206_1830_1900_ABC_WNT 1 858.694 1101.803 2 | -------------------------------------------------------------------------------- /doc/grange.spk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/grange.spk.png -------------------------------------------------------------------------------- /doc/grange.sys.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/grange.sys.png -------------------------------------------------------------------------------- /doc/grange2.spk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/grange2.spk.png -------------------------------------------------------------------------------- /doc/grange2.sys.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/grange2.sys.png -------------------------------------------------------------------------------- /doc/rover/rover.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/rover/rover.htm -------------------------------------------------------------------------------- /src/hubscr/test1-notag-a.base/Ensemble.grange2.sys.mean: -------------------------------------------------------------------------------- 1 | 1 46.803840 2 | 2 46.803840 3 | -------------------------------------------------------------------------------- /src/hubscr/test1-notag.base/Ensemble.grange2.sys.mean: -------------------------------------------------------------------------------- 1 | 1 46.803840 2 | 2 46.803840 3 | -------------------------------------------------------------------------------- /src/hubscr/test1-notag.base/Ensemble.grange2.sys.median: -------------------------------------------------------------------------------- 1 | 1 50.592885 2 | 2 50.592885 3 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test1a.com: -------------------------------------------------------------------------------- 1 | ../sclite -P -o dtl prf -O out -f 0 -n test1a 2 | -------------------------------------------------------------------------------- /doc/rover-sample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/rover-sample.png -------------------------------------------------------------------------------- /doc/rover/image1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/rover/image1.gif -------------------------------------------------------------------------------- /doc/rover/image10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/rover/image10.gif -------------------------------------------------------------------------------- /doc/rover/image11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/rover/image11.gif -------------------------------------------------------------------------------- /doc/rover/image2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/rover/image2.gif -------------------------------------------------------------------------------- /doc/rover/image3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/rover/image3.gif -------------------------------------------------------------------------------- /doc/rover/image4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/rover/image4.gif -------------------------------------------------------------------------------- /doc/rover/image5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/rover/image5.gif -------------------------------------------------------------------------------- /doc/rover/image6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/rover/image6.gif -------------------------------------------------------------------------------- /doc/rover/image7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/rover/image7.gif -------------------------------------------------------------------------------- /doc/rover/image8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/rover/image8.gif -------------------------------------------------------------------------------- /doc/rover/image9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/rover/image9.gif -------------------------------------------------------------------------------- /src/chfilt/chfilt.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/chfilt/chfilt.pl -------------------------------------------------------------------------------- /src/hubscr/test1-notag-a.base/Ensemble.grange2.sys.median: -------------------------------------------------------------------------------- 1 | 1 50.592885 2 | 2 50.592885 3 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test_greg.uem: -------------------------------------------------------------------------------- 1 | md_test18 1 10.0 28.0 2 | md_test24 1 1.0 180.0 3 | 4 | -------------------------------------------------------------------------------- /src/def_art/def_art.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/def_art/def_art.pl -------------------------------------------------------------------------------- /doc/trans_rules/ma970904.glm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/doc/trans_rules/ma970904.glm -------------------------------------------------------------------------------- /src/md-eval/test/md_test15.uem: -------------------------------------------------------------------------------- 1 | md_test15 1 10.0 16.0 2 | md_test15 1 17.0 19.0 3 | md_test15 1 20.0 21.0 4 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test16.uem: -------------------------------------------------------------------------------- 1 | md_test16 1 10.0 13.0 2 | md_test16 1 15.0 17.0 3 | md_test16 1 19.0 21.0 4 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test17.uem: -------------------------------------------------------------------------------- 1 | md_test17 1 10.0 13.9 2 | md_test17 1 17.1 17.8 3 | md_test17 1 20.1 21.0 4 | -------------------------------------------------------------------------------- /src/md-eval/test/sd_test1.uem: -------------------------------------------------------------------------------- 1 | sd_test1 1 10.0 15.0 2 | sd_test1 1 20.0 24.0 3 | sd_test1 1 26.0 30.0 4 | -------------------------------------------------------------------------------- /src/sclite/testdata/mand.lex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/sclite/testdata/mand.lex -------------------------------------------------------------------------------- /src/test_suite/test.man.stm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/test_suite/test.man.stm -------------------------------------------------------------------------------- /src/test_suite/test.man.utf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/test_suite/test.man.utf -------------------------------------------------------------------------------- /src/asclite/testfiles/isg1.uem: -------------------------------------------------------------------------------- 1 | VT_20051027-1400 1 100.000 108.000 2 | NIST_20061012-1056 1 109.000 114.000 3 | -------------------------------------------------------------------------------- /src/asclite/testfiles/isg3.uem: -------------------------------------------------------------------------------- 1 | VT_20051027-1400 1 101.000 106.600 2 | NIST_20061012-1056 1 110.000 113.000 3 | -------------------------------------------------------------------------------- /src/asclite/testfiles/isg4.uem: -------------------------------------------------------------------------------- 1 | VT_20051027-1400 1 101.000 106.600 2 | NIST_20061012-1056 1 110.000 111.000 3 | -------------------------------------------------------------------------------- /src/asclite/testfiles/isgbug-fail.ctm: -------------------------------------------------------------------------------- 1 | Speech012 0 316.160 0.290 SO 7.07 2 | Speech012 0 316.450 0.160 DO 7.07 3 | -------------------------------------------------------------------------------- /src/hubscr/test1.base/Ensemble.grange2.spk.mean: -------------------------------------------------------------------------------- 1 | 1 43.505477 2 | 2 51.085142 3 | 3 51.200000 4 | 4 90.957447 5 | -------------------------------------------------------------------------------- /src/hubscr/test1.base/Ensemble.grange2.spk.median: -------------------------------------------------------------------------------- 1 | 1 43.505477 2 | 2 51.085142 3 | 3 51.200000 4 | 4 90.957447 5 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test4.uem: -------------------------------------------------------------------------------- 1 | md_test4 1 10.0 22.49 2 | md_test4 1 24.0 27.50 3 | md_test4 1 29.0 30.0 4 | 5 | -------------------------------------------------------------------------------- /src/test_suite/test.man2004.glm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/test_suite/test.man2004.glm -------------------------------------------------------------------------------- /src/test_suite/test.man2004.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/test_suite/test.man2004.txt -------------------------------------------------------------------------------- /src/test_suite/test.trn.in: -------------------------------------------------------------------------------- 1 | a b c-d d e f g-h (f-0) 2 | a b c-d d e f g-h (f-0) 3 | ;;a b c-d d e f g-h (f-0) 4 | -------------------------------------------------------------------------------- /src/test_suite/test.trn.out: -------------------------------------------------------------------------------- 1 | A B C-D D E F G-H (f-0) 2 | A B C-D D E F G-H (f-0) 3 | ;;a b c-d d e f g-h (f-0) 4 | -------------------------------------------------------------------------------- /src/align2html/images/white_dk.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/align2html/images/white_dk.gif -------------------------------------------------------------------------------- /src/align2html/images/white_lt.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/align2html/images/white_lt.gif -------------------------------------------------------------------------------- /src/sclite/testdata/base/test2.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./csrnab.ref -h ./csrnab.hyp -i wsj -o all -O out -f 0 -n test2 -d 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test2.err: -------------------------------------------------------------------------------- 1 | Warning: Alternates in reference texts removed in favor of the first alternate. 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test4.err: -------------------------------------------------------------------------------- 1 | Warning: Alternates in reference texts removed in favor of the first alternate. 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test5.err: -------------------------------------------------------------------------------- 1 | Warning: Alternates in reference texts removed in favor of the first alternate. 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test6.pra: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/sclite/testdata/base/test6.pra -------------------------------------------------------------------------------- /src/sclite/testdata/base/test9.dtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/sclite/testdata/base/test9.dtl -------------------------------------------------------------------------------- /src/sclite/testdata/base/test9.pra: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/sclite/testdata/base/test9.pra -------------------------------------------------------------------------------- /src/sclite/testdata/base/test9.prf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/sclite/testdata/base/test9.prf -------------------------------------------------------------------------------- /src/sclite/testdata/csrnab_r.blm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/sclite/testdata/csrnab_r.blm -------------------------------------------------------------------------------- /src/sclite/testdata/mand_hyp.ctm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/sclite/testdata/mand_hyp.ctm -------------------------------------------------------------------------------- /src/sclite/testdata/mand_ref.stm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/sclite/testdata/mand_ref.stm -------------------------------------------------------------------------------- /src/test_suite/test.trn.-dh.out: -------------------------------------------------------------------------------- 1 | A B C D D E F G H (f-0) 2 | A B C D D E F G H (f-0) 3 | ;;a b c-d d e f g-h (f-0) 4 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test16.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: SU at 0.670 contains no words; see line 8 2 | Validation aborted 3 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test17.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: SU at 0.670 contains no words; see line 8 2 | Validation aborted 3 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test18.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: SU at 0.670 contains no words; see line 6 2 | Validation aborted 3 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test19.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: SU at 0.670 contains no words; see line 6 2 | Validation aborted 3 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test24.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: SU at 0.670 contains no words; see line 8 2 | Validation aborted 3 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test10.pra: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/sclite/testdata/base/test10.pra -------------------------------------------------------------------------------- /src/sclite/testdata/base/test10.prf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/sclite/testdata/base/test10.prf -------------------------------------------------------------------------------- /src/sclite/testdata/base/test11.pra: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/sclite/testdata/base/test11.pra -------------------------------------------------------------------------------- /src/sclite/testdata/base/test12.pra: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/sclite/testdata/base/test12.pra -------------------------------------------------------------------------------- /src/sclite/testdata/base/test1d.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./csrnab.ref -h ./csrnab.hyp -i wsj -o nl.sgml -O out -f 0 -n test1d 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test3b.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./lvc_ref.stm stm -h ./lvc_hypc.ctm ctm -o sum -O out -f 0 -n test3b 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test3c.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./lvc_refm.stm stm -h ./lvc_hypm.ctm ctm -o lur -O out -f 0 -n test3c 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test9_1.pra: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/sclite/testdata/base/test9_1.pra -------------------------------------------------------------------------------- /src/test_suite/test.man2004.txt.stm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/test_suite/test.man2004.txt.stm -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test03.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: Invalid RTTM type 'LEX'; see field (0) in line 8 2 | Validation aborted 3 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test10_1.pra: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/sclite/testdata/base/test10_1.pra -------------------------------------------------------------------------------- /src/sclite/testdata/base/test3.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./lvc_ref.stm stm -h ./lvc_hyp.ctm ctm -o all lur prf -O out -f 0 -n test3 2 | -------------------------------------------------------------------------------- /src/hubscr/test1-notag.base/Ensemble.grange2.spk.mean: -------------------------------------------------------------------------------- 1 | 1 0.000000 2 | 2 43.146417 3 | 3 50.592885 4 | 4 50.918197 5 | 5 89.361702 6 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test26.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: EDIT at 3.820 doesn't have a matching IP; see line 17 2 | Validation aborted 3 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test28.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: EDIT at 3.820 doesn't have a matching IP; see line 16 2 | Validation aborted 3 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_8.err: -------------------------------------------------------------------------------- 1 | align_ctm_to_stm: Hyp files ends before ref but continuing for ref file/channel '3129' 'b'. 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test3a.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./lvc_refe.stm stm -h ./lvc_hyp.ctm ctm -o all lur prf -O out -f 0 -n test3a 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/tests.hyp.utf8-5bytes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/sclite/testdata/tests.hyp.utf8-5bytes -------------------------------------------------------------------------------- /src/sclite/testdata/tests.hyp.utf8-6bytes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/sclite/testdata/tests.hyp.utf8-6bytes -------------------------------------------------------------------------------- /src/sclite/testdata/tests.ref.utf8-5bytes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/sclite/testdata/tests.ref.utf8-5bytes -------------------------------------------------------------------------------- /src/sclite/testdata/tests.ref.utf8-6bytes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/sclite/testdata/tests.ref.utf8-6bytes -------------------------------------------------------------------------------- /src/test_suite/test.man2004.txt.rfilter1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/test_suite/test.man2004.txt.rfilter1 -------------------------------------------------------------------------------- /src/hubscr/test1-notag-a.base/Ensemble.grange2.spk.mean: -------------------------------------------------------------------------------- 1 | 1 0.000000 2 | 2 43.146417 3 | 3 50.592885 4 | 4 50.918197 5 | 5 89.361702 6 | -------------------------------------------------------------------------------- /src/hubscr/test1-notag-a.base/Ensemble.grange2.spk.median: -------------------------------------------------------------------------------- 1 | 1 0.000000 2 | 2 43.146417 3 | 3 50.592885 4 | 4 50.918197 5 | 5 89.361702 6 | -------------------------------------------------------------------------------- /src/hubscr/test1-notag.base/Ensemble.grange2.spk.median: -------------------------------------------------------------------------------- 1 | 1 0.000000 2 | 2 43.146417 3 | 3 50.592885 4 | 4 50.918197 5 | 5 89.361702 6 | -------------------------------------------------------------------------------- /src/hubscr/test1.base/Ensemble.grange2.sys.dat: -------------------------------------------------------------------------------- 1 | 1 51.200000 43.505477 90.957447 51.085142 2 | 2 51.200000 43.505477 90.957447 51.085142 3 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test22.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: Word at 0.000 doesn't belong to any SU object; see line 7 2 | Validation aborted 3 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test27.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: FILLER at 5.210 doesn't have a matching IP; see line 23 2 | Validation aborted 3 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test29.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: FILLER at 4.210 doesn't have a matching IP; see line 21 2 | Validation aborted 3 | -------------------------------------------------------------------------------- /src/sclite/slm_v2/doc/toolkit_framework.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/sclite/slm_v2/doc/toolkit_framework.gif -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test11.log.saved: -------------------------------------------------------------------------------- 1 | WARNING: Invalid orthography with SCTK Extensions for LEXEME; see field (6) '15' in line 10 2 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test20.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: Word at 0.570 is partially covered by SU object; see line 7 2 | Validation aborted 3 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test21.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: Word at 3.230 is partially covered by SU object; see line 15 2 | Validation aborted 3 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test1b.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./csrnab.ref -h ./csrnab.hyp -i wsj -L ./csrnab_r.blm -o sum wws prf -O out -f 0 -n test1b 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test1c.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./csrnab.ref -h ./csrnab.hyp -i wsj -w ./csrnab_r.wwl -o wws prf -O out -f 0 -n test1c 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test1.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./csrnab.ref -h ./csrnab.hyp -i wsj -o all snt spk dtl prf sgml nl.sgml -O out -f 0 -n test1 2 | -------------------------------------------------------------------------------- /src/asclite/testfiles/isg2.uem: -------------------------------------------------------------------------------- 1 | VT_20051027-1400 1 101.000 106.600 2 | NIST_20061012-1056 1 110.000 111.000 3 | NIST_20061012-1056 1 112.000 113.000 4 | -------------------------------------------------------------------------------- /src/hubscr/test1.base/Ensemble.grange2.spk.dat: -------------------------------------------------------------------------------- 1 | 1 43.505477 43.505477 2 | 2 51.085142 51.085142 3 | 3 51.200000 51.200000 4 | 4 90.957447 90.957447 5 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test15_a.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./test.cantonese.stm stm -h ./test.cantonese.ctm ctm -o all prf -O out -f 0 -n test15_a -e utf-8 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_9.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./stm2ctm_missing.ref.stm stm -h ./stm2ctm_missing.hyp.ctm ctm -o all prf -O out -f 0 -n test16_9 2 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test02.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: This record has 8 fields instead of the required 9 or 10 fields; see line 8 2 | Validation aborted 3 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test10.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: Invalid orthography for alpha LEXEME; see field (6) 'UNIVERSAL' in line 12 2 | Validation aborted 3 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_1.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./stm2ctm_missing.ref.stm stm -h ./stm2ctm_missing.hyp-extra.ctm ctm -o all prf -O out -f 0 -n test16_1 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_4.err: -------------------------------------------------------------------------------- 1 | align_ctm_to_stm: File identifiers do not match but continuing. ref file/channel '2347' 'a', next hyp '2347' 'b'. 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_5.err: -------------------------------------------------------------------------------- 1 | align_ctm_to_stm: File identifiers do not match but continuing. ref file/channel '2347' 'b', next hyp '3129' 'a'. 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_7.err: -------------------------------------------------------------------------------- 1 | align_ctm_to_stm: File identifiers do not match but continuing. ref file/channel '3129' 'a', next hyp '3129' 'b'. 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test1e.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./csrnab.ref -h ./csrnab.hyp -i wsj -o all snt spk dtl prf sgml nl.sgml -O out -f 0 -n test1e -e utf-8 2 | -------------------------------------------------------------------------------- /src/hubscr/test1-notag.base/Ensemble.grange2.sys.dat: -------------------------------------------------------------------------------- 1 | 1 0.000000 50.592885 43.146417 89.361702 50.918197 2 | 2 0.000000 50.592885 43.146417 89.361702 50.918197 3 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test08.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: Value for the orthography field for SU should be ; see field (6) in line 16 2 | Validation aborted 3 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test14.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: Speaker joe doesn't match any of the speaker IDs in SPKR-INFO objects; see line 7 2 | Validation aborted 3 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_2.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./stm2ctm_missing.ref.stm stm -h ./stm2ctm_missing.hyp-missall.ctm ctm -o all prf -O out -f 0 -n test16_2 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_3.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./stm2ctm_missing.ref.stm stm -h ./stm2ctm_missing.hyp-missfile1.ctm ctm -o all prf -O out -f 0 -n test16_3 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_6.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./stm2ctm_missing.ref.stm stm -h ./stm2ctm_missing.hyp-missfile2.ctm ctm -o all prf -O out -f 0 -n test16_6 2 | -------------------------------------------------------------------------------- /src/hubscr/test1-notag-a.base/Ensemble.grange2.sys.dat: -------------------------------------------------------------------------------- 1 | 1 0.000000 50.592885 43.146417 89.361702 50.918197 2 | 2 0.000000 50.592885 43.146417 89.361702 50.918197 3 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test09.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: Value for the orthography field for SPKR-INFO should be ; see field (6) in line 5 2 | Validation aborted 3 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test15.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: Speaker 1 has LEXEMEs ending at 1.06 and starting at 0.870; LEXEMEs overlap; see line 9 2 | Validation aborted 3 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test15_b.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./test.cantonese.stm stm -h ./test.cantonese.ctm ctm -o all prf -O out -f 0 -n test15_b -e utf-8 -c NOASCII DH 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test15_c.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./test.turkish.ref trn -h ./test.turkish.hyp -o all prf -O out -f 0 -n test15_c -e utf-8 babel_turkish -i spu_id 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test15_d.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./test.ukranian.ref trn -h ./test.ukranian.hyp -o all prf -O out -f 0 -n test15_d -e utf-8 ukrainian -i spu_id 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_4.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./stm2ctm_missing.ref.stm stm -h ./stm2ctm_missing.hyp-missfile1chanA.ctm ctm -o all prf -O out -f 0 -n test16_4 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_5.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./stm2ctm_missing.ref.stm stm -h ./stm2ctm_missing.hyp-missfile1chanb.ctm ctm -o all prf -O out -f 0 -n test16_5 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_7.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./stm2ctm_missing.ref.stm stm -h ./stm2ctm_missing.hyp-missfile2chanA.ctm ctm -o all prf -O out -f 0 -n test16_7 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_8.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./stm2ctm_missing.ref.stm stm -h ./stm2ctm_missing.hyp-missfile2chanB.ctm ctm -o all prf -O out -f 0 -n test16_8 2 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test29.output.saved.log: -------------------------------------------------------------------------------- 1 | WARNING: speaker spkr1s speaking more than once at time 12 2 | WARNING: speaker spkr1s speaking more than once at time 12 3 | -------------------------------------------------------------------------------- /src/md-eval/test/sd_test6.output.saved.log: -------------------------------------------------------------------------------- 1 | WARNING: speaker spkr1s speaking more than once at time 12.0 2 | WARNING: speaker spkr1s speaking more than once at time 12.0 3 | -------------------------------------------------------------------------------- /src/hubscr/test1-notag-a.base/Ensemble.grange2.spk.dat: -------------------------------------------------------------------------------- 1 | 1 0.000000 0.000000 2 | 2 43.146417 43.146417 3 | 3 50.592885 50.592885 4 | 4 50.918197 50.918197 5 | 5 89.361702 89.361702 6 | -------------------------------------------------------------------------------- /src/hubscr/test1-notag.base/Ensemble.grange2.spk.dat: -------------------------------------------------------------------------------- 1 | 1 0.000000 0.000000 2 | 2 43.146417 43.146417 3 | 3 50.592885 50.592885 4 | 4 50.918197 50.918197 5 | 5 89.361702 89.361702 6 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test17.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./test.vietnamese.ref.trn trn -h test.vietnamese.hyp.trn trn -i spu_id -o all prf -O out -f 0 -n test17 -e utf-8 babel_vietnamese 2 | -------------------------------------------------------------------------------- /src/asclite/testfiles/sastt.ref.stm: -------------------------------------------------------------------------------- 1 | VT_20051027-1400 1 REF1 101.000 105.800 T A B C F 2 | VT_20051027-1400 1 REF2 103.300 104.200 G H 3 | VT_20051027-1400 1 REF2 105.500 106.200 X T 4 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test13.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: Invalid A/P subtype; see field (7) in line 17 2 | ERROR: Invalid LEXEME subtype; see field (7) in line 11 3 | Validation aborted 4 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_1.err: -------------------------------------------------------------------------------- 1 | align_ctm_to_stm: Error: Hyp file has more data than ref file, beginning at hyp file/channel '9999' 'b'. 2 | sclite: Alignment failed. Exiting. 3 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7-utf8-2bytes.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./tests.ref.utf8-2bytes -h ./tests.hyp.utf8-2bytes -i spu_id -o all sgml -O out -f 0 -n test7-utf8-2bytes -F -D -e utf-8 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7-utf8-3bytes.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./tests.ref.utf8-3bytes -h ./tests.hyp.utf8-3bytes -i spu_id -o all sgml -O out -f 0 -n test7-utf8-3bytes -F -D -e utf-8 2 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test7-utf8-4bytes.com: -------------------------------------------------------------------------------- 1 | ../sclite -r ./tests.ref.utf8-4bytes -h ./tests.hyp.utf8-4bytes -i spu_id -o all sgml -O out -f 0 -n test7-utf8-4bytes -F -D -e utf-8 2 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test33.log.saved: -------------------------------------------------------------------------------- 1 | ../src/RTTMValidator-v06.pl (version v06) run on 2004 Jun 10 at 09:16:23 2 | command line: ../src/RTTMValidator-v06.pl (version v06) -i test33.rttm 3 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test34.log.saved: -------------------------------------------------------------------------------- 1 | ../src/RTTMValidator-v07.pl (version v07) run on 2004 Jun 14 at 12:27:43 2 | command line: ../src/RTTMValidator-v07.pl (version v07) -i test34.rttm 3 | -------------------------------------------------------------------------------- /src/sclite/testdata/tests.lex: -------------------------------------------------------------------------------- 1 | dis 2 | fee 3 | find 4 | fish 5 | him 6 | is 7 | isis 8 | milk 9 | ten 10 | thd 11 | the 12 | theisi 13 | theisss 14 | theiswas 15 | this 16 | ticks 17 | was 18 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test2.output.saved.log: -------------------------------------------------------------------------------- 1 | 2 | WARNING: A REF metadata event is being deleted that covers evaluated reference LEXEMEs 3 | (type=SU, subtype=question, spkr=spkr3r, TBEG=19.0, TEND=22) 4 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test23.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: Word at 0.000 doesn't belong to any SU object; see line 7 2 | ERROR: Word at 5.600 doesn't belong to any SU object; see line 23 3 | Validation aborted 4 | -------------------------------------------------------------------------------- /src/asclite/testfiles/basic.trn: -------------------------------------------------------------------------------- 1 | I { wasn't / was not } aware of this (paf_405) 2 | { I'm / am / { (huh-) / @ } } happy today ? (hop_806) 3 | {a / ah /} separe {o / oh / @} separe {/end / end too} (sep_005) 4 | -------------------------------------------------------------------------------- /src/asclite/testfiles/stmctm.stm: -------------------------------------------------------------------------------- 1 | comb 1 comb 0 1 a b- (c-) (d) 2 | comb 1 comb 1 2 <> A B C D 3 | f 1 f 0 1 <> a b { c d / c / e } e f g 4 | f 1 f 1 2 <> a b c d e f g 5 | f 1 f 3 4 <> 6 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test10.output.saved.log: -------------------------------------------------------------------------------- 1 | 2 | WARNING: A REF metadata event is being deleted that covers evaluated reference LEXEMEs 3 | (type=SU, subtype=statement, spkr=spkr1r, TBEG=10.0, TEND=28) 4 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test11.output.saved.log: -------------------------------------------------------------------------------- 1 | 2 | WARNING: A REF metadata event is being deleted that covers evaluated reference LEXEMEs 3 | (type=SU, subtype=statement, spkr=spkr1r, TBEG=10.0, TEND=28) 4 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test14.output.saved.log: -------------------------------------------------------------------------------- 1 | 2 | WARNING: A REF metadata event is being deleted that covers evaluated reference LEXEMEs 3 | (type=SU, subtype=statement, spkr=spkr1r, TBEG=10.0, TEND=28) 4 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test15.output.saved.log: -------------------------------------------------------------------------------- 1 | 2 | WARNING: A REF metadata event is being deleted that covers evaluated reference LEXEMEs 3 | (type=SU, subtype=statement, spkr=spkr1r, TBEG=10.0, TEND=28) 4 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test16.output.saved.log: -------------------------------------------------------------------------------- 1 | 2 | WARNING: A REF metadata event is being deleted that covers evaluated reference LEXEMEs 3 | (type=SU, subtype=statement, spkr=spkr1r, TBEG=10.0, TEND=28) 4 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test9.output.saved.log: -------------------------------------------------------------------------------- 1 | 2 | WARNING: A REF metadata event is being deleted that covers evaluated reference LEXEMEs 3 | (type=SU, subtype=statement, spkr=spkr1r, TBEG=10.0, TEND=28) 4 | -------------------------------------------------------------------------------- /src/hubscr/test1-sastt.base/sastt-case1.sys.rttm.filt.alignments/images/white_dk.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/hubscr/test1-sastt.base/sastt-case1.sys.rttm.filt.alignments/images/white_dk.gif -------------------------------------------------------------------------------- /src/hubscr/test1-sastt.base/sastt-case1.sys.rttm.filt.alignments/images/white_lt.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/hubscr/test1-sastt.base/sastt-case1.sys.rttm.filt.alignments/images/white_lt.gif -------------------------------------------------------------------------------- /src/hubscr/test2-sastt.base/sastt-case2.sys.rttm.filt.alignments/images/white_dk.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/hubscr/test2-sastt.base/sastt-case2.sys.rttm.filt.alignments/images/white_dk.gif -------------------------------------------------------------------------------- /src/hubscr/test2-sastt.base/sastt-case2.sys.rttm.filt.alignments/images/white_lt.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usnistgov/SCTK/HEAD/src/hubscr/test2-sastt.base/sastt-case2.sys.rttm.filt.alignments/images/white_lt.gif -------------------------------------------------------------------------------- /src/sclite/testdata/test.turkish.hyp: -------------------------------------------------------------------------------- 1 | Güngören'den Habibler Işık KTÜ'yü açılacaktır Cumhuriyeti eğitimini (spkr1-1) 2 | (spkr1-2) 3 | Güngören'den Habibler Işık KTÜ'yü açılacaktır Cumhuriyeti eğitimini (spkr1-3) 4 | -------------------------------------------------------------------------------- /src/sclite/testdata/test.turkish.ref: -------------------------------------------------------------------------------- 1 | Güngören'den Habibler Işık KTÜ'yü açılacaktır Cumhuriyeti eğitimini (spkr1-1) 2 | Güngören'den Habibler Işık KTÜ'yü açılacaktır Cumhuriyeti eğitimini (spkr1-2) 3 | (spkr1-3) 4 | -------------------------------------------------------------------------------- /src/test_suite/test_ctm.errors.out: -------------------------------------------------------------------------------- 1 | Error: Can not filter text with illegally formatted optional deletion tags. Look for: 2 | ( SET 3 | OK ( AY 4 | COOL ( 5 | ) BASICALLY 6 | I' ) M 7 | JUST ) 8 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test35.log.saved: -------------------------------------------------------------------------------- 1 | ../src/RTTMValidator-v08.pl (version v08) run on 2004 Jun 29 at 15:19:11 2 | command line: ../src/RTTMValidator-v08.pl (version v08) -i test35.rttm 3 | 4 | Alistair_Yates 5 | -------------------------------------------------------------------------------- /src/asclite/testfiles/rttmstm.stm: -------------------------------------------------------------------------------- 1 | ;; This file is an example of STM file for test purspose 2 | ;; Do not modify if you dont know what you are doing 3 | ALPHA 1 OMEGA 1.0 4.0 A B C 4 | ALPHA 1 THETA 2.0 8.0 D E F G H I 5 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test13.output.saved.log: -------------------------------------------------------------------------------- 1 | 2 | 3 | FATAL ERROR -- negative metadata duration in file md_test13,' 4 | input RTTM record is: 'SEGMENT md_test13 1 10.0 -6.0 spkr1s 5 | ' 6 | 7 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_6.err: -------------------------------------------------------------------------------- 1 | align_ctm_to_stm: Hyp files ends before ref but continuing for ref file/channel '3129' 'a'. 2 | align_ctm_to_stm: Hyp files ends before ref but continuing for ref file/channel '3129' 'b'. 3 | -------------------------------------------------------------------------------- /src/utf_filt/config.in: -------------------------------------------------------------------------------- 1 | dnl Process this file with autoconf to produce a configure script. 2 | AC_INIT(utf_filt.pl) 3 | 4 | dnl Checks for programs. 5 | AC_CHECK_PROGS(NSGMLS, nsgmls onsgmls) 6 | 7 | dnl Write the makefile 8 | AC_OUTPUT(Makefile) 9 | -------------------------------------------------------------------------------- /doc/rover/reformat.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | 4 | dos2unix rover.htm | \ 5 | sed -e 's/SIZE=5>/SIZE=8>/g' \ 6 | -e 's/SIZE=4>/SIZE=7>/g' \ 7 | -e 's/SIZE=3>/SIZE=6>/g' \ 8 | -e 's/SIZE=2>/SIZE=5>/g' \ 9 | -e 's/SIZE=1>/SIZE=4>/g' \ 10 | 11 | -------------------------------------------------------------------------------- /src/rfilter1/include/ssstr1.h: -------------------------------------------------------------------------------- 1 | /* file ssstr1.h */ 2 | 3 | #ifndef SSSTR1_HEADER 4 | #define SSSTR1_HEADER 5 | 6 | struct substring 7 | {Char *start; 8 | Char *end; 9 | }; 10 | typedef struct substring SUBSTRING; 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_3.err: -------------------------------------------------------------------------------- 1 | align_ctm_to_stm: File identifiers do not match but continuing. ref file/channel '2347' 'a', next hyp '3129' 'a'. 2 | align_ctm_to_stm: File identifiers do not match but continuing. ref file/channel '2347' 'b', next hyp '3129' 'a'. 3 | -------------------------------------------------------------------------------- /src/sclite/testdata/base_sc_stats/test1a.out: -------------------------------------------------------------------------------- 1 | sc_stats: 1.3 2 | Beginning Multi-System comparisons and reports 3 | Performing the Matched Pair Sentence Segment (Word Error) Test 4 | Output written to 'out/test1a.stats.mapsswe' 5 | 6 | Successful Completion 7 | -------------------------------------------------------------------------------- /src/sclite/testdata/base_sc_stats/test1b.out: -------------------------------------------------------------------------------- 1 | sc_stats: 1.3 2 | Beginning Multi-System comparisons and reports 3 | Performing the Matched Pair Sentence Segment (Word Error) Test 4 | Output written to 'out/test1b.stats.mapsswe' 5 | 6 | Successful Completion 7 | -------------------------------------------------------------------------------- /src/asclite/testfiles/sastt.map.csv: -------------------------------------------------------------------------------- 1 | File,Channel,RefSpeaker,SysSpeaker,isMapped,timeOverlap 2 | VT_20051027-1400,1,REF1,SYS1,mapped,2.5000 3 | VT_20051027-1400,1,REF1,SYS2,notmapped,2.5000 4 | VT_20051027-1400,1,REF2,SYS1,notmapped,0.2000 5 | VT_20051027-1400,1,REF2,SYS2,mapped,2.5000 6 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test30.log.saved: -------------------------------------------------------------------------------- 1 | ../src/RTTMValidator-v04.pl (version v04) run on 2004 Apr 22 at 16:49:20 2 | command line: ../src/RTTMValidator-v04.pl (version v04) -i test30.rttm 3 | ERROR: FILLER (4.210, 5.21) has an IP at 4.210 with a bad subtype 4 | Validation aborted 5 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test31.log.saved: -------------------------------------------------------------------------------- 1 | ../src/RTTMValidator-v04.pl (version v04) run on 2004 Apr 22 at 16:49:21 2 | command line: ../src/RTTMValidator-v04.pl (version v04) -i test31.rttm 3 | ERROR: FILLER (4.220, 5.22) doesn't have any IP at 4.220; see line 22 4 | Validation aborted 5 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test12.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: Expected confidence value to be a number or ; see field (9) in line 8 2 | ERROR: Expected confidence value to be [0,1]; see field (9) in line 11 3 | ERROR: Expected confidence value to be [0,1]; see field (9) in line 13 4 | Validation aborted 5 | -------------------------------------------------------------------------------- /src/asclite/testfiles/basic.stm: -------------------------------------------------------------------------------- 1 | ;; This file is an example of STM file 2 | ;; Do not modify if you dont know what you are doing 3 | SHOW_1 1 CHRIS 1.0 6.0 JAVA WILL RULES THE WORLD 4 | SHOW_1 2 JEROME 3.0 5.0 OR NOT 5 | SHOW_2 1 NICO 1.0 4.0 NICO IS HERE 6 | SHOW_2 2 JON 1.0 3.0 7 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test05.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: Invalid channel ID; see field (3) in line 13 2 | ERROR: Expected channel ID to be 1 for BN data; see field (3) in line 11 3 | ERROR: Invalid channel ID; see field (3) in line 7 4 | ERROR: Invalid channel ID; see field (3) in line 10 5 | Validation aborted 6 | -------------------------------------------------------------------------------- /src/asclite/testfiles/test12.mdalign.csv: -------------------------------------------------------------------------------- 1 | File,Channel,RefSpeaker,SysSpeaker,isMapped,timeOverlap 2 | FileA,1,Speaker_gamma,Speaker_alpha,mapped,125.65 3 | FileA,1,Speaker_delta,Speaker_beta,mapped,12354.14 4 | FileA,1,Speaker_epsilon,Speaker_alpha,notmapped,5.65 5 | FileA,1,Speaker_delta,Speaker_theta,notmapped,0.14 6 | -------------------------------------------------------------------------------- /doc/env_vari.txt: -------------------------------------------------------------------------------- 1 | File: env_vari.txt 2 | Desc: This file describes the debugging environment variables used in sctk. 3 | 4 | 5 | name: WWL_PRINT_DEFAULT 6 | Value: defined or not 7 | Action: Prints a message each time a default weight is supplied 8 | for a word not in a Word Weight List file. 9 | 10 | -------------------------------------------------------------------------------- /src/rfilter1/include/booldef.h: -------------------------------------------------------------------------------- 1 | /* booldef.h - defines a "boolean" type */ 2 | #ifndef BOOLDEF_HEADER 3 | #define BOOLDEF_HEADER 4 | 5 | #define boolean int 6 | #define T 1 7 | #define F 0 8 | /* (K&R p. 38 equates non-zero with true,but most C's use 0 and 1.) */ 9 | 10 | #endif 11 | /* end of booldef.h */ 12 | -------------------------------------------------------------------------------- /src/hubscr/test2-sastt.base/sastt-case2.sys.rttm.filt.det.dat.00: -------------------------------------------------------------------------------- 1 | -3.290527 0.000000 2 | -8.126360 1.067571 3 | -8.126360 0.565949 4 | -8.126360 0.180012 5 | -8.126360 -0.180012 6 | -0.841621 -0.180012 7 | -0.253347 -0.180012 8 | -0.253347 -0.565949 9 | 0.253347 -0.565949 10 | 0.253347 -1.067571 11 | 0.841621 -1.067571 12 | -------------------------------------------------------------------------------- /src/stmValidator/test_suite/test02.stm: -------------------------------------------------------------------------------- 1 | ;; This file is an example of STM file 2 | ;; Do not modify if you dont know what you are doing 3 | SHOW_1 1 CHRIS 1.0 6.0 JAV=A WI*LL *RULES T)HE WORL D 4 | SHOW_1 2 JEROME 3.0 5.0 SHE (USER F-) OR NOT 5 | SHOW_2 1 NICO 1.0 4.0 NICO IS HERE 6 | SHOW_2 2 JON 1.0 3.0 7 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test06.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: Expected start time to be a number; see field (4) in line 10 2 | ERROR: Expected start time to be a number; see field (4) in line 11 3 | ERROR: SPKR-INFO should not have any start time; see field (4) in line 5 4 | ERROR: Negative start time; see field (4) in line 8 5 | Validation aborted 6 | -------------------------------------------------------------------------------- /src/sclite/testdata/test.cantonese.stm: -------------------------------------------------------------------------------- 1 | file 1 spkr1 16.531 17.350 食 左 啦 我 喺 度 () 整 野 煲汤 煲 fred 攞 汤 2 | file 1 spkr1 20.838 21.710 煲 煲 定 佢 放学 饮 啊 嘛 3 | ;;file 1 spkr1 24.870 25.500 煲 一下 得 啦 煲 煲 (()) 放学 咪 饮 咯 4 | file 1 spkr1 24.870 25.500 IGNORE_TIME_SEGMENT_IN_SCORING 5 | file 1 spkr1 29.922 30.720 我地 啲 (大概-) 星期五 下 (个) 星期五 可能 去 咩 亲子游 喔 6 | -------------------------------------------------------------------------------- /src/test_suite/test.cantonese.stm: -------------------------------------------------------------------------------- 1 | file 1 spkr1 16.531 17.350 食 左 啦 我 喺 度 () 整 野 煲汤 煲 fred 攞 汤 2 | file 1 spkr1 20.838 21.710 煲 煲 定 佢 放学 饮 啊 嘛 C_P_喔 3 | ;;file 1 spkr1 24.870 25.500 煲 一下 得 啦 煲 煲 (()) 放学 咪 饮 咯 C_P_喔 4 | file 1 spkr1 24.870 25.500 IGNORE_TIME_SEGMENT_IN_SCORING 5 | file 1 spkr1 29.922 30.720 我地 啲 (大概-) 星期五 下 (个) 星期五 可能 去 咩 亲子游 喔 6 | -------------------------------------------------------------------------------- /src/sclite/booldef.h: -------------------------------------------------------------------------------- 1 | /* booldef.h - defines a "boolean" type */ 2 | #ifndef BOOLDEF_HEADER 3 | #define BOOLDEF_HEADER 4 | 5 | #define boolean int 6 | #define T 1 7 | #define F 0 8 | /* (K&R p. 38 equates non-zero with true,but most C's use 0 and 1.) */ 9 | 10 | #endif 11 | 12 | extern char *bool_print(boolean x); 13 | 14 | /* end of booldef.h */ 15 | -------------------------------------------------------------------------------- /src/test_suite/test.cantonese.stm.rfilter1: -------------------------------------------------------------------------------- 1 | file 1 spkr1 16.531 17.350 食 一下 啦 我 喺 度 () 整 野 煲汤 煲 f_blue 攞 汤 2 | file 1 spkr1 20.838 21.710 煲 煲 定 佢 放学 饮 啊 嘛 C P 喔 3 | ;;file 1 spkr1 24.870 25.500 煲 一下 得 啦 煲 煲 (()) 放学 咪 饮 咯 C P 喔 4 | file 1 spkr1 24.870 25.500 IGNORETIMESEGMENTINSCORING 5 | file 1 spkr1 29.922 30.720 我地 啲 (大概-) 星期五 下 (个) 星期五 可能 去 咩 亲子游 喔 6 | -------------------------------------------------------------------------------- /doc/readme.txt: -------------------------------------------------------------------------------- 1 | File: readme.txt 2 | Date: July 28, 1997 3 | 4 | Description: 5 | 6 | This directory contains HTML and "man" manual pages for SCTK 7 | the "Scoring Toolkit". The Toolkit includes the programs sclite, sc_stats 8 | and rover. 9 | 10 | The best places to start are: 'sctk.htm', 'sclite.htm', 11 | 'sc_stats.htm' and 'rover.htm'. 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test22a.output.saved.log: -------------------------------------------------------------------------------- 1 | 2 | WARNING: A REF metadata event is being deleted that covers evaluated reference LEXEMEs 3 | (type=SU, subtype=question, spkr=spkr2r, TBEG=20.0, TEND=23) 4 | 5 | WARNING: A SYS metadata event is being deleted that covers evaluated reference LEXEMEs 6 | (type=SU, subtype=question, spkr=spkr2s, TBEG=20.0, TEND=23) 7 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test23.output.saved.log: -------------------------------------------------------------------------------- 1 | 2 | WARNING: A REF metadata event is being deleted that covers evaluated reference LEXEMEs 3 | (type=SU, subtype=question, spkr=spkr2r, TBEG=20.0, TEND=23) 4 | 5 | WARNING: A SYS metadata event is being deleted that covers evaluated reference LEXEMEs 6 | (type=SU, subtype=question, spkr=spkr2s, TBEG=20.0, TEND=23) 7 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test6.output.saved.log: -------------------------------------------------------------------------------- 1 | 2 | WARNING: A REF metadata event is being deleted that covers evaluated reference LEXEMEs 3 | (type=SU, subtype=incomplete, spkr=spkr3r, TBEG=19.0, TEND=22) 4 | 5 | WARNING: A SYS metadata event is being deleted that covers evaluated reference LEXEMEs 6 | (type=SU, subtype=incomplete, spkr=spkr3s, TBEG=19.0, TEND=22) 7 | -------------------------------------------------------------------------------- /src/hubscr/test1-sastt.base/sastt-case1.sys.rttm.filt.mdeval.spkrmap: -------------------------------------------------------------------------------- 1 | File,Channel,RefSpeaker,SysSpeaker,isMapped,timeOverlap 2 | ICSI_20011030-1030_d_NONE,1,fe016,fe016,mapped,30.0000 3 | VT_20051027-1400,1,Ref1,Sys1,mapped,3.0000 4 | VT_20051027-1400,1,Ref1,Sys2,notmapped,2.5000 5 | VT_20051027-1400,1,Ref2,Sys1,notmapped,0.2000 6 | VT_20051027-1400,1,Ref2,Sys2,mapped,3.2000 7 | -------------------------------------------------------------------------------- /src/sclite/testdata/demo.hyp.txt: -------------------------------------------------------------------------------- 1 | AS COMPETITION IN THE MUTUAL fund BUSINESS GROWS INCREASINGLY INTENSE MORE PLAYERS IN THE INDUSTRY APPEAR WILLING TO SACRIFICE INTEGRITY IN THE NAME OF PERFORMANCE (speaker1-utterance1) 2 | FREED TO TRYING TO LURE BUSINESS BUILT ON PUBLIC CONFIDENCE THIS TREND IS THIS TIGHTENING AND BEST AND DOWNRIGHT DANGEROUS AT WORST (speaker1-utterance2) 3 | -------------------------------------------------------------------------------- /src/sclite/testdata/demo.ref.txt: -------------------------------------------------------------------------------- 1 | AS COMPETITION IN THE MUTUAL FUND BUSINESS GROWS INCREASINGLY INTENSE MORE PLAYERS IN THE INDUSTRY APPEAR WILLING TO SACRIFICE INTEGRITY IN THE NAME OF PERFORMANCE (speaker1-utterance1) 2 | FOR A TWO TRILLION DOLLAR BUSINESS BUILT ON PUBLIC CONFIDENCE THIS TREND IS DISHEARTENING AT BEST AND DOWNRIGHT DANGEROUS AT WORST (speaker1-utterance2) 3 | -------------------------------------------------------------------------------- /src/sclite/mcnemar.c: -------------------------------------------------------------------------------- 1 | #define MAIN 2 | #include "sctk.h" 3 | 4 | int main(int argc, char **argv){ 5 | int **table; 6 | 7 | alloc_2dimarr(table, 2, 2, int); 8 | table[0][0] = 100; 9 | table[0][1] = 200; 10 | table[1][0] = 300; 11 | table[1][1] = 400; 12 | 13 | double conf; 14 | do_McNemar(table, "Sys1", "Sys2", TRUE, stdout, &conf); 15 | 16 | 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/stmValidator/test_suite/test01.stm: -------------------------------------------------------------------------------- 1 | ;; This file is an example of STM file 2 | ;; Do not modify if you dont know what you are doing 3 | SHOW_1 1 CHRIS 1.0 6.0 JAVA WILL RULES THE WORLD 4 | SHOW_1 2 JEROME 3.0 5.0 OR NOT { je / e / { fr / sdg } } De- 5 | SHOW_2 1 NICO 1.0 4.0 NICO IS HERE 6 | SHOW_2 2 JON 1.0 3.0 7 | SHOW_2 2 JON 1.0 3.0 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/test_suite/example.utm: -------------------------------------------------------------------------------- 1 | ;; File et94_1.utm, Updated 941019 2 | ;; Utterance-specific rules for mapping one lexical equivalent to another, 3 | ;; for November 1994 CSR Hub and Spoke Evaluation Test Material 4 | ;; (Applies to .lsn, not .dot) 5 | * name "et94_1.utm" 6 | * desc "November 1994 CSR Eval Test Utterance-Specific Orthographic Map" 7 | * copy_no_hit = 'T' 8 | ;; 9 | ;; 10 | 11 | -------------------------------------------------------------------------------- /src/sclite/pad.h: -------------------------------------------------------------------------------- 1 | void init_pad_util PROTO((int pr_width)) ; 2 | int pad_pr_width PROTO((void)) ; 3 | void set_pad PROTO((char *pad, char *str, int max)) ; 4 | void set_pad_n PROTO((char *pad, int n, int max)) ; 5 | void set_pad_cent_n PROTO((char *pad, int len, int max)) ; 6 | char *center PROTO((char *str, int len)) ; 7 | void strncpy_pad PROTO((char *to, char *from, int len, int max, char chr)) ; 8 | -------------------------------------------------------------------------------- /src/test_suite/test.cantonese.glm: -------------------------------------------------------------------------------- 1 | ;; 2 | ;; File: test.cantonese.glm 3 | ;; Desc: This file contains the transcript filtering rules for Babel Cantonese evaluations 4 | ;; 5 | ;; Date: 20120905 6 | ;; - initial creation 7 | ;; 8 | ;; Hesitation mappings 9 | 左 => [ 一下 ] 10 | red => [_blue] 11 | IGNORE_TIME_SEGMENT_IN_SCORING => IGNORETIMESEGMENTINSCORING 12 | _ => [ ] 13 | -------------------------------------------------------------------------------- /src/ctmValidator/makefile.in: -------------------------------------------------------------------------------- 1 | SHELL = /bin/sh 2 | PREFIX= 3 | bindir = $(PREFIX)/bin 4 | 5 | all: ctmValidator.pl 6 | 7 | rttmValidator.pl: 8 | chmod +x ctmValidator.pl 9 | 10 | check: all 11 | (cd test_suite; $(SHELL) RunTest.sh ../ctmValidator.pl) 12 | 13 | install: all 14 | cp ctmValidator.pl $(DESTDIR)$(bindir) 15 | 16 | clean: 17 | 18 | distclean: clean 19 | $(RM) -r *~ makefile 20 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test07.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: Expected duration to be a number; see field (5) in line 9 2 | ERROR: Expected start time to be a number; see field (4) in line 11 3 | ERROR: Expected start time to be a number; see field (4) in line 12 4 | ERROR: SPKR-INFO should not have any duration; see field (5) in line 5 5 | ERROR: Negative duration; see field (5) in line 8 6 | Validation aborted 7 | -------------------------------------------------------------------------------- /src/rttmValidator/makefile.in: -------------------------------------------------------------------------------- 1 | SHELL = /bin/sh 2 | PREFIX= 3 | bindir = $(PREFIX)/bin 4 | 5 | all: rttmValidator.pl 6 | 7 | rttmValidator.pl: 8 | chmod +x rttmValidator.pl 9 | 10 | check: all 11 | (cd test_suite; $(SHELL) RunTest.sh ../rttmValidator.pl) 12 | 13 | install: all 14 | cp rttmValidator.pl $(DESTDIR)$(bindir) 15 | 16 | clean: 17 | 18 | distclean: clean 19 | $(RM) -r *~ makefile 20 | -------------------------------------------------------------------------------- /src/rfilter1/include/frstr1.c: -------------------------------------------------------------------------------- 1 | /* file frstr1.c */ 2 | 3 | #if !defined(COMPILE_ENVIRONMENT) 4 | #include "stdcenvf.h" /* std compile environment for functions */ 5 | #endif 6 | 7 | void free_str(Char *s) 8 | {if ((s != NULL)&&(s != EMPTY_STRING)&&(s != (Char*)EMPTY_INT_STRING)) 9 | {if (memory_trace) printf("*DB: FREE %lx\n",(long)s); 10 | free((Char*)s); 11 | } 12 | return; 13 | } 14 | -------------------------------------------------------------------------------- /src/rfilter1/include/hparstr1.h: -------------------------------------------------------------------------------- 1 | /* File hparstr1.h -- hash function parameter structure #1 */ 2 | /* Parameterized by HFCN_NPARAMS_MAX */ 3 | #ifndef HPARSTR1_HEADER 4 | #define HPARSTR1_HEADER 5 | 6 | typedef struct 7 | {Char *hfcn_name; 8 | double recommended_load_factor; 9 | int nparams; 10 | int C[HFCN_NPARAMS_MAX]; 11 | } HASH_PARAMETERS; 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test16_2.err: -------------------------------------------------------------------------------- 1 | align_ctm_to_stm: Hyp files ends before ref but continuing for ref file/channel '2347' 'a'. 2 | align_ctm_to_stm: Hyp files ends before ref but continuing for ref file/channel '2347' 'b'. 3 | align_ctm_to_stm: Hyp files ends before ref but continuing for ref file/channel '3129' 'a'. 4 | align_ctm_to_stm: Hyp files ends before ref but continuing for ref file/channel '3129' 'b'. 5 | -------------------------------------------------------------------------------- /src/sclite/slm_intf.h: -------------------------------------------------------------------------------- 1 | /* 2 | File: slm_intf.h 3 | Desc: declare the function prototypes for the SLM interface. 4 | 5 | */ 6 | 7 | void lookup_lm_word_weight(ARC *arc, void *ptr); 8 | 9 | #ifdef WITH_SLM 10 | 11 | int tg_lookup(WORD *w, WORD *w_m1, WORD *w_m2, ng_t *ng, fb_info *fb_list, double *prob, int dbg); 12 | void initialize_lm(ng_t *ng, fb_info **fb_list, char *lm_file, int dbg); 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test28.uem: -------------------------------------------------------------------------------- 1 | ;;ag-to-rttm+uems-v21.pl (version v21) run on 2004 Aug 11 at 10:36:41 2 | ;;command line: ag-to-rttm+uems-v21.pl (version v21) -c -x -n -t 2 -r ../reference/dev04f/english/bnews/20010206_1830_1900_ABC_WNT.rttm -u ../reference/dev04f/english/bnews/20010206_1830_1900_ABC_WNT.uem -I ../reference/dev04f/english/bnews/20010206_1830_1900_ABC_WNT.aglist 3 | 20010206_1830_1900_ABC_WNT 1 1317.255 1685.049 4 | -------------------------------------------------------------------------------- /src/hubscr/test2-sastt.base/sastt-case2.sys.rttm.filt.mdeval.spkrmap: -------------------------------------------------------------------------------- 1 | File,Channel,RefSpeaker,SysSpeaker,isMapped,timeOverlap 2 | VT_20051027-1400,1,SUB34,1,notmapped,0.5700 3 | VT_20051027-1400,1,SUB34,2,notmapped,0.9900 4 | VT_20051027-1400,1,SUB48,1,notmapped,0.7330 5 | VT_20051027-1400,1,SUB48,2,mapped,2.1270 6 | VT_20051027-1400,1,SUB49,1,notmapped,0.4080 7 | VT_20051027-1400,1,SUB57,1,mapped,2.1200 8 | VT_20051027-1400,1,SUB57,2,notmapped,0.4230 9 | -------------------------------------------------------------------------------- /src/sclite/testdata/csrnab1.hyp: -------------------------------------------------------------------------------- 1 | SO FAR THIS YEAR THE INDUSTRY SLIDE HAS BEEN APPARENT IN ALLEGATIONS OF INSIDER TRADING BY FUND MANAGERS AND SAVE REFUND SALES PRACTICES AT BANKS AND USE OF HIGH RISK DERIVATIVE SECURITIES IN EARLY CONSERVATIVE MONEY MARKET FUNDS (4T0C0203) 2 | MOREOVER INVESTORS TO COMPARE FIND PRICES AND PERFORMANCE BY USING WEEKEND NEWSPAPERS WOULD HAVE HAD LITTLE DATA ON FIDELITY FUNDS PERHAPS CAUSING FIDELITY'S A NEW INVESTMENT (4T0C020F) 3 | -------------------------------------------------------------------------------- /src/test_suite/test.txt: -------------------------------------------------------------------------------- 1 | 2 | 51.34 51.77 B: she ((has)) a (()) ((blank one)) and (( has )) another (( )) (( blank one)) 3 | 4 | 51.79 59.87 A: I don't don't 5 | 6 | 63.34 65.77 A1: she (( {noise} )) ((don't)) fifty-fou- five-three-tw- n-n- 7 | 8 | 73.34 75.77 A1: ((she is)) 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test26.uem: -------------------------------------------------------------------------------- 1 | ;;ag-to-rttm+uems-v21.pl (version v21) run on 2004 Aug 11 at 10:36:41 2 | ;;command line: ag-to-rttm+uems-v21.pl (version v21) -c -x -n -t 2 -r ../reference/dev04f/english/bnews/20010206_1830_1900_ABC_WNT.rttm -u ../reference/dev04f/english/bnews/20010206_1830_1900_ABC_WNT.uem -I ../reference/dev04f/english/bnews/20010206_1830_1900_ABC_WNT.aglist 3 | 20010206_1830_1900_ABC_WNT 1 1317.255 1361.090 4 | 20010206_1830_1900_ABC_WNT 1 1478.570 1685.049 5 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test27.uem: -------------------------------------------------------------------------------- 1 | ;;ag-to-rttm+uems-v21.pl (version v21) run on 2004 Aug 11 at 10:36:41 2 | ;;command line: ag-to-rttm+uems-v21.pl (version v21) -c -x -n -t 2 -r ../reference/dev04f/english/bnews/20010206_1830_1900_ABC_WNT.rttm -u ../reference/dev04f/english/bnews/20010206_1830_1900_ABC_WNT.uem -I ../reference/dev04f/english/bnews/20010206_1830_1900_ABC_WNT.aglist 3 | 20010206_1830_1900_ABC_WNT 1 1317.255 1361.090 4 | 20010206_1830_1900_ABC_WNT 1 1478.570 1685.049 5 | -------------------------------------------------------------------------------- /src/sclite/testdata/csrnab1.ref: -------------------------------------------------------------------------------- 1 | SO FAR THIS YEAR THE { INDUSTRY'S / INDUSTRY } SLIDE HAS BEEN APPARENT IN ALLEGATIONS OF INSIDER TRADING BY FUND MANAGERS UNSAVORY FUND SALES PRACTICES AT BANKS AND THE USE OF HIGH RISK DERIVATIVE SECURITIES IN NORMALLY CONSERVATIVE MONEY MARKET FUNDS (4T0C0203) 2 | MOREOVER INVESTORS WHO COMPARE FUND PRICES AND PERFORMANCE BY USING WEEKEND NEWSPAPERS WOULD HAVE HAD LITTLE DATA ON FIDELITY FUNDS PERHAPS COSTING FIDELITY SOME NEW INVESTMENT (4T0C020F) 3 | -------------------------------------------------------------------------------- /src/rfilter1/include/gdatadef.h: -------------------------------------------------------------------------------- 1 | /* file gdatadef.h */ 2 | /* global data definitions */ 3 | #ifndef GDATADEF_HEADER 4 | #define GDATADEF_HEADER 5 | 6 | int db_level = 0; 7 | int detail_level = 0; 8 | Char db[272] = "*DB: ", *pdb = &db[0]; 9 | boolean memory_trace = F; 10 | Char null_char_string[1] = "", *EMPTY_STRING = &null_char_string[0]; 11 | Char *NIL_STRING = (Char *)"(nil)"; 12 | int nstr_empty[1] = {0}, *EMPTY_INT_STRING = &nstr_empty[0]; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src/sclite/arcseq1.c: -------------------------------------------------------------------------------- 1 | /* file arcseq1.c */ 2 | 3 | #include "sctk.h" 4 | 5 | boolean arcs_equal(ARC *arc1, ARC *arc2) 6 | /***************************************************/ 7 | /* Determines if two arcs of a network are equal. */ 8 | /***************************************************/ 9 | {if ((arc1->from_node == arc2->from_node) && 10 | /* (streq(arc1->symbol,arc2->symbol)) && */ 11 | (arc1->to_node == arc2->to_node)) return T; 12 | else return F; 13 | } 14 | -------------------------------------------------------------------------------- /src/sclite/wtokeini.c: -------------------------------------------------------------------------------- 1 | 2 | #include "sctk.h" 3 | 4 | /* Modification: 9/14/95 JGF Changed to free the the word array */ 5 | 6 | WTOKE_STR1 *WTOKE_STR1_init(char *filename){ 7 | WTOKE_STR1 *tsegs; 8 | alloc_singarr(tsegs,1,WTOKE_STR1); 9 | tsegs->s=1; 10 | tsegs->n=0; 11 | tsegs->has_conf=0; 12 | tsegs->id=(char *)TEXT_strdup((TEXT *)filename); 13 | tsegs->max = 5000; 14 | alloc_singarr(tsegs->word,tsegs->max,WTOKE1); 15 | return(tsegs); 16 | } 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test32.log.saved: -------------------------------------------------------------------------------- 1 | ERROR: Speaker 1 has SU partially overlapping with NOSCORE tag at 4.220; see line 23 2 | ERROR: Speaker 2 has EDIT partially overlapping with NOSCORE tag at 23.820; see line 38 3 | ERROR: Speaker 2 has LEXEME partially overlapping with NOSCORE tag at 23.820; see line 39 4 | ERROR: Speaker 2 has SPEAKER partially overlapping with NOSCORE tag at 20.670; see line 26 5 | ERROR: Speaker 2 has SU partially overlapping with NOSCORE tag at 23.820; see line 37 6 | Validation aborted 7 | -------------------------------------------------------------------------------- /src/sclite/sign.c: -------------------------------------------------------------------------------- 1 | #define MAIN 2 | #include "sctk.h" 3 | 4 | 5 | int main(int argc, char **argv){ 6 | double confidence; 7 | int tptr[2]; 8 | 9 | /* sign_test_analysis(sum_plus,sum_minus,sum_equal,"+","-",0, 10 | 0.05,verbose, rank->trt_name [ tptr[0] ] , 11 | rank->trt_name [ tptr[1] ] , 12 | tptr,zero_is_best,fp,confidence) */ 13 | 14 | sign_test_analysis(20, 10, 0,"+","-",0, 15 | 0.05, TRUE, "sys1", "sys2", 16 | tptr,TRUE,stdout,&confidence); 17 | } 18 | 19 | -------------------------------------------------------------------------------- /src/hubscr/test2-sastt.base/sastt-case2.sys.rttm.filt.sbhist.plt: -------------------------------------------------------------------------------- 1 | ## GNUPLOT command file 2 | set samples 1000 3 | set key 30.000000,90.000000 4 | set xrange [0:1] 5 | set yrange [0:100] 6 | set ylabel '% Hypothesis Correct' 7 | set xlabel 'Confidence Scores' 8 | set title 'Scaled Binned Confidence scores for sastt-case2.sys.rttm.filt' 9 | set nogrid 10 | set size 0.78,1 11 | set nolabel 12 | plot 'sastt-case2.sys.rttm.filt.sbhist.dat' title 'True' with boxes, x*100 title 'Expected' 13 | set size 1.0, 1.0 14 | set key 15 | -------------------------------------------------------------------------------- /src/md-eval/makefile.in: -------------------------------------------------------------------------------- 1 | # ********************************************************** 2 | # Makefile for rfilter1 Directory 3 | # ********************************************************** 4 | SHELL = /bin/sh 5 | PREFIX= 6 | bindir = $(PREFIX)/bin 7 | T=../test_suite 8 | 9 | all: md-eval.pl 10 | 11 | md-eval.pl: 12 | chmod +x md-eval.pl 13 | 14 | check: all 15 | @echo "No Tests for md-eval.pl" 16 | 17 | install: all 18 | cp md-eval.pl $(DESTDIR)$(bindir) 19 | 20 | clean: 21 | 22 | distclean: clean 23 | $(RM) -r *~ makefile 24 | -------------------------------------------------------------------------------- /src/rttm2ctm/makefile.in: -------------------------------------------------------------------------------- 1 | # ********************************************************** 2 | # Makefile for rfilter1 Directory 3 | # ********************************************************** 4 | SHELL = /bin/sh 5 | PREFIX= 6 | bindir = $(PREFIX)/bin 7 | T=../test_suite 8 | 9 | all: rttm2ctm.pl 10 | 11 | rttm2ctm.pl: 12 | chmod +x rttm2ctm.pl 13 | 14 | check: all 15 | @echo "No Tests for rttm2ctm.pl" 16 | 17 | install: all 18 | cp rttm2ctm.pl $(DESTDIR)$(bindir) 19 | 20 | clean: 21 | 22 | distclean: clean 23 | $(RM) -r *~ makefile 24 | -------------------------------------------------------------------------------- /src/rttmSort/makefile.in: -------------------------------------------------------------------------------- 1 | # ********************************************************** 2 | # Makefile for rfilter1 Directory 3 | # ********************************************************** 4 | SHELL = /bin/sh 5 | PREFIX= 6 | bindir = $(PREFIX)/bin 7 | T=../test_suite 8 | 9 | all: rttmSort.pl 10 | 11 | rttmSort.pl: 12 | chmod +x rttmSort.pl 13 | 14 | check: all 15 | @echo "No Tests for rttmSort.pl" 16 | 17 | install: all 18 | cp rttmSort.pl $(DESTDIR)$(bindir) 19 | 20 | clean: 21 | 22 | distclean: clean 23 | $(RM) -r *~ makefile 24 | -------------------------------------------------------------------------------- /src/spkr2sad/makefile.in: -------------------------------------------------------------------------------- 1 | # ********************************************************** 2 | # Makefile for rfilter1 Directory 3 | # ********************************************************** 4 | SHELL = /bin/sh 5 | PREFIX= 6 | bindir = $(PREFIX)/bin 7 | T=../test_suite 8 | 9 | all: spkr2sad.pl 10 | 11 | spkr2sad.pl: 12 | chmod +x spkr2sad.pl 13 | 14 | check: all 15 | @echo "No Tests for spkr2sad.pl" 16 | 17 | install: all 18 | cp spkr2sad.pl $(DESTDIR)$(bindir) 19 | 20 | clean: 21 | 22 | distclean: clean 23 | $(RM) -r *~ makefile 24 | -------------------------------------------------------------------------------- /src/stm2rttm/makefile.in: -------------------------------------------------------------------------------- 1 | # ********************************************************** 2 | # Makefile for rfilter1 Directory 3 | # ********************************************************** 4 | SHELL = /bin/sh 5 | PREFIX= 6 | bindir = $(PREFIX)/bin 7 | T=../test_suite 8 | 9 | all: stm2rttm.pl 10 | 11 | stm2rttm.pl: 12 | chmod +x stm2rttm.pl 13 | 14 | check: all 15 | @echo "No Tests for stm2rttm.pl" 16 | 17 | install: all 18 | cp stm2rttm.pl $(DESTDIR)$(bindir) 19 | 20 | clean: 21 | 22 | distclean: clean 23 | $(RM) -r *~ makefile 24 | -------------------------------------------------------------------------------- /src/sclite/testdata/build_lm.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | SLM=../slm_v2/bin 4 | 5 | perl -pe 's/\([^()]+\)\s*$/\n/; s/{//; s:/[^}]+}::; s/@//;' csrnab.ref | tr A-Z a-z | \ 6 | $SLM/text2wfreq | $SLM/wfreq2vocab > csrnab_r.vocab 7 | perl -pe 's/\([^()]+\)\s*$/\n/; s/{//; s:/[^}]+}::; s/@//;' csrnab.ref | tr A-Z a-z | \ 8 | $SLM/text2idngram -vocab csrnab_r.vocab -n 2 > csrnab_r.idngram 9 | $SLM/idngram2lm -idngram csrnab_r.idngram -n 2 -vocab csrnab_r.vocab -binary csrnab_r.blm 10 | #rm -f csrnab_r.idngram csrnab_r.voc csrnab_r.vocab 11 | 12 | -------------------------------------------------------------------------------- /src/test_suite/testmss.in: -------------------------------------------------------------------------------- 1 | 971024_4615_4220-a-0005 15.047205 21.693211 A: i have a hard time believing in ~UFO's i guess until i actually see it with my own eyes i'll just you [laughter] know 2 | 971024_4615_4220-b-0004 4.282622 10.184882 B: so what do you think about ah ~UFO's and other paranormal activity 3 | sw_40510-b-0013 75.772244 77.653222 B: sort of like UFO's ~BUT 4 | sw_40510-b-0013 85.772244 87.653222 B: sort ((%um like )) yeah (( that %um)) 5 | sw_40510-b-0013 85.772244 87.653222 B: sort (((%um) like)) yeah ((that (%um) like)) ((that (%um))) 6 | -------------------------------------------------------------------------------- /src/asclite/testfiles/overlap.correct.stm: -------------------------------------------------------------------------------- 1 | CMU_20030109-1530_D_NONE 1 GERTRUDE 107.675000 110.695000 SO OF 2 | CMU_20030109-1530_D_NONE 1 HORATIO 107.825000 108.925000 FULL 3 | CMU_20030109-1530_D_NONE 1 OPHELIA 108.275000 110.700000 JEALOUSY 4 | CMU_20030109-1530_D_NONE 1 CLAUDIUS 109.225000 111.450000 ARTLESS IS 5 | CMU_20030109-1530_D_NONE 1 HORATIO 110.700000 111.400000 GUILT IT 6 | CMU_20030109-1530_D_NONE 1 GERTRUDE 110.859000 114.267000 SPILLS ITSELF IN FEARING TO BE SPLIT 7 | -------------------------------------------------------------------------------- /src/rttmSmooth/makefile.in: -------------------------------------------------------------------------------- 1 | # ********************************************************** 2 | # Makefile for rfilter1 Directory 3 | # ********************************************************** 4 | SHELL = /bin/sh 5 | PREFIX= 6 | bindir = $(PREFIX)/bin 7 | T=../test_suite 8 | 9 | all: rttmSmooth.pl 10 | 11 | rttmSmooth.pl: 12 | chmod +x rttmSmooth.pl 13 | 14 | check: all 15 | @echo "No Tests for rttmSmooth.pl" 16 | 17 | install: all 18 | cp rttmSmooth.pl $(DESTDIR)$(bindir) 19 | 20 | clean: 21 | 22 | distclean: clean 23 | $(RM) -r *~ makefile 24 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.8 2 | 3 | LABEL Description="NIST Speech Recognition Scoring Toolkit (SCTK)" 4 | 5 | # SCTK dependencies 6 | RUN apk add --update \ 7 | alpine-sdk \ 8 | git \ 9 | perl \ 10 | && rm -rf /var/cache/apk/* 11 | 12 | WORKDIR /opt 13 | 14 | # Build and install all SCTK tools 15 | RUN git clone https://github.com/usnistgov/SCTK \ 16 | && cd SCTK \ 17 | && make config \ 18 | && make all \ 19 | && make install \ 20 | && make clean \ 21 | && cp ./bin/* /usr/local/bin/ 22 | 23 | WORKDIR /var/sctk 24 | 25 | CMD ["sclite"] 26 | -------------------------------------------------------------------------------- /src/mergectm2rttm/makefile.in: -------------------------------------------------------------------------------- 1 | # ********************************************************** 2 | # Makefile for rfilter1 Directory 3 | # ********************************************************** 4 | SHELL = /bin/sh 5 | PREFIX= 6 | bindir = $(PREFIX)/bin 7 | T=../test_suite 8 | 9 | all: mergectm2rttm.pl 10 | 11 | mergectm2rttm.pl: 12 | chmod +x mergectm2rttm.pl 13 | 14 | check: all 15 | @echo "No Tests for mergectm2rttm.pl" 16 | 17 | install: all 18 | cp mergectm2rttm.pl $(DESTDIR)$(bindir) 19 | 20 | clean: 21 | 22 | distclean: clean 23 | $(RM) -r *~ makefile 24 | -------------------------------------------------------------------------------- /src/rfilter1/include/prtrim2.c: -------------------------------------------------------------------------------- 1 | /* file prtrim2.c */ 2 | 3 | #if !defined(COMPILE_ENVIRONMENT) 4 | #include "stdcenvf.h" /* std compile environment for functions */ 5 | #endif 6 | 7 | /**************************************************/ 8 | /* prtrim2(s) */ 9 | /* Returns pointer s; puts end-of-line code */ 10 | /* ('\0') into the first charactor following the */ 11 | /* last non-whitespace character in the string. */ 12 | /**************************************************/ 13 | Char *prtrim2(Char *s) 14 | {*(prtrim(s) + 1) = '\0'; return s;} 15 | -------------------------------------------------------------------------------- /src/sclite/testdata/test.ukranian.hyp: -------------------------------------------------------------------------------- 1 | я відповідаю за навчання та застосування цього загону (ukr_0001) 2 | ці компактні добре підготовлені загони можуть використовуватися будь де у світі для допомоги дружнім урядам в оборонних операціях (ukr_0002) 3 | вони також можуть використовуватися у нетрадиційні бойові ролі (ukr_0003) 4 | під час тренувань наголошується на індивідуальному виживанню за різних умов (ukr_0004) 5 | у мої обов'язки входить контроль за всіма адміністративними та матеріально технічними питаннями (ukr_0005) 6 | якщо загін розділять на дві команди я буду командувати однією з них (ukr_0006) 7 | -------------------------------------------------------------------------------- /src/sclite/testdata/test.ukranian.ref: -------------------------------------------------------------------------------- 1 | Я відповідаю за навчання та застосування цього загону (ukr_0001) 2 | Ці компактні, добре підготовлені загони можуть використовуватися будь-де у світі для допомоги дружнім урядам в оборонних операціях (ukr_0002) 3 | Вони також можуть використовуватися у нетрадиційній бойовій ролі (ukr_0003) 4 | Під час тренувань наголошується на індивідуальному виживанні за різних умов (ukr_0004) 5 | У мої обов'язки входить контроль за всіма адміністративними та мітеріально-технічними питаннями (ukr_0005) 6 | Якщо загін розділять на дві команди, я буду командувати однією з них (ukr_0006) 7 | -------------------------------------------------------------------------------- /src/sclite/sgml.h: -------------------------------------------------------------------------------- 1 | 2 | #define MAX_TAGS 10 3 | #define MAX_ATTRIB 30 4 | 5 | typedef struct sgml_label_struct{ 6 | TEXT *name; 7 | int attrib_num; 8 | TEXT *attrib_name[MAX_ATTRIB]; 9 | TEXT *attrib_value[MAX_ATTRIB]; 10 | } SGML_LABEL; 11 | 12 | typedef struct sgml_tags{ 13 | int num_tags; 14 | SGML_LABEL tags[MAX_TAGS]; 15 | } SGML; 16 | 17 | void init_SGML(SGML *sg); 18 | void dump_SGML_tag(SGML *sg, int n, FILE *fp); 19 | int add_SGML_tag(SGML *sg, TEXT *str); 20 | TEXT *delete_SGML_tag(SGML *sg, TEXT *str); 21 | TEXT *get_SGML_attrib(SGML *sg, int tn, TEXT *sname); 22 | 23 | -------------------------------------------------------------------------------- /src/hubscr/test1.base/Ensemble.grange2.spk.plt: -------------------------------------------------------------------------------- 1 | set yrange [5:0] 2 | set xrange [0:100] 3 | set title "" 4 | set key 5 | set ylabel "Speaker ID" 6 | set xlabel "Speaker Word Error Rate (%)" 7 | set ytics ("2347-b" 1,"3129-b" 2,"2347-a" 3,"3129-a" 4) 8 | plot "Ensemble.grange2.spk.mean" using 2:1 title "Mean Speaker Word Error Rate (%)" with lines,\ 9 | "Ensemble.grange2.spk.median" using 2:1 title "Median Speaker Word Error Rate (%)" with lines,\ 10 | "Ensemble.grange2.spk.dat" using 2:1 "%lf%lf" title "lvc_hyp.ctm",\ 11 | "Ensemble.grange2.spk.dat" using 2:1 "%lf%*s%lf" title "lvc_hyp2.ctm" 12 | -------------------------------------------------------------------------------- /src/align2html/makefile.in: -------------------------------------------------------------------------------- 1 | SHELL = /bin/sh 2 | PREFIX= 3 | bindir = $(PREFIX)/bin 4 | 5 | all: align2html.pl 6 | 7 | align2html.pl: align2html-main.pl buildInstallVersion.pl 8 | perl buildInstallVersion.pl > align2html.pl 9 | chmod +x align2html.pl 10 | 11 | check: all 12 | @echo "No Tests for align2html.pl" 13 | 14 | install: all 15 | perl buildInstallVersion.pl > $(DESTDIR)$(bindir)/align2html.pl 16 | chmod +x $(DESTDIR)$(bindir)/align2html.pl 17 | 18 | buildPackFile: 19 | buildPack.pl > packImageTarFile 20 | 21 | clean: 22 | $(RM) align2html.pl 23 | 24 | distclean: clean 25 | $(RM) -r *~ makefile 26 | -------------------------------------------------------------------------------- /src/rfilter1/include/prtrim.c: -------------------------------------------------------------------------------- 1 | /* file prtrim.c */ 2 | 3 | #if !defined(COMPILE_ENVIRONMENT) 4 | #include "stdcenvf.h" /* std compile environment for functions */ 5 | #endif 6 | 7 | /***********************************************/ 8 | /* prtrim(s) */ 9 | /* Returns a pointer to the last */ 10 | /* non-whitespace character in the string s, */ 11 | /***********************************************/ 12 | Char *prtrim(Char *s) 13 | {Char *p1; 14 | p1 = s + strlen((char *)s) - 1; 15 | while ((p1 >= s) && (isspace(*p1))) p1--; 16 | return p1; 17 | } 18 | -------------------------------------------------------------------------------- /src/rfilter1/include/stdpars.h: -------------------------------------------------------------------------------- 1 | /* file stdpars.h */ 2 | /* standard symbolic source-code parameters: */ 3 | 4 | #ifndef STDPARS_HEADER 5 | #define STDPARS_HEADER 6 | 7 | 8 | #ifndef LINE_LENGTH 9 | #define LINE_LENGTH 132 10 | #endif 11 | 12 | #ifndef LONG_LINE 13 | #define LONG_LINE 2000 14 | #endif 15 | 16 | #define MAX_WORDS_IN_FILE 3200 17 | #define MAX_CODE_SETS 4 18 | 19 | #define MAX_PHONES 160 20 | #define MAX_FHIST_SAVED_VALUES 20000 21 | 22 | #define MAX_AUX_SYMBOLS 20 23 | 24 | #define HFCN_NPARAMS_MAX 24 25 | 26 | #define MAX_SMTAB_ENTRIES 10000 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /src/acomp/makefile.in: -------------------------------------------------------------------------------- 1 | # ********************************************************** 2 | # Makefile for rfilter1 Directory 3 | # ********************************************************** 4 | SHELL = /bin/sh 5 | PREFIX= 6 | bindir = $(PREFIX)/bin 7 | T=../test_suite 8 | PERL=/slp/sware/Linux/bin/perl 9 | 10 | all: acomp.pl 11 | 12 | acomp.pl: 13 | chmod +x acomp.pl 14 | 15 | setTests: 16 | 17 | check: all 18 | @echo "Testing acomp.pl" 19 | @echo " No tests defined for acomp.pl" 20 | 21 | install: all 22 | cp acomp.pl $(DESTDIR)$(bindir) 23 | 24 | clean: 25 | 26 | distclean: clean 27 | $(RM) -r *~ makefile 28 | -------------------------------------------------------------------------------- /src/hubscr/test2-sastt.base/sastt-case2.sys.rttm.filt.hist.plt: -------------------------------------------------------------------------------- 1 | set samples 1000 2 | set xrange [0.000000:1.000000] 3 | set autoscale y 4 | set size 0.78, 1.0 5 | set nogrid 6 | set ylabel 'Counts' 7 | set xlabel 'Confidence Measure' 8 | set title 'Confidence scores for sastt-case2.sys.rttm.filt' 9 | plot 'sastt-case2.sys.rttm.filt.hist.dat' using 1:2 '%lf%lf' title 'All Conf.' with lines, \ 10 | 'sastt-case2.sys.rttm.filt.hist.dat' using 1:2 '%lf%*s%lf' title 'Correct Conf.' with lines, \ 11 | 'sastt-case2.sys.rttm.filt.hist.dat' using 1:2 '%lf%*s%*s%lf' title 'Incorrect Conf.' with lines 12 | set size 1.0, 1.0 13 | -------------------------------------------------------------------------------- /src/rfilter1/include/str_eq.c: -------------------------------------------------------------------------------- 1 | /* file str_eq.c */ 2 | 3 | #if !defined(COMPILE_ENVIRONMENT) 4 | #include "stdcenvf.h" /* std compile environment for functions */ 5 | #endif 6 | 7 | /*********************************************/ 8 | /* string_equal(cs,ct,ignore_case) */ 9 | /* returns T is cs == ct, ignoring case iff */ 10 | /* "ignore_case" is T. */ 11 | /*********************************************/ 12 | boolean string_equal(Char *cs, Char *ct, int ignore_case) 13 | {if (ignore_case) return strcaseeq((char *)cs,(char *)ct); else return streq((char *)cs,(char *)ct); 14 | } 15 | -------------------------------------------------------------------------------- /src/test_suite/test.eng.notrans.stm: -------------------------------------------------------------------------------- 1 | ;; CATEGORY "0" "" "" 2 | ;; LABEL "O" "Overall" "Overall" 3 | ;; 4 | ;; CATEGORY "1" "Speaker Sex" "" 5 | ;; LABEL "female" "Female" "" 6 | ;; LABEL "male" "Male" "" 7 | ;; LABEL "child" "Child" "" 8 | ;; LABEL "unk" "Unknown" "" 9 | AMI_20041210-1052 h01 mio086 49.000000 51.775000 Hi guys %uh Good we're morning's everybody here 10 | AMI_20041210-1052 h01 mio086 53.075000 62.875000 And %uh I want to {breath [door introduce myself %uh My name is %uh (Shrida) (Dasari) and %uh I am a project manager for this new project which we are going to discuss now 11 | -------------------------------------------------------------------------------- /src/rfilter1/include/textlen.c: -------------------------------------------------------------------------------- 1 | /* file textlen.c */ 2 | 3 | #if !defined(COMPILE_ENVIRONMENT) 4 | #include "stdcenvf.h" /* std compile environment for functions */ 5 | #endif 6 | 7 | /*********************************************/ 8 | /* textlen(s) */ 9 | /* returns length of text in the string *s, */ 10 | /* ignoring head and tail whitespace. */ 11 | /* (Uses the version of pltrim that doesn't */ 12 | /* shift the data.) */ 13 | /*********************************************/ 14 | 15 | int textlen(Char *s) {return (int)(prtrim(s) - pltrimf(s) + 1);} 16 | -------------------------------------------------------------------------------- /src/def_art/makefile.in: -------------------------------------------------------------------------------- 1 | # ********************************************************** 2 | # Makefile for rfilter1 Directory 3 | # ********************************************************** 4 | SHELL = /bin/sh 5 | PREFIX= 6 | bindir = $(PREFIX)/bin 7 | T=../test_suite 8 | PERL=/slp/sware/Linux/bin/perl 9 | 10 | all: def_art.pl 11 | 12 | def_art.pl: 13 | chmod +x def_art.pl 14 | 15 | setTests: 16 | 17 | check: all 18 | @echo "Testing def_art.pl" 19 | @echo " def_art.pl passed without tests" 20 | 21 | install: all 22 | cp def_art.pl $(DESTDIR)$(bindir) 23 | 24 | clean: 25 | 26 | distclean: clean 27 | $(RM) -r *~ makefile 28 | -------------------------------------------------------------------------------- /src/rfilter1/include/mupper.c: -------------------------------------------------------------------------------- 1 | /* file mupper.c */ 2 | 3 | #if !defined(COMPILE_ENVIRONMENT) 4 | #include "stdcenvf.h" /* std compile environment for functions */ 5 | #endif 6 | 7 | /*********************************************/ 8 | /* make_upper(s) */ 9 | /* makes *s be all upper case */ 10 | /* returns pointer to *s */ 11 | /*********************************************/ 12 | Char *make_upper(Char *s) 13 | {Char *pi; 14 | pi = s; 15 | while (*pi != '\0') 16 | {*pi = (Char)toupper((int)*pi); 17 | pi += 1; 18 | } 19 | return s; 20 | } 21 | -------------------------------------------------------------------------------- /src/csrfilt/makefile.in: -------------------------------------------------------------------------------- 1 | # ********************************************************** 2 | # Makefile for rfilter1 Directory 3 | # ********************************************************** 4 | SHELL = /bin/sh 5 | PREFIX= 6 | bindir = $(PREFIX)/bin 7 | T=../test_suite 8 | 9 | all: csrfilt.sh 10 | 11 | csrfilt.sh: 12 | chmod +x csrfilt.sh 13 | 14 | setTests: 15 | ./RunTests.pl setTests 16 | 17 | check: all 18 | @echo "Testing csrfilt.sh" 19 | ./RunTests.pl 20 | @echo " csrfilt.sh successfully completed" 21 | 22 | install: all 23 | cp csrfilt.sh $(DESTDIR)$(bindir) 24 | 25 | clean: 26 | 27 | distclean: clean 28 | $(RM) -r *~ makefile 29 | -------------------------------------------------------------------------------- /src/hubscr/test1-notag-a.base/Ensemble.grange2.spk.plt: -------------------------------------------------------------------------------- 1 | set yrange [6:0] 2 | set xrange [0:100] 3 | set title "" 4 | set key 5 | set ylabel "Speaker ID" 6 | set xlabel "Speaker Word Error Rate (%)" 7 | set ytics ("inter_segment_gap" 1,"2347-b" 2,"2347-a" 3,"3129-b" 4,"3129-a" 5) 8 | plot "Ensemble.grange2.spk.mean" using 2:1 title "Mean Speaker Word Error Rate (%)" with lines,\ 9 | "Ensemble.grange2.spk.median" using 2:1 title "Median Speaker Word Error Rate (%)" with lines,\ 10 | "Ensemble.grange2.spk.dat" using 2:1 "%lf%lf" title "lvc_hyp.notag.ctm",\ 11 | "Ensemble.grange2.spk.dat" using 2:1 "%lf%*s%lf" title "lvc_hyp2.notag.ctm" 12 | -------------------------------------------------------------------------------- /src/hubscr/test1-notag.base/Ensemble.grange2.spk.plt: -------------------------------------------------------------------------------- 1 | set yrange [6:0] 2 | set xrange [0:100] 3 | set title "" 4 | set key 5 | set ylabel "Speaker ID" 6 | set xlabel "Speaker Word Error Rate (%)" 7 | set ytics ("inter_segment_gap" 1,"2347-b" 2,"2347-a" 3,"3129-b" 4,"3129-a" 5) 8 | plot "Ensemble.grange2.spk.mean" using 2:1 title "Mean Speaker Word Error Rate (%)" with lines,\ 9 | "Ensemble.grange2.spk.median" using 2:1 title "Median Speaker Word Error Rate (%)" with lines,\ 10 | "Ensemble.grange2.spk.dat" using 2:1 "%lf%lf" title "lvc_hyp.notag.ctm",\ 11 | "Ensemble.grange2.spk.dat" using 2:1 "%lf%*s%lf" title "lvc_hyp2.notag.ctm" 12 | -------------------------------------------------------------------------------- /src/test_suite/testmss.stm: -------------------------------------------------------------------------------- 1 | ;; CATEGORY "0" "" "" 2 | ;; LABEL "O" "Overall" "All Segments in the test set" 3 | testmss A testmss_A 15.047205 21.69 I HAVE A HARD TIME BELIEVING IN U F O'S I GUESS UNTIL I ACTUALLY SEE IT WITH MY OWN EYES I'LL JUST YOU KNOW 4 | testmss B testmss_B 4.282622 10.18 SO WHAT DO YOU THINK ABOUT %HESITATION U F O'S AND OTHER PARANORMAL ACTIVITY 5 | testmss B testmss_B 75.772244 77.65 SORT OF LIKE UFO'S B U T 6 | testmss B testmss_B 85.772244 87.65 SORT %HESITATION LIKE YEAH THAT %HESITATION 7 | testmss B testmss_B 85.772244 87.65 SORT %HESITATION LIKE YEAH THAT %HESITATION LIKE THAT %HESITATION 8 | -------------------------------------------------------------------------------- /src/test_suite/test.eng.stm: -------------------------------------------------------------------------------- 1 | ;; CATEGORY "0" "" "" 2 | ;; LABEL "O" "Overall" "Overall" 3 | ;; 4 | ;; CATEGORY "1" "Speaker Sex" "" 5 | ;; LABEL "female" "Female" "" 6 | ;; LABEL "male" "Male" "" 7 | ;; LABEL "child" "Child" "" 8 | ;; LABEL "unk" "Unknown" "" 9 | AMI_20041210-1052 h01 mio086 49.000000 51.775000 Hi guys (%hesitation) Good we are morning's everybody here 10 | AMI_20041210-1052 h01 mio086 53.075000 62.875000 And (%hesitation) I want to introduce myself (%hesitation) My name is (%hesitation) (Shrida) (Dasari) and (%hesitation) I am a project manager for this new project which we are going to discuss now 11 | -------------------------------------------------------------------------------- /src/test_suite/testmss.numbers.stm: -------------------------------------------------------------------------------- 1 | ;; CATEGORY "0" "" "" 2 | ;; LABEL "O" "Overall" "All Segments in the test set" 3 | testmss 1 testmss_A 15.047205 21.69 I HAVE A HARD TIME BELIEVING IN U F O'S I GUESS UNTIL I ACTUALLY SEE IT WITH MY OWN EYES I'LL JUST YOU KNOW 4 | testmss 2 testmss_B 4.282622 10.18 SO WHAT DO YOU THINK ABOUT %HESITATION U F O'S AND OTHER PARANORMAL ACTIVITY 5 | testmss 2 testmss_B 75.772244 77.65 SORT OF LIKE UFO'S B U T 6 | testmss 2 testmss_B 85.772244 87.65 SORT %HESITATION LIKE YEAH THAT %HESITATION 7 | testmss 2 testmss_B 85.772244 87.65 SORT %HESITATION LIKE YEAH THAT %HESITATION LIKE THAT %HESITATION 8 | -------------------------------------------------------------------------------- /src/asclite/testfiles/overlap.stm: -------------------------------------------------------------------------------- 1 | CMU_20030109-1530_D_NONE 1 TBVSTT 107.675000 110.695000 (%HESITATION) WITH AMONG EACH OTHER QUIET SIGNIFICANTLY 2 | CMU_20030109-1530_D_NONE 1 COU 107.825000 108.925000 YOU DO NOT SAY 3 | CMU_20030109-1530_D_NONE 1 YWTKTM 108.275000 110.700000 YEAH 4 | CMU_20030109-1530_D_NONE 1 NWXRPL 109.225000 111.450000 DISAGREEMENT 5 | CMU_20030109-1530_D_NONE 1 COU 110.700000 111.400000 YEAH 6 | CMU_20030109-1530_D_NONE 1 TBVSTT 110.859000 115.267000 (%HESITATION) I I I SEEM TO REMEMBER SOMETHING ABOUT SOME OF THIS SOME OF THE (%HESITATION) SURVEILLANCE TECHNOLOGY LIKE 7 | -------------------------------------------------------------------------------- /src/stmValidator/makefile.in: -------------------------------------------------------------------------------- 1 | 2 | SHELL = /bin/sh 3 | PREFIX= 4 | bindir = $(PREFIX)/bin 5 | 6 | all: stmValidator.pl 7 | 8 | stmValidator.pl: stmValidator-main.pl buildInstallVersion.pl STMList.pl STMRecord.pl 9 | perl buildInstallVersion.pl > stmValidator.pl 10 | chmod +x stmValidator.pl 11 | 12 | check: all 13 | (cd test_suite; $(SHELL) RunTest.sh ../stmValidator.pl) 14 | 15 | install: all 16 | perl buildInstallVersion.pl > $(DESTDIR)$(bindir)/stmValidator.pl 17 | chmod +x $(DESTDIR)$(bindir)/stmValidator.pl 18 | 19 | STMList.pl: 20 | 21 | STMRecord.pl: 22 | 23 | clean: 24 | $(RM) stmValidator.pl 25 | 26 | distclean: clean 27 | $(RM) -r *~ makefile 28 | -------------------------------------------------------------------------------- /src/test_suite/test.arb2004.glm: -------------------------------------------------------------------------------- 1 | ;; Comment 2 | * name "test.arab2003.glm" 3 | * desc "Testing file for Arabic" 4 | * copy_no_hit = 'T' 5 | ;; 6 | ;; Verbal Punctuation equivalences 7 | %أه => %تردّد / [ ] __ [ ] 8 | أه => %تردّد / [ ] __ [ ] 9 | %إيه => %تردّد / [ ] __ [ ] 10 | إيه => %تردّد / [ ] __ [ ] 11 | %أم => %تردّد / [ ] __ [ ] 12 | أم => %تردّد / [ ] __ [ ] 13 | %أوو => %تردّد / [ ] __ [ ] 14 | أوو => %تردّد / [ ] __ [ ] 15 | %هاي => %تردّد / [ ] __ [ ] 16 | هاي => %تردّد / [ ] __ [ ] 17 | %مهم => %تردّد / [ ] __ [ ] 18 | مهم => %تردّد / [ ] __ [ ] 19 | 20 | ;;; This Rule will ONLY work IF tanween removal happens 21 | اخاف => MultiRule / [ ] __ [ ] 22 | -------------------------------------------------------------------------------- /src/asclite/test/config.in: -------------------------------------------------------------------------------- 1 | dnl Process this file with autoconf to produce a configure script. 2 | AC_INIT(test_unit.cpp) 3 | 4 | dnl Checks for programs. 5 | AC_PROG_CXX 6 | dnl AC_PROG_INSTALL 7 | AC_PROG_MAKE_SET 8 | 9 | dnl Checks for libraries. 10 | dnl Replace `main' with a function in -lm: 11 | AC_CHECK_LIB(m, main) 12 | 13 | dnl Checks for header files. 14 | AC_HEADER_STDC 15 | AC_CHECK_HEADERS(unistd.h) 16 | 17 | dnl Checks for typedefs, structures, and compiler characteristics. 18 | AC_C_CONST 19 | AC_TYPE_SIZE_T 20 | 21 | dnl Checks for library functions. 22 | dnl AC_FUNC_VPRINTF 23 | 24 | AC_PATH_PROGS(INSTALL, install cp copy) 25 | 26 | AC_OUTPUT(Makefile) 27 | -------------------------------------------------------------------------------- /src/asclite/testfiles/stmctm.ctm: -------------------------------------------------------------------------------- 1 | comb 1 0.0 0.1 A 2 | comb 1 0.1 0.1 B 3 | comb 1 0.2 0.1 C 4 | comb 1 0.3 0.1 D 5 | comb 1 1.0 0.1 a 6 | comb 1 1.1 0.1 b- 7 | comb 1 1.2 0.1 (c-) 8 | comb 1 1.3 0.1 (d) 9 | f 1 0.0 0.1 a 10 | f 1 0.1 0.1 b 11 | f 1 0.2 0.1 c 12 | f 1 0.3 0.1 d 13 | f 1 0.4 0.1 e 14 | f 1 0.5 0.1 f 15 | f 1 0.6 0.1 g 16 | f 1 1.0 0.1 a 17 | f 1 1.1 0.1 b 18 | f 1 * * 19 | f 1 1.2 0.1 c 20 | f 1 1.3 0.1 d 21 | f 1 * * 22 | f 1 1.2 0.1 c 23 | f 1 * * 24 | f 1 1.4 0.1 e 25 | f 1 * * 26 | f 1 1.4 0.1 e 27 | f 1 1.5 0.1 f 28 | f 1 1.6 0.1 g 29 | -------------------------------------------------------------------------------- /src/hubscr/testArb.base/test.arb2004.glm: -------------------------------------------------------------------------------- 1 | ;; Comment 2 | * name "test.arab2003.glm" 3 | * desc "Testing file for Arabic" 4 | * copy_no_hit = 'T' 5 | ;; 6 | ;; Verbal Punctuation equivalences 7 | %أه => %تردّد / [ ] __ [ ] 8 | أه => %تردّد / [ ] __ [ ] 9 | %إيه => %تردّد / [ ] __ [ ] 10 | إيه => %تردّد / [ ] __ [ ] 11 | %أم => %تردّد / [ ] __ [ ] 12 | أم => %تردّد / [ ] __ [ ] 13 | %أوو => %تردّد / [ ] __ [ ] 14 | أوو => %تردّد / [ ] __ [ ] 15 | %هاي => %تردّد / [ ] __ [ ] 16 | هاي => %تردّد / [ ] __ [ ] 17 | %مهم => %تردّد / [ ] __ [ ] 18 | مهم => %تردّد / [ ] __ [ ] 19 | 20 | ;;; This Rule will ONLY work IF tanween removal happens 21 | اخاف => MultiRule / [ ] __ [ ] 22 | -------------------------------------------------------------------------------- /src/hubscr/makefile.in: -------------------------------------------------------------------------------- 1 | # ********************************************************** 2 | # Makefile for rfilter1 Directory 3 | # ********************************************************** 4 | SHELL = /bin/sh 5 | PREFIX=../.. 6 | bindir = $(PREFIX)/bin 7 | T=../test_suite 8 | PERL=/slp/sware/Linux/bin/perl 9 | 10 | all: hubscr.pl 11 | 12 | hubscr.pl: 13 | chmod +x hubscr.pl 14 | 15 | setTests: 16 | ./RunTests.pl setTests 17 | 18 | check: all 19 | @echo "Testing hubscr.pl" 20 | ./RunTests.pl 21 | @echo " hubscr.pl tests successfully completed" 22 | 23 | install: all 24 | cp hubscr.pl $(DESTDIR)$(bindir) 25 | 26 | clean: 27 | 28 | distclean: clean 29 | $(RM) -r *~ makefile 30 | -------------------------------------------------------------------------------- /src/rfilter1/include/del_eol.c: -------------------------------------------------------------------------------- 1 | /* file del_eol.c */ 2 | 3 | #if !defined(COMPILE_ENVIRONMENT) 4 | #include "stdcenvf.h" /* std compile environment for functions */ 5 | #endif 6 | 7 | /***********************************************/ 8 | /* del_eol(s) */ 9 | /* Deletes trailing end-of-line codes */ 10 | /* from the line *s. */ 11 | /* returns s. */ 12 | /***********************************************/ 13 | Char *del_eol(Char *ps) 14 | {Char *p1; 15 | p1 = ps + strlen((char *)ps) - 1; 16 | while ( (p1 >= ps) && (*p1 == '\n') ) {*p1 = '\0'; p1--;}; 17 | return ps; 18 | } 19 | -------------------------------------------------------------------------------- /src/rfilter1/include/strcutr.c: -------------------------------------------------------------------------------- 1 | /* file strcutr.c */ 2 | 3 | #if !defined(COMPILE_ENVIRONMENT) 4 | #include "stdcenvf.h" /* std compile environment for functions */ 5 | #endif 6 | 7 | /***********************************************/ 8 | /* Char *strcutr(ps,n) */ 9 | /* Cuts n characters from tail of *ps. */ 10 | /***********************************************/ 11 | Char *strcutr(Char *ps, int n) 12 | {Char *p1; 13 | p1 = ps + strlen((char *)ps) - n; 14 | if (p1 < ps) 15 | {fprintf(stderr,"*ERR: strcutr results in string of negative length.\n"); 16 | p1 = ps;} 17 | *p1 = '\0'; 18 | return ps; 19 | } /* end of strcutr() */ 20 | -------------------------------------------------------------------------------- /src/sclite/boolpr1.c: -------------------------------------------------------------------------------- 1 | /* file boolpr1.c */ 2 | 3 | #include "sctk.h" 4 | 5 | /**********************************************************************/ 6 | /* */ 7 | /* char *bool_print(x) */ 8 | /* */ 9 | /* Returns the printing equivalent of the boolean *x. */ 10 | /* */ 11 | /**********************************************************************/ 12 | 13 | char *bool_print(boolean x) {if (x) return "T"; else return "F";} 14 | -------------------------------------------------------------------------------- /src/test_suite/test.txt.-contexp.stm: -------------------------------------------------------------------------------- 1 | ;; CATEGORY "0" "" "" 2 | ;; LABEL "O" "Overall" "All Segments in the test set" 3 | test A test_A_inter_segment_gap 0 51.79 4 | test A test_A 51.79 59.87 I DON'T DON'T 5 | test A test_A_inter_segment_gap 59.87 63.34 6 | test A test_A1 63.34 65.77 SHE DON'T FIFTY-FOU- FIVE-THREE-TW- N-N- 7 | test A test_A_inter_segment_gap 65.77 73.34 8 | test A test_A1 73.34 75.77 SHE IS 9 | test A test_A_inter_segment_gap 75.77 999999.00 10 | test B test_B_inter_segment_gap 0 51.34 11 | test B test_B 51.34 51.77 SHE HAS A BLANK ONE AND HAS ANOTHER BLANK ONE 12 | test B test_B_inter_segment_gap 51.77 999999.00 13 | -------------------------------------------------------------------------------- /src/sclite/cores.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | typedef struct CORRESP_STRUCT{ 4 | int use; 5 | WORD *words[10]; 6 | double sum_conf; 7 | double max_conf; 8 | double min_conf; 9 | double avg_conf; 10 | double avg_time; 11 | double avg_dur; 12 | int nword; 13 | double bias_nword; 14 | } CORES; 15 | 16 | void print_CORES(void *p); 17 | int equal_CORES(void *p1, void *p2); 18 | void *get_CORES(void); 19 | void release_CORES(void *p); 20 | int null_alt_CORES(void *p); 21 | int opt_del_CORES (void *p); 22 | void *copy_CORES(void *p); 23 | void *make_empty_CORES(void *p); 24 | int use_count_CORES(void *p, int i); 25 | NETWORK *Network_WORD_to_CORES(NETWORK *net); 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/test_suite/test.stm.out: -------------------------------------------------------------------------------- 1 | ;; CATEGORY "0" "" "" 2 | ;; LABEL "O" "Overall" "All Segments in the test set" 3 | testmss B testmss_B 75.772244 77.65 SORT OF LIKE UFO'S B U T O-R 4 | testmss B te-stmss_B 85.772244 87.65 SO-RT %HESITATION LIKE YEAH THAT %HESITATION O-R 5 | testmss B testmss_B 85.772244 87.65 SO-RT %HESITATION LIKE YEAH THAT %HESITATION LIKE (THIS-THAT-BUT) THAT %HESITATION O-R 6 | testmss B testmss_B 75.772244 77.65 SORT OF LIKE UFO'S B U T O-R (O-) (-O) 7 | testmss B te-stmss_B 85.772244 87.65 SO-RT %HESITATION LIKE YEAH THAT %HESITATION O-R 8 | testmss B testmss_B 85.772244 87.65 SO-RT %HESITATION LIKE YEAH THAT %HESITATION LIKE (THIS-THAT-BUT) THAT %HESITATION O-R 9 | -------------------------------------------------------------------------------- /src/test_suite/test.txt.-optdel.stm: -------------------------------------------------------------------------------- 1 | ;; CATEGORY "0" "" "" 2 | ;; LABEL "O" "Overall" "All Segments in the test set" 3 | test A test_A_inter_segment_gap 0 51.79 4 | test A test_A 51.79 59.87 I DO NOT DO NOT 5 | test A test_A_inter_segment_gap 59.87 63.34 6 | test A test_A1 63.34 65.77 SHE DO NOT FIFTY-FOU- FIVE-THREE-TW- N-N- 7 | test A test_A_inter_segment_gap 65.77 73.34 8 | test A test_A1 73.34 75.77 SHE IS 9 | test A test_A_inter_segment_gap 75.77 999999.00 10 | test B test_B_inter_segment_gap 0 51.34 11 | test B test_B 51.34 51.77 SHE HAS A BLANK ONE AND HAS ANOTHER BLANK ONE 12 | test B test_B_inter_segment_gap 51.77 999999.00 13 | -------------------------------------------------------------------------------- /doc/makefile: -------------------------------------------------------------------------------- 1 | # Makefile for SCTK 2 | # Creation Date: May 18th, 2007 3 | MAKE=make 4 | 5 | POD2MAN = pod2man 6 | POD2HTML = pod2html 7 | 8 | PODS = align2html \ 9 | asclite \ 10 | ctmValidator \ 11 | mergectm2rttm 12 | 13 | all: 14 | for p in $(PODS); do \ 15 | $(POD2MAN) $$p.pod -o $$p.1; \ 16 | $(POD2HTML) $$p.pod > $$p.html; \ 17 | done 2> /dev/null 18 | 19 | man: 20 | for p in $(PODS); do \ 21 | $(POD2MAN) $$p.pod -o $$p.1; \ 22 | done 2> /dev/null 23 | 24 | html: 25 | for p in $(PODS); do \ 26 | $(POD2HTML) $$p.pod > $$p.html; \ 27 | done 2> /dev/null 28 | 29 | clean: 30 | for p in $(PODS); do \ 31 | rm -f $$p.1 $$p.html pod2htm?.tmp; \ 32 | done 2> /dev/null 33 | 34 | -------------------------------------------------------------------------------- /src/rfilter1/include/atobool.c: -------------------------------------------------------------------------------- 1 | /* file atobool.c */ 2 | 3 | #if !defined(COMPILE_ENVIRONMENT) 4 | #include "stdcenvf.h" /* std compile environment for functions */ 5 | #endif 6 | 7 | boolean atobool(Char *s) 8 | 9 | /*********************************************/ 10 | /* Returns T if string s is "T" or "TRUE" */ 11 | /* in upper or lower case, F otherwise. */ 12 | /*********************************************/ 13 | {boolean ignore_case = T, ans; 14 | if ((string_equal(s,(Char *)"T",ignore_case)) || 15 | (string_equal(s,(Char *)"YES",ignore_case)) || 16 | (string_equal(s,(Char *)"TRUE",ignore_case))) ans = T; 17 | else ans = F; 18 | return ans; 19 | } 20 | -------------------------------------------------------------------------------- /src/md-eval/test/md_test21.output.saved.log: -------------------------------------------------------------------------------- 1 | 2 | WARNING: A REF metadata event is being deleted that covers evaluated reference LEXEMEs 3 | (type=SU, subtype=question, spkr=spkr1r, TBEG=13.0, TEND=16) 4 | 5 | WARNING: A REF metadata event is being deleted that covers evaluated reference LEXEMEs 6 | (type=SU, subtype=incomplete, spkr=spkr3r, TBEG=19.0, TEND=21) 7 | 8 | WARNING: A SYS metadata event is being deleted that covers evaluated reference LEXEMEs 9 | (type=SU, subtype=question, spkr=spkr1s, TBEG=13.0, TEND=16) 10 | 11 | WARNING: A SYS metadata event is being deleted that covers evaluated reference LEXEMEs 12 | (type=SU, subtype=incomplete, spkr=spkr3s, TBEG=19.0, TEND=21) 13 | -------------------------------------------------------------------------------- /src/test_suite/test.stm.-dh.out: -------------------------------------------------------------------------------- 1 | ;; CATEGORY "0" "" "" 2 | ;; LABEL "O" "Overall" "All Segments in the test set" 3 | testmss B testmss_B 75.772244 77.65 SORT OF LIKE UFO'S B U T O R 4 | testmss B te-stmss_B 85.772244 87.65 SO RT %HESITATION LIKE YEAH THAT %HESITATION O R 5 | testmss B testmss_B 85.772244 87.65 SO RT %HESITATION LIKE YEAH THAT %HESITATION LIKE (THIS) (THAT) (BUT) THAT %HESITATION O R 6 | testmss B testmss_B 75.772244 77.65 SORT OF LIKE UFO'S B U T O R (O-) (-O) 7 | testmss B te-stmss_B 85.772244 87.65 SO RT %HESITATION LIKE YEAH THAT %HESITATION O R 8 | testmss B testmss_B 85.772244 87.65 SO RT %HESITATION LIKE YEAH THAT %HESITATION LIKE (THIS) (THAT) (BUT) THAT %HESITATION O R 9 | -------------------------------------------------------------------------------- /src/test_suite/test.txt.stm: -------------------------------------------------------------------------------- 1 | ;; CATEGORY "0" "" "" 2 | ;; LABEL "O" "Overall" "All Segments in the test set" 3 | test A test_A_inter_segment_gap 0 51.79 4 | test A test_A 51.79 59.87 I DO NOT DO NOT 5 | test A test_A_inter_segment_gap 59.87 63.34 6 | test A test_A1 63.34 65.77 SHE (DO) (NOT) FIFTY (FOU-) FIVE-THREE (TW-) N (N-) 7 | test A test_A_inter_segment_gap 65.77 73.34 8 | test A test_A1 73.34 75.77 (SHE) (IS) 9 | test A test_A_inter_segment_gap 75.77 999999.00 10 | test B test_B_inter_segment_gap 0 51.34 11 | test B test_B 51.34 51.77 SHE (HAS) A (BLANK) (ONE) AND (HAS) ANOTHER (BLANK) (ONE) 12 | test B test_B_inter_segment_gap 51.77 999999.00 13 | -------------------------------------------------------------------------------- /src/test_suite/test.stm.in: -------------------------------------------------------------------------------- 1 | ;; CATEGORY "0" "" "" 2 | ;; LABEL "O" "Overall" "All Segments in the test set" 3 | testmss B testmss_B 75.772244 77.65 SORT OF LIKE UFO'S B U T O-R 4 | testmss B te-stmss_B 85.772244 87.65 SO-RT %HESITATION LIKE YEAH THAT %HESITATION O-R 5 | testmss B testmss_B 85.772244 87.65 SO-RT %HESITATION LIKE YEAH THAT %HESITATION LIKE (THIS-THAT-BUT) THAT %HESITATION O-R 6 | testmss B testmss_B 75.772244 77.65 SORT OF LIKE UFO'S B U T O-R (O-) (-O) 7 | testmss B te-stmss_B 85.772244 87.65 SO-RT %HESITATION LIKE YEAH THAT %HESITATION O-R 8 | testmss B testmss_B 85.772244 87.65 SO-RT %HESITATION LIKE YEAH THAT %HESITATION LIKE (THIS-THAT-BUT) THAT %HESITATION O-R 9 | -------------------------------------------------------------------------------- /src/hubscr/test1.base/Ensemble.grange2.sys.plt: -------------------------------------------------------------------------------- 1 | set yrange [3:0] 2 | set xrange [0:100] 3 | set title "" 4 | set key 5 | set ylabel "Systems" 6 | set xlabel "Speaker Word Error Rate (%)" 7 | set ytics ("lvc_hyp.ctm" 1,"lvc_hyp2.ctm" 2) 8 | plot "Ensemble.grange2.sys.mean" using 2:1 title "Mean Speaker Word Error Rate (%)" with lines,\ 9 | "Ensemble.grange2.sys.median" using 2:1 title "Median Speaker Word Error Rate (%)" with lines,\ 10 | "Ensemble.grange2.sys.dat" using 2:1 "%lf%lf" title "2347-a",\ 11 | "Ensemble.grange2.sys.dat" using 2:1 "%lf%*s%lf" title "2347-b",\ 12 | "Ensemble.grange2.sys.dat" using 2:1 "%lf%*s%*s%lf" title "3129-a",\ 13 | "Ensemble.grange2.sys.dat" using 2:1 "%lf%*s%*s%*s%lf" title "3129-b" 14 | -------------------------------------------------------------------------------- /src/hubscr/test1.base/Ensemble.res: -------------------------------------------------------------------------------- 1 | ,---------------------------------------------------------------------. 2 | | | 3 | | Executive Scoring Summary by Word Tokens | 4 | | | 5 | | System | # Snt # Ref | Corr Sub Del Ins Err S.Err | 6 | |--------------+---------------+--------------------------------------| 7 | | lvc_hyp.ctm | 58 1676 | 959 503 214 166 883 57 | 8 | | lvc_hyp2.ctm | 58 1676 | 959 503 214 166 883 57 | 9 | `---------------------------------------------------------------------' 10 | -------------------------------------------------------------------------------- /src/asclite/core/lzma/Alloc.h: -------------------------------------------------------------------------------- 1 | /* Alloc.h -- Memory allocation functions 2 | 2008-03-13 3 | Igor Pavlov 4 | Public domain */ 5 | 6 | #ifndef __COMMON_ALLOC_H 7 | #define __COMMON_ALLOC_H 8 | 9 | #include 10 | 11 | void *MyAlloc(size_t size); 12 | void MyFree(void *address); 13 | 14 | #ifdef _WIN32 15 | 16 | void SetLargePageSize(); 17 | 18 | void *MidAlloc(size_t size); 19 | void MidFree(void *address); 20 | void *BigAlloc(size_t size); 21 | void BigFree(void *address); 22 | 23 | #else 24 | 25 | #define MidAlloc(size) MyAlloc(size) 26 | #define MidFree(address) MyFree(address) 27 | #define BigAlloc(size) MyAlloc(size) 28 | #define BigFree(address) MyFree(address) 29 | 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /src/sclite/slm_v2/endian.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Dumb shell script to report endianness. 4 | 5 | echo " 6 | #define BIG_ENDIAN 0 7 | #define LITTLE_ENDIAN 1 8 | 9 | int little_endian(void) 10 | { 11 | short int w = 0x0001; 12 | char *byte = (char *) &w; 13 | return(byte[0] ? LITTLE_ENDIAN : BIG_ENDIAN); 14 | } 15 | 16 | main () { 17 | if(!little_endian()) { 18 | printf(\"Big-endian, DO NOT set -DSLM_SWAP_BYTES in Makefile\\n\"); 19 | } 20 | else { 21 | printf(\"Little-endian, set -DSLM_SWAP_BYTES in Makefile\\n\"); 22 | } 23 | }" > test_endian.c 24 | gcc test_endian.c -o test_endian 25 | 26 | # Can use cc if gcc not available. 27 | 28 | ./test_endian 29 | rm -f test_endian test_endian.c 30 | -------------------------------------------------------------------------------- /src/asclite/testfiles/overlap.correct.ctm: -------------------------------------------------------------------------------- 1 | CMU_20030109-1530_D_NONE 1 108.74 0.31 SO 2 | CMU_20030109-1530_D_NONE 1 109.05 0.2 FULL 3 | CMU_20030109-1530_D_NONE 1 109.25 0.15 OF 4 | CMU_20030109-1530_D_NONE 1 109.53 0.16 ARTLESS 5 | CMU_20030109-1530_D_NONE 1 109.73 0.09 JEALOUSY 6 | CMU_20030109-1530_D_NONE 1 109.82 0.17 IS 7 | CMU_20030109-1530_D_NONE 1 109.99 0.29 GUILT 8 | CMU_20030109-1530_D_NONE 1 110.41 0.09 IT 9 | CMU_20030109-1530_D_NONE 1 111.46 0.35 SPILLS 10 | CMU_20030109-1530_D_NONE 1 111.81 0.46 ITSELF 11 | CMU_20030109-1530_D_NONE 1 112.27 0.24 IN 12 | CMU_20030109-1530_D_NONE 1 112.65 0.17 FEARING 13 | CMU_20030109-1530_D_NONE 1 113.24 0.12 TO 14 | CMU_20030109-1530_D_NONE 1 113.36 0.1 BE 15 | CMU_20030109-1530_D_NONE 1 113.46 0.32 SPLIT 16 | -------------------------------------------------------------------------------- /src/hubscr/test1.base/Ensemble.es: -------------------------------------------------------------------------------- 1 | ,------------------------------------------------------------------------. 2 | | | 3 | | Executive Scoring Summary by Percentages | 4 | | | 5 | | System | # Snt # Ref | Corr Sub Del Ins Err S.Err | 6 | |--------------+---------------+-----------------------------------------| 7 | | lvc_hyp.ctm | 58 1676 | 57.2 30.0 12.8 9.9 52.7 98.3 | 8 | | lvc_hyp2.ctm | 58 1676 | 57.2 30.0 12.8 9.9 52.7 98.3 | 9 | `------------------------------------------------------------------------' 10 | -------------------------------------------------------------------------------- /src/test_suite/test.eng.utf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Hi guys. %uh Good we're morning's everybody here. 5 | 6 | 7 | And %uh I want to {breath [door introduce myself. %uh My name is %uh Shrida Dasari and %uh I am a project manager for this new project which we are going to discuss now. 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/test_suite/test.rttm.in: -------------------------------------------------------------------------------- 1 | SPKR-INFO ICSI_20011030-1030_d*_NONE 1 adult_male fe016 2 | SPEAKER ICSI_20011030-1030_d*_NONE 1 1 30 fe016 3 | LEXEME ICSI_20011030-1030_d*_NONE 1 1 1 SO-SO lex fe016 4 | LEXEME ICSI_20011030-1030_d*_NONE 1 2 1 SO-so lex fe016 5 | LEXEME ICSI_20011030-1030_d*_NONE 1 3 1 me-me- frag fe016 6 | NON-LEX ICSI_20011030-1030_d*_NONE 1 4 1 {breath breath fe016 7 | LEXEME ICSI_20011030-1030_d*_NONE 1 5 1 she's lex fe016 8 | LEXEME ICSI_20011030-1030_d*_NONE 1 6 1 s.'s lex fe016 9 | LEXEME ICSI_20011030-1030_d*_NONE 1 7 1 john lex fe016 10 | LEXEME ICSI_20011030-1030_d*_NONE 1 8 1 recursive lex fe016 11 | LEXEME ICSI_20011030-1030_d*_NONE 1 9 1 she's un-lex fe016 12 | -------------------------------------------------------------------------------- /src/asclite/testfiles/scliteCompatTestOutDir/CT-basic.sgml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | C,"i","i":C,"wasn't","wasn't":C,"aware","aware":C,"of","of":C,"this","this" 5 | 6 | 7 | 8 | 9 | C,"i'm","i'm":C,"happy","happy":C,"today","today":C,"?","?" 10 | 11 | 12 | 13 | 14 | C,"a","a":C,"separe","separe":C,"o","o":C,"separe","separe":C,"end","end" 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/hubscr/test1-notag.base/Ensemble.res: -------------------------------------------------------------------------------- 1 | ,---------------------------------------------------------------------------. 2 | | | 3 | | Executive Scoring Summary by Word Tokens | 4 | | | 5 | | System | # Snt # Ref | Corr Sub Del Ins Err S.Err | 6 | |--------------------+---------------+--------------------------------------| 7 | | lvc_hyp.notag.ctm | 108 1682 | 959 506 217 163 886 63 | 8 | | lvc_hyp2.notag.ctm | 108 1682 | 959 506 217 163 886 63 | 9 | `---------------------------------------------------------------------------' 10 | -------------------------------------------------------------------------------- /src/hubscr/test1-notag-a.base/Ensemble.res: -------------------------------------------------------------------------------- 1 | ,---------------------------------------------------------------------------. 2 | | | 3 | | Executive Scoring Summary by Word Tokens | 4 | | | 5 | | System | # Snt # Ref | Corr Sub Del Ins Err S.Err | 6 | |--------------------+---------------+--------------------------------------| 7 | | lvc_hyp.notag.ctm | 108 1682 | 959 506 217 163 886 63 | 8 | | lvc_hyp2.notag.ctm | 108 1682 | 959 506 217 163 886 63 | 9 | `---------------------------------------------------------------------------' 10 | -------------------------------------------------------------------------------- /doc/images_src/equation.tex: -------------------------------------------------------------------------------- 1 | \documentclass[preview]{standalone} 2 | \usepackage{amsmath} 3 | 4 | \begin{document} 5 | 6 | \begin{align*} 7 | {\mathrm{Confidence\_Score}} &= H_{\mathrm{max}} + \Bigg\{ \sum_{correct\ w} \log2 \Big( \hat{p}(w) \Big) + \sum_{incorrect\ w} \log2 \Big( 1 - \hat{p}(w) \Big) \Bigg\} / H_{\mathrm{max}}, \\ 8 | \mathrm{where\ } H_{\mathrm{max}} &= -n \log2 \Big( p_c \Big) - ( N - n ) \log2 \Big( 1 - p_c \Big), \\ 9 | n &= \mathrm{the\ number\ of\ correct\ HYP\ words}, \\ 10 | N &= \mathrm{the\ total\ number\ of\ HYP\ words}, \\ 11 | p_c &= \mathrm{the\ average\ probability\ that\ an\ output\ word\ is\ correct} = n/N, \mathrm{\ and} \\ 12 | \hat{p}(w) &= \mathrm{the\ confidence\ measure\ output,\ as\ function\ of\ output\ word}. 13 | \end{align*} 14 | 15 | \end{document} -------------------------------------------------------------------------------- /src/hubscr/test1-notag-a.base/Ensemble.es: -------------------------------------------------------------------------------- 1 | ,------------------------------------------------------------------------------. 2 | | | 3 | | Executive Scoring Summary by Percentages | 4 | | | 5 | | System | # Snt # Ref | Corr Sub Del Ins Err S.Err | 6 | |--------------------+---------------+-----------------------------------------| 7 | | lvc_hyp.notag.ctm | 108 1682 | 57.0 30.1 12.9 9.7 52.7 58.3 | 8 | | lvc_hyp2.notag.ctm | 108 1682 | 57.0 30.1 12.9 9.7 52.7 58.3 | 9 | `------------------------------------------------------------------------------' 10 | -------------------------------------------------------------------------------- /src/hubscr/test1-notag.base/Ensemble.es: -------------------------------------------------------------------------------- 1 | ,------------------------------------------------------------------------------. 2 | | | 3 | | Executive Scoring Summary by Percentages | 4 | | | 5 | | System | # Snt # Ref | Corr Sub Del Ins Err S.Err | 6 | |--------------------+---------------+-----------------------------------------| 7 | | lvc_hyp.notag.ctm | 108 1682 | 57.0 30.1 12.9 9.7 52.7 58.3 | 8 | | lvc_hyp2.notag.ctm | 108 1682 | 57.0 30.1 12.9 9.7 52.7 58.3 | 9 | `------------------------------------------------------------------------------' 10 | -------------------------------------------------------------------------------- /src/hubscr/test1-sastt.base/log: -------------------------------------------------------------------------------- 1 | Filtering Files: 2 | Filtering english file 'sastt-case1.ref.rttm', rttm format 3 | Filtering english file 'sastt-case1.sys.rttm', rttm format 4 | Scoring english Hyp 'sastt-case1.sys.rttm.filt' against ref 'sastt-case1.ref.rttm.filt' 5 | sclite: 2.10 TK Version 1.3 6 | Loading Piped input. . . 1 systems loaded. 7 | Writing overall detailed scoring report 'sastt-case1.sys.rttm.filt.dtl' 8 | Writing string alignments to 'sastt-case1.sys.rttm.filt.pra' 9 | Writing string alignments to 'sastt-case1.sys.rttm.filt.prf' 10 | Skipping DET Curve, no confidence scores supplied. 11 | Skipping Confidence Histogram, no confidence scores supplied. 12 | Skipping Scaled Binned Histogram, no confidence scores supplied. 13 | 14 | Successful Completion 15 | -------------------------------------------------------------------------------- /src/rfilter1/include/calloc2.c: -------------------------------------------------------------------------------- 1 | /* file calloc2.c */ 2 | 3 | #if !defined(COMPILE_ENVIRONMENT) 4 | #include "stdcenvf.h" /* std compile environment for functions */ 5 | #endif 6 | 7 | void *calloc_safe(size_t nobj, size_t size, Char *calling_proc) 8 | /*************************************************************/ 9 | /* Like calloc(nobj,size) except fatal err if calloc fails. */ 10 | /*************************************************************/ 11 | {Char *proc = (Char *)"calloc_safe"; 12 | void *x; 13 | if (db_level > 3) printf("%sdoing %s\n",(char *)pdb,(char *)proc); 14 | x = calloc(nobj,size); 15 | if (x == NULL) fatal_error(calling_proc,(Char *)"MEM ALLOC",-1); 16 | if (memory_trace) printf("%s CALLOC %lx\n",pdb,(long)x); 17 | return x; 18 | } 19 | /* end calloc2.c */ 20 | -------------------------------------------------------------------------------- /src/sclite/testdata/lvc_refm.stm: -------------------------------------------------------------------------------- 1 | ;; CATEGORY "0" "" "" 2 | ;; CATEGORY "1" "Alternations" "Segments W or W/O Alternations" 3 | ;; LABEL "O" "Overall" "Overall Scores" 4 | ;; LABEL "WA" "With Alt" "Segments Containing Alternations" 5 | ;; LABEL "NA" "NO Alt" "Segments Without Alternations" 6 | 2347 a 2347-a 1.06 3.47 i've { um / uh } as far as i'm concerned 7 | 2347 a 2347-a 3.47 11.04 i find that the young women have lost so much because they have become more aggressive { -a / @ } and more dominating 8 | 2347 a 2347-a 11.06 15.84 9 | 2347 a 2347-a 15.94 103.53 now i would like { um / uh / i } yes 10 | 2347 a 2347-a 103.55 109.17 i have worked outside of the home and i was in one of those safe occupations i was a school teacher 11 | 2347 b 2347-b 0.00 300.00 12 | -------------------------------------------------------------------------------- /src/slatreport/makefile.in: -------------------------------------------------------------------------------- 1 | # ********************************************************** 2 | # Makefile for slatreport Directory 3 | # ********************************************************** 4 | MAKE=make 5 | PREFIX=../.. 6 | bindir=$(PREFIX)/bin 7 | 8 | all: slatreport.pl 9 | 10 | slatreport.pl: 11 | chmod +x slatreport.pl 12 | 13 | config: 14 | @echo -n " Checking gnuplot... " 15 | @if [ "`which gnuplot | egrep '^/'`" = "" ] ; then \ 16 | echo "not found"; \ 17 | else \ 18 | echo `which gnuplot`; \ 19 | fi 20 | 21 | check: all 22 | @echo "Testing slatreport.pl" 23 | ./slatTest.pl 24 | @echo " slatreport.pl tests successfully completed" 25 | 26 | install: all 27 | cp slatreport.pl $(DESTDIR)$(bindir) 28 | 29 | clean: 30 | 31 | distclean: clean 32 | $(RM) -r *~ makefile 33 | -------------------------------------------------------------------------------- /doc/mcn.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 |
McNemar Statistical Test 4 | 5 |


6 | 7 | McNemar 8 | 1.0 if t[0][1] == 0 && t[1][0] == 0 9 | % from X2 dist otherwise 10 | - possibly a one tailed confidence value 11 | 12 | MAPSSWE 13 | _______ 14 | / \ 15 | / \ 16 | ----------------------------- 17 | 18 | conf = 1.0 - (2.0 * (normprob((double) (fabs(*Z_stat))) - 0.50)); 19 | this is a two tailed confidence level 20 | 21 | 22 | SIGN 23 | 24 | conf = compute_acc_binomial(num_b,N,0.5); 25 | 26 | Signed Rank 27 | 28 | Same as mapsswe 29 | 30 | The McNemar test 31 |

32 | 33 | 34 | -------------------------------------------------------------------------------- /src/sclite/llist.h: -------------------------------------------------------------------------------- 1 | /** 2 | ** Mark Przybocki 3 | ** 598 Unix/c 4 | ** 5 | ** Project #7: PART I (creating a library) 6 | ** 7 | ** Filename: LLIST.H 8 | ** header file for the liblist.a library 9 | ** and other linked list functions. 10 | ** 11 | **/ 12 | 13 | /** DEFINE THE BASIC NODE STRUCTURE **/ 14 | 15 | typedef struct lnode LList; 16 | struct lnode 17 | { 18 | void *data; /* data element */ 19 | void *next; /* pointer to next element */ 20 | }; 21 | 22 | /** FUNCTION PROTO-TYPING **/ 23 | 24 | /* file: llist.c */ 25 | 26 | int LL_put_tail(LList **, void *); 27 | int LL_put_front(LList **, void *); 28 | int LL_get_first(LList **, void **); 29 | void LL_init(LList **); 30 | void LL_copy(LList **, LList **); 31 | int LL_empty(LList *); 32 | 33 | -------------------------------------------------------------------------------- /src/slatreport/slatTest.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | # 3 | # $Id$ 4 | 5 | use warnings; 6 | use strict; 7 | 8 | system("./slatreport.pl -i ../test_suite/slat.rttm -o ../test_suite/slat.rttm.out.test -t LEXEME -s lex | grep -v 'PNG:' > ../test_suite/slat.rttm.out.test"); 9 | 10 | unlink("../test_suite/slat.rttm.out.test.SPLbDistribution.10.png"); 11 | unlink("../test_suite/slat.rttm.out.test.SPLmDistribution.10.png"); 12 | unlink("../test_suite/slat.rttm.out.test.SPLeDistribution.10.png"); 13 | 14 | my $diff = `diff ../test_suite/slat.rttm.out ../test_suite/slat.rttm.out.test`; 15 | 16 | if($diff ne "") 17 | { 18 | print "Slat Test Failed.\n"; 19 | print "$diff\n"; 20 | exit(1); 21 | } 22 | else 23 | { 24 | print "Slat Test OK.\n"; 25 | unlink("../test_suite/slat.rttm.out.test"); 26 | exit(0); 27 | } 28 | -------------------------------------------------------------------------------- /src/rfilter1/include/boolpr1.c: -------------------------------------------------------------------------------- 1 | /* file boolpr1.c */ 2 | 3 | #if !defined(COMPILE_ENVIRONMENT) 4 | #include "stdcenvf.h" /* std compile environment for functions */ 5 | #endif 6 | 7 | /**********************************************************************/ 8 | /* */ 9 | /* Char *bool_print(x) */ 10 | /* */ 11 | /* Returns the printing equivalent of the boolean *x. */ 12 | /* */ 13 | /**********************************************************************/ 14 | 15 | Char *bool_print(boolean x) {if (x) return (Char *)"T"; else return (Char *)"F";} 16 | -------------------------------------------------------------------------------- /src/rfilter1/include/gcomflag.c: -------------------------------------------------------------------------------- 1 | /* file gcomflag.c */ 2 | 3 | #if !defined(COMPILE_ENVIRONMENT) 4 | #include "stdcenvf.h" /* std compile environment for functions */ 5 | #endif 6 | 7 | 8 | /***************************************************************/ 9 | /* get_comment_flag(s,comment_flag) */ 10 | /* Gets *comment_flag as first token in *s. */ 11 | /***************************************************************/ 12 | void get_comment_flag(Char *s, Char *comment_flag) 13 | {Char *px; 14 | comment_flag = (Char *)strcpy((char *)comment_flag,(char *)s); 15 | for (px = comment_flag; isgraph(*px); px++); 16 | *px = '\0'; 17 | if (db_level > 1) printf("*DB: comment_flag='%s'\n",comment_flag); 18 | return; 19 | } /* end get_comment_flag */ 20 | -------------------------------------------------------------------------------- /src/test_suite/test.rttm.out: -------------------------------------------------------------------------------- 1 | SPKR-INFO ICSI_20011030-1030_d*_NONE 1 adult_male fe016 2 | SPEAKER ICSI_20011030-1030_d*_NONE 1 1 30 fe016 3 | LEXEME ICSI_20011030-1030_d*_NONE 1 1 1 SO-SO lex fe016 4 | LEXEME ICSI_20011030-1030_d*_NONE 1 2 1 SO-SO lex fe016 5 | LEXEME ICSI_20011030-1030_d*_NONE 1 3 1 me-me- frag fe016 6 | NON-LEX ICSI_20011030-1030_d*_NONE 1 4 1 {breath breath fe016 7 | LEXEME ICSI_20011030-1030_d*_NONE 1 5 1 SHE_IS lex fe016 8 | LEXEME ICSI_20011030-1030_d*_NONE 1 6 1 {_S.'S_/_S._IS_/_S._HAS_} lex fe016 9 | LEXEME ICSI_20011030-1030_d*_NONE 1 7 1 JOHN lex fe016 10 | LEXEME ICSI_20011030-1030_d*_NONE 1 8 1 {_RECURSIVE_/_RECUR_{_SIVE_/_SI_VE_}_} lex fe016 11 | LEXEME ICSI_20011030-1030_d*_NONE 1 9 1 SHE_IS un-lex fe016 12 | -------------------------------------------------------------------------------- /src/test_suite/test.rttm.-dh.out: -------------------------------------------------------------------------------- 1 | SPKR-INFO ICSI_20011030-1030_d*_NONE 1 adult_male fe016 2 | SPEAKER ICSI_20011030-1030_d*_NONE 1 1 30 fe016 3 | LEXEME ICSI_20011030-1030_d*_NONE 1 1 1 SO_SO lex fe016 4 | LEXEME ICSI_20011030-1030_d*_NONE 1 2 1 SO_SO lex fe016 5 | LEXEME ICSI_20011030-1030_d*_NONE 1 3 1 me-me- frag fe016 6 | NON-LEX ICSI_20011030-1030_d*_NONE 1 4 1 {breath breath fe016 7 | LEXEME ICSI_20011030-1030_d*_NONE 1 5 1 SHE_IS lex fe016 8 | LEXEME ICSI_20011030-1030_d*_NONE 1 6 1 {_S.'S_/_S._IS_/_S._HAS_} lex fe016 9 | LEXEME ICSI_20011030-1030_d*_NONE 1 7 1 JOHN lex fe016 10 | LEXEME ICSI_20011030-1030_d*_NONE 1 8 1 {_RECURSIVE_/_RECUR_{_SIVE_/_SI_VE_}_} lex fe016 11 | LEXEME ICSI_20011030-1030_d*_NONE 1 9 1 SHE_IS un-lex fe016 12 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test01.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test01.rttm - a perfectly valid RTTM file 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test01 1 unknown 1 5 | SPEAKER test01 1 0.670 3.540 1 6 | SU test01 1 0.670 3.140 statement 1 0.708209 7 | LEXEME test01 1 0.670 0.190 IT lex 1 1 8 | LEXEME test01 1 0.870 0.270 IS lex 1 1 9 | LEXEME test01 1 1.150 0.450 FIFTEEN lex 1 1 10 | LEXEME test01 1 1.610 0.370 HOURS lex 1 1 11 | LEXEME test01 1 1.990 0.600 UNIVERSAL lex 1 1 12 | LEXEME test01 1 2.600 0.410 TIME lex 1 1 13 | LEXEME test01 1 3.020 0.200 FROM lex 1 1 14 | LEXEME test01 1 3.230 0.580 WASHINGTON lex 1 1 15 | SU test01 1 3.820 1.780 statement 1 0.951884 16 | LEXEME test01 1 3.820 0.220 THIS lex 1 1 17 | LEXEME test01 1 4.050 0.160 IS lex 1 1 18 | -------------------------------------------------------------------------------- /src/hubscr/test2-sastt.base/log: -------------------------------------------------------------------------------- 1 | Filtering Files: 2 | Filtering english file 'sastt-case2.ref.rttm', rttm format 3 | Filtering english file 'sastt-case2.sys.rttm', rttm format 4 | Scoring english Hyp 'sastt-case2.sys.rttm.filt' against ref 'sastt-case2.ref.rttm.filt' 5 | sclite: 2.10 TK Version 1.3 6 | Loading Piped input. . . 1 systems loaded. 7 | Writing overall detailed scoring report 'sastt-case2.sys.rttm.filt.dtl' 8 | Writing string alignments to 'sastt-case2.sys.rttm.filt.pra' 9 | Writing string alignments to 'sastt-case2.sys.rttm.filt.prf' 10 | Writing DET Curve to 'sastt-case2.sys.rttm.filt.det.[plt,dat]' 11 | Writing Confidence Histogram 'sastt-case2.sys.rttm.filt.hist.[plt,dat]' 12 | Writing Scaled Binned Histogram 'sastt-case2.sys.rttm.filt.sbhist.[plt,dat]' 13 | 14 | Successful Completion 15 | -------------------------------------------------------------------------------- /DISCLAIMER: -------------------------------------------------------------------------------- 1 | This software was developed at the National Institute of Standards and 2 | Technology by employees of the Federal Government in the course of their 3 | official duties. Pursuant to title 17 Section 105 of the United States Code 4 | this software is not subject to copyright protection and is in the public 5 | domain. SCTK is an experimental system. NIST assumes no responsibility 6 | whatsoever for its use by other parties, and makes no guarantees, expressed or 7 | implied, about its quality, reliability, or any other characteristic. We would 8 | appreciate acknowledgement if the software is used. 9 | 10 | THIS SOFTWARE IS PROVIDED "AS IS." With regard to this software, NIST MAKES NO 11 | EXPRESS OR IMPLIED WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING 12 | MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. 13 | -------------------------------------------------------------------------------- /src/asclite/testfiles/scliteCompatTestOutDir/CT-rttmstm-i-x-x.sgml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | C,"a","a",1.000+2.000:C,"b","b",2.000+3.000:C,"c","c",3.000+4.000 5 | 6 | 7 | 8 | 9 | C,"d","d",2.000+3.000:C,"e","e",3.000+4.000:C,"f","f",4.000+5.000:C,"g","g",5.000+6.000:C,"h","h",6.000+7.000:C,"i","i",7.000+8.000 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/hubscr/test1-notag-a.base/Ensemble.grange2.sys.plt: -------------------------------------------------------------------------------- 1 | set yrange [3:0] 2 | set xrange [0:100] 3 | set title "" 4 | set key 5 | set ylabel "Systems" 6 | set xlabel "Speaker Word Error Rate (%)" 7 | set ytics ("lvc_hyp.notag.ctm" 1,"lvc_hyp2.notag.ctm" 2) 8 | plot "Ensemble.grange2.sys.mean" using 2:1 title "Mean Speaker Word Error Rate (%)" with lines,\ 9 | "Ensemble.grange2.sys.median" using 2:1 title "Median Speaker Word Error Rate (%)" with lines,\ 10 | "Ensemble.grange2.sys.dat" using 2:1 "%lf%lf" title "inter_segment_gap",\ 11 | "Ensemble.grange2.sys.dat" using 2:1 "%lf%*s%lf" title "2347-a",\ 12 | "Ensemble.grange2.sys.dat" using 2:1 "%lf%*s%*s%lf" title "2347-b",\ 13 | "Ensemble.grange2.sys.dat" using 2:1 "%lf%*s%*s%*s%lf" title "3129-a",\ 14 | "Ensemble.grange2.sys.dat" using 2:1 "%lf%*s%*s%*s%*s%lf" title "3129-b" 15 | -------------------------------------------------------------------------------- /src/hubscr/test1-notag.base/Ensemble.grange2.sys.plt: -------------------------------------------------------------------------------- 1 | set yrange [3:0] 2 | set xrange [0:100] 3 | set title "" 4 | set key 5 | set ylabel "Systems" 6 | set xlabel "Speaker Word Error Rate (%)" 7 | set ytics ("lvc_hyp.notag.ctm" 1,"lvc_hyp2.notag.ctm" 2) 8 | plot "Ensemble.grange2.sys.mean" using 2:1 title "Mean Speaker Word Error Rate (%)" with lines,\ 9 | "Ensemble.grange2.sys.median" using 2:1 title "Median Speaker Word Error Rate (%)" with lines,\ 10 | "Ensemble.grange2.sys.dat" using 2:1 "%lf%lf" title "inter_segment_gap",\ 11 | "Ensemble.grange2.sys.dat" using 2:1 "%lf%*s%lf" title "2347-a",\ 12 | "Ensemble.grange2.sys.dat" using 2:1 "%lf%*s%*s%lf" title "2347-b",\ 13 | "Ensemble.grange2.sys.dat" using 2:1 "%lf%*s%*s%*s%lf" title "3129-a",\ 14 | "Ensemble.grange2.sys.dat" using 2:1 "%lf%*s%*s%*s%*s%lf" title "3129-b" 15 | -------------------------------------------------------------------------------- /src/sclite/marc1.c: -------------------------------------------------------------------------------- 1 | /* file marc1.c */ 2 | 3 | 4 | #include "sctk.h" 5 | 6 | ARC *make_arc(void *dat, NODE *from_node, NODE *to_node, int *perr) 7 | 8 | /*********************************************************/ 9 | /* Makes an arc , returning a */ 10 | /* pointer to it. */ 11 | /*********************************************************/ 12 | {char *proc = "make_arc"; 13 | ARC *p; 14 | /* code */ 15 | db_enter_msg(proc,1); /* debug only */ 16 | p = (ARC *)malloc_safe(sizeof(ARC),proc); 17 | *perr = 0; 18 | p->data = dat; 19 | p->weight = 0; 20 | p->net = NULL_NETWORK; 21 | p->from_node = from_node; 22 | p->to_node = to_node; 23 | db_leave_msg(proc,1); /* debug only */ 24 | return p; 25 | } /* end make_arc() */ 26 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test10.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test10.rttm - test for illegal alpha LEXEME 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test10 1 unknown 1 5 | SPEAKER test10 1 0.670 3.540 1 6 | SU test10 1 0.670 3.140 statement 1 0.708209 7 | LEXEME test10 1 0.670 0.190 IT lex 1 1 8 | LEXEME test10 1 0.870 0.270 IS lex 1 1 9 | LEXEME test10 1 1.150 0.450 FIFTEEN lex 1 1 10 | LEXEME test10 1 1.610 0.370 HOURS lex 1 1 11 | ;; bad alpha LEXEME 12 | LEXEME test10 1 1.990 0.600 UNIVERSAL alpha 1 1 13 | LEXEME test10 1 2.600 0.410 TIME lex 1 1 14 | LEXEME test10 1 3.020 0.200 FROM lex 1 1 15 | LEXEME test10 1 3.230 0.580 WASHINGTON lex 1 1 16 | SU test10 1 3.820 1.780 statement 1 0.951884 17 | LEXEME test10 1 3.820 0.220 THIS lex 1 1 18 | LEXEME test10 1 4.050 0.160 IS lex 1 1 19 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test03.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test03.rttm - test for illegal RTTM object type 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test03 1 unknown 1 5 | SPEAKER test03 1 0.670 3.540 1 6 | SU test03 1 0.670 3.140 statement 1 0.708209 7 | ;; LEX is not a legal RTTM object type 8 | LEX test03 1 0.670 0.190 IT lex 1 1 9 | LEXEME test03 1 0.870 0.270 IS lex 1 1 10 | LEXEME test03 1 1.150 0.450 FIFTEEN lex 1 1 11 | LEXEME test03 1 1.610 0.370 HOURS lex 1 1 12 | LEXEME test03 1 1.990 0.600 UNIVERSAL lex 1 1 13 | LEXEME test03 1 2.600 0.410 TIME lex 1 1 14 | LEXEME test03 1 3.020 0.200 FROM lex 1 1 15 | LEXEME test03 1 3.230 0.580 WASHINGTON lex 1 1 16 | SU test03 1 3.820 1.780 statement 1 0.951884 17 | LEXEME test03 1 3.820 0.220 THIS lex 1 1 18 | LEXEME test03 1 4.050 0.160 IS lex 1 1 19 | -------------------------------------------------------------------------------- /src/asclite/testfiles/generic-1.rttm: -------------------------------------------------------------------------------- 1 | SPKR-INFO VT_20051027-1400 1 UNKNOWN SYS1 2 | SPKR-INFO VT_20051027-1400 1 UNKNOWN SYS2 3 | SPEAKER VT_20051027-1400 1 100.500 3.000 SYS1 4 | LEXEME VT_20051027-1400 1 100.500 0.500 Y LEX SYS1 5 | LEXEME VT_20051027-1400 1 101.000 0.400 U LEX SYS1 6 | LEXEME VT_20051027-1400 1 101.400 0.500 A LEX SYS1 7 | LEXEME VT_20051027-1400 1 101.900 1.600 G LEX SYS1 8 | SPEAKER VT_20051027-1400 1 102.800 1.200 SYS2 9 | LEXEME VT_20051027-1400 1 102.800 1.200 D LEX SYS2 10 | SPEAKER VT_20051027-1400 1 104.500 2.800 SYS2 11 | LEXEME VT_20051027-1400 1 104.500 0.700 F LEX SYS2 12 | LEXEME VT_20051027-1400 1 105.200 1.000 X LEX SYS2 13 | LEXEME VT_20051027-1400 1 106.200 0.700 Z LEX SYS2 14 | LEXEME VT_20051027-1400 1 106.900 0.400 Y LEX SYS2 15 | -------------------------------------------------------------------------------- /src/asclite/testfiles/sastt.ref.rttm: -------------------------------------------------------------------------------- 1 | SPKR-INFO VT_20051027-1400 1 UNKNOWN REF1 2 | SPKR-INFO VT_20051027-1400 1 UNKNOWN REF2 3 | SPEAKER VT_20051027-1400 1 101.000 4.800 REF1 4 | LEXEME VT_20051027-1400 1 101.000 0.400 T LEX REF1 5 | LEXEME VT_20051027-1400 1 101.400 0.600 A LEX REF1 6 | LEXEME VT_20051027-1400 1 102.000 1.000 B LEX REF1 7 | LEXEME VT_20051027-1400 1 103.000 1.200 C LEX REF1 8 | SPEAKER VT_20051027-1400 1 103.300 1.900 REF2 9 | LEXEME VT_20051027-1400 1 103.300 1.100 G LEX REF2 10 | LEXEME VT_20051027-1400 1 104.100 1.100 H LEX REF2 11 | LEXEME VT_20051027-1400 1 104.200 1.600 F LEX REF1 12 | SPEAKER VT_20051027-1400 1 105.500 1.100 REF2 13 | LEXEME VT_20051027-1400 1 105.500 0.700 X LEX REF2 14 | LEXEME VT_20051027-1400 1 106.200 0.400 T LEX REF2 15 | -------------------------------------------------------------------------------- /src/asclite/testfiles/sastt.sys.rttm: -------------------------------------------------------------------------------- 1 | SPKR-INFO VT_20051027-1400 1 UNKNOWN SYS1 2 | SPKR-INFO VT_20051027-1400 1 UNKNOWN SYS2 3 | SPEAKER VT_20051027-1400 1 100.500 3.000 SYS1 4 | LEXEME VT_20051027-1400 1 100.500 0.500 Y LEX SYS1 5 | LEXEME VT_20051027-1400 1 101.000 0.400 U LEX SYS1 6 | LEXEME VT_20051027-1400 1 101.400 0.500 A LEX SYS1 7 | LEXEME VT_20051027-1400 1 101.900 1.600 G LEX SYS1 8 | SPEAKER VT_20051027-1400 1 102.800 1.200 SYS2 9 | LEXEME VT_20051027-1400 1 102.800 1.200 D LEX SYS2 10 | SPEAKER VT_20051027-1400 1 104.500 2.800 SYS2 11 | LEXEME VT_20051027-1400 1 104.500 0.700 F LEX SYS2 12 | LEXEME VT_20051027-1400 1 105.200 1.000 X LEX SYS2 13 | LEXEME VT_20051027-1400 1 106.200 0.700 Z LEX SYS2 14 | LEXEME VT_20051027-1400 1 106.900 0.400 Y LEX SYS2 15 | -------------------------------------------------------------------------------- /src/rfilter1/include/strdup2.c: -------------------------------------------------------------------------------- 1 | /* file strdup2.c */ 2 | 3 | #if !defined(COMPILE_ENVIRONMENT) 4 | #include "stdcenvf.h" /* std compile environment for functions */ 5 | #endif 6 | 7 | /******************************************************/ 8 | /* strdup_safe(ps,calling_proc) */ 9 | /* Like strdup(ps) except fatal err if malloc fails. */ 10 | /******************************************************/ 11 | Char *strdup_safe(Char *ps, Char *calling_proc) 12 | {Char *proc = (Char *)"strdup_safe"; 13 | Char *pd; 14 | if (db_level > 3) printf("%sdoing %s\n",pdb,proc); 15 | pd = (Char*)malloc((size_t)strlen((char *)ps)+1); 16 | if (pd == NULL) fatal_error(calling_proc,(Char *)"MEM ALLOC",-1); 17 | else pd = (Char *)strcpy((char *)pd,(char *)ps); 18 | if (memory_trace) printf("%s MALLOC %lx\n",pdb,(long)pd); 19 | return pd; 20 | } 21 | /* end strdup2.c */ 22 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test14.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test14.rttm - test for undefined speaker id 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test14 1 unknown 1 5 | SPEAKER test14 1 0.670 3.540 1 6 | ;; speaker id field is not defined in SPKR-INFO object 7 | SU test14 1 0.670 3.140 statement joe 0.708209 8 | LEXEME test14 1 0.670 0.190 IT lex 1 1 9 | LEXEME test14 1 0.870 0.270 IS lex 1 1 10 | LEXEME test14 1 1.150 0.450 FIFTEEN lex 1 1 11 | LEXEME test14 1 1.610 0.370 HOURS lex 1 1 12 | LEXEME test14 1 1.990 0.600 UNIVERSAL lex 1 1 13 | LEXEME test14 1 2.600 0.410 TIME lex 1 1 14 | LEXEME test14 1 3.020 0.200 FROM lex 1 1 15 | LEXEME test14 1 3.230 0.580 WASHINGTON lex 1 1 16 | SU test14 1 3.820 1.780 statement 1 0.951884 17 | LEXEME test14 1 3.820 0.220 THIS lex 1 1 18 | LEXEME test14 1 4.050 0.160 IS lex 1 1 19 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test15.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test15.rttm - test for tokens from the same speaker overlap 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test15 1 unknown 1 5 | SPEAKER test15 1 0.670 3.540 1 6 | SU test15 1 0.670 3.140 statement 1 0.708209 7 | ;; tokens from the same speaker overlap 8 | LEXEME test15 1 0.670 0.390 IT lex 1 1 9 | LEXEME test15 1 0.870 0.270 IS lex 1 1 10 | LEXEME test15 1 1.150 0.450 FIFTEEN lex 1 1 11 | LEXEME test15 1 1.610 0.370 HOURS lex 1 1 12 | LEXEME test15 1 1.990 0.600 UNIVERSAL lex 1 1 13 | LEXEME test15 1 2.600 0.410 TIME lex 1 1 14 | LEXEME test15 1 3.020 0.200 FROM lex 1 1 15 | LEXEME test15 1 3.230 0.580 WASHINGTON lex 1 1 16 | SU test15 1 3.820 1.780 statement 1 0.951884 17 | LEXEME test15 1 3.820 0.220 THIS lex 1 1 18 | LEXEME test15 1 4.050 0.160 IS lex 1 1 19 | -------------------------------------------------------------------------------- /src/asclite/testfiles/overlap.ctm: -------------------------------------------------------------------------------- 1 | CMU_20030109-1530_D_NONE 1 108.74 0.31 AMONG 2 | CMU_20030109-1530_D_NONE 1 109.05 0.2 EACH 3 | CMU_20030109-1530_D_NONE 1 109.25 0.15 OTHER 4 | CMU_20030109-1530_D_NONE 1 109.53 0.16 LIKE 5 | CMU_20030109-1530_D_NONE 1 109.73 0.09 TO 6 | CMU_20030109-1530_D_NONE 1 109.82 0.17 READ 7 | CMU_20030109-1530_D_NONE 1 109.99 0.29 BECAUSE 8 | CMU_20030109-1530_D_NONE 1 110.41 0.09 I 9 | CMU_20030109-1530_D_NONE 1 111.46 0.35 I 10 | CMU_20030109-1530_D_NONE 1 111.81 0.46 SERIOUSLY 11 | CMU_20030109-1530_D_NONE 1 112.27 0.24 ABOUT 12 | CMU_20030109-1530_D_NONE 1 112.65 0.17 THE 13 | CMU_20030109-1530_D_NONE 1 113.24 0.12 SOME 14 | CMU_20030109-1530_D_NONE 1 113.36 0.1 OF 15 | CMU_20030109-1530_D_NONE 1 113.46 0.32 THE 16 | CMU_20030109-1530_D_NONE 1 113.89 0.49 SURVEILLANCE 17 | CMU_20030109-1530_D_NONE 1 114.38 0.54 TECHNOLOGY 18 | CMU_20030109-1530_D_NONE 1 114.92 0.16 LIKE 19 | -------------------------------------------------------------------------------- /src/sclite/killarc1.c: -------------------------------------------------------------------------------- 1 | /* file killarc1.c */ 2 | 3 | #include "sctk.h" 4 | 5 | void kill_arc(ARC *arc1) 6 | 7 | /*******************************************************************/ 8 | /* Deletes ARC *arc1. */ 9 | /* *Perr > 0 on return to signal error. */ 10 | /*******************************************************************/ 11 | 12 | {char *proc = "kill_arc"; 13 | /* code */ 14 | db_enter_msg(proc,0); /* debug only */ 15 | 16 | if (db_level > 0) printf("%s killing arc @%p\n", 17 | pdb,arc1); 18 | 19 | /* if (memory_trace) printf("%s FREEing %x\n",pdb,(int)arc1->symbol); */ 20 | /* free((void*)arc1->symbol); */ 21 | /* if (memory_trace) printf("%s FREEing %x\n",pdb,(int)arc1); */ 22 | free((void*)arc1); 23 | 24 | db_leave_msg(proc,0); /* debug only */ 25 | return; 26 | } /* end kill_arc() */ 27 | -------------------------------------------------------------------------------- /src/rfilter1/include/pltrim.c: -------------------------------------------------------------------------------- 1 | /* file pltrim.c */ 2 | 3 | #if !defined(COMPILE_ENVIRONMENT) 4 | #include "stdcenvf.h" /* std compile environment for functions */ 5 | #endif 6 | 7 | /***********************************************/ 8 | /* pltrim(s) */ 9 | /* Trims leading non-whitespace from *s, */ 10 | /* returning s, which is not changed. */ 11 | /* For a faster version which can be used if */ 12 | /* *s is not dynamic memory later freed, see */ 13 | /* pltrimf(s). */ 14 | /***********************************************/ 15 | Char *pltrim(Char *s) 16 | {Char *from, *to; 17 | /* skip leading blanks */ 18 | for (from = s; (*from != '\0') && isspace(*from); from++); 19 | /* copy rest of string */ 20 | for (to = s; *from != '\0'; from++) *to++ = *from; 21 | *to = '\0'; 22 | return s; 23 | } 24 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test25.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test25.rttm - test for embedded comments and blank lines in a perfectly valid rttm file 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test25 1 unknown 1 5 | SPEAKER test25 1 0.670 4.930 1 6 | SU test25 1 0.670 3.140 statement 1 0.708209 7 | LEXEME test25 1 0.670 0.190 IT lex 1 1 8 | LEXEME test25 1 0.870 0.270 IS lex 1 1 9 | LEXEME test25 1 1.150 0.450 FIFTEEN lex 1 1 10 | LEXEME test25 1 1.610 0.370 HOURS lex 1 1 11 | LEXEME test25 1 1.990 0.600 UNIVERSAL lex 1 1 12 | LEXEME test25 1 2.600 0.410 TIME lex 1 1 13 | LEXEME test25 1 3.020 0.200 FROM lex 1 1 14 | LEXEME test25 1 3.230 0.580 WASHINGTON lex 1 1 15 | ;; an embedded comment 16 | SU test25 1 3.820 1.780 statement 1 0.951884 17 | LEXEME test25 1 3.820 0.220 THIS lex 1 1 18 | LEXEME test25 1 4.050 0.160 IS lex 1 1 19 | -------------------------------------------------------------------------------- /src/sclite/utf-8-aux/script_parse_codepoints.sh: -------------------------------------------------------------------------------- 1 | #!/bin 2 | 3 | 4 | ### Cut/paste from https://www.utf8-chartable.de/unicode-utf8-table.pl?start=1024 5 | cpd=codepoints.txt 6 | 7 | grep 'CYRILLIC CAPITAL' $cpd | sed 's/.*CYRILLIC CAPITAL //' | sort -u | \ 8 | while read letter ; do 9 | n=`egrep " $letter\$" $cpd | wc -l | awk '{print $1}'` 10 | echo "letter: $letter" n=$n 11 | if [ "$n" != 2 ] ; then 12 | echo Fail 13 | else 14 | ### { 0x00D1, 0x00f1} //Ñ ->ñ}; 15 | sm_hex=`cat $cpd | grep "SMALL $letter$" | awk '{print "0x"$1}' | sed 's/U+//'` 16 | sm_chr=`cat $cpd | grep "SMALL $letter$" | awk '{print $2}'` 17 | ca_hex=`cat $cpd | grep "CAPITAL $letter$" | awk '{print "0x"$1}' | sed 's/U+//'` 18 | ca_chr=`cat $cpd | grep "CAPITAL $letter$" | awk '{print $2}'` 19 | echo " { $ca_hex, $sm_hex}, // $ca_chr, $sm_chr -- $letter" 20 | fi 21 | done 22 | 23 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test02.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test02.rttm - test for records with extra/missing field 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test02 1 unknown 1 5 | SPEAKER test02 1 0.670 3.540 1 6 | SU test02 1 0.670 3.140 statement 1 0.708209 7 | ;; record is missing a field 8 | LEXEME test02 1 0.670 0.190 IT lex 1 9 | ;; record has an extra field 10 | LEXEME test02 1 0.870 0.270 IS lex 1 1 1 11 | LEXEME test02 1 1.150 0.450 FIFTEEN lex 1 1 12 | LEXEME test02 1 1.610 0.370 HOURS lex 1 1 13 | LEXEME test02 1 1.990 0.600 UNIVERSAL lex 1 1 14 | LEXEME test02 1 2.600 0.410 TIME lex 1 1 15 | LEXEME test02 1 3.020 0.200 FROM lex 1 1 16 | LEXEME test02 1 3.230 0.580 WASHINGTON lex 1 1 17 | SU test02 1 3.820 1.780 statement 1 0.951884 18 | LEXEME test02 1 3.820 0.220 THIS lex 1 1 19 | LEXEME test02 1 4.050 0.160 IS lex 1 1 20 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test19.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test19.rttm - test for SU, EDIT, or FILLER object that has no tokens in it 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test19 1 unknown 1 5 | ;; this SU object doesn't cover any token 6 | SU test19 1 0.670 3.140 statement 1 0.708209 7 | SPEAKER test19 1 3.810 3.400 1 8 | LEXEME test19 1 3.810 0.070 IT lex 1 1 9 | LEXEME test19 1 3.880 0.270 IS lex 1 1 10 | LEXEME test19 1 4.150 0.450 FIFTEEN lex 1 1 11 | LEXEME test19 1 4.610 0.370 HOURS lex 1 1 12 | LEXEME test19 1 4.990 0.600 UNIVERSAL lex 1 1 13 | LEXEME test19 1 5.600 0.410 TIME lex 1 1 14 | LEXEME test19 1 6.020 0.200 FROM lex 1 1 15 | LEXEME test19 1 6.230 0.580 WASHINGTON lex 1 1 16 | SU test19 1 6.820 1.780 statement 1 0.951884 17 | LEXEME test19 1 6.820 0.220 THIS lex 1 1 18 | LEXEME test19 1 7.050 0.160 IS lex 1 1 19 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test08.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test08.rttm - test for illegal orthography field value for SU object 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test08 1 unknown 1 5 | SPEAKER test08 1 0.670 3.540 1 6 | SU test08 1 0.670 3.140 statement 1 0.708209 7 | LEXEME test08 1 0.670 0.190 IT lex 1 1 8 | LEXEME test08 1 0.870 0.270 IS lex 1 1 9 | LEXEME test08 1 1.150 0.450 FIFTEEN lex 1 1 10 | LEXEME test08 1 1.610 0.370 HOURS lex 1 1 11 | LEXEME test08 1 1.990 0.600 UNIVERSAL lex 1 1 12 | LEXEME test08 1 2.600 0.410 TIME lex 1 1 13 | LEXEME test08 1 3.020 0.200 FROM lex 1 1 14 | LEXEME test08 1 3.230 0.580 WASHINGTON lex 1 1 15 | ;; orthography field for SU object should be 16 | SU test08 1 3.820 1.780 HELLO statement 1 0.951884 17 | LEXEME test08 1 3.820 0.220 THIS lex 1 1 18 | LEXEME test08 1 4.050 0.160 IS lex 1 1 19 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test05.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test05.rttm - test for illegal channel field value 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test05 1 unknown 1 5 | SPEAKER test05 1 0.670 3.540 1 6 | SU test05 1 0.670 3.140 statement 1 0.708209 7 | LEXEME test05 3 0.670 0.190 IT lex 1 1 8 | LEXEME test05 1 0.870 0.270 IS lex 1 1 9 | ;; channel field must be 1 or 2 10 | LEXEME test05 a 1.150 0.450 FIFTEEN lex 1 1 11 | LEXEME test05 2 1.610 0.370 HOURS lex 1 1 12 | ;; channel field can't be negative 13 | LEXEME test05 -1 1.990 0.600 UNIVERSAL lex 1 1 14 | LEXEME test05 1 2.600 0.410 TIME lex 1 1 15 | LEXEME test05 1 3.020 0.200 FROM lex 1 1 16 | LEXEME test05 1 3.230 0.580 WASHINGTON lex 1 1 17 | SU test05 1 3.820 1.780 statement 1 0.951884 18 | LEXEME test05 1 3.820 0.220 THIS lex 1 1 19 | LEXEME test05 1 4.050 0.160 IS lex 1 1 20 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test09.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test09.rttm - test for illegal orthography field value for SPKR-INFO object 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | ;; orthography field for SPKR-INFO object should be 5 | SPKR-INFO test09 1 sdf unknown 1 6 | SPEAKER test09 1 0.670 3.540 1 7 | SU test09 1 0.670 3.140 statement 1 0.708209 8 | LEXEME test09 1 0.670 0.190 IT lex 1 1 9 | LEXEME test09 1 0.870 0.270 IS lex 1 1 10 | LEXEME test09 1 1.150 0.450 FIFTEEN lex 1 1 11 | LEXEME test09 1 1.610 0.370 HOURS lex 1 1 12 | LEXEME test09 1 1.990 0.600 UNIVERSAL lex 1 1 13 | LEXEME test09 1 2.600 0.410 TIME lex 1 1 14 | LEXEME test09 1 3.020 0.200 FROM lex 1 1 15 | LEXEME test09 1 3.230 0.580 WASHINGTON lex 1 1 16 | SU test09 1 3.820 1.780 statement 1 0.951884 17 | LEXEME test09 1 3.820 0.220 THIS lex 1 1 18 | LEXEME test09 1 4.050 0.160 IS lex 1 1 19 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test11.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test11.rttm - test for illegal orthography field value for LEXEME object 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test11 1 unknown 1 5 | SPEAKER test11 1 0.670 3.540 1 6 | SU test11 1 0.670 3.140 statement 1 0.708209 7 | LEXEME test11 1 0.670 0.190 IT lex 1 1 8 | LEXEME test11 1 0.870 0.270 IS lex 1 1 9 | ;; orthography field for LEXEME object should not have any numbers 10 | LEXEME test11 1 1.150 0.450 15 lex 1 1 11 | LEXEME test11 1 1.610 0.370 HOURS lex 1 1 12 | LEXEME test11 1 1.990 0.600 UNIVERSAL lex 1 1 13 | LEXEME test11 1 2.600 0.410 TIME lex 1 1 14 | LEXEME test11 1 3.020 0.200 FROM lex 1 1 15 | LEXEME test11 1 3.230 0.580 WASHINGTON lex 1 1 16 | SU test11 1 3.820 1.780 statement 1 0.951884 17 | LEXEME test11 1 3.820 0.220 THIS lex 1 1 18 | LEXEME test11 1 4.050 0.160 IS lex 1 1 19 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test13.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test13.rttm - test for illegal LEXEME subtype; test for illegal A/P subtype 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test13 1 unknown 1 5 | SPEAKER test13 1 0.670 3.540 1 6 | SU test13 1 0.670 3.140 statement 1 0.708209 7 | LEXEME test13 1 0.670 0.190 IT lex 1 1 8 | LEXEME test13 1 0.870 0.270 IS lex 1 1 9 | LEXEME test13 1 1.150 0.450 FIFTEEN lex 1 1 10 | ;; bad LEXEME subtype 11 | LEXEME test13 1 1.610 0.370 HOURS sdfsdf 1 1 12 | LEXEME test13 1 1.990 0.600 UNIVERSAL lex 1 1 13 | LEXEME test13 1 2.600 0.410 TIME lex 1 1 14 | LEXEME test13 1 3.020 0.200 FROM lex 1 1 15 | LEXEME test13 1 3.230 0.580 WASHINGTON lex 1 1 16 | SU test13 1 3.820 1.780 statement 1 0.951884 17 | A/P test13 1 3.820 0.390 other 1 1. 18 | LEXEME test13 1 3.820 0.220 THIS lex 1 1 19 | LEXEME test13 1 4.050 0.160 IS lex 1 1 20 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test20.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test20.rttm - test for LEXEME object that is not fully covered by SU, EDIT, or FILLER 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test20 1 unknown 1 5 | SPEAKER test20 1 0.570 3.640 1 6 | ;; this LEXEME object is not fully covered by the SU below 7 | LEXEME test20 1 0.570 0.190 IT lex 1 1 8 | SU test20 1 0.670 3.140 statement 1 0.708209 9 | LEXEME test20 1 0.870 0.270 IS lex 1 1 10 | LEXEME test20 1 1.150 0.450 FIFTEEN lex 1 1 11 | LEXEME test20 1 1.610 0.370 HOURS lex 1 1 12 | LEXEME test20 1 1.990 0.600 UNIVERSAL lex 1 1 13 | LEXEME test20 1 2.600 0.410 TIME lex 1 1 14 | LEXEME test20 1 3.020 0.200 FROM lex 1 1 15 | LEXEME test20 1 3.230 0.580 WASHINGTON lex 1 1 16 | SU test20 1 3.820 1.780 statement 1 0.951884 17 | LEXEME test20 1 3.820 0.220 THIS lex 1 1 18 | LEXEME test20 1 4.050 0.160 IS lex 1 1 19 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test21.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test21.rttm - test for LEXEME object that is not fully covered by SU, EDIT, or FILLER 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test21 1 unknown 1 5 | SPEAKER test21 1 0.670 3.540 1 6 | SU test21 1 0.670 3.140 statement 1 0.708209 7 | LEXEME test21 1 0.670 0.190 IT lex 1 1 8 | LEXEME test21 1 0.870 0.270 IS lex 1 1 9 | LEXEME test21 1 1.150 0.450 FIFTEEN lex 1 1 10 | LEXEME test21 1 1.610 0.370 HOURS lex 1 1 11 | LEXEME test21 1 1.990 0.600 UNIVERSAL lex 1 1 12 | LEXEME test21 1 2.600 0.410 TIME lex 1 1 13 | LEXEME test21 1 3.020 0.200 FROM lex 1 1 14 | ;; this LEXEME object is not fully covered by the SU above 15 | LEXEME test21 1 3.230 0.582 WASHINGTON lex 1 1 16 | SU test21 1 3.820 1.780 statement 1 0.951884 17 | LEXEME test21 1 3.820 0.220 THIS lex 1 1 18 | LEXEME test21 1 4.050 0.160 IS lex 1 1 19 | -------------------------------------------------------------------------------- /src/sclite/testdata/stm2ctm_missing.hyp-missfile2.ctm: -------------------------------------------------------------------------------- 1 | 2347 A 0.05 0.24 THEY;tag1 2 | 2347 A 1.02 0.29 PRIDE;tag1;tag2 3 | 2347 A 1.65 0.28 ABOUT;;tag2 4 | 2347 A 1.94 0.17 A\;S;tag1 5 | 2347 A 2.12 0.25 FAR 6 | 2347 A 2.38 0.09 AS 7 | 2347 A 2.48 0.34 I'M 8 | 2347 A 2.83 0.64 I 9 | 2347 A 3.48 0.20 ARE 10 | 2347 A 3.69 0.47 FINE 11 | 2347 B 16.55 0.44 UH-HUH 12 | 2347 B 17.72 0.18 I 13 | 2347 B 17.90 0.38 LIKE 14 | 2347 B 18.50 0.32 I 15 | 2347 B 19.00 0.26 TEND 16 | 2347 B 19.26 0.14 TO 17 | 2347 B 19.40 0.42 AGREE 18 | 2347 B 19.96 0.32 I 19 | 2347 B 20.28 0.24 TEND 20 | 2347 B 20.52 0.22 SOME 21 | 2347 B 20.74 0.20 WAYS 22 | 2347 B 20.94 0.08 I 23 | 2347 B 21.02 0.34 THINK 24 | 2347 B 21.36 0.26 IT'S 25 | 2347 B 21.68 0.22 I 26 | 2347 B 21.90 0.34 THINK 27 | 2347 B 22.24 0.14 OF 28 | 2347 B 22.38 0.62 ANYTHING 29 | 2347 B 23.00 0.06 A 30 | 2347 B 23.06 0.42 LOT 31 | 2347 B 23.48 0.20 OF 32 | 2347 B 23.70 0.50 FALLEN 33 | 2347 B 24.88 0.18 THE 34 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test33.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test33.rttm - a perfectly valid RTTM file with FILLERS 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test33 1 unknown 1 5 | SPEAKER test33 1 0.670 3.540 1 6 | SU test33 1 0.670 3.140 statement 1 0.708209 7 | LEXEME test33 1 0.670 0.190 IT lex 1 1 8 | LEXEME test33 1 0.870 0.270 IS lex 1 1 9 | LEXEME test33 1 1.150 0.450 FIFTEEN lex 1 1 10 | LEXEME test33 1 1.610 0.370 HOURS lex 1 1 11 | IP test33 1 1.990 filler 1 12 | FILLER test33 1 1.990 0.600 discourse_response 1 13 | LEXEME test33 1 1.990 0.600 UNIVERSAL lex 1 1 14 | LEXEME test33 1 2.600 0.410 TIME lex 1 1 15 | LEXEME test33 1 3.020 0.200 FROM lex 1 1 16 | LEXEME test33 1 3.230 0.580 WASHINGTON lex 1 1 17 | SU test33 1 3.820 1.780 statement 1 0.951884 18 | LEXEME test33 1 3.820 0.220 THIS lex 1 1 19 | LEXEME test33 1 4.050 0.160 IS lex 1 1 20 | -------------------------------------------------------------------------------- /src/stmValidator/test_suite/RunTest.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | usage="$0 " 4 | 5 | if [ "$#" != '1' ]; then 6 | echo Script missing 7 | echo $usage 8 | exit 1 9 | fi 10 | 11 | stm=$1 12 | if [ ! -x "$stm" ]; then 13 | echo Script not executable 14 | echo $usage 15 | exit 1 16 | fi 17 | 18 | for file in test*.stm ; do 19 | if [ -f "$file.toskip" ] ; then 20 | echo "(skipping) $base ..." 21 | else 22 | echo "Testing $file..." 23 | base=`echo $file | perl -pe 's/.stm//'` 24 | log="$base.log.saved" 25 | tmp="$base.log.tmp" 26 | 27 | if [ ! -f "$log" ] ; then 28 | $stm -i $file > $log 29 | fi 30 | 31 | $stm -i $file > $tmp 32 | diff_status=`diff $log $tmp | wc -l` 33 | 34 | if [ $diff_status -ne 0 ] ; then 35 | echo " Output log differs from saved log" 36 | exit 1 37 | else 38 | rm $tmp 39 | fi 40 | fi 41 | done 42 | 43 | exit 0 44 | -------------------------------------------------------------------------------- /src/asclite/makefile: -------------------------------------------------------------------------------- 1 | ######### Main Makefile for the sctk ############# 2 | 3 | 4 | #### Creation Date: Aug 26, 2004 5 | MAKE=make 6 | ### Set the installation prefix directory to the default. (If 7 | ### relative paths are used, the are relative to two directories below 8 | ### 'src'.) 9 | PREFIX=`cd ../../.. && pwd` 10 | 11 | all clean distclean: 12 | (cd core && if test -f makefile ; then $(MAKE) $@ ; fi) 13 | (cd test && if test -f makefile ; then $(MAKE) $@ ; fi) 14 | 15 | install: 16 | (cd core && if test -f makefile ; then $(MAKE) $@ ; fi) 17 | (cd test && if test -f makefile ; then $(MAKE) $@ ; fi) 18 | 19 | config: 20 | (cd core && sh config.sh -prefix=${PREFIX}) 21 | (cd test && sh config.sh -prefix=${PREFIX}) 22 | 23 | checkFast: 24 | 25 | check: all checkFast 26 | (cd core && if test -f makefile ; then $(MAKE) $@ ; fi) 27 | (cd test && if test -f makefile ; then $(MAKE) $@ ; fi) 28 | (cd testfiles && perl ascliteTest.pl -s all) 29 | -------------------------------------------------------------------------------- /src/sclite/rsprintf.c: -------------------------------------------------------------------------------- 1 | #include "sctk.h" 2 | 3 | #ifdef __STDC__ 4 | # include 5 | #else 6 | # include 7 | #endif 8 | 9 | char static_message_buffer[10000]; 10 | 11 | #ifdef __STDC__ 12 | char *rsprintf(char *format , ...) 13 | #else 14 | char *rsprintf(va_alist) 15 | va_dcl 16 | #endif 17 | { 18 | va_list args; 19 | #ifndef __STDC__ 20 | char *format; 21 | #endif 22 | 23 | #ifdef __STDC__ 24 | va_start(args,format); 25 | #else 26 | va_start(args); 27 | format = va_arg(args,char *); 28 | #endif 29 | /* printf("rsprintf: format: %s\n",format); */ 30 | vsprintf(static_message_buffer,format,args); 31 | if (strlen(static_message_buffer) > 10000){ 32 | fprintf(stderr,"Error: rsprintf's internal buffer is too small. increase the size\n"); 33 | exit (1); 34 | } 35 | /* printf("rsprintf: message: %s\n",static_message_buffer);*/ 36 | return(static_message_buffer); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test12.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test12.rttm - test for illegal confidence field value 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test12 1 unknown 1 5 | SPEAKER test12 1 0.670 3.540 1 6 | SU test12 1 0.670 3.140 statement 1 0.708209 7 | ;; confidence value field should be a number 8 | LEXEME test12 1 0.670 0.190 IT lex 1 sdfsdf 9 | LEXEME test12 1 0.870 0.270 IS lex 1 10 | LEXEME test12 1 1.150 0.450 FIFTEEN lex 1 1.000 11 | LEXEME test12 1 1.610 0.370 HOURS lex 1 1.001 12 | ;; confidence value field should be between 0 and 1 13 | LEXEME test12 1 1.990 0.600 UNIVERSAL lex 1 -0.001 14 | LEXEME test12 1 2.600 0.410 TIME lex 1 1 15 | LEXEME test12 1 3.020 0.200 FROM lex 1 1 16 | LEXEME test12 1 3.230 0.580 WASHINGTON lex 1 1 17 | SU test12 1 3.820 1.780 statement 1 0.951884 18 | LEXEME test12 1 3.820 0.220 THIS lex 1 1 19 | LEXEME test12 1 4.050 0.160 IS lex 1 1 20 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test18.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test18.rttm - test for SU, EDIT, or FILLER object that has no tokens in it 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test18 1 unknown 1 5 | ;; this SU object only partially covers the token below 6 | SU test18 1 0.670 3.140 statement 1 0.708209 7 | SPEAKER test18 1 3.500 3.710 1 8 | LEXEME test18 1 3.500 0.320 IT lex 1 1 9 | LEXEME test18 1 3.820 0.060 IT lex 1 1 10 | LEXEME test18 1 3.880 0.270 IS lex 1 1 11 | LEXEME test18 1 4.150 0.450 FIFTEEN lex 1 1 12 | LEXEME test18 1 4.610 0.370 HOURS lex 1 1 13 | LEXEME test18 1 4.990 0.600 UNIVERSAL lex 1 1 14 | LEXEME test18 1 5.600 0.410 TIME lex 1 1 15 | LEXEME test18 1 6.020 0.200 FROM lex 1 1 16 | LEXEME test18 1 6.230 0.580 WASHINGTON lex 1 1 17 | SU test18 1 6.820 1.780 statement 1 0.951884 18 | LEXEME test18 1 6.820 0.220 THIS lex 1 1 19 | LEXEME test18 1 7.050 0.160 IS lex 1 1 20 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test22.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test22.rttm - test for LEXEME object that is not fully covered by any SU, EDIT, or FILLER 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test22 1 unknown 1 5 | SPEAKER test22 1 0.000 4.210 1 6 | ;; this LEXEME object is not fully covered by any SU 7 | LEXEME test22 1 0.000 0.190 I lex 1 1 8 | SU test22 1 0.670 3.140 statement 1 0.708209 9 | LEXEME test22 1 0.670 0.190 IT lex 1 1 10 | LEXEME test22 1 0.870 0.270 IS lex 1 1 11 | LEXEME test22 1 1.150 0.450 FIFTEEN lex 1 1 12 | LEXEME test22 1 1.610 0.370 HOURS lex 1 1 13 | LEXEME test22 1 1.990 0.600 UNIVERSAL lex 1 1 14 | LEXEME test22 1 2.600 0.410 TIME lex 1 1 15 | LEXEME test22 1 3.020 0.200 FROM lex 1 1 16 | LEXEME test22 1 3.230 0.580 WASHINGTON lex 1 1 17 | SU test22 1 3.820 1.780 statement 1 0.951884 18 | LEXEME test22 1 3.820 0.220 THIS lex 1 1 19 | LEXEME test22 1 4.050 0.160 IS lex 1 1 20 | -------------------------------------------------------------------------------- /src/hubscr/test2-sastt.base/sastt-case2.sys.rttm.filt.det.plt: -------------------------------------------------------------------------------- 1 | ## GNUPLOT command file 2 | set style data lines 3 | set size 0.78, 1.0 4 | set noxtics 5 | set noytics 6 | set title 'DET plot for sastt-case2.sys.rttm.filt' 7 | set nokey 8 | set ylabel "Correct Words Removed (in %)" 9 | set xlabel "Incorrect Words Retained (in %)" 10 | set grid 11 | set ytics ("0.1" -3.08, "0.5" -2.57, "2" -2.05, "5" -1.64, "10" -1.28, "20" -0.84, "30" -0.52, "40" -0.25, "50" 0.0, "60" 0.25, "70" 0.52, "80" 0.84, "90" 1.28, "95" 1.64, "98" 2.05, "99.5" 2.57, "99.9" 3.08) 12 | set xtics ("0.1" -3.08, "0.5" -2.57, "2" -2.05, "5" -1.64, "10" -1.28, "20" -0.84, "30" -0.52, "40" -0.25, "50" 0.0, "60" 0.25, "70" 0.52, "80" 0.84, "90" 1.28, "95" 1.64, "98" 2.05, "99.5" 2.57, "99.9" 3.08) 13 | plot [-3.290527:3.290527] [-3.290527:3.290527] \ 14 | 'sastt-case2.sys.rttm.filt.det.dat.00' using 2:1 title "sastt-case2.sys.rttm" with lines 15 | set ytics 16 | set xtics 17 | set size 1.0, 1.0 18 | set key 19 | -------------------------------------------------------------------------------- /src/rfilter1/include/ss_len.c: -------------------------------------------------------------------------------- 1 | /* file ss_len.c */ 2 | 3 | #if !defined(COMPILE_ENVIRONMENT) 4 | #include "stdcenvf.h" /* std compile environment for functions */ 5 | #endif 6 | 7 | /**********************************************************************/ 8 | /* */ 9 | /* int substr_length(substr) */ 10 | /* */ 11 | /* Returns length of SUBSTRING *substr, in bytes. */ 12 | /* */ 13 | /**********************************************************************/ 14 | int substr_length(SUBSTRING *substr) 15 | {int l; 16 | if ((substr->start == NULL) || (substr->end == NULL)) 17 | l = 0; 18 | else 19 | l = substr->end - substr->start + 1; 20 | return l; 21 | } /* end of function "substr_length" */ 22 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test07.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test07.rttm - test for illegal duration field value 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | ;; SPKR-INFO should not have any duration 5 | SPKR-INFO test07 1 sdfdf unknown 1 6 | SPEAKER test07 1 0.670 3.540 1 7 | ;; duration field can't be negative 8 | SU test07 1 0.670 -3.140 statement 1 0.708209 9 | LEXEME test07 1 0.670 sdfsdf IT lex 1 1 10 | ;; duration field must be a non-negative number 11 | LEXEME test07 1 dfdf 0.270 IS lex 1 1 12 | LEXEME test07 1 1.1d50 0.450 FIFTEEN lex 1 1 13 | LEXEME test07 1 1.610 0.370 HOURS lex 1 1 14 | LEXEME test07 1 1.990 0.600 UNIVERSAL lex 1 1 15 | LEXEME test07 1 2.600 0.410 TIME lex 1 1 16 | LEXEME test07 1 3.020 0.200 FROM lex 1 1 17 | LEXEME test07 1 3.230 0.580 WASHINGTON lex 1 1 18 | SU test07 1 3.820 1.780 statement 1 0.951884 19 | LEXEME test07 1 3.820 0.220 THIS lex 1 1 20 | LEXEME test07 1 4.050 0.160 IS lex 1 1 21 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test16.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test16.rttm - test for SU, EDIT, or FILLER object that has no tokens in it 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test16 1 unknown 1 5 | SPEAKER test16 1 0.000 0.670 1 6 | LEXEME test16 1 0.000 0.670 IT lex 1 1 7 | ;; this SU object doesn't cover any token 8 | SU test16 1 0.670 3.140 statement 1 0.708209 9 | SPEAKER test16 1 3.810 3.400 1 10 | LEXEME test16 1 3.810 0.070 IT lex 1 1 11 | LEXEME test16 1 3.880 0.270 IS lex 1 1 12 | LEXEME test16 1 4.150 0.450 FIFTEEN lex 1 1 13 | LEXEME test16 1 4.610 0.370 HOURS lex 1 1 14 | LEXEME test16 1 4.990 0.600 UNIVERSAL lex 1 1 15 | LEXEME test16 1 5.600 0.410 TIME lex 1 1 16 | LEXEME test16 1 6.020 0.200 FROM lex 1 1 17 | LEXEME test16 1 6.230 0.580 WASHINGTON lex 1 1 18 | SU test16 1 6.820 1.780 statement 1 0.951884 19 | LEXEME test16 1 6.820 0.220 THIS lex 1 1 20 | LEXEME test16 1 7.050 0.160 IS lex 1 1 21 | -------------------------------------------------------------------------------- /src/rfilter1/include/valdata.c: -------------------------------------------------------------------------------- 1 | /* file valdata.c */ 2 | 3 | #if !defined(COMPILE_ENVIRONMENT) 4 | #include "stdcenvf.h" /* std compile environment for functions */ 5 | #endif 6 | 7 | 8 | /***************************************************************/ 9 | /* boolean valid_data_line(s,comment_flag) */ 10 | /* Indicates whether or not *s is a valid non-empty data line.*/ 11 | /* Changed 7/22/93 to return "T" if comment_flag is empty. */ 12 | /***************************************************************/ 13 | boolean valid_data_line(Char *s, Char *comment_flag) 14 | {boolean ok; 15 | Char *px, *py; 16 | if (strlen((char *)s) < 1) 17 | ok = F; 18 | else 19 | {if (strlen((char *)comment_flag) < 1) ok = T; 20 | else 21 | {py = s; 22 | for (px=comment_flag; *px != '\0'; px++) 23 | if (*px != *(py++)) {ok = T; goto RETURN;} 24 | ok = F; 25 | } } 26 | RETURN: 27 | return ok; 28 | } /* end valid_data_line */ 29 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test17.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test17.rttm - test for SU, EDIT, or FILLER object that has no tokens in it 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test17 1 unknown 1 5 | SPEAKER test17 1 0.000 0.870 1 6 | LEXEME test17 1 0.000 0.870 IT lex 1 1 7 | ;; this SU object only partially covers the token above 8 | SU test17 1 0.670 3.140 statement 1 0.708209 9 | SPEAKER test17 1 3.810 3.400 1 10 | LEXEME test17 1 3.810 0.070 IT lex 1 1 11 | LEXEME test17 1 3.880 0.270 IS lex 1 1 12 | LEXEME test17 1 4.150 0.450 FIFTEEN lex 1 1 13 | LEXEME test17 1 4.610 0.370 HOURS lex 1 1 14 | LEXEME test17 1 4.990 0.600 UNIVERSAL lex 1 1 15 | LEXEME test17 1 5.600 0.410 TIME lex 1 1 16 | LEXEME test17 1 6.020 0.200 FROM lex 1 1 17 | LEXEME test17 1 6.230 0.580 WASHINGTON lex 1 1 18 | SU test17 1 6.820 1.780 statement 1 0.951884 19 | LEXEME test17 1 6.820 0.220 THIS lex 1 1 20 | LEXEME test17 1 7.050 0.160 IS lex 1 1 21 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test36.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test36.rttm - a perfectly valid RTTM file 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test36 1 unknown 1 5 | SPEAKER test36 1 0.670 10.540 1 6 | SU test36 1 0.670 3.140 statement 1 0.708209 7 | LEXEME test36 1 0.670 0.190 IT lex 1 1 8 | LEXEME test36 1 0.870 0.270 IS lex 1 1 9 | LEXEME test36 1 1.150 0.450 FIFTEEN lex 1 1 10 | LEXEME test36 1 1.610 0.370 {_DFAS_} lex 1 1 11 | LEXEME test36 1 1.990 0.600 UNIV_ERSAL lex 1 1 12 | LEXEME test36 1 2.600 0.410 TIME lex 1 1 13 | LEXEME test36 1 3.020 0.200 {_S.'S_/_S._IS_/_S._HAS_} lex 1 1 14 | LEXEME test36 1 3.230 0.580 WASHI_NGT_ON lex 1 1 15 | SU test36 1 3.820 10.780 statement 1 0.951884 16 | LEXEME test36 1 3.820 0.220 THIS lex 1 1 17 | LEXEME test36 1 4.050 0.160 IS lex 1 1 18 | LEXEME test36 1 5.050 0.160 {_AS_/_Q_} lex 1 1 19 | LEXEME test36 1 6.050 0.160 {_AS_TO_/_Q_} lex 1 1 20 | LEXEME test36 1 7.050 0.160 {_AS_/_Q_TO_} lex 1 1 21 | -------------------------------------------------------------------------------- /src/test_suite/test_ctm.in: -------------------------------------------------------------------------------- 1 | ;; 2 | ;; 3 | ;; comments lines 4 | ;; 5 | 940328 1 4.03 0.26 FROM 6 | 940328 1 4.30 0.27 LIGHT-WEIGHT 7 | 940328 1 4.58 0.47 STORY 8 | 94-0328 1 5.06 0.20 BOARD 9 | 940328 1 5.27 0.16 OF 10 | 940328 1 5.44 0.38 FAT TISSUE 2.345 11 | 940328 1 5.83 0.88 MOUSE 1.234 12 | 940328 1 18.15 0.72 MEXICO 13 | 940328 1 18.88 0.20 "END QUOTE 14 | 940328 1 19.12 0.59 TURMOIL 15 | ES2009b-Headset-18_T000010.0_T011146.176 1 2.54 0.2 OH 0 16 | ES2009b-Headset-18_T000010.0_T011146.176 1 2.74 0.3 SET 0 17 | ES2009b-Headset-18_T000010.0_T011146.176 1 4.13 0.22 OKAY 0 18 | ES2009b-Headset-18_T000010.0_T011146.176 1 4.66 0.26 COOL 0 19 | ES2009b-Headset-18_T000010.0_T011146.176 1 5.54 0.26 RIGHT 0 20 | ES2009b-Headset-18_T000010.0_T011146.176 1 5.8 0.4 SO 0 21 | ES2009b-Headset-18_T000010.0_T011146.176 1 7.1 0.64 BASICALLY 0 22 | ES2009b-Headset-18_T000010.0_T011146.176 1 7.74 0.21 I'M 0 23 | ES2009b-Headset-18_T000010.0_T011146.176 1 7.95 0.17 JUST 0 24 | ES2009b-Headset-18_T000010.0_T011146.176 1 7.95 0.17 S.'s 0 25 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test06.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test06.rttm - test for illegal start time field value 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | ;; SPKR-INFO should not have any start time 5 | SPKR-INFO test06 1 7.000 unknown 1 6 | SPEAKER test06 1 0.670 3.540 1 7 | ;; start time field can't be negative 8 | SU test06 1 -0.670 3.140 statement 1 0.708209 9 | ;; start time field must be a non-negative number 10 | LEXEME test06 1 sdfsdf 0.190 IT lex 1 1 11 | LEXEME test06 1 0.8df 0.270 IS lex 1 1 12 | LEXEME test06 1 1.150 0.450 FIFTEEN lex 1 1 13 | LEXEME test06 1 1.610 0.370 HOURS lex 1 1 14 | LEXEME test06 1 1.990 0.600 UNIVERSAL lex 1 1 15 | LEXEME test06 1 2.600 0.410 TIME lex 1 1 16 | LEXEME test06 1 3.020 0.200 FROM lex 1 1 17 | LEXEME test06 1 3.230 0.580 WASHINGTON lex 1 1 18 | SU test06 1 3.820 1.780 statement 1 0.951884 19 | LEXEME test06 1 3.820 0.220 THIS lex 1 1 20 | LEXEME test06 1 4.050 0.160 IS lex 1 1 21 | LEXEME test06 1 5 0.160 IS lex 1 1 22 | -------------------------------------------------------------------------------- /src/rfilter1/include/pltrimf.c: -------------------------------------------------------------------------------- 1 | /* file pltrimf.c */ 2 | 3 | #if !defined(COMPILE_ENVIRONMENT) 4 | #include "stdcenvf.h" /* std compile environment for functions */ 5 | #endif 6 | 7 | /***********************************************/ 8 | /* pltrimf(s) */ 9 | /* Returns a pointer to the first */ 10 | /* non-whitespace character in the string s. */ 11 | /* NOTE: if s is a string that was gotten */ 12 | /* with dynamic memory allocation (e.g. with */ 13 | /* malloc()) and will be freed later, this */ 14 | /* function should NOT be used like this: */ 15 | /* s = pltrimf(s) */ 16 | /* because the pointer returned may not be */ 17 | /* the one sent down. Pltrim() is a slower */ 18 | /* function that can be used this way. */ 19 | /* */ 20 | /***********************************************/ 21 | Char *pltrimf(Char *s) 22 | {Char *p1; p1 = s; while (isspace(*p1)) p1++; return p1;} 23 | -------------------------------------------------------------------------------- /src/test_suite/test_ctm.errors.in: -------------------------------------------------------------------------------- 1 | ;; 2 | ;; 3 | ;; comments lines 4 | ;; 5 | 940328 1 4.03 0.26 FROM 6 | 940328 1 4.30 0.27 LIGHT-WEIGHT 7 | 940328 1 4.58 0.47 STORY 8 | 94-0328 1 5.06 0.20 BOARD 9 | 940328 1 5.27 0.16 OF 10 | 940328 1 5.44 0.38 FAT TISSUE 2.345 11 | 940328 1 5.83 0.88 MOUSE 1.234 12 | 940328 1 18.15 0.72 MEXICO 13 | 940328 1 18.88 0.20 "END QUOTE 14 | 940328 1 19.12 0.59 TURMOIL 15 | ES2009b-Headset-18_T000010.0_T011146.176 1 2.54 0.2 (OH) 0 16 | ES2009b-Headset-18_T000010.0_T011146.176 1 2.74 0.3 (SET 0 17 | ES2009b-Headset-18_T000010.0_T011146.176 1 4.13 0.22 OK(AY 0 18 | ES2009b-Headset-18_T000010.0_T011146.176 1 4.66 0.26 COOL( 0 19 | ES2009b-Headset-18_T000010.0_T011146.176 1 5.54 0.26 RIGHT 0 20 | ES2009b-Headset-18_T000010.0_T011146.176 1 5.8 0.4 SO 0 21 | ES2009b-Headset-18_T000010.0_T011146.176 1 7.1 0.64 )BASICALLY 0 22 | ES2009b-Headset-18_T000010.0_T011146.176 1 7.74 0.21 I')M 0 23 | ES2009b-Headset-18_T000010.0_T011146.176 1 7.95 0.17 JUST) 0 24 | ES2009b-Headset-18_T000010.0_T011146.176 1 7.95 0.17 S.'s 0 25 | -------------------------------------------------------------------------------- /src/test_suite/sastt-case2.sys.rttm: -------------------------------------------------------------------------------- 1 | SPKR-INFO VT_20051027-1400 1 unknown 0 2 | SPKR-INFO VT_20051027-1400 1 unknown 1 3 | SPKR-INFO VT_20051027-1400 1 unknown 2 4 | SPKR-INFO VT_20051027-1400 1 unknown 3 5 | SPEAKER VT_20051027-1400 1 935.09 2.12 1 6 | LEXEME VT_20051027-1400 1 935.625 0.13 SHE'S lex 1 0.387832 7 | LEXEME VT_20051027-1400 1 935.755 0.75 I lex 1 0.389866 8 | LEXEME VT_20051027-1400 1 936.505 0.31 SO lex 1 0.398979 9 | SPEAKER VT_20051027-1400 1 937.20 10.91 2 10 | LEXEME VT_20051027-1400 1 937.205 0.27 HAVE lex 2 0.533006 11 | LEXEME VT_20051027-1400 1 937.475 0.36 A lex 2 0.792132 12 | LEXEME VT_20051027-1400 1 937.835 0.24 V. lex 2 0.371553 13 | LEXEME VT_20051027-1400 1 938.075 0.06 L. lex 2 0.805565 14 | LEXEME VT_20051027-1400 1 938.135 0.26 S. lex 2 0.431594 15 | LEXEME VT_20051027-1400 1 938.395 0.30 I. lex 2 0.660484 16 | LEXEME VT_20051027-1400 1 938.695 0.13 HAVE lex 2 0.389649 17 | LEXEME VT_20051027-1400 1 938.825 0.55 S.'S lex 2 0.832603 18 | -------------------------------------------------------------------------------- /src/hubscr/test2-sastt.base/sastt-case2.sys.rttm: -------------------------------------------------------------------------------- 1 | SPKR-INFO VT_20051027-1400 1 unknown 0 2 | SPKR-INFO VT_20051027-1400 1 unknown 1 3 | SPKR-INFO VT_20051027-1400 1 unknown 2 4 | SPKR-INFO VT_20051027-1400 1 unknown 3 5 | SPEAKER VT_20051027-1400 1 935.09 2.12 1 6 | LEXEME VT_20051027-1400 1 935.625 0.13 SHE'S lex 1 0.387832 7 | LEXEME VT_20051027-1400 1 935.755 0.75 I lex 1 0.389866 8 | LEXEME VT_20051027-1400 1 936.505 0.31 SO lex 1 0.398979 9 | SPEAKER VT_20051027-1400 1 937.20 10.91 2 10 | LEXEME VT_20051027-1400 1 937.205 0.27 HAVE lex 2 0.533006 11 | LEXEME VT_20051027-1400 1 937.475 0.36 A lex 2 0.792132 12 | LEXEME VT_20051027-1400 1 937.835 0.24 V. lex 2 0.371553 13 | LEXEME VT_20051027-1400 1 938.075 0.06 L. lex 2 0.805565 14 | LEXEME VT_20051027-1400 1 938.135 0.26 S. lex 2 0.431594 15 | LEXEME VT_20051027-1400 1 938.395 0.30 I. lex 2 0.660484 16 | LEXEME VT_20051027-1400 1 938.695 0.13 HAVE lex 2 0.389649 17 | LEXEME VT_20051027-1400 1 938.825 0.55 S.'S lex 2 0.832603 18 | -------------------------------------------------------------------------------- /src/rttmValidator/test_suite/test24.rttm: -------------------------------------------------------------------------------- 1 | ;; RTTMValidator test24.rttm - test for SU, EDIT, or FILLER object that has no tokens in it; test for LEXEME object that is not fully covered by SU, EDIT, or FILLER 2 | ;; EXP-ID: expt_03f_su_eval_eng_bnews_spch_1 3 | 4 | SPKR-INFO test24 1 unknown 1 5 | SPEAKER test24 1 0.570 0.240 1 6 | LEXEME test24 1 0.570 0.240 I lex 1 1 7 | ;; this SU only partially covers the token above 8 | SU test24 1 0.670 0.140 statement 1 0.708209 9 | ;; these LEXEMEs are not fully covered by any SU 10 | LEXEME test24 1 3.810 0.070 IT lex 1 1 11 | LEXEME test24 1 3.880 0.270 IS lex 1 1 12 | LEXEME test24 1 4.150 0.450 FIFTEEN lex 1 1 13 | LEXEME test24 1 4.610 0.370 HOURS lex 1 1 14 | LEXEME test24 1 4.990 0.600 UNIVERSAL lex 1 1 15 | LEXEME test24 1 5.600 0.410 TIME lex 1 1 16 | LEXEME test24 1 6.020 0.200 FROM lex 1 1 17 | LEXEME test24 1 6.230 0.580 WASHINGTON lex 1 1 18 | SU test24 1 6.820 1.780 statement 1 0.951884 19 | LEXEME test24 1 6.820 0.220 THIS lex 1 1 20 | LEXEME test24 1 7.050 0.160 IS lex 1 1 21 | -------------------------------------------------------------------------------- /src/sclite/testdata/base/test15_a.pra: -------------------------------------------------------------------------------- 1 | 2 | 3 | DUMP OF SYSTEM ALIGNMENT STRUCTURE 4 | 5 | System name: ./test.cantonese.ctm 6 | 7 | Speakers: 8 | 0: spkr1 9 | 10 | Speaker sentences 0: spkr1 #utts: 3 11 | id: (spkr1-000) 12 | File: file 13 | Channel: 1 14 | Scores: (#C #S #D #I) 9 2 3 2 15 | REF: 食 左 ****** 啦 我 喺 度 () 整 野 煲汤 煲 FRED 攞 **** 汤 16 | HYP: 食 左 左左 啦 我 喺喺 度 ******* *** 野 煲汤 煲 **** 攞 FRED 汤汤 17 | Eval: I S D D D I S 18 | 19 | id: (spkr1-001) 20 | File: file 21 | Channel: 1 22 | Scores: (#C #S #D #I) 6 1 1 1 23 | REF: 煲 煲 ****** 定 佢 放学 饮 啊 嘛 24 | HYP: 煲 煲 煲煲 定 佢 放学放学 饮 *** 嘛 25 | Eval: I S D 26 | 27 | id: (spkr1-002) 28 | File: file 29 | Channel: 1 30 | Scores: (#C #S #D #I) 8 2 2 2 31 | REF: 我地 啲 ****** (大概-) 星期五 下 (个) 星期五 可能 去 咩 亲子游 喔 ****** 32 | HYP: 我地 啲 啲啲 大概星期 星期五 *** ***** 下下 可能 去 咩 亲子游 喔 喔喔 33 | Eval: I S D D S I 34 | 35 | 36 | -------------------------------------------------------------------------------- /src/asclite/core/id.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * ASCLITE 3 | * Author: Jerome Ajot, Jon Fiscus, Nicolas Radde, Chris Laprun 4 | * 5 | * This software was developed at the National Institute of Standards and Technology by 6 | * employees of the Federal Government in the course of their official duties. Pursuant 7 | * to title 17 Section 105 of the United States Code this software is not subject to 8 | * copyright protection and is in the public domain. ASCLITE is an experimental system. 9 | * NIST assumes no responsibility whatsoever for its use by other parties, and makes no 10 | * guarantees, expressed or implied, about its quality, reliability, or any other 11 | * characteristic. We would appreciate acknowledgement if the software is used. 12 | * 13 | * THIS SOFTWARE IS PROVIDED "AS IS." With regard to this software, NIST MAKES NO EXPRESS 14 | * OR IMPLIED WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING MERCHANTABILITY, 15 | * OR FITNESS FOR A PARTICULAR PURPOSE. 16 | */ 17 | 18 | #include "id.h" 19 | 20 | ulint ID::id = 0; 21 | 22 | ulint ID::GetID() 23 | { 24 | return(++id); 25 | } 26 | -------------------------------------------------------------------------------- /src/test_suite/sastt-case2.sys.rttm.filt: -------------------------------------------------------------------------------- 1 | SPKR-INFO VT_20051027-1400 1 unknown 0 2 | SPKR-INFO VT_20051027-1400 1 unknown 1 3 | SPKR-INFO VT_20051027-1400 1 unknown 2 4 | SPKR-INFO VT_20051027-1400 1 unknown 3 5 | SPEAKER VT_20051027-1400 1 935.09 2.12 1 6 | LEXEME VT_20051027-1400 1 935.625 0.13 SHE_IS lex 1 0.387832 7 | LEXEME VT_20051027-1400 1 935.755 0.75 I lex 1 0.389866 8 | LEXEME VT_20051027-1400 1 936.505 0.31 SO lex 1 0.398979 9 | SPEAKER VT_20051027-1400 1 937.20 10.91 2 10 | LEXEME VT_20051027-1400 1 937.205 0.27 HAVE lex 2 0.533006 11 | LEXEME VT_20051027-1400 1 937.475 0.36 A lex 2 0.792132 12 | LEXEME VT_20051027-1400 1 937.835 0.24 V. lex 2 0.371553 13 | LEXEME VT_20051027-1400 1 938.075 0.06 L. lex 2 0.805565 14 | LEXEME VT_20051027-1400 1 938.135 0.26 S. lex 2 0.431594 15 | LEXEME VT_20051027-1400 1 938.395 0.30 I. lex 2 0.660484 16 | LEXEME VT_20051027-1400 1 938.695 0.13 HAVE lex 2 0.389649 17 | LEXEME VT_20051027-1400 1 938.825 0.55 {_S.'S_/_S._IS_/_S._HAS_} lex 2 0.832603 18 | -------------------------------------------------------------------------------- /src/hubscr/test2-sastt.base/sastt-case2.sys.rttm.filt: -------------------------------------------------------------------------------- 1 | SPKR-INFO VT_20051027-1400 1 unknown 0 2 | SPKR-INFO VT_20051027-1400 1 unknown 1 3 | SPKR-INFO VT_20051027-1400 1 unknown 2 4 | SPKR-INFO VT_20051027-1400 1 unknown 3 5 | SPEAKER VT_20051027-1400 1 935.09 2.12 1 6 | LEXEME VT_20051027-1400 1 935.625 0.13 SHE_IS lex 1 0.387832 7 | LEXEME VT_20051027-1400 1 935.755 0.75 I lex 1 0.389866 8 | LEXEME VT_20051027-1400 1 936.505 0.31 SO lex 1 0.398979 9 | SPEAKER VT_20051027-1400 1 937.20 10.91 2 10 | LEXEME VT_20051027-1400 1 937.205 0.27 HAVE lex 2 0.533006 11 | LEXEME VT_20051027-1400 1 937.475 0.36 A lex 2 0.792132 12 | LEXEME VT_20051027-1400 1 937.835 0.24 V. lex 2 0.371553 13 | LEXEME VT_20051027-1400 1 938.075 0.06 L. lex 2 0.805565 14 | LEXEME VT_20051027-1400 1 938.135 0.26 S. lex 2 0.431594 15 | LEXEME VT_20051027-1400 1 938.395 0.30 I. lex 2 0.660484 16 | LEXEME VT_20051027-1400 1 938.695 0.13 HAVE lex 2 0.389649 17 | LEXEME VT_20051027-1400 1 938.825 0.55 {_S.'S_/_S._IS_/_S._HAS_} lex 2 0.832603 18 | --------------------------------------------------------------------------------