by baltcode · 15y ago · 0 comments
mapper = lambda x: (x['word'],1)
Or something of the the following flavor:
mapper = JSCode('function(x) {return (x.word,1)}')
No comments yet.