[Feature Request] Generate files in dictionary formats
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 37
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
It would be great if we can generate dictionary files which can be used in some dictionary software like dictd and Aard 2.
Although we already have moedict on several platform, we still need DICT. Because DICT is a dedicated protocol for dictionary, it widely used and works more efficiently.
I think this could make it possible to include this dictionary in some Linux distro in the future.
Some information about dictionary formats mentioned in FreeDict wiki:
https://github.com/freedict/fd-dictionaries/wiki/Dictionary-Formats
Maybe generate *.tei or dict-revised.{dict,index} from *.xls? then it should be easy to convert to other dictionary formats.
Or should we just convert the dict-revised.json to *.tei or even txt?
What's the pros and cons?
I don't have any experience with TEI nor DICT format yet.
The easiest approach could be just convert dict-revised.json to dict.txt which has the same format as F.O.L.D.O.C. (read the manpage of dictfmt , the -f parameter was written for that). It should "just works", but seems not a good approach.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the existing processing path for dict-revised.json and checking how source *.xls data is handled. Compare the TEI, DICT, and dict.txt options with the dictfmt manpage; done means selecting and documenting a supported output format and generating files usable by dictd or Aard 2.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100