summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.name>2024-08-07 21:39:56 +0100
committerNick White <git@njw.name>2024-08-07 21:45:22 +0100
commit4c35d88b86b9315f6a8942e81e55b0c7b7170b81 (patch)
tree0ff89e004d4f910d530592a40d9e3c1fc5acbae1
parent8c9348700d3e0b399d480c96ca65bd1a603250f6 (diff)
downloadoed2dict-4c35d88b86b9315f6a8942e81e55b0c7b7170b81.tar.bz2
oed2dict-4c35d88b86b9315f6a8942e81e55b0c7b7170b81.zip
Update README
-rw-r--r--Makefile5
-rw-r--r--README58
2 files changed, 34 insertions, 29 deletions
diff --git a/Makefile b/Makefile
index 34a6740..d02f625 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,5 @@
PREFIX = /usr
-# Dependencies:
-# - dictd format: dictfmt, dictzip
-# - slob format: pyglossary, slob
-# - stardict format: pyglossary
-
NAME = 'Oxford English Dictionary, 2nd Edition'
.SUFFIXES: .htm .jargon .sed .dict .dz
diff --git a/README b/README
index af81ead..0ed8fa8 100644
--- a/README
+++ b/README
@@ -1,38 +1,48 @@
-Oxford English Dictionary, 2nd Edition v3 dict edition
-========================================================
+Oxford English Dictionary, 2nd Edition v3 converters
+=================================================================
This is a collection of scripts to convert the Oxford English
-Dictionary, 2nd Edition (software version v3) into the jargon
-and DICT formats.
+Dictionary, 2nd Edition (software version v3) into the various
+open formats: jargon, DICT, slob and stardict.
+
+These formats can be loaded into a variety of free software. I
+recommend:
+- GoldenDict-ng (Linux / MacOS / Windows) [DICT or slob format]
+- Aard 2 (Android) [slob format]
+- KOReader (eReaders) [stardict format]
+
+Being open formats the dictionary data can easily be analysed
+by other programs or converted into other formats.
Dependencies
------------
-- To create DICT files the 'dictfmt' and 'dictzip' tools need to
+- To create DICT files the `dictfmt` and `dictzip` tools need to
be installed.
-- The files 1-10.htm from the OED CDs need to be copied into this
- directory. Some are under the 'Data/' directory on the CDs.
-
-Install
--------
+- To create slob and stardict files the `pyglossary` and `slob`
+ tools need to be installed.
-- To create a .jargon file, run 'make oed.jargon'
+- The files 1-10.htm from the OED CDs need to be copied into this
+ directory. Some are in the `Data` directory on the CDs.
-- To create a .dict file, run 'make oed.dict', or for a compressed
- version 'make oed.dict.dz'
+Build
+-----
-- To install the dictionary for dictd, run 'make install'
+To build all versions, run `make`.
-Notes
------
+Alternatively, you can build just the formats you want with
+`make <target>`, where `<target>` is one of:
+- `oed.jargon`: jargon file.
+- `oed.dict`: DICT file
+- `oed.dict.dz`: compressed DICT file
+- `oed.slob`: slob file
+- `stardict/oed.ifo`: stardict file
-The dictionary included in v3 is the same as v4, but with v4 the
-OED started encrypting the dictionary files. They probably wouldn't
-be difficult to decrypt, but I haven't the time or inclination to
-do so. If anyone wants to, let me know how you get on and I'll
-very happily incorporate support for it.
+Naming
+------
-If your version of make supports it, and you have multiple CPUs, you
-can use 'make -j' instead of 'make' to significantly speed up the
-build process.
+This project started out just converting to jargon and DICT
+formats, hence the name oed2dict, but over time other formats
+have gained prominence and utility, so it was expanded to
+support them too.