Tag / entity algorithmic modelling