diff --git a/dictionaries/city-names-finland/cspell-ext.json b/dictionaries/city-names-finland/cspell-ext.json index 4daaa9bb00f..86f110f5efd 100644 --- a/dictionaries/city-names-finland/cspell-ext.json +++ b/dictionaries/city-names-finland/cspell-ext.json @@ -8,7 +8,7 @@ "dictionaryDefinitions": [ { "name": "city-names-finland", - "path": "./city-names-finland.txt.gz", + "path": "./dict/city-names-finland.txt", "description": "List of cities in Finland." } ], diff --git a/dictionaries/city-names-finland/cspell.config.yaml b/dictionaries/city-names-finland/cspell.config.yaml new file mode 100644 index 00000000000..6e6464e6c1a --- /dev/null +++ b/dictionaries/city-names-finland/cspell.config.yaml @@ -0,0 +1,6 @@ +--- +$schema: https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json +import: + - ./cspell-ext.json +dictionaries: + - city-names-finland diff --git a/dictionaries/city-names-finland/dict/README.md b/dictionaries/city-names-finland/dict/README.md new file mode 100644 index 00000000000..ce67123010f --- /dev/null +++ b/dictionaries/city-names-finland/dict/README.md @@ -0,0 +1,3 @@ +# Dict Directory + +NOTE: This directory contains generated content. Please edit [src](../src/README.md) files. diff --git a/dictionaries/city-names-finland/dict/city-names-finland.txt b/dictionaries/city-names-finland/dict/city-names-finland.txt new file mode 100644 index 00000000000..95113a25852 --- /dev/null +++ b/dictionaries/city-names-finland/dict/city-names-finland.txt @@ -0,0 +1,342 @@ + +# cspell-tools: keep-case no-split + +akaa +alajärvi +alavieska +alavus +asikkala +askola +aura +brändö +central +eckerö +enonkoski +enontekiö +espoo +etelä +eura +eurajoki +evijärvi +finland +finström +former +forssa +föglö +geta +haapajärvi +haapavesi +hailuoto +halsua +hamina +hammarland +hankasalmi +hanko +harjavalta +hartola +hattula +hausjärvi +heinola +heinävesi +helsinki +hirvensalmi +hollola +honkajoki +huittinen +humppila +hyrynsalmi +hyvinkää +häme +hämeenkyrö +hämeenlinna +ii +iisalmi +iitti +ikaalinen +ilmajoki +ilomantsi +imatra +inari +inkoo +isojoki +isokyrö +janakkala +joensuu +jokioinen +jomala +joroinen +joutsa +juankoski +juuka +juupajoki +juva +jyväskylä +jämijärvi +jämsä +järvenpää +kaarina +kaavi +kainuu +kajaani +kalajoki +kangasala +kangasniemi +kankaanpää +kannonkoski +kannus +kanta +karelia +karijoki +karkkila +karstula +karvia +kaskinen +kauhajoki +kauhava +kauniainen +kaustinen +keitele +kemi +kemijärvi +keminmaa +kemiönsaari +kempele +kerava +keuruu +kihniö +kinnula +kirkkonummi +kitee +kittilä +kiuruvesi +kivijärvi +kokemäki +kokkola +kolari +konnevesi +kontiolahti +korsnäs +koski +kotka +kouvola +kristiinankaupunki +kruunupyy +kuhmo +kuhmoinen +kumlinge +kunta +kuopio +kuortane +kurikka +kustavi +kuusamo +kymenlaakso +kyyjärvi +kärkölä +kärsämäki +kökar +lahti +laihia +laitila +lapinjärvi +lapinlahti +lapland +lappajärvi +lappeenranta +lapua +laukaa +lemi +lemland +lempäälä +leppävirta +lestijärvi +lieksa +lieto +liminka +liperi +lohja +loimaa +loppi +loviisa +luhanka +lumijoki +lumparland +luoto +luumäki +luvia +maalahti +maarianhamina +mariehamn +marttila +masku +merijärvi +merikarvia +miehikkälä +mikkeli +muhos +multia +muonio +mustasaari +muurame +mynämäki +myrskylä +mäntsälä +mänttä +mäntyharju +naantali +nakkila +nivala +nokia +north +nousiainen +nurmes +nurmijärvi +närpiö +orimattila +oripää +orivesi +ostrobothnia +oulainen +oulu +outokumpu +padasjoki +paimio +paltamo +parainen +parikkala +parkano +pedersören +pelkosenniemi +pello +perho +pertunmaa +petäjävesi +pieksämäki +pielavesi +pietarsaari +pihtipudas +pirkanmaa +pirkkala +pohjois +polvijärvi +pomarkku +pori +pornainen +porvoo +posio +pudasjärvi +pukkila +punkalaidun +puolanka +puumala +pyhtää +pyhäjoki +pyhäjärvi +pyhäntä +pyhäranta +päijät +pälkäne +pöytyä +raahe +raasepori +raisio +rantasalmi +ranua +rauma +rautalampi +rautavaara +rautjärvi +reisjärvi +riihimäki +ristijärvi +rovaniemi +ruokolahti +ruovesi +rusko +rääkkylä +saarijärvi +salla +salo +saltvik +sastamala +satakunta +sauvo +savitaipale +savo +savonlinna +savukoski +seinäjoki +sievi +siikainen +siikajoki +siikalatva +siilinjärvi +simo +sipoo +siuntio +sodankylä +soini +somero +sonkajärvi +sotkamo +sottunga +south +sulkava +sund +suomi +suomussalmi +suonenjoki +sysmä +säkylä +taipalsaari +taivalkoski +taivassalo +tammela +tampere +tervo +tervola +teuva +tl +tohmajärvi +toholampi +toivakka +tornio +turku +tuusniemi +tuusula +tyrnävä +ulvila +urjala +utajärvi +utsjoki +uurainen +uusikaarlepyy +uusikaupunki +uusimaa +vaala +vaasa +valkeakoski +valtimo +vantaa +varkaus +varsinais +vehmaa +vesanto +vesilahti +veteli +vieremä +vihti +viitasaari +vilppula +vimpeli +virolahti +virrat +vårdö +vöyri +ylitornio +ylivieska +ylöjärvi +ypäjä +ähtäri +äänekoski +åland diff --git a/dictionaries/city-names-finland/package.json b/dictionaries/city-names-finland/package.json index 360fd40ed31..7ca8bc6e5a8 100644 --- a/dictionaries/city-names-finland/package.json +++ b/dictionaries/city-names-finland/package.json @@ -11,8 +11,8 @@ "./cspell-ext.json": "./cspell-ext.json" }, "scripts": { - "build": "cspell-tools compile \"city-names-finland.txt\" -o .", - "test": "shx head -n 100 \"city-names-finland.txt\" | cspell -v -c ./cspell-ext.json --local=* --languageId=* stdin", + "build": "cspell-tools-cli compile --keep-raw-case --use-legacy-splitter src/city-names-finland.txt --no-compress -o ./dict", + "test": "shx head -n 100 src/city-names-finland.txt | cspell -v -c ./cspell-ext.json --local=* --languageId=* stdin", "prepublishOnly": "echo pre-publish", "prepare": "pnpm run build" }, @@ -34,7 +34,7 @@ }, "homepage": "https://github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/city-names-finland#readme", "files": [ - "city-names-finland.txt.gz", + "dict/city-names-finland.txt", "cspell-ext.json" ] } diff --git a/dictionaries/city-names-finland/src/README.md b/dictionaries/city-names-finland/src/README.md new file mode 100644 index 00000000000..5ac40a8e845 --- /dev/null +++ b/dictionaries/city-names-finland/src/README.md @@ -0,0 +1,3 @@ +# Source Directory + +All source files used to generate the dictionary should be stored in this directory. diff --git a/dictionaries/city-names-finland/city-names-finland.txt b/dictionaries/city-names-finland/src/city-names-finland.txt similarity index 100% rename from dictionaries/city-names-finland/city-names-finland.txt rename to dictionaries/city-names-finland/src/city-names-finland.txt