Semantria code for getting scores