Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kaldi/fstext/_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2617,7 +2617,7 @@ def arcmap(ifst, map_type="identity", delta=_weight.DELTA, weight=None):
except ValueError:
raise ValueError("Unknown map type: {!r}".format(map_type))
weight = _get_weight_or_default(ifst._weight_factory, weight,
map_type == MapType.TIMES_MAPPER)
map_type == _getters.MapType.TIMES_MAPPER)
ofst = ifst._mutable_fst_type()
ifst._ops.map(ifst, ofst, map_type, delta, weight)
return ofst
Expand Down
10 changes: 5 additions & 5 deletions tools/check_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ PY_PKGS=( numpy setuptools pyparsing )
################################################################################################
# Checks python binaries in system installation
################################################################################################
if ! which python2.7 >&/dev/null; then
echo ""
echo "$0: python2.7 is not installed"
echo ""
fi
#if ! which python2.7 >&/dev/null; then
# echo ""
# echo "$0: python2.7 is not installed"
# echo ""
#fi

if ! which python3 >&/dev/null; then
echo ""
Expand Down
2 changes: 1 addition & 1 deletion tools/install_kaldi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ touch "python/.use_default_python"

./extras/check_dependencies.sh

make -j4
make -j`nproc`

cd ../src
./configure --shared
Expand Down
2 changes: 1 addition & 1 deletion tools/install_protobuf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ cd "$PROTOBUF_DIR"

./autogen.sh
./configure --prefix $PROTOBUF_DIR
make -j4 && make install
make -j`nproc` && make install

echo "Installing Protobuf Python package..."
cd "$PROTOBUF_DIR/python"
Expand Down