I would like to determine for a given URL as an input a category from a list of categories (e.g. programming, health, vegan food, computer science, math).
cats = [ "programming", "health", "raw vegan food", "vegan cooking", "computer science", "math" ]
def getCategory(url, cats):
...
I would like to do it, without having to download a lot of data for deriving the category. I have already searched a lot of what is available, but I'm starting to information overload, losing in lot of data about NLP, topic modeling.
I have found gensim library, but not sure if it's able to do this conversion. So, if you can provide certain direction, it would be really helpful.