)) {
                // Word segmentation for Chinese using the reference text and any short wave file
                // Remove the blank characters in the reference text
                referenceText = referenceText.replace(/ /g, "");
                referenceWords = await getReferenceWords(referenceText);
            } else {
                referenceText = referenceText.toLocaleLowerCase() ?? "";
                referenceWords = _.map(
                    _.filter(referenceText.split(" "), (item) => !!i