dotnet / dotnet/dotnet-api-docs

AddLexicon Documentation contains sample code that does not work because of a reported BUG.

Abierto
#1,255 0 comentarios 0 reacciones 0 asignados Ver en GitHub
area-System.Speech dotnet-api/prod Pri2
Lenguaje dominante
C#
Estrellas
950
Forks
1.7k
Merge medio
2 d 19 h
PR fusionados (30 d)
52

Descripción

[Enter feedback here]
The information on this page, about adding a lexicon is of no use, because **adding a lexicon doesn't work**. Despite a bug apparently being filed on Microsoft Connect, **this bug still exists**.

If you try the sample code provided on this documentation page, **it doesn't work**. Either the bug needs fixing (which is unlikely) or this documentation needs removing from the internet and the function removing from the .Net framework.

Documenting features that do not work, is the biggest cause of wasted developer time, because we all assume that if anyone knows how things should work, it would be the developers of the product referred to in the documentation. Surely all sample code is **tested**, before submission to the actual documentation... isn't it?

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 65c0de99-04af-423b-144a-21d0a9f7c5ac
* Version Independent ID: f1f39d11-446a-ba55-2809-536130eece21
* Content: [SpeechSynthesizer.AddLexicon(Uri, String) Method (System.Speech.Synthesis)](https://docs.microsoft.com/en-us/dotnet/api/system.speech.synthesis.speechsynthesizer.addlexicon?view=netframework-4.7.2)
* Content Source: [xml/System.Speech.Synthesis/SpeechSynthesizer.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Speech.Synthesis/SpeechSynthesizer.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Abre xml/System.Speech.Synthesis/SpeechSynthesizer.xml y la documentación enlazada de SpeechSynthesizer.AddLexicon(Uri, String), y reproduce el fallo informado con el código de ejemplo. Determina si el comportamiento documentado es compatible; se considera terminado cuando la página describe con precisión una funcionalidad que funciona o elimina claramente el ejemplo inutilizable y las indicaciones sobre la funcionalidad.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
csharp
Área
documentation
Tipo de issue
Documentación
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
30/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.