In [1]:
from ozapfdis import jdeps
deps = jdeps.read_jdeps_file(
"../dataset/jdeps_dropover.txt",
filter_regex="at.dropover")
deps.head()
Out[1]:
In [2]:
deps = deps[['from', 'to']]
deps['group_from'] = deps['from'].str.split(".").str[2]
deps['group_to'] = deps['to'].str.split(".").str[2]
deps.head()
Out[2]:
In [3]:
from ausi import d3
d3.create_d3force(
deps,
"dropover_d3forced",
group_col_from="group_from",
group_col_to="group_to")
In [4]:
d3.create_semantic_substrate(
deps,
"dropover_semantic_substrate")
In [5]:
d3.create_hierarchical_edge_bundling(
deps,
"dropover_bundling")