Corpus search for Xigt
Select a corpus from the drop down menu in the top left corner with the label “Corpus”.
Select one of the options from the drop down menu with the label “Search for”.
The search type “words” requires a word to be entered into the text box that is labeled “word”. This search type searches the selected corpus for igts that contain the entered word.
The search type morphemic glosses requires a gloss to be entered into the text box that is labeled “gloss” and/or a morpheme to be to be entered into the text box that is labeled “morpheme”. This search type searches the selected corpus for the igts that contain the entered gloss and/or entered morpheme. If both a morpheme and a gloss are entered, the morpheme and gloss must be aligned in the igt.
The search type morphemes requires a word to be entered into the text box that is labeled “word” and/or a morpheme to be to be entered into the text box that is labeled “morpheme”. This search type searches the selected corpus for the igts that contain the entered word and/or entered morpheme. If both a word and morpheme are entered, the word and morpheme must be aligned in the igt.
The search type pos requires a word to be entered into the text box that is labeled “word” and/or a part of speech to be to be entered into the text box that is labeled “pos”. This search type searches the selected corpus for the igts that contain the entered word and/or entered part of speech. If both a word and a part of speech are entered, the word and part of speech must be aligned in the igt.
The search type “phrases” requires a phrase to be entered into the text box that is labeled “phrase”. This search type searches the selected corpus for igts that contain the entered phrase.
The search type lexical glosses requires a gloss to be entered into the text box that is labeled “gloss” and/or a word to be to be entered into the text box that is labeled “word”. This search type searches the selected corpus for the igts that contain the entered gloss and/or entered word. If both a gloss and word are entered, the word and gloss must be aligned in the igt.
The search type languages requires a language name to be selected from the the drop down menu labeled “language”. This search type searches the selected corpus for igts that contain the selected language name.
Press the green button with the text “Add query”. Pressing this button will add a new query row.
Press the red button with the text “Remove queries”.
d3 version 3.5.6
jquery version 3.1.1
jquery-ui.css version 1.12.1
jquery-ui.min.js version 1.12.1
The JavaScript file "search.js" communicates with an instance of the sleipnir IGT server. Currently this JavaScript file is configured to use the ODIN instance via the serverURL
variable ;
var serverURL = "http://odin.xigt.org";
Change this variable to use a different server.
The static/
directory contains the css style sheet, the javascript file, and the image files for this GUI.
The templates/
directory contains the HTML file for this GUI.
The HTML page uses the files xigtviz.css
and xigtviz.js
which are located in the following URLs respectively:
https://rawgit.com/xigt/xigtviz/master/xigtviz.css
https://rawgit.com/xigt/xigtviz/master/xigtviz.js
This work is supported by the National Science Foundation under Grant No. BCS-0748919. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and does not necessarily reflect the views of the NSF.