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