Good suggestion, I had thought of having a single field earlier (delimiting artist and title with a '-') but I thought that most users might find it cumbersome.
To generate the final graph, I started by more or less splitting the entire song into a list of words, then iteratively rejoining fragments in an order based on frequency of occurrence.