Skip to content

Commit 0707aaf

Browse files
committed
Update SacreMoses URL in docs and code
This change was approved by @alvations in the issue discussion. Fixes pytorch#2276
1 parent 1d4ce73 commit 0707aaf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ If you want to use English tokenizer from `SpaCy <http://spacy.io/>`_, you need
6969
pip install spacy
7070
python -m spacy download en_core_web_sm
7171

72-
Alternatively, you might want to use the `Moses <http://www.statmt.org/moses/>`_ tokenizer port in `SacreMoses <https://github.com/alvations/sacremoses>`_ (split from `NLTK <http://nltk.org/>`_). You have to install SacreMoses::
72+
Alternatively, you might want to use the `Moses <http://www.statmt.org/moses/>`_ tokenizer port in `SacreMoses <https://github.com/hplt-project/sacremoses>`_ (split from `NLTK <http://nltk.org/>`_). You have to install SacreMoses::
7373

7474
pip install sacremoses
7575

torchtext/data/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def get_tokenizer(tokenizer, language="en"):
126126
except ImportError:
127127
print(
128128
"Please install SacreMoses. "
129-
"See the docs at https://github.com/alvations/sacremoses "
129+
"See the docs at https://github.com/hplt-project/sacremoses "
130130
"for more information."
131131
)
132132
raise

0 commit comments

Comments
 (0)