Get Involved
Where en_GB/PTG is used
Tips for getting the most out of:  LibreOffice (Writer)  Thunderbird
  About Marco  CV In English  CV Em Português Masters Dissertation Em Português

Proofing Tool GUI
V3.0 build 100 - 1.Jan.2017 (beta)
© 2013-2017 Marco A.G.Pinto and Community Contributors.
Freely distributable/modifiable under the Apache License 2.0.
The logo was designed by Pedro Marques.
The software icons are from OpenOffice.
en_GB Dictionary:
I am improving the British speller for Mozilla and AOO/LO.

- Mozilla (Firefox, Thunderbird, SeaMonkey) (2.45)
- AOO (OpenOffice) (2.44)
- LO (LibreOffice) (2.44)

- English Dictionaries Project


- WORDLIST (164'005 words - 638 new)

Version: 2.45 - 1.Feb.2017

Select a PTG topic:

    1) About

    2) Update

    3) Known issues in Linux

    4) Downloads

    5) Screenshots

PTG - About:
An open-source tool coded in PureBasic for editing the Dictionary/Thesaurus/Hyphenation/Autocorrect files of OpenOffice/LibreOffice, Firefox, Thunderbird and SeaMonkey, provided they are in UTF-8 format.

This program was originally developed to easily edit the synonyms of OpenOffice and LibreOffice.

I had this idea after asking to the persons in charge of the pt_PT project, from Minho University in Portugal, what I should do to suggest synonyms since only suggested words for the Portuguese speller were added.

I was told that they didn't know how to add synonyms since the guy in charge of that project left it long-ago (2006).

Later, I wanted to make it compatible with Firefox and Thunderbird, after it became possible to edit dictionaries. I hoped that in the future someone would use it in Thunderbird and fix the en_GB speller which was full of typos and missing words. Since no one volunteered, I took this task myself.

This is where my idea came from: develop something easy to use since I tried some official tools for the tasks and I didn't understand anything on them, not even how to use them.

My tool is so intuitive that even a 6-year-old kid can use it.

25.Aug.2013 I released a "forked" en_GB speller V2.00. The speller has been made available to OpenOffice/LibreOffice, Firefox, Thunderbird and SeaMonkey. So far, I have added 27'601 words (as of V2.45).

PTG - Update:
I have removed V2.3 from the downloads since it is outdated and beta 3.0 is very stable and a lot better.

On build 100:
- Improved the GUI a lot, allowing multiselection of items and choose 1024x600 or 1280x600 window size.
- Allow undo/redo;
- Use GTK3.

On build 99:
- Fix: While opening a dictionary and after exiting the editor, the page length would be lost since
       I was using the same variable for two different parts of the code;
- Pop-up menu in words editor to copy the selected line word into the clipboard;
- The
"Preferences" menu item now has an icon.

On build 98:
- Fix: Sorting synonyms naturally by replacing | with chr(9) and after sorting with |;
- Fix: The scroll bar size after a delete duplicates in the autocorrect tab;
- Fix: Link in About window didn't work;
- Simplified the .AFF loading;
- Now it saves Dictionary + Thesaurus + Autocorrect with #LF$ instead of #CRLF$ for Linux mode;
- Update number of meaning while editing synonyms now supports Mac OS line endings;
- GUI improvements:
  1) The number of items and filename below the buttons will be placed the same way in all OSes, by getting
     the Y coord + size of a button above;
  2) Improved the Thesaurus menu for simple meanings, saying
"(one item per line)";
  3) Added a
"Tools" menu for the preferences:
     a) Prefs now load and save in a file named
"ptg3.prefs" allowing to select a dynamic number of lines.
        This makes it compatible with all OSes.

On build 83-97:
- GUI improvements:
  1) The window now has a size of 800x480 instead of 640x480;
  2) Replaced the
"Purge" button with "Erase";
  3) Added a
"Goto" button;
  4) In the words editor replaced the ListIconGadget field
"Position" with "Code Position";
  5) Added the tab to edit
"Autocorrect" words:
     a) ListIconGadget now has colours (red/green);
     b) If converting the symbols it warns if it found a value above 65535 (PB limitation);
  6) Added line numbers in grey before each word in the various ListIconGadgets;
  7) Added menu options to Thesaurus and Autocorrect;
  8) Added
"#" to the first field of the ListIconGadgets;
- Better UTF-8 warnings;
- Rewrote the Thesaurus part to use dynamic arrays. Now it is ultrafast in Windows and Linux.

In the
"Autocorrect" please notice that:
The autocorrect files in AOO/LO are stored in the path:
$instdir/share/autocorr/acor_*.dat which are actually zipped files containing the XML files.
Rename the .DAT files to .ZIP and extract the contents.
Using Notepad++ or other tool, format the DocumentList.xml so that it is in UTF-8 and it uses the structure (you can copy/paste this first line over the XML entry):
<?xml version="1.0" encoding="UTF-8" ?> <block-list:block-list xmlns:block-list="">
<block-list:block block-list:abbreviated-name="
incorrect1" block-list:name="correct1"/>
<block-list:block block-list:abbreviated-name="
incorrect2" block-list:name="correct2"/>
<block-list:block block-list:abbreviated-name="
incorrect3" block-list:name="correct3"/>
<block-list:block block-list:abbreviated-name="
incorrect4" block-list:name="correct4"/>
    etc. (use lines like the previous)

Have in mind that you must have per line only one pair of incorrect/correct. I noticed that the .XML I edited had all the text in one single line, so use Notepad++ to create a return at the end of each line:

  Have in attention:
  1) "Unduplicate simple meanings" will work like this:

    will become:

    It won't work with columns:

"Sort simple meanings" will work also line by line in the Thesaurus meanings.

PTG - Known issues in Linux:
PTG V3.0 build 90 fixed the performance issue. I am using dynamic arrays to store the words instead of placing the whole list in ListIconGadgets, and I show the entries 13 (customisable) words at a time. Most operations are ultrafast with the new code.

Notice that there are some GTK3 issues in Linux, which I have reported in the PB forum, and have been told that the new GTK3/themes have issues. Thus, I am using the Library Subsystem
"gtk2" in the compiler in order to fix the issues.

PTG - Downloads:

- V3.0 build 100 (beta)
MANUAL (manual is outdated/unfinished)

Windows - 7/8/10
    x86 & x64 - Download
Extension used: ZIP
       SHA-512: B314B88E7324E26B64DEADC4B0DAE103F0759A5002C05C8907A77545EA1C13B412C7B52D2E2A7EBB90E324C64ABD74DD1A82CF44871A69F0AEAE6FDB0B9FC212

Ubuntu/Kubuntu/Xubuntu - 14/15/16
    x86 & x64 -
Extension used:
       SHA-512: 8630CCF9F528B0ACC64CBBF44635BE2EE376F526D78B0CB3A66A3F402B955C7D36E95EAB185B2BE763A3A26101D3A00EE4068F27268B67E5D61D79BE09422519

Mac OS - X
    x86 & x64 - N/A*

Extension used: DMG
       SHA-512: N/A

* If someone is able to compile my tool for this platform, I will add the files here.

PTG - Screenshots (V3.0 build 98):
(click on images to enlarge)

  Windows 10.0.14393   Ubuntu 16.04
Windows Ubuntu

  Kubuntu 16.04

Last update: 17.Feb.2017