Satznavigation

Die Erweiterung Satznavigation erlaubt das Lesen von Texten Satz für Satz.

Please note that "Jump to next paragraph with text" feature has been move to TextNav add-on that needs to be installed separately.

Tastenkürzel

  • Alt+Down: Go to next sentence.
  • Alt+Up: Go to previous sentence.
  • NVDA+Alt+S: aktuellen Satz vorlesen.
  • Alt+Windows+Down: Go to next phrase.
  • Alt+Windows+Up: Go to previous phrase.

Please note that "Jump to next paragraph with text" feature has been move to TextNav add-on that needs to be installed separately.

Hinweise und bekannte Probleme

  • Die Satzauszeichnung erfolgt durch heuristische Algorithmen und ist nicht 100%ig genau. Stellen Sie sich darauf ein, dass SentenceNav gelegentlich Fehler macht, z. B. einen Satz umbricht, wo er nicht umbrechen sollte, oder umgekehrt eine Grenze zwischen zwei Sätzen überspringt und sie zusammen spricht.
  • Die experimentelle Unterstützung für Microsoft Word und WordPad wurde ab Version 2.8 hinzugefügt.
  • Sentence navigation keystrokes Alt+Up/Down might conflict with built-in keystrokes in applications. SentenceNav developers strive to resolve these conflicts whenever possible. However, if you encounter such a situation, a simple workaround is to press NVDA+F2 (Pass next key through), followed by the conflicting keystroke Alt+Up/Down to make sure that this keystroke would be processed by the application and not by SentenceNav.

Algorithmus

SentenceNav uses a regular expression to find sentence boundaries. The regular expression is looking for:

  • One or more "Sentence breaker" punctuation marks, such as period, exclamation sign or question sign, followed immediately by one or more spaces.
  • Sentence breakers can optionally be followed by one or more "Skippable" punctuation signs, such as closing parenthesis, or a quote.
  • Sentence breakers can optionally be followed by a Wikipedia-style reference, e.g. [4], or [citation needed].
  • Sentence breakers must not be preceded by any of the exceptional abbreviations, such as Dr., Mr., Prof., etc. Exceptional abbreviations are language-dependent. Exceptional abbreviations are defined as abreviations spelled with a period, which in most cases does not indicate the end of the sentence.
  • Sentence breakers must not be preceded by a single capital letter. This is to prevent sentences being broken at people's initials, such as George R. R. Martin. The list of capital letters is language-dependent.
  • Alternatively, the regular expression can match one of the full-width sentence breakers. Full-width punctuation is used in some languages, like Chinese and Japanese and there is no requirement to be followed or preceded by anything to be counted as the boundary of sentences.
  • Alternatively, double new line counts as a sentence breaker.

Phrase detection is performed by another regular expression, that matches:

  • One or more "phrase breakers" punctuation marks followed immediately by one or more spaces.
  • Or alternatively, one or more "fixed-width" phrase brakers, with no requirement of being followed by spaces.
  • Or alternatively, double new line.

Other settings

  • Reconstruct sentences across multiple paragraphs: sentences can span across multiple paragraphs. This often happnes in malformed PDF documents, or in email messages written as plain text. With this combo box you can tell SentenceNav to try to identify those sentences and speak them correctly. Sometimes however, it would speak paragraphs together that are not meant to be sentences. In this case you can disable that feature.
  • Disable SentenceNav in applications: You can disable SentenceNav in certain applications. For example, some applications use Alt+Down keystroke to perform other functions. This is a comma-separated blacklist of applications where sentence navigation will be disabled. If you are not sure what should be the name of your application, switch to that application, Press NVDA+Control+Z to open up NVDA console and type: "focus.appModule.appName" without quotes to obtain the name of current application.

Quellcode

Der Quellcode ist verfügbar auf http://github.com/mltony/nvda-sentence-nav.

Downloads