forked from paulbricman/ideoscope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
43 lines (36 loc) · 1.2 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import streamlit as st
from components import *
from data import *
import nltk
nltk.download(['brown', 'punkt', 'wordnet', 'averaged_perceptron_tagger'])
st.set_page_config(
page_title='ideoscope',
layout='wide',
menu_items={
'Get help': 'https://github.com/paulbricman/ideoscope/issues',
'Report a Bug': 'https://github.com/paulbricman/ideoscope/issues/new',
'About': 'https://paulbricman.com/thoughtware/ideoscope'
})
sidebar_section()
if st.session_state.conceptarium_url == '':
st.info('ℹ️ This tool is part of [a suite of experimental tools for thought](https://paulbricman.com/thoughtware) which incorporate AI primitives in knowledge work.')
st.warning('Please introduce the URL of your conceptarium!')
else:
fetch_conceptarium()
header_section()
# memetics
birth_rate_subsection()
population_size_subsection()
variability_subsection()
drift_subsection()
fitness_subsection()
# linguistics
conciseness_subsection()
readability_subsection()
objectivity_subsection()
sentiment_subsection()
interests_subsection()
# semantics
projection_subsection()
discovery_subsection()
footer_section()