diprism / fggs

Factor Graph Grammars in Python
MIT License
13 stars 3 forks source link

HRG.add_terminal and HRG.add_nonterminal redundant #58

Closed davidweichiang closed 3 years ago

davidweichiang commented 3 years ago

because HRG.add_terminal can only be used on terminals and HRG.add_nonterminal can only be used on nonterminals; why not just HRG.add_edge_label?

darcey commented 3 years ago

I agree that there's some redundant stuff in there; I've been thinking the same thing. I'd be up for removing some of those functions.