<%doc> toggleLabelsJavascript creates a JS function which uses the Yahoo! UI library to get all elements with 'fileTableRowLabel' as class name. All such items are then either hidden or revealed. <%def name="toggleLabelsJavaScript(targetClass='formTableRowLabel')"> <%def name="labelsHidden(targetClass='formTableRowLabel')"> <%def name="closeHelpDivScript()"> <%def name="fillHelpDivScript()"> <%def name="getMemoryContentsScript()"> <%doc> Inserts JavaScript which, when called, uses Ajax to insert references to the Forms stored in Memory into the contents textarea of the Collection <%def name="getMatchingLanguagesScript2()"> <%def name="getMatchingLanguagesScript()"> <%doc> Inserts JavaScript which, when called, uses Ajax to get a list of languages that match the string entered by the user <%def name="getToggleDivByTextInputScripts()"> <%doc> Writes JavaScript functions that allow a div to be turned on or off by an focus or blur event (respectively). <%def name="getCharCodeScript()"> <%doc> Writes JavaScript function that puts the character codes entered into a text input into a specified div <%def name="translateOrthographyScript()"> <%doc> Writes the JavaScript function that makes and handles the AJAX call to translate a string in one orthography into another. This function is used in the settings/orthography page. <%def name="graphToInputScript()"> <%doc> <%def name="checkForDuplicateTranscriptionScript()"> <%doc> Writes the JavaScript function that makes and handles the AJAX call to check whether the Form transcription just entered is already in the db. <%def name="guessMorphologyScript()"> <%doc> Writes the JavaScript function that makes and handles the AJAX call to guess a morphological analysis for the string in the transcription field. <%def name="getSVGTreeScript(ptbTreeID, displayDivID)"> <%doc> Writes the JavaScript function that makes and handles the AJAX call to request an SVG tree given a tree in PTB parenthesis notation. <%def name="getMorphologicalParseScript()"> <%doc> Writes the JavaScript function that makes and handles the AJAX call to morphologically parse a word. <%def name="savePhonologyScript()"> <%doc> Writes the JavaScript function that makes and handles the AJAX call to save the foma FST phonology entered by the user. <%def name="generateMorphotacticsScript()"> <%doc> Writes the JavaScript function that makes and handles the AJAX call to generate the morphotactics FST file. <%def name="generateMorphophonologyScript()"> <%doc> Writes the JavaScript function that makes and handles the AJAX call to generate the morphophonology FST file. <%def name="generateProbabilityCalculatorScript()"> <%doc> Writes the JavaScript function that makes and handles the AJAX call to generate the probability calculator. <%def name="compilePhonologyScript()"> <%doc> Writes the JavaScript function that makes and handles the AJAX call to compile the phonology FST file. <%def name="evaluateParserScript()"> <%doc> Writes the JavaScript function that makes and handles the AJAX call to evaluate the parser (return an F-score). <%def name="applyPhonologyScript()"> <%doc> Writes the JavaScript function that makes and handles the AJAX call to apply the phonology to an input provided by the user. <%def name="applyPhonologyToDBScript()"> <%doc> Writes the JavaScript function that makes and handles the AJAX call to apply the phonology to a subset of the Forms in the database as specified by the user.