paulbricman / lexiscore Goto Github PK
View Code? Open in Web Editor NEWA nutritional label for food for thought.
Home Page: https://paulbricman.com/thoughtware/lexiscore
License: Mozilla Public License 2.0
A nutritional label for food for thought.
Home Page: https://paulbricman.com/thoughtware/lexiscore
License: Mozilla Public License 2.0
Imagine adding this as input sources of type "Aggregator": https://metaphor.so/search?q=The%20coolest%20essay%20on%20human-machine%20collaboration%2C%20cognitive%20augmentation%2C%20and%20tools%20for%20thought%20is
The labeling software would sift through and add a nutritional value filter on top of a cool "search" approach
I have deployed the docker image to my personal server. After importing the RSS from my blog (https://ivans.io/rss/) as an OPML file, I click on "start labelling". This causes a stack trace:
LookupError: **********************************************************************
Resource �[93mpunkt�[0m not found. Please use the NLTK Downloader to obtain the resource: �
[31m>>> import nltk >>> nltk.download('punkt') �
[0m For more information see: https://www.nltk.org/data.html Attempted to load �[93mtokenizers/punkt/PY3/english.pickle�
[0m Searched in: - '/root/nltk_data' - '/usr/local/nltk_data' - '/usr/local/share/nltk_data' - '/usr/local/lib/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' - '' **********************************************************************
Traceback:
File "/usr/local/lib/python3.8/site-packages/streamlit/script_runner.py", line 354, in _run_script
exec(code, module.__dict__)
File "/app/main.py", line 30, in <module>
cart_section(col2)
File "/app/components.py", line 110, in cart_section
content_paragraphs = get_paragraphs(row['text'])
File "/app/processing.py", line 19, in get_paragraphs
sents = sent_tokenize(line)
File "/usr/local/lib/python3.8/site-packages/nltk/tokenize/__init__.py", line 107, in sent_tokenize
tokenizer = load("tokenizers/punkt/{0}.pickle".format(language))
File "/usr/local/lib/python3.8/site-packages/nltk/data.py", line 750, in load
opened_resource = _open(resource_url)
File "/usr/local/lib/python3.8/site-packages/nltk/data.py", line 875, in _open
return find(path_, path + [""]).open()
File "/usr/local/lib/python3.8/site-packages/nltk/data.py", line 583, in find
raise LookupError(resource_not_found)
Currently, I have this deployed via docker on a personal server. On every page refresh, I am asked for the url of the conceptarium. It would be useful to have this URL saved in local cookie storage.
See end of #3
Adding RSS from OPML only pulls the last article.
After setting up lexiscore, I take my blog's RSS (https://ivans.io/rss/) and convert it to OPML using https://opml-gen.ovh/. This yields the following file:
<opml version="2.0">
<body>
<outline text="Subscriptions" title="Subscriptions">
<outline xmlUrl='https://ivans.io/rss/' />
</outline>
</body>
</opml>
After adding this to lexiscore, only the most recent article appears in the reading list. I've checked the RSS feed, and all articles are fully present.
RSS feeds should pull all articles.
Some images don't render properly in the online demo, most likely due to relative paths. There must be some way of making every path absolute.
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.