I would implement it as a Graph + hash table / search tree each keyword would be a Vertex, and each connection between 2 keywords would be ... ... <看更多>
Search
Search
I would implement it as a Graph + hash table / search tree each keyword would be a Vertex, and each connection between 2 keywords would be ... ... <看更多>
The basic structure is a simple table lookup {word, synonym} . Up to you to decide if it's a bidirectional relation (less data in your ... ... <看更多>