Skip to content

πŸ’— 🎡 Tool that makes able to get a bank of words translated with their properties (meaning, phonemes, sound, category) πŸ“šπŸ“„ πŸ‡©πŸ‡°

Notifications You must be signed in to change notification settings

AnaSoles/LANG_Danis_BankWords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

29 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Learning Danish Words

Introduction

This tool creates, registers and storages the words and its properties from an input Danish Language text.

From a sentence given as a text, the tool take each word and look after their meaning and the word properties in the Danish dictionary (Ordnet). After that the result is print in an Excel file. Its properties are:

  • Meaning in english.
  • Grammatical property (adjective, verbs, noun, etc).
  • Sound (mp3).
  • Phoneme.
  • Sentence that contains the word.
  • English sentence translation.

Data Source

App to install

In order this tool works it needs some installations

googletrans - for translate sentence xlsxwriter - to work with excel files BeautifulSoup - to extract data from webpages sys - for color in the command prompt

Input Files:

  • Excel Sheet with specified columns, word properties(meaning, phoneme, grammar type, etc)
  • ASSCCI Text, where you add the sentence (input).

Output File:

  • Excel Sheet with the words and properties from the sentence.

sheetJPG

Steps

  • Modify the Excel sheet file path by yours in line29 .

PATH_XLS_FILE='C:\Users\Ana Maria\Documents\DS\APP_DK_ord\'

  • Modify the name of your Excel sheet as the one you have in line 43

book = open_workbook('DK_WORDS_0.xlsx')

  • Run the script in an cmd, it will ask you the name of your txt file, where it is the sentence you want to get the words. Write down the file name.

About

πŸ’— 🎡 Tool that makes able to get a bank of words translated with their properties (meaning, phonemes, sound, category) πŸ“šπŸ“„ πŸ‡©πŸ‡°

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages