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

Generic Seq2Seq Decoder preparation #49

Merged
merged 3 commits into from
Apr 17, 2023
Merged

Conversation

SimBe195
Copy link
Collaborator

This PR contains a subset of changes from #45. These are all the smaller file changes that prepare the rest of the code base for the new module but omitting actual implementations of the new label scorers and search/alignment algorithms.

The code in this PR can be compiled successfully but the new classes are mostly empty and non-functional at this stage.

@SimBe195 SimBe195 requested a review from curufinwe March 29, 2023 16:54
src/Speech/ModelCombination.hh Outdated Show resolved Hide resolved
src/Search/GenericSeq2SeqTreeSearch/Seq2SeqTreeSearch.hh Outdated Show resolved Hide resolved
src/Search/GenericSeq2SeqTreeSearch/Seq2SeqTreeSearch.cc Outdated Show resolved Hide resolved
src/Search/GenericSeq2SeqTreeSearch/Seq2SeqAligner.cc Outdated Show resolved Hide resolved
src/Search/GenericSeq2SeqTreeSearch/Seq2SeqAligner.hh Outdated Show resolved Hide resolved
src/Search/Histogram.hh Outdated Show resolved Hide resolved
src/Lattice/Lattice.cc Outdated Show resolved Hide resolved
src/Lattice/Lattice.cc Outdated Show resolved Hide resolved
src/Search/AdvancedTreeSearch/AdvancedTreeSearch.cc Outdated Show resolved Hide resolved
src/Lattice/Lattice.cc Show resolved Hide resolved
@SimBe195 SimBe195 requested a review from curufinwe April 11, 2023 12:50
@@ -37,10 +39,11 @@ namespace Speech {
class ModelCombination : public Mc::Component, public Core::ReferenceCounted {
public:
typedef u32 Mode;
static const Mode complete;
static const Mode complete; // Includes lexicon, AM and LM but NOT label scorer; named 'complete' for legacy reasons.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While the name complete is a bit misleading now because it doesn't include the label scorer, changing it would mean a config-level change since the name 'complete' is also used in src/Speech/LatticeNodes.cc for a Core::Choice ModelCombinationNode::choiceMode. So a comment was added here and the name is left as-is for now.

@SimBe195 SimBe195 merged commit 79a1965 into master Apr 17, 2023
@SimBe195 SimBe195 deleted the generic-seq2seq-decoder-prep branch April 17, 2023 10:25
Marvin84 pushed a commit that referenced this pull request Jun 12, 2023
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