DeDeckerThomas
commited on
Commit
•
8f7bbd4
1
Parent(s):
8a837e5
Update README.md
Browse files
README.md
CHANGED
@@ -84,9 +84,9 @@ class KeyphraseExtractionPipeline(TokenClassificationPipeline):
|
|
84 |
**kwargs
|
85 |
)
|
86 |
|
87 |
-
def postprocess(self,
|
88 |
results = super().postprocess(
|
89 |
-
|
90 |
aggregation_strategy=AggregationStrategy.SIMPLE,
|
91 |
)
|
92 |
return np.unique([result.get("word").strip() for result in results])
|
|
|
84 |
**kwargs
|
85 |
)
|
86 |
|
87 |
+
def postprocess(self, all_outputs):
|
88 |
results = super().postprocess(
|
89 |
+
all_outputs=all_outputs,
|
90 |
aggregation_strategy=AggregationStrategy.SIMPLE,
|
91 |
)
|
92 |
return np.unique([result.get("word").strip() for result in results])
|