Skip to content

Commit

Permalink
fix: class name
Browse files Browse the repository at this point in the history
  • Loading branch information
severinsimmler committed Apr 25, 2019
1 parent 7bdccb6 commit 4dcb618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cophi/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def document(filepath, lemma=False, pos=None, jar="ddw-0.4.6.jar",
if lemma or pos:
return dkpro.pipe(filepath, jar, language, lemma, pos, **kwargs)
else:
filepath = text.model.filepath(filepath)
filepath = text.model.Textfile(filepath)
return text.model.Document(filepath.content, **kwargs)


Expand Down

0 comments on commit 4dcb618

Please sign in to comment.