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)
Tracking
(Not tracked)
RESOLVED
FIXED
2015-09-22
People
(Reporter: stas, Assigned: stas)
References
Details
Attachments
(1 file)
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?
Assignee | ||
Comment 1•9 years ago
|
||
Here's my attempt. I'm not quite sure how to add a test for this. Can you give me some pointers?
Assignee | ||
Comment 2•9 years ago
|
||
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)
Updated•9 years ago
|
Attachment #8657078 -
Flags: review?(mpillard) → review+
Comment 3•9 years ago
|
||
https://github.com/mozilla/app-validator/commit/fe85a97294bb9c84c10b81847fea08e7420f6481
https://github.com/mozilla/zamboni/commit/1f4aa85fcaba35a3d7e43c953017d6858d86a691
Will land on dev in a few minutes, on stage later this week, in prod next Tuesday.
Assignee: nobody → stas
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → 2015-09-22
Assignee | ||
Comment 4•9 years ago
|
||
Thanks for the help, closing as fixed.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 5•9 years ago
|
||
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.
Description
•