Semantic Tagging
Potential Guided Research topic!
A
|
init: initial doc-list for the panta rhei system and initial tag cloud
- panta requests getDocList
- (if no in-memory map), janta retrieves all docs for the system "panta" (URLs are retrieved from a system model)
- janta parses the documents to extract all symbols and tracks their frequency
- janta creates an in-memory data structure to map each document-URL to the list of pairs (symbol,frequency)
- janta returns all document-URLs
- panta displays the list of document-URLs in the center
- panta requests getTags
- (if no internal tag cloud) janta restructures all tags in the in-memory map into a general (in-memory) tag cloud represented as list of (tag,frequency) pairs
- janta returns the tag cloud
- panta displays the tag cloud in the lower center: the frequency of a tag defines its size in the visualized cloud
onClick of a (documentURL) URL update of ToC and update of center with first page and the tag cloud with the page tags
- panta request getDoc/URL#0
- on getDoc janta retrieves the document URL
- janta extracts page URL#0 and converts it to XHTML (using JOMDoc and default rendering)
- janta returns the first page
- panta displays the first page
- panta requests getToC/URL
- janta extracts the ToC of the document with URL (using JOMDoc)
- janta returns the ToC, panta displays the ToC
- panta requests getTags/URL#0
- janta (if not yet contained in the in-memory map) extracts the tag cloud of the page and adds it to the in-memory map
- janta returns the tag cloud
- panta displays the tag cloud
onClick of a tag, reordering of the doc-list and update of tag details
- panta request getDocList/tag
- janta orders the list of document-URLs (DESC) according to the frequency of the tag in the in-memory map
- janta returns the ordered list, panta displays the ordered list
- panta requests getTagDetails/tag
- janta retrieves details for the tag (definitions, examples, alternative notations)
- janta returns the tag details; panta displays the tag details
B
|
init: display of first page of the document and the respective tag cloud for this page
onClick of a URL#x update of the center with page x and update the tag cloud
panta requests getDoc/URL#x and getTags/URL#x
C
|
onHover of a tag, mark all instances of the tag on the displayed page and update the tag details
panta request getTagDetails/tag and marks all tagged concepts based on JavaScript/? AJAX
onClick of a concept in the document, display details on the concepts. concepts are symbols, so are tags, thus:
panta requests getTagDetails/tag to update the right side
onSelection of a part of the displayed page, panta extracts the xml:id of the concepts in the page to provide details on the selection to the right
for concepts panta requests getTagDetails/tag
D
|
onClick of tag update the center with the ordered list of documents and display the tag details
panta requests getDocList/tag and getTagDetails/tag
(see also panta-old? and janta-old)





