More advanced synonym handling

Split tokens by comma, trim whitespace, remove doubles