<%inherit file="/base/index.html" /> <%namespace file="/base/javascriptDefs.html" name="javascriptDefs" \ import="getSVGTreeScript"/> <%def name="heading()">

Administrator Page

This page contains rudimentary commands and functionalities that should only be used by administrators or developers and with a good deal of caution. Be careful! Issuing certain commands may slow down the application or result in data loss or corruption.


Draw a Phrase Structure Tree!

Enter a tree in PTB parenthesis notation in the text box below and press CTRL + Enter to convert it to a tree.

${getSVGTreeScript('ptbTree', 'SVGTreeDisplay')}

Unicode Normalization (NFD)

Click the 'Normalize' button below to perform canonical decompositional unicode normalization on all of the textual data in all of the forms, files and collections in the database. Warning, depending on the number of forms in the database, this can take a long time.


Get Characters Used by Field

This command returns the name, code point and token count of each character found in the specified field.

${h.select(name='field', selected_values='', options=[(u'transcription', u'orthographic transcription'), (u'phoneticTranscription', u'broad phonetic transcription'), (u'narrowPhoneticTranscription', u'narrow phonetic transcription'), (u'morphemeBreak', u'morpheme break')])}

Recompute Morpheme References

This command recalculates the morphemeBreakIDs, morphemeGlossIDs and syntacticCategoryString fields. That is to say, it looks up each morpheme-gloss pair in each form in the database and checks for a match in the database. User-entered data are not altered; however, the syntactic category strings may change as may the way in which the morpheme break and morpheme gloss elements are displayed as links in IGT view. This script can take a long time to terminate.


Create an SQLite Copy of the Database

This command copies the entire database to an SQLite database with the name db_name_bk.db. Depending on the size of the database, this command can take a long time to terminate.