Closed Bug 1201858 Opened 9 years ago Closed 9 years ago

Add languages-provided.ab-CD.speech-data validation

Categories

(Marketplace Graveyard :: Validation, defect, P3)

Avenir
defect

Tracking

(Not tracked)

RESOLVED FIXED
2015-09-22

People

(Reporter: stas, Assigned: stas)

References

Details

Attachments

(1 file)

48 bytes, text/x-github-pull-request
mat
: review+
Details | Review
In bug 1178288 we're adding speech recognition models to langpacks. This requires changes to the langpack manifests. In particular, each language entry can now optionally have a 'speech-data' property: "languages-provided": { "fr": { ... "speech-data": [ "/fr/speech-data/feat.params", "/fr/speech-data/fr.dic", "/fr/speech-data/fr.dic.dmp", "/fr/speech-data/mdef", "/fr/speech-data/means", "/fr/speech-data/mixture_weights", "/fr/speech-data/noisedict", "/fr/speech-data/sendump", "/fr/speech-data/transition_matrices", "/fr/speech-data/variances" ] } } The field is optional and if present, must be an array of strings. Can you please add this rule to the appvalidator?
Attached file Pull request
Here's my attempt. I'm not quite sure how to add a test for this. Can you give me some pointers?
Comment on attachment 8657078 [details] [review] Pull request Mat, I've added tests for speech-data to the pull request. Can you review this?
Attachment #8657078 - Flags: review?(mpillard)
Attachment #8657078 - Flags: review?(mpillard) → review+
Assignee: nobody → stas
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → 2015-09-22
Thanks for the help, closing as fixed.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Can you please add somt STRs to this bug or mark it as [qa-] ?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: