linwords's People
linwords's Issues
add 'phonetic symbol' as one of the basic explanation items
server side: make 'word' object sharable between GET and POST method in the same session
make it an asynchronous tornado server to respond to clients
make liwords supports two modes: local mode and server mode
serve side: make a ranking policy interface
There is a ranking system needed, which should act like such:
- when searching a word in a store and if it exists there, a statistic way is needed to rank the priority value for this word and store it in the store.
- when running the program under the query-anyone mode, a specific word calculated in this statistic way should be given back, and continually it asks the user whether he/she has remembered the word. The word's priority value will be recalculated according to the user's answer.
- the ranking policy should be extensive. A simplest ranking policy will be provided but the program supports a configurable ranking policy system (just like the "word scheme" and the "store")
server side: refine interfaces to connect "wordStore" and "Schemes" elegantly
By design "wordStore"e should only care about how to store word data and ignore the details of it, and "Schemes" define an interface to select what type of dictionaries to use for searching the word.
But there's a problem in the between. for retrieving a word from "wordStore" we have to know which "scheme" would be used so that we can get the word from the correct dictionaries exactly. By this reason there's a cross-point between them. That means, "wordStore" has to know some details about the word to some extent.
Let me figure this out.
client side: make client tool more like a command-line tool (support various opts)
defect: "ICiBaCollinsDictScheme" doesn't support complicated styles of explanations other than the expected simple case
For example when searching the word "lay", there is a dedicated section explaining "Usage Note", which is not covered in the "ICiBaCollinsDictScheme" parser, hence leading to an exception and returning a 404 page not found result.
code refactor phase 1
- convert all 'print msg' for debugging purpose to logging.debug()
- handle the every margin cases properly
- read the popular python coding convention and apply them to this project - used autopep8
- split interfaces and implementations well
client side: allow users pick up different dict schemes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.