public class SimFlood extends Object
| Constructor and Description |
|---|
SimFlood() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
Graph |
match(Graph g1,
ArrayList<Graph> graphs)
Match two graphs using Similarity Flooding
|
float |
matchGraphs(Graph g1,
Graph g2,
HashMap<String,String> bestMatch)
Match two graphs using Similarity Flooding
|
ArrayList<Graph> |
readGraphsFromFile(String filename,
boolean resource,
Pipeline p)
Converts a text file that has one sentence per line into a list
of Graph structures that correspond to Stanford dependency graphs.
|
public ArrayList<Graph> readGraphsFromFile(String filename, boolean resource, Pipeline p)
public float matchGraphs(Graph g1, Graph g2, HashMap<String,String> bestMatch)
public Graph match(Graph g1, ArrayList<Graph> graphs)
public static void main(String[] args)
Copyright © 2015. All rights reserved.