diff --git a/README.md b/README.md index c4d7138803dfdd2a4a9c04d3f558c1c25abf03b5..1d93a85d527554e37dae4865e88e0614bc2f6661 100644 --- a/README.md +++ b/README.md @@ -44,16 +44,16 @@ The file to interact with to generate knowledge graphs from the OBC is _main.py_ To re-create the sample knowledge graph for the year 1913, simply type: - python main.py -year 1913 -output_path "../output/example_graph_1913.json" + python main.py -year 1913 -output_path ../output/example_graph_1913.json If you want to simplify text description nodes, you can set the flag "-text\_node\_simplification\_mode": - python main.py -year 1913 -output_path "../output/example_graph_1913_simplified.json" -text_node_simplification_mode classifier + python main.py -year 1913 -output_path ../output/example_graph_1913_simplified.json -text_node_simplification_mode classifier For the classifier, the more years are used as training data, the better its simplification accuracy becomes.\ You can add more years by simply adding years to the command: - python main.py -year 1820 1821 1822 -output_path "../output/example_graph_1820-1822.json" + python main.py -year 1820 1821 1822 -output_path ../output/example_graph_1820-1822.json To display all available options, type: diff --git a/visualization/README.md b/visualization/README.md index 1dd3544d78cf06a712d42f6b5d14bb11d150eb9c..39511ebbe56f21c7073580065b860dcdc00f5f66 100644 --- a/visualization/README.md +++ b/visualization/README.md @@ -22,7 +22,7 @@ Before actually starting the visualization, you can select the following options After visualization is complete, you can interact with the graph in the following ways to inspect it more closely or to filter out specfic parts: * **Settings menu** (gear symbol on the top-left): - * _Enable Physics_: Enables the physics module of _vis.js_, thus makingg the network move around and react to dragging of nodes (Default: false) + * _Enable Physics_: Enables the physics module of _vis.js_, thus making the network move around and react to dragging of nodes (Default: false) * _Lock network_: Other than zooming and dragging nodes, the network becomes unresponsive to user interaction. Ideal when selecting a node and inspecting its connections without accidentally unselecting it. (Default: false) * _Node Types_: Lists all special node types (see below for details) with their associated shape and color. You can highlight each node type individually. Further, you can remove all description nodes. * _Minimum count of connections for persons_: see above