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

Feature/refactor cli #194

Conversation

r-terada
Copy link
Collaborator

#190

Change

  • add simple unit tests
    • run test via python setup.py test
  • add type hints
  • move Analyzer, analyzer_* function from command_line.py to analyzer.py
  • refactor command_line::run
    • impl _Outputwrapper to simplify json output process
    • nest was too deep, so cut out main process to functions
    • modify data loader to simplify control flow of analyze_parallel
  • fix small bugs:
    • close called on sys.stdout
    • try to pickle generator(analyze_connlu, analyze_json) when run on parallel

@hiroshi-matsuda-rit hiroshi-matsuda-rit changed the base branch from develop to feature/refactor_cli October 15, 2021 09:43
@hiroshi-matsuda-rit hiroshi-matsuda-rit merged commit c90b2ec into megagonlabs:feature/refactor_cli Oct 15, 2021
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