I'll explain briefly what the current PHP code is doing.
Job websites have different categories, for example, Accounting is category 1, IT is category 2, Tourism is category 3, etc.
Job adverts get put into each of these categories.
I have some code which decides which category a job advert belongs to.
The code takes the job id, the existing job category (if any), the job title and the job description.
The code looks at the job title and job category and searches for keywords. If it finds a keyword, it assigns the job to a particular category. For example, if the job title or job description contains "Software Engineer", it would assign that job to the IT category.
Jobs can be put into multiple categories. For example, a "Software Engineer Manager" would belong in both the IT and Management categories.
There are some exceptions though. Intern jobs only go into the intern category. Sales jobs only go into the Sales category, etc.
There is also some code to figure out the weird cases. For example, is an Architect job a Design job (building architect) or an IT job (technical architect)? Same for Administrator (secretary or system administrator?), etc.
There are a number of functions which handle either adding a new category to the job, or overwriting the existing category on the job, etc.
The PHP code is a little hard to understand, so it'll probably take you an hour to figure out what's going on.
Any questions, just ask.
28 freelancerów złożyło ofertę na kwotę $167 do tego projektu
I am an expert of data mining, web scraping & web simulation. Certified Python and Php Developer. an expert in python and PHP programming please contact me for more detail.