fix typos

This commit is contained in:
Fangjun Kuang 2023-04-10 12:29:08 +08:00
parent 9e338a8e36
commit 1746514348

View File

@ -38,6 +38,7 @@ except ImportError:
print("Please install kenlm first. You can use") print("Please install kenlm first. You can use")
print() print()
print(" pip install https://github.com/kpu/kenlm/archive/master.zip") print(" pip install https://github.com/kpu/kenlm/archive/master.zip")
print()
print("to install it") print("to install it")
import sys import sys
@ -63,7 +64,7 @@ def get_args():
"--b", "--b",
type=str, type=str,
required=True, required=True,
help="Path to the second LM. Its order is usually lower than that of LM b", help="Path to the second LM. Its order is usually lower than that of LM a",
) )
parser.add_argument( parser.add_argument(
@ -84,7 +85,7 @@ def get_args():
"--out", "--out",
type=str, type=str,
required=True, required=True,
help="Path to save the generate LM.", help="Path to save the generated LM.",
), ),
return parser.parse_args() return parser.parse_args()