dotnet / dotnet/dotnet-api-docs

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

Offen
#1,255 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area-System.Speech dotnet-api/prod Pri2
Vorherrschende Sprache
C#
Sterne
949
Forks
1.7k
Ø Merge
2 T. 19 Std.
Gemergte PRs (30 T.)
52

Beschreibung

[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**

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Öffne xml/System.Speech.Synthesis/SpeechSynthesizer.xml und die verknüpfte Dokumentation zu SpeechSynthesizer.AddLexicon(Uri, String), und reproduziere den gemeldeten Fehler mit dem Beispielcode. Ermittle, ob das dokumentierte Verhalten unterstützt wird; die Aufgabe ist abgeschlossen, wenn die Seite entweder ein funktionierendes Feature korrekt beschreibt oder das nicht nutzbare Beispiel und die Hinweise zum Feature eindeutig entfernt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp
Bereich
documentation
Issue-Typ
Dokumentation
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.