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

Refactoring roadmap #80

Open
jordiae opened this issue Feb 19, 2021 · 0 comments
Open

Refactoring roadmap #80

jordiae opened this issue Feb 19, 2021 · 0 comments

Comments

@jordiae
Copy link
Contributor

jordiae commented Feb 19, 2021

  1. Migrate filters and transforms to filters.py and transforms.py, respectively. Import them in the different components.
  2. Migrate argparse and __init__ to SimpleParsing (https://github.com/lebrice/SimpleParsing)
  3. Rethink/re-organize components. Current suggestion: Parser, RawDocumentProcessor*, SentenceSplitter, SentenceProcessor, Dedup, Formatter
  4. TBD etc

Document everything, not necessarily in any specific order.

*Sub-components (perhaps should be separate components):

  • RawDocMetadataFilter (discard by heads, URL, etc?)
  • RawDocStringTransform (raw string transformations, including, at first, encoding fixer, which is currently an independent component)
  • RawDocFilter (raw string filters)
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

No branches or pull requests

1 participant