Autocorrect Word List

Discuss the word processor
Post Reply
User avatar
Bhikkhu Pesala
Posts: 1253
Joined: Mon Oct 08, 2007 1:27 am

Autocorrect Word List

Post by Bhikkhu Pesala »

Where can I find a text file of the default autocorrect word lists (GB and US) for Open Office?

Are these lists OpenSource for inclusion in other programs?
Idiot Compassion
LibreOffice 6.0.4 on Windows 10
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Autocorrect Word List

Post by acknak »

I assume they're free of restrictions. The GPL allows modification and re-distribution, so I think as long as you also make the modified form available, it should be ok.

At any rate, here are the en-{US,BG} lists:
autocorrect_en-GB.txt
autocorrect_en-US.txt

I extracted those with one-liners like so:
$ unzip -p /opt/openoffice.org.latest/share/autocorr/acor_en-GB.dat DocumentList.xml | xmlindent | tok -f '%s\t%s\n' 'name="([^"]+)' >autocorrect_en-GB.txt
AOO4/LO5 • Linux • Fedora 23
User avatar
Bhikkhu Pesala
Posts: 1253
Joined: Mon Oct 08, 2007 1:27 am

Re: Autocorrect Word List

Post by Bhikkhu Pesala »

Thanks for that. I will take a look and see if they need any work.
Idiot Compassion
LibreOffice 6.0.4 on Windows 10
Post Reply