Skip to content

Instantly share code, notes, and snippets.

@IntegerMan
Created September 12, 2019 03:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IntegerMan/4778ff7a59558c4c93930042ec38858c to your computer and use it in GitHub Desktop.
Save IntegerMan/4778ff7a59558c4c93930042ec38858c to your computer and use it in GitHub Desktop.
// Give a bump for various words in the title
foreach (var word in job.Title.Split())
{
var keyword = FindKeyword(keywordBonuses, key);
jobScore += keyword.Some(k => k.Value)
.None(0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment