writer autocomplete

Hi
Is there a way to restrict the suggestions offered by autocomplete to words in the current document? Or a way of clearing all entries to start over? It can be a bit inconvenient when spelling mistakes are offered, and especially if they are not in the current document as then search and replace can't be used (or can it??)
Thanks
/Gary

Hi,
The best I could find to help you is to redirect you to the help page for
autocomplete:

https://help.libreoffice.org/6.1/en-US/text/swriter/guide/word_completion_adjust.html?&DbPAR=WRITER&System=UNIX

I think you may find some hints there to get spelling errors removed and to
start with a defined set of words.
I hope this helps.
Rémy.