Skip to content

Instantly share code, notes, and snippets.

@danieldk
Created April 17, 2011 18:25
Show Gist options
  • Save danieldk/924320 to your computer and use it in GitHub Desktop.
Save danieldk/924320 to your computer and use it in GitHub Desktop.
Feature extraction
feature :: [String -> [FeatureValue]] -> [FeatureValue]
features templates word = do
template <- templates
feature <- template word
return feature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment