numerals Eval#3 Week#11

by Logan


Week Summary

Similar items view supports new data format. Add minor improvements based on discussion with Max: random items button, link to CDLI search from all modules, allow user to click on a word to focus it in the visualization. Many minor bugfixes to prepare for final submission: code no longer hangs during search, fixed computation of median, fixed overlapping UI elements, added clearer description of what info is being displayed, etc.

Start cleaning and making final round of improvements before submission. Compress URL parameters to allow linking to large corpora without making the URL too long. Formatting updates to make figures have a consistent appearance. Proofread all user-facing text. Remove debug messages. Connect to database in case user requests a text that is not in the precomputed data.

Daily Work Update

# Day Date A short description of the work done
1 Monday 2020/06/01 Make similar item module filter by custom corpus. Fix hang due to error in dictionary API endpoint.
2 Tuesday 2020/06/02 Fix off-by-one error in median computation. Random item button. Link to search from collocation and descriptor modules.
3 Wednesday 2020/06/03 Clarify what is being counted in “Occurrences” columns; fix overlapping UI elements and other minor UI improvements; fix miscount in concordance data; make words hyperlinks that focus that word in the visualization.
4 Thursday 2020/06/04 Meeting. Remove crossDomain from ajax requests and delete debug messages. Add links to redraw the figure by clicking on a word on the page.
5 Friday 2020/06/05 Fix crash if search term doesn’t occur in corpus. Connect API to database module so we can fetch text data if user requests a text that hasn’t been processed yet. Experiment with encoding systems to find efficient, URL-safe compression technique.
6 Saturday 2020/06/06 Add support for compressed URL parameters. Make API accept encoded corpus argument, so user can make queries about large corpora. Nicen up user-facing text. Automatically switch between full and compressed URL parameters when URL gets too long.
7 Sunday 2020/06/07 Test alternate formats for showing similar item comparisons. UI improvements: add scrollbar to autocomplete div, make figure colors consistent.