shon-otmazgin / fastcoref

MIT License
142 stars 25 forks source link

add 'output_file' as argument in readme #9

Closed panagiotidi closed 1 year ago

shon-otmazgin commented 1 year ago

Done in version 2.0.1: do pip install --upgrade fastcoref

from fastcoref import LingMessCoref

model = LingMessCoref()
preds = model.predict(texts=texts, output_file='train_file_with_clusters.jsonlines')