Jump to content

Anagram Solver


Nim199
 Share

Recommended Posts

Hiya all!I am trying to build a basic anagram solver that looks through all possibilities for words, check weather they are true, and acts accordingly.Imput = "TAE"Word(1) = "TEA"Word(2) = "ATE"Word(3) = "AET"Word(4) = "ETA"Word(5) = "EAT"For i = 1 to 5If isRealWord(Word(i)) Then Ans(i) = TrueElse Ans(i) = FalseEnd IfNext' RESULTAns(1) = True 'Tea is a real wordAns(2) = True 'Ate is a real wordAns(3) = False 'Aet is NOT a real wordAns(4) = False 'Eta is NOT a real wordAns(5) = True 'Eat is a real word' OUTPUTAnagrams:TeaAteEatI need to have a function (isRealWord) that can check a wrod inside an external dictionary.If there is a downloadable dictionar DLL I can get hold of, please tell me, or how I could contenct to a Microsoft Word dictionary WITHOUT opening Word.

Link to comment
Share on other sites

  • 12 years later...
On 8/31/2021 at 4:21 PM, ddecker said:

Hey guys!

 

I have a word list but I'm not really sure where to start to create an anagram solver. A push in the right direction would be great! 

no response

Edited by Ingolme
Removed advertising link
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...