Doc: Use the Snowball project's PyStemmer library#125264
Doc: Use the Snowball project's PyStemmer library#125264AA-Turner wants to merge 4 commits intopython:mainfrom
Conversation
PyStemmer exposes bindings to libstemmer_c, the core Snowball library written in C. This can improve performance of word stemming.
|
What was the doctest failure? The CI logs don't give much detail: |
|
It's the previous step: Odd it doesn't report a failure, but I'm no expert on Make. P.S. the error makes sense as we're building a pre-release Python with a Cython package, we can't expect support yet. A |
I'm guessing because the
Yeah, fair enough. Might we run into this locally as well? Can we mark PyStemmer as |
From what I can find, I'll try adjusting the makefile to use A |
|
This reverts commit 551edb0.
|
Ah right, it mentions the failure in the help. That's a shame. I think python/docsbuild-scripts#217 might be the better approach? |
|
python/docsbuild-scripts#217 has been merged, shall we close this? |
|
I'd like to return to this in the future to have it upstream (especially if we move to RtD), but for now yes it can be closed. A |
PyStemmer exposes bindings to libstemmer_c,
the core Snowball library written in C.
This can improve performance of word stemming.
Sphinx will use PyStemmer if installed, but it isn't a requirement -- downstream redistributors can remove the package, for example.
A
xref:
📚 Documentation preview 📚: https://cpython-previews--125264.org.readthedocs.build/