public SemanticModel getBaseModel() { return new SemanticModel(this); }
public SemanticModel getBaseModel() { return new SemanticModel(this); }
public void learn() throws Exception { List<SortableSemanticModel> hypothesisList = this.hypothesize(true, NUM_SEMANTIC_TYPES); if (hypothesisList != null && !hypothesisList.isEmpty()) { SortableSemanticModel m = hypothesisList.get(0); this.semanticModel = new SemanticModel(m); } else { this.semanticModel = null; } }
public void learn() { if (this.useAlignmentGraphBuiltFromKnownModels && !isGraphUpToDate()) { init(); } List<SortableSemanticModel_Old> hypothesisList = this.hypothesize(true, NUM_SEMANTIC_TYPES); if (hypothesisList != null && !hypothesisList.isEmpty()) { SortableSemanticModel_Old m = hypothesisList.get(0); this.semanticModel = new SemanticModel(m); } else { this.semanticModel = null; } }
SemanticModel semanticModel = new SemanticModel(id, GraphUtil.asLabeledGraph(graph), sourceColumns, mappingToSourceColumns); semanticModel.setName(name); semanticModel.setDescription(description);
count ++; if (tree != null) { SemanticModel sm = new SemanticModel(new RandomGUID().toString(), tree, columnNodes,
tree.addVertex(n); SemanticModel sm = new SemanticModel(new RandomGUID().toString(), tree); SortableSemanticModel sortableSemanticModel = new SortableSemanticModel(sm, null, true); sortableSemanticModels.add(sortableSemanticModel); SemanticModel sm = new SemanticModel(new RandomGUID().toString(), tree, columnNodes,
SemanticModel semanticModel = new SemanticModel(workspace, worksheet, worksheetName, alignment.getSteinerTree(), selection); semanticModel.setName(worksheetName); try {