I have 2 arrays

A = [good, bad, cat, frog]
and
B = [best, great, ill, evil, wicked, rotten, vicious, poor, nasty, puss, toad, paddock]


and I want to match between 2 arrays with ironpython or c#

Match Result!!
[good : best, great]
[bad : ill, evil, wicked, rotten, vicious, poor, nasty]
[cat : puss]
[frog : toad, paddock]

You can not separate the word synonyms as they are mixed together. Of course you can hard wire lengths, but the synonyms should be split in groups. Then it is simple to zip them together and make dictionary.

Try set.
Look into set module. its very simple.
:)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.