def get_grammar(): lsggg=lsgg.lsgg() g=prep_cip_extract(nx.path_graph(4)) lsggg.fit([g,g,g]) return lsggg