Skip to content

modify the extract representation to support various types of inputs#24

Open
fym0503 wants to merge 1 commit intofdalvi:masterfrom
fym0503:master
Open

modify the extract representation to support various types of inputs#24
fym0503 wants to merge 1 commit intofdalvi:masterfrom
fym0503:master

Conversation

@fym0503
Copy link
Contributor

@fym0503 fym0503 commented May 4, 2022

No description provided.

@fdalvi fdalvi self-requested a review June 5, 2022 08:23
Copy link
Owner

@fdalvi fdalvi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good Yimin, thanks for starting the PR. I would suggest making your changes in a separate branch in your own repo, i.e. something like fym0503:feat/new_input_type, so that you can update your master branch with the latest changes easily.

yield line.strip()
return
else:
if isinstance(input_corpus_path,str):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when is this condition used? do we expect the user to pass a single "sentence" as the input corpus?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants