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

Could .txt or other input files used in this project? #16

Closed
xiaoxielnino opened this issue Mar 27, 2018 · 2 comments
Closed

Could .txt or other input files used in this project? #16

xiaoxielnino opened this issue Mar 27, 2018 · 2 comments
Labels

Comments

@xiaoxielnino
Copy link

Note that the input files in the examples are all .json format. I was wondering that whether the .txt or other type input files can be used in the project?

@bazzmx
Copy link

bazzmx commented Sep 3, 2018

Open the text file, create a dict with this file and give it and id if you want and dump it to a json, this way if you have a bunch of text files json_iter will handle them. Would it be easier to use a .txt file or glob imo.

@ceteri
Copy link
Collaborator

ceteri commented Nov 5, 2019

Check the v2.0.0 release, which now runs as a spaCy extension. Any input format acceptable for spaCy should work fine.

@ceteri ceteri added the question label Nov 5, 2019
@ceteri ceteri closed this as completed Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants