I have following query regarding dictionary and affix file

Discuss setup / installation issues - Add a spell checker, Language pack?
Post Reply
amitmoralwar
Posts: 1
Joined: Tue Aug 08, 2017 11:01 am

I have following query regarding dictionary and affix file

Post by amitmoralwar »

I have 3 files, one is affix file i.e .aff file,second one is dictionary file i.e .dic file and third one is hyphenation file.In .dic file the words are given in the format mention below.I also want to know can we do changes in the affix file to make new rules for dictionary? and if yes how can we do that ?

Code: Select all

  AF 712
        AF 1 # 1
        AF 2,3 # 2
        AF 4,2 # 3
        AF 3,5,6,7 # 4
        AF 2 # 5
        AF 8,7,9 # 6
        AF 5,11,6 # 7
        AM ts:0
        AM st:abatis ts:Ns
        AM ts:0 al:abode
        AM ts:0 st:abide
        AM st:ax ts:Ns
        AM st:acidosis ts:Ns
        AM ts:0 al:acidoses
        SFX 127 N 1
        SFX 127 i 0 i 2028
        SFX 54 N 1
        SFX 54 0 lest . 2029
        SFX 128 N 1
        SFX 128 i 's i 2030
        In above format I am not getting the meaning of 'AM','st','ts' as well as 'AF 2,3 # 2'
        In the .dic file words are given in the format mention below:
        Ababa/1
        aback   1
        abacus/3    1
        abaft   1
        abalone/2   1
        abandon/4   1
        abandoned   1
        abandoner/5 1
        abandonment/2   1
        abase/6 1
        abasement/2 1
        abaser/5    1
        abash/7 1
        abashed/8   1
        In above format I don't know the meaning of '/' because at some places they used '/' but at some places they were not used '/' I don't know why?.
    In third file which is also .dic file name as hyph_en_GB.dic contain following words:
    LEFTHYPHENMIN 2
    RIGHTHYPHENMIN 2
    COMPOUNDLEFTHYPHENMIN 2
    COMPOUNDRIGHTHYPHENMIN 2
    NOHYPHEN -,',’
    1-1
    1'1
    1’1
    1's./'=s,1,2
    1't./'=t,1,2
    1’s./’=s,1,2
    1’t./’=t,1,2
    NEXTLEVEL
    .a2
    .ar3a1bl2
    .a2r1d
    .a2r1s
    .ar1ie
    .ar4t3i2s2t.
    .ar1tis
    .ar4t3i2s2ts
    .art3in
    .artic3u
    .ar1tic
    .art3ie
    .ar1te
    .ar1l
    .ar1g
    .ar3mis2
    .ar3mie
If anybody know about these 3 files and how it works then please let me know.
Last edited by Hagar Delest on Tue Aug 08, 2017 9:59 pm, edited 3 times in total.
Reason: removed green mark.
OpenOffice 4.Windows OS
User avatar
RoryOF
Moderator
Posts: 34618
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: I have following query regarding dictionary and affix fi

Post by RoryOF »

Look up the Hunspell site for information on this.

OpenOffice could do with a dictionary editing extension that allowed the addition of the affix information.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Post Reply