Advertisement
Guest User

Deadliest in Expendables

a guest
Oct 13th, 2014
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.48 KB | None | 0 0
  1. from pattern.web import sort
  2.  
  3. results = sort(terms=[
  4. 'arnold schwarzenegger', 'bruce willis', 'dolph lundgren', 'sylvester stallone', 'antonio banderas',
  5. 'don wilson', 'steve austin', 'van damme', 'harrison ford', 'mel gibson', 'wesley snipes',
  6. 'eric roberts', 'gary daniels', 'jason statham', 'jet li', 'mickey rourke', 'randy couture',
  7. 'terry crews', 'chuck norris'], context='deadly', prefix=True)
  8.  
  9. for weight, term in results:
  10.     print "%.2f" % (weight * 100) + '%', term
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement