I have a script which categorize links by searching keyword in the link title. Currently, those keyword which list first will categorize the link first. But in reality, some keywords are more important than other keywords, they should be use first. e.g. if I have the following categories: dog cat .... and if I make "cute" as the first keyword and "cute" is belong to category "cat". Then some dog links will go to cat category, if it got the "cute" keyword in the title. So I would like to modify the script, so that I can rank the keyword searching (e.g. which keyword to search first and put the link to which category....). I have attached the script in this post.