主权项 |
1. A method for generating an audio summary of a portion of an electronic document, the method comprising:
receiving, by a computer, an electronic document; identifying, by the computer, content and location of a plurality of document elements included in the electronic document; creating a Document Object Model (DOM) that hierarchically organizes the document elements; classifying one or more pluralities of the document elements into respective collections based on the hierarchical organization of each plurality of document elements in the DOM, each collection having an associated name; generating audio objects corresponding to text information within each of the document elements and each collection name; rendering the electronic document for display on a display screen, and displaying the rendered document on a display screen; receiving user input indicating a focus position within the displayed electronic document; generating an audio signal that includes one or more of the audio objects based on the proximity to the focus position of the corresponding document elements within a predetermined range from the focus position, wherein if a collection of document elements is located near the boundary of the predetermined range, the audio object corresponding to the collection name will be included in the audio signal, and if the collection of document elements is in the immediate vicinity of the focus position, the audio objects corresponding to the document elements will be included in the audio signal; and rendering the audio signal to the user. |