Semantic Tagging

Potential Guided Research topic!

A

init: initial doc-list for the panta rhei system and initial tag cloud

  1. panta requests getDocList
  2. (if no in-memory map), janta retrieves all docs for the system "panta" (URLs are retrieved from a system model)
  3. janta parses the documents to extract all symbols and tracks their frequency
  4. janta creates an in-memory data structure to map each document-URL to the list of pairs (symbol,frequency)
  5. janta returns all document-URLs
  6. panta displays the list of document-URLs in the center
  1. panta requests getTags
  2. (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
  3. janta returns the tag cloud
  4. 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

  1. panta request getDoc/URL#0
  2. on getDoc janta retrieves the document URL
  3. janta extracts page URL#0 and converts it to XHTML (using JOMDoc and default rendering)
  4. janta returns the first page
  5. panta displays the first page
  1. panta requests getToC/URL
  2. janta extracts the ToC of the document with URL (using JOMDoc)
  3. janta returns the ToC, panta displays the ToC
  1. panta requests getTags/URL#0
  2. 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
  3. janta returns the tag cloud
  4. panta displays the tag cloud

onClick of a tag, reordering of the doc-list and update of tag details

  1. panta request getDocList/tag
  2. janta orders the list of document-URLs (DESC) according to the frequency of the tag in the in-memory map
  3. janta returns the ordered list, panta displays the ordered list
  4. panta requests getTagDetails/tag
  5. janta retrieves details for the tag (definitions, examples, alternative notations)
  6. 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)

Attachments