UCREL / FreeTxt-Flask

1 stars 2 forks source link

New features and changes #4

Closed james-hulud closed 4 days ago

james-hulud commented 3 months ago

Features:

Small changes:

Meaning analysis - Column title changed from "Sentiment score" to "Confidence score"

Sentiment chart - "Characteristic" header made fully visible

logs - separate logs for general info and errors only

Larger changes:

Word Cloud - overhauled. Word list in menu either as side bar or beneath cloud. Search bar above word list. Instead of regenerating after selected one word, now can select multiple then submit with submit button. Semantic tag changes: Word and tag associations beneath cloud. Radio to show words that are assigned the selected semantic tags. Changed filtering of dataset, now every selected word / tag / etc will always appear in the word cloud instead of either not appearing or returning an error.

Word Tree - menu added containing punctuation. Option to remove specific punctuation from word tree dataset.

Word Use and Relationships - select dropdown changed. Search bar added. Checkbox to include any filtered out data in dropdown. Options to download filtered and unfiltered datasets.

File size limit set on flask backend, currently 1MB for uploaded files.

Bug fixes. word use: fixed issue where certain selected sem tags would not work. General: when errors are caught, app is still useable, loading screen is hidden. Does not load infinitely. Lots of other general fixes. Dark mode now saves to session correctly.

requirements.txt updated. (scipy==1.12.0, werkzeug==2.3.3, humanize, welsh pymusas model link is now for latest version)

Welsh translations added for new changes. Some translations to be added.

JohnVidler commented 2 months ago

Hello!

After much wrangling, I've managed to get a working main branch docker build despite many, many package issues, but after attempting to merge in this PR there seem to be many places where the upstream changes now conflict.

I've pushed a new staging branch with my mostly working code, but unfortunately I no longer have any time to burn on debugging this; I'm not super familiar with the codebase either so patching everything is a bit painful.

If @Nouran-Khallaf or @james-hulud could take a peek at staging I would be grateful, then we can merge that branch into main with all the edits in this PR.

Also pinging @perayson for visibility.