Skip to content

Commit

Permalink
Initial word alignment build job
Browse files Browse the repository at this point in the history
  • Loading branch information
johnml1135 committed Aug 15, 2024
1 parent 85138a5 commit bff4239
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
11 changes: 9 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,16 @@
},
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.analysis.extraPaths": [
"tests"
],
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true
},
"black-formatter.path": ["poetry", "run", "black"]
}
"black-formatter.path": [
"poetry",
"run",
"black"
]
}
8 changes: 6 additions & 2 deletions machine/jobs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,22 @@
from .local_shared_file_service import LocalSharedFileService
from .nmt_engine_build_job import NmtEngineBuildJob
from .nmt_model_factory import NmtModelFactory
from .shared_file_service import PretranslationInfo, PretranslationWriter, SharedFileService
from .shared_file_service import DictToJsonWriter, PretranslationInfo, SharedFileService
from .smt_engine_build_job import SmtEngineBuildJob
from .smt_model_factory import SmtModelFactory
from .word_alignment_build_job import WordAlignmentBuildJob
from .word_alignment_model_factory import WordAlignmentModelFactory

__all__ = [
"ClearMLSharedFileService",
"LocalSharedFileService",
"NmtEngineBuildJob",
"NmtModelFactory",
"PretranslationInfo",
"PretranslationWriter",
"DictToJsonWriter",
"SharedFileService",
"SmtEngineBuildJob",
"SmtModelFactory",
"WordAlignmentBuildJob",
"WordAlignmentModelFactory",
]

0 comments on commit bff4239

Please sign in to comment.