Skip to content

Commit

Permalink
Clean up headers (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcauliffe authored Oct 17, 2023
1 parent 8110c5f commit 15be70b
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 17 deletions.
1 change: 1 addition & 0 deletions extensions/decoder/decoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "gmm/diag-gmm.h"
#include "gmm/decodable-am-diag-gmm.h"
#include "lat/lattice-functions.h"
#include "fstext/pybind_fstext.h"

using namespace kaldi;
using namespace fst;
Expand Down
2 changes: 2 additions & 0 deletions extensions/fstext/pybind_fstext.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include "fstext/kaldi-fst-io.h"
#include "fstext/lattice-utils.h"
#include "fstext/lattice-utils-inl.h"
#include <fst/extensions/far/far-class.h>
#include "_pywrapfst.h"

using namespace fst;

Expand Down
1 change: 0 additions & 1 deletion extensions/hmm/hmm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "fstext/table-matcher.h"
#include "fstext/fstext-utils.h"
#include "fstext/context-fst.h"
#include <pybind11/stl_bind.h>

using namespace kaldi;
using namespace fst;
Expand Down
1 change: 1 addition & 0 deletions extensions/lm/lm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "lm/const-arpa-lm.h"
#include "lm/kaldi-rnnlm.h"
#include "lm/mikolov-rnnlm-lib.h"
#include "fstext/pybind_fstext.h"

using namespace kaldi;
using namespace fst;
Expand Down
2 changes: 0 additions & 2 deletions extensions/matrix/matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
#include "matrix/kaldi-vector.h"
#include "matrix/matrix-common.h"
#include "matrix/sparse-matrix.h"
#include <pybind11/pybind11.h>
#include "util/pybind_util.h"

using namespace kaldi;

Expand Down
1 change: 1 addition & 0 deletions extensions/matrix/pybind_matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#define KALPY_PYBIND_MATRIX_H_

#include "pybind/kaldi_pybind.h"
#include "util/pybind_util.h"


void init_matrix(py::module &);
Expand Down
12 changes: 0 additions & 12 deletions extensions/pybind/kaldi_pybind.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,6 @@
#include <pybind11/cast.h>
#include <pybind11/stl.h>
#include <pybind11/iostream.h>
#include <mutex>
#include <iostream>
#include "fst/vector-fst.h"
#include "fst/fst.h"
#include "fst/fstlib.h"
#include "fst/fst-decl.h"
#include <fst/script/fst-class.h>
#include <fst/extensions/far/far-class.h>
#include "_pywrapfst.h"


static std::mutex cout_mutex;

namespace py = pybind11;

Expand Down
1 change: 0 additions & 1 deletion extensions/transform/transform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include "transform/transform-common.h"
#include "lat/kaldi-lattice.h"
#include "lat/lattice-functions.h"
#include <pybind11/stl.h>


using namespace kaldi;
Expand Down
1 change: 0 additions & 1 deletion extensions/util/util.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

#include "util/pybind_util.h"
#include <pybind11/iostream.h>
#include "util/kaldi-table.h"
#include "util/kaldi-io.h"
#include "util/kaldi-holder-inl.h"
Expand Down

0 comments on commit 15be70b

Please sign in to comment.