Search interface

The Tree search function

The ONCOJ is associated with a powerful user interface. The data schema and the interface functionalities were developed by Professor Alastair Butler under the Development of and linguistic research with a parsed corpus of Japanese project at NINJAL (Project leader:  Prashant Pardeshi).

The Search interface can be accessed directly, or through an initial search submission in the box below. Enter a string that corresponds to a full word such as “kapi” (shell, ladle, worth, rear, buy, etc.),
or (in square brackets) a part-of speech or phrase level node label such as “[NP]” (noun phrase),
or a complex expression such as “no == ({PHON} > [COP])” (“no” written phonographically, with the part-of-speech of “copula”). Clicking “Submit” triggers the search.

Submitting a well-formed search expression opens a results page with attestations matched with text ID numbers that double as links to the corresponding trees. Once inside the Search interface, navigation to all the available functions (Tags, Dictionary, String search, Tree search) can be done through the buttons at the top of the Search interface page. Full documentation for each function is available through the “About” buttons (e.g., “About tree search”). There is also a button for returning to the ONCOJ front page.

The syntax for searching is called TGrep-lite and is fully documented in the Search interface. TGrep-lite allows you to search for strings (terminal nodes) or parts of strings, and for tags (higher node labels) or parts of tags. TGrep-lite also allows you to specify structural relations between nodes in a search. For example, in order to find genitive-marked subject particle phrases preceding wo-marked object particle phrases, enter the search expression “[SBJ-GEN] $.. ([OB1] < ([P] < wo))” in the search box and click “Submit”.

Once you arrive at an Analysis view, you can click the lemma ID of any item and trigger a Dictionary search which opens a search result page in the Dictionary with the entry for that item.