Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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