metreex-analysis.js
/**
 * Loads a treebank via the metreex API, then adds it to the set of loaded trees.
 * @param {String} id Id of tree which should be loaded
 */
Loads a treebank via the metreex API, then adds it to the set of loaded trees.
@param {String} id Id of tree which should be loaded
Loads a treebank via the metreex API then adds it to the set of loaded trees . @param { String } id Id of tree which should be loaded
function loadTreebankFile(id){
    id = id.trim();
    output.println("Attempting to load tree with id " + id);
    var newTree = new TreebankFile();
    newTree.onload = function () {
        addLoadedTree(newTree);
    };
    newTree.load(id);
}
function loadTreebankFile ( id ) { id = id . trim ( ) ; output . println ( "Attempting to load tree with id " + id ) ; var newTree = new TreebankFile ( ) ; newTree . onload = function ( ) { addLoadedTree ( newTree ) ; } ; newTree . load ( id ) ; }
Loads a treebank via the metreex API, then adds it to the set of loaded trees.
Loads a treebank via the metreex API then adds it to the set of loaded trees .