Minimum Spanning Tree Algorithm Visualizer
Wax Printer System (undergrad thesis)
STM32 Sorting Algorithm Visualizer
An application to automatically add cards to Anki for learning the Russian language.
When using the following file to process, error is encountered:
File "C:\Users\Lenovo Legion 7\Documents\Projects\AnkiAdder\python_app\src\WordHandler.py", line 22, in processWords
processed_word.setId(asyncio.run(storeWordData(self.db,processed_word)))
AttributeError: 'bool' object has no attribute 'setId'
Investigate further and write a bug fix.
Currently the program works such that after selecting the excel file to read, the data is processed before displaying the table. This leaves the user guessing what is happening. It would be nice if the loading took place dynamically such that the user sees the table growing and/or a progress bar to see how far along with processing the program is.
Currently the words are fetched and stored in the data base and a blank table with headers is displayed.
Objective:
After a word is stored and added to the internal words member of WordHandler in the following code, the wordHandler class needs to somehow inform the Table class that a new word has been added and then add it visually to the table :
def processWords(self, words):
cleanedWords = preProcess(words)
lemmatizedWords = preProcessLematizer(words)
for preprocessed_word in lemmatizedWords:
processed_word = findWord(self.db,preprocessed_word)
processed_word.setId(asyncio.run(storeWordData(self.db,processed_word)))
self.setWord(processed_word)
pass
It might be worth investigating the observable design pattern such that whenever a word is added, layout gets notified and it can then call a method on wordHandler which fetches the latest added word. Once it has this it already has access to the table instance which will have a method added on to add a new row to the table from some data.
Everything is in one script at the moment, making the code kind of messy and hard to read. There should be more seperation to the code by using classes.
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.