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

Fixes #99 #100

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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 conf/kiwix
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ case $1 in
stop)
# Stop the daemon.
if [ -e $PIDFILE ]; then
status_of_proc -p $PIDFILE $DAEMON "Stoppping the $NAME process" && status="0" || status="$?"
status_of_proc -p $PIDFILE $DAEMON "Stopping the $NAME process" && status="0" || status="$?"
if [ "$status" = 0 ]; then
start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE
/bin/rm -rf $PIDFILE
Expand Down
2 changes: 1 addition & 1 deletion iiab/whoosh_multi_field_spelling_correction.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, correctors, terms, prefix=0, maxdist=2):
:param prefix: suggested replacement words must share this number of
initial characters with the original word. Increasing this even to
just ``1`` can dramatically speed up suggestions, and may be
justifiable since spellling mistakes rarely involve the first
justifiable since spelling mistakes rarely involve the first
letter of a word.
:param maxdist: the maximum number of "edits" (insertions, deletions,
subsitutions, or transpositions of letters) allowed between the
Expand Down
2 changes: 1 addition & 1 deletion scripts/whoosh_index_verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def verify_indexes(zim_files, index_dir_base, indexed_count_cache=None, verbose=
logger.info("----------------------")
elif zim_indexable != None:
logger.info("--------------------------------")
logger.info("Incompleted Indexes Not Computed")
logger.info("Incomplete Indexes Not Computed")
logger.info("--------------------------------")
for zim_fn, index_dir in incomplete_indexes:
logging.info(zim_fn)
Expand Down