I will need to seperate words in domains. I need to be able to load about 5,000 domains daily and output just the words only without the extentions. Sometimes in the domains will contain mispells or non words. The program should be able to seperate these by finding the other words in the domain and seperating those. I need the program to be able to take a list of about 5,000 domains daily and output the words seperated by spaces and each domain would be output onto one line. An example is below:
#### example ####
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
#### example ####
The above domains would need to be seperated by words and output like below:
#### example output ####
vegetarian singles network
video singles club
where singles go
wild singles ward
www greek singles
yachting singles online
#### example output ####
Notice how the 5th line seperated www from greek because greek was a word even though it doesn't recognize www as a word. I need someone who can run this against a dictionary to come up with the best results. I need this program to run in PHP and reside on a linux server.
Thanks.