
Split a domain name into keywords by creating a PHP function
- or -
Post a project like this3200
$$
- Posted:
- Proposals: 5
- Remote
- #1204781
- Awarded
Description
Experience Level: Intermediate
Estimated project duration: 1 - 2 weeks
General information for the website: Keyword separator
Description of requirements/features: Create a php function that returns the passed in string, with numbers/keywords separated by spaces, for a domain name.
It must return the entire string, no omissions. Eg, "barnesandnoble.com" returns "barnes and noble".
"247tv.org" returns "247 tv".
Domain list provided once accepted, or via message.
Sample code attached. I already have this integrated into a database, I've just created this sample code so you can work standalone.
The function will be processing around 30,000 domain names per day, so it needs to be efficient.
You may need to bolt in a dictionary. There may be multiple solutions, but the function needs to pick the best available/most likely.
eg. windowsteamblog.com could be;
- window steam blog
- windows team blog
The function needs to return the latter, "windows team blog".
Some resources to help with theory;
- http://stackoverflow.com/questions/3466972/how-to-split-a-string-into-words-ex-stringintowords-string-into-words
- http://stackoverflow.com/questions/1315373/programmatically-extract-keywords-from-domain-names
Please feel free to message questions before submitting a proposal.
Extra notes: Sample code attached. Sample domain list available on request. Note, the domains will change on a daily basis, there is no fixed algorithm - it can be any domain name.
You may need an English word dictionary.
Description of requirements/features: Create a php function that returns the passed in string, with numbers/keywords separated by spaces, for a domain name.
It must return the entire string, no omissions. Eg, "barnesandnoble.com" returns "barnes and noble".
"247tv.org" returns "247 tv".
Domain list provided once accepted, or via message.
Sample code attached. I already have this integrated into a database, I've just created this sample code so you can work standalone.
The function will be processing around 30,000 domain names per day, so it needs to be efficient.
You may need to bolt in a dictionary. There may be multiple solutions, but the function needs to pick the best available/most likely.
eg. windowsteamblog.com could be;
- window steam blog
- windows team blog
The function needs to return the latter, "windows team blog".
Some resources to help with theory;
- http://stackoverflow.com/questions/3466972/how-to-split-a-string-into-words-ex-stringintowords-string-into-words
- http://stackoverflow.com/questions/1315373/programmatically-extract-keywords-from-domain-names
Please feel free to message questions before submitting a proposal.
Extra notes: Sample code attached. Sample domain list available on request. Note, the domains will change on a daily basis, there is no fixed algorithm - it can be any domain name.
You may need an English word dictionary.

User 1.
0% (0)Projects Completed
-
Freelancers worked with
-
Projects awarded
33%
Last project
4 May 2025
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Are you in a rush or flexible on deadline?
-
Hi User1,
I have gone through your requirement and understood what you need, can you share domain list, also couple of more questions, so have any chance to discuss ?
I look forward to your response.
Thanks
4484843034
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies