-
Notifications
You must be signed in to change notification settings - Fork 7
Getting Started
Guowei Chen edited this page Sep 20, 2019
·
2 revisions
Map<String, Set<String>> context = new HashMap<>();
Hermes<String, String> hermes= new Hermes<>();
hermes.init(context);
hermes.compute();
Set<Concept<String, String>> concepts = hermes.listAllConcepts();
ConceptLattice<String, String> concept_lattices = new ConceptLattice<>(concepts);
concept_lattices.buildTopDown();
Map<Concept<String, String>, Set<Concept<String, String>>> supSubConcepts = concept_lattices.getSupSubConcepts();
String output = concept_lattices.dotLangFormat();
Concept Lattice