txt2pajek input:
George band George choir Dimitri orchestra Dimitri band Sarah band Sarah choir
txt2pajek output:
*Vertices 6 3 1 "George" 2 "Dimitri" 3 "Sarah" 4 "band" 5 "choir" 6 "orchestra" *Edges 1 4 1 5 2 6 2 4 3 4 3 5