PRODUCING AUTOMATED TERMS LISTINGS IN HTML DOCUMENT PUBLISHING WITH ENHANCED TERMS DEFINITIONS
A terms listing production system generates a terms listing associated with an electronic document. Primary terms and primary definitions may be extracted from a glossary associated with the electronic document. Secondary terms may be identified based on user searches in relation to the electronic document. Secondary definitions associated with primary terms or secondary terms may be retrieved from external content and stored in connection with the associated terms. A markup language document configured for presentation to users is generated based on the stored terms and definitions.
1 . A method for generating a terms listing associated with an educational electronic document, the method comprising:
reconstructing the educational electronic document to identify locations of content in the electronic document;
identifying, based on the reconstruction, a glossary associated with the electronic document, the glossary including a listing of a plurality of primary terms of the electronic document and definitions associated with each primary term;
extracting a plurality of the primary terms from the glossary, each extracted primary term associated with a location in the electronic document based on the reconstruction;
extracting a plurality of primary definitions from the glossary, each primary definition associated with an extracted primary term;
storing each extracted primary term in connection with the extracted primary definition associated with the term;
identifying a primary term occurring in a related content document;
extracting content from the related content document related to the identified primary term, the extracted content comprising a secondary definition of the identified primary term; and
storing the secondary definition in connection with the identified primary term.
2 . The method of claim 1 , wherein the educational electronic document is in a first language, wherein the related content document is a dictionary in a second language, and wherein the method further comprises:
translating the primary term into the second language; and
identifying a definition associated with the translated term in the second language dictionary;
wherein extracting the content associated with the identified primary term comprises extracting the definition associated with the translated term.
3 . The method of claim 2 , further comprising:
extracting from the second language dictionary, an audio file including a pronunciation of the primary term in the second language.
4 . The method of claim 1 , wherein the related content document is a thesaurus including synonyms of the identified primary term, and wherein extracting the content associated with the identified primary term comprises:
extracting the synonyms from the thesaurus; and
storing the extracted synonyms in connection with the identified primary term.
5 . The method of claim 1 , further comprising:
filtering the primary terms based on the location of each primary term in the electronic document; and
sending the filtered primary terms for rendering by a client device of a user.
6 . The method of claim 1 , further comprising:
receiving from client devices, a listing of a plurality of primary terms searched by users of the client devices in relation to the electronic content, each searched term associated with a time stamp identifying a time at which the searched term was received;
filtering the searched terms based on the time stamp of at least one search corresponding to each searched term; and
sending the filtered terms for rendering by a client device of a user.
7 . The method of claim 1 , wherein a user is connected to a plurality of other users in a social graph, and wherein the method further comprises:
filtering the primary terms based on the connections in the social graph; and
sending the filtered primary terms for rendering by a client device of the user.
8 . The method of claim 1 , further comprising:
accessing a second electronic document, the second electronic document having similar subject matter to the first electronic document;
extracting plurality of terms from the second electronic document; and
storing the extracted terms as secondary terms of the first electronic document.
9 . The method of claim 1 , further comprising:
sending a markup language region for rendering by a client device of a user, the markup language region displaying a primary term;
receiving a user input at the markup language region; and
sending the a page of the electronic document corresponding to the location of the primary term in the electronic document for rendering by the client device.
10 . A non-transitory computer-readable storage medium storing executable program instructions for generating a terms listing associated with an educational electronic document, the computer program instructions comprising instructions for:
reconstructing the educational electronic document to identify locations of content in the electronic document;
identifying, based on the reconstruction, a glossary associated with the electronic document, the glossary including a listing of a plurality of primary terms of the electronic document and definitions associated with each primary term;
extracting a plurality of the primary terms from the glossary, each extracted primary term associated with a location in the electronic document based on the reconstruction;
extracting a plurality of primary definitions from the glossary, each primary definition associated with an extracted primary term;
storing each extracted primary term in connection with the extracted primary definition associated with the term;
identifying a primary term occurring in a related content document;
extracting content from the related content document related to the identified primary term, the extracted content comprising a secondary definition of the identified primary term; and
storing the secondary definition in connection with the identified primary term.
11 . The non-transitory computer-readable storage medium of claim 10 , wherein the educational electronic document is in a first language, wherein the related content document is a dictionary in a second language, and wherein the computer program instructions further comprise instructions for:
translating the primary term into the second language; and
identifying a definition associated with the translated term in the second language dictionary;
wherein extracting the content associated with the identified primary term comprises extracting the definition associated with the translated term.
12 . The non-transitory computer-readable storage medium of claim 11 , the computer program instructions further comprising instructions for:
extracting from the second language dictionary, an audio file including a pronunciation of the primary term in the second language.
13 . The non-transitory computer-readable storage medium of claim 10 , wherein the related content document is a thesaurus including synonyms of the identified primary term, and wherein extracting the content associated with the identified primary term comprises:
extracting the synonyms from the thesaurus; and
storing the extracted synonyms in connection with the identified primary term.
14 . The non-transitory computer-readable storage medium of claim 10 , the computer program instructions further comprising instructions for:
filtering the primary terms based on the location of each primary term in the electronic document; and
sending the filtered primary terms for rendering by a client device of a user.
15 . The non-transitory computer-readable storage medium of claim 10 , the computer program instructions further comprising instructions for:
receiving from client devices, a listing of a plurality of primary terms searched by users of the client devices in relation to the electronic content, each searched term associated with a time stamp identifying a time at which the searched term was received;
filtering the searched terms based on the time stamp of at least one search corresponding to each searched term; and
sending the filtered terms for rendering by a client device of a user.
16 . The non-transitory computer-readable storage medium of claim 10 , wherein a user is connected to a plurality of other users in a social graph, and wherein the computer program instructions further comprising instructions for:
filtering the primary terms based on the connections in the social graph; and
sending the filtered secondary terms for rendering by a client device of the user.
17 . The non-transitory computer-readable storage medium of claim 10 , the computer program instructions further comprising instructions for:
accessing a second electronic document, the second electronic document having similar subject matter to the first electronic document;
extracting plurality of terms from the second electronic document; and
storing the extracted terms as secondary terms of the first electronic document.
18 . The non-transitory computer-readable storage medium of claim 10 , the computer program instructions further comprising instructions for:
sending a markup language region for rendering by a client device of a user, the markup language region displaying a primary term;
receiving a user input at the markup language region; and
sending the a page of the electronic document corresponding to the location of the primary term in the electronic document for rendering by the client device.