Skip to content

Commit

Permalink
updated to correct list of words for seeding database
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasrberg committed Jul 17, 2024
1 parent 3677b0f commit 148b41d
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 1 deletion.
100 changes: 100 additions & 0 deletions src/dict_eng_to_nor_difficulties_v2.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
apple,eple,1
arm,arm,1
bed,seng,1
bird,fugl,1
book,bok,1
bread,brød,1
candle,stearinlys,1
circle,sirkel,1
cloud,sky,1
crown,krone,1
cup,kopp,1
door,dør,1
eye,øye,1
face,ansikt,1
feather,fjær,1
finger,finger,1
fish,fisk,1
flower,blomst,1
foot,fot,1
fork,gaffel,1
hand,hånd,1
hat,hatt,1
house,hus,1
ice cream,iskrem,1
leaf,blad,1
light bulb,lyspære,1
mouth,munn,1
pencil,blyant,1
pizza,pizza,1
sheep,sau,1
shoe,sko,1
shorts,shorts,1
smiley face,smilefjes,1
sock,sokk,1
spider,edderkopp,1
spoon,skje,1
sun,sol,1
table,bord,1
toothbrush,tannkost,1
tree,tre,1
hourglass,timeglass,2
cat,katt,2
chair,stol,2
ear,øre,2
lightning,lyn,2
mountain,fjell,2
scissors,saks,2
knife,kniv,2
key,nøkkel,2
clock,klokke,2
bridge,bro,2
diamond,diamant,2
guitar,gitar,2
axe,øks,2
television,tv,2
bicycle,sykkel,2
birthday cake,bursdagskake,2
soccer ball,fotball,2
ladder,stige,2
elephant,elefant,2
boomerang,bumerang,2
calculator,kalkulator,2
frying pan,stekepanne,2
bee,bie,2
camera,kamera,2
car,bil,2
sword,sverd,2
banana,banan,2
tennis racquet,tennisracket,2
broom,kost,2
crab,krabbe,2
whale,hval,2
screwdriver,skrutrekker,2
cactus,kaktus,2
hammer,hammer,2
suitcase,koffert,2
airplane,fly,2
lighthouse,fyrtårn,3
penguin,pingvin,3
sailboat,seilbåt,3
saxophone,saksofon,3
tractor,traktor,3
windmill,vindmølle,3
the eiffel tower,eiffeltårnet,3
mermaid,havfrue,3
drill,drill,3
angel,engel,3
bathtub,badekar,3
bus,buss,3
piano,piano,3
camel,kamel,3
castle,borg,3
crocodile,krokodille,3
wristwatch,armbåndsur,3
giraffe,sjiraff,3
octopus,blekksprut,3
police car,politibil,3
binoculars,kikkert,3
parrot,papegøye,3
dolphin,delfin,3
2 changes: 1 addition & 1 deletion src/webapp/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
models.db.init_app(app)

models.create_tables(app)
models.seed_labels(app, "./dict_eng_to_nor.csv")
models.seed_labels(app, "./dict_eng_to_nor_difficulties_v2.csv")


classifier = Classifier()
Expand Down

0 comments on commit 148b41d

Please sign in to comment.