Browse Source

corpora/functions.py

master
Ben Kurtovic 12 years ago
parent
commit
2e597b31d2
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      corpora/functions.py

+ 7
- 0
corpora/functions.py View File

@@ -0,0 +1,7 @@
def f1(a):
return str(a)

def f2(a):
return (lambda i: len(str(i)))(a)

corpus = [f1, f2]

Loading…
Cancel
Save