An Azure service to easily conduct machine translation with a simple REST API call.
Cognitive Services-Translator Text: Uploading Dictionary Set Fails Due to Sentence Count Mismatch
Problem description
I am trying to upload a dictionary set in Custom Translator through the portal, but the upload is failing with the message: "Dictionary files cannot have differing sentence counts." I want to understand the cause of this error and how to resolve it.
Environment
Cognitive Services - Translator Text, using the Custom Translator feature in the web portal, region not specified.
What I've already tried
I have checked that the source and target files are in the same format and have the same number of lines. I verified that both files are saved with the same encoding and line-ending format. I have also examined the files to ensure there are no hidden characters, embedded line breaks, or extra blank lines. Despite these checks, the upload still fails with the same error.
Current status
I am seeking guidance on how to identify and fix the specific formatting or content issues in my dictionary files that cause the sentence count mismatch error during upload.