This is NOT usable as is. The URL for the Sketch Engine instance must be specified in doubletree-sketchengine.js and the URL must be accessible to the browser, not violating CORS (Cross-Origin Resource Sharing)
This is an example of how to use DoubleTreeJS as a visualization of corpus query results from The Sketch Engine. Click on a node to expand or contract it. Alt-click on a node to do a new search using its lemma. Shift-click on a node to get a KWIC view below. Click on a word in the KWIC to do a new search using its lemma. Move the tree by dragging on a node or the branches. The input boxes accept regular expressions. Experiment! Feedback appreciated.
Corpus: | Lemma to use: | ||||||
Sort branches by: lemma POS branching | |||||||
|