stscoundrel / old-swedish-dictionary-next Goto Github PK
View Code? Open in Web Editor NEWNext.js implementation of "Medieval Swedish Dictionary" by K.F. Söderwall
Home Page: https://old-swedish-dictionary.vercel.app
License: MIT License
Next.js implementation of "Medieval Swedish Dictionary" by K.F. Söderwall
Home Page: https://old-swedish-dictionary.vercel.app
License: MIT License
Old Swedish originally had æ and ø instead of ä and ö. The book seems to consistently use ä and ö in headwords, making it later spelling.
Add alternative forms, something like:
bekännilse (or bekænnilse)
Probably just simple util to replace known letters with older ones & outputted into wordpage
Could add example of Old Swedish text. Frontpage, footer, some other location.
One good candidate could be excerpt from Västgötalagen, as presented in wikipedia (early 13th century):
Dræpær maþar svænskan man eller smalenskæn, innan konongsrikis man, eigh væstgøskan, bøte firi atta ørtogher ok þrettan markær ok ænga ætar bot. [...] Dræpar maþær danskan man allæ noræn man, bøte niv markum. Dræpær maþær vtlænskan man, eigh ma frid flyia or landi sinu oc j æth hans. Dræpær maþær vtlænskæn prest, bøte sva mykit firi sum hærlænskan man. Præstær skal i bondalaghum væræ. Varþær suþærman dræpin ællær ænskær maþær, ta skal bøta firi marchum fiurum þem sakinæ søkir, ok tvar marchar konongi.
The dictionary source has many duplicate words, probably caused by combining original volumes with supplement volumes.
As quality and content of definitions per entry varies quite a lot, it would make sense to add links to other entries with identical name, but different slug. For example, fosterfadhir
and fosterfadhir-2
should be crosslinked as something like:
Similar entries in dictionary:
- Fosterfadhir (II)
The volumes of the books were mostly published during transition period from Modern Swedish (nysvensk) to Contemporary Swedish (nusvensk). While it could be considered simply nusvensk, the language in the dictionary may be old fashioned or use spellings that are uncommon today.
Add frontpage section explaining this.
Definitions contain abbreviated cites to various sources. They are mapped out in this library
Add:
Disable prefech on links. Currently majority of links in the site are prefetched on background. While it is generally a very nice behavior, changes in Vercel infra pricing make this uneconomical. Therefore:
a
links. Prefetch is pretty much the only advantage of next/link.
Unclear if "alternative forms" is descriptive, but the information there should be output under some title. Perhaps even only as a list after headword.
Seems Vercel (at least in free tier) has some limitations as to how large dataset of single page can be. Next.js will happily build the page & work with it, but Vercel seems to block it.
Alter search page to:
This should offload the json dataset to backend and keep Vercel happy. Frankly, it is also reasonable when the dictionary dataset is this large.
See why. Should be [HOME_PAGE] -> [LETTER] -> [WORD], but skips the letter
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.