Comparing relationships in poetry