This commit is contained in:
Piotr Żelasko 2022-01-15 02:05:27 +00:00
parent a7666d864c
commit 3582599a33

View File

@ -135,7 +135,7 @@ def main():
sups = load_manifest_lazy_or_eager(args.input_sups) sups = load_manifest_lazy_or_eager(args.input_sups)
assert isinstance(sups, SupervisionSet) assert isinstance(sups, SupervisionSet)
normalizer = Normalizer() normalizer = FisherSwbdNormalizer()
tot, skip = 0, 0 tot, skip = 0, 0
with SupervisionSet.open_writer(args.output_sups) as writer: with SupervisionSet.open_writer(args.output_sups) as writer:
@ -155,7 +155,7 @@ def main():
def test(): def test():
normalizer = Normalizer() normalizer = FisherSwbdNormalizer()
for text in [ for text in [
"[laughterr]", "[laughterr]",
"[laugh] oh this is great [silence] <B_ASIDE> yes", "[laugh] oh this is great [silence] <B_ASIDE> yes",