Spaces:
Sleeping
Sleeping
DoctorSlimm
commited on
Commit
·
a12a36a
1
Parent(s):
3915288
save
Browse files- bangalore_score.py +6 -1
bangalore_score.py
CHANGED
@@ -106,7 +106,12 @@ class Bangalore_Score(evaluate.Metric):
|
|
106 |
pass
|
107 |
|
108 |
|
109 |
-
def normalize_fn(
|
|
|
|
|
|
|
|
|
|
|
110 |
"""
|
111 |
parse output text into headers, rows, and records
|
112 |
- parse row by row (incomplete rows)
|
|
|
106 |
pass
|
107 |
|
108 |
|
109 |
+
def normalize_fn(
|
110 |
+
self,
|
111 |
+
example,
|
112 |
+
text_field='text',
|
113 |
+
unk_token='Not Disclosed'
|
114 |
+
):
|
115 |
"""
|
116 |
parse output text into headers, rows, and records
|
117 |
- parse row by row (incomplete rows)
|