Spaces:
Runtime error
Runtime error
patrickvonplaten
commited on
Commit
•
72a5961
1
Parent(s):
862cd29
up
Browse files
app.py
CHANGED
@@ -9,31 +9,13 @@ import re
|
|
9 |
import pdfminer
|
10 |
|
11 |
print("pdfminer", print(pdfminer.__version__))
|
12 |
-
print("pandoc", print(
|
13 |
|
14 |
#from docx import Document
|
15 |
#document = Document()
|
16 |
#document.add_heading('Labels for ', level=1)
|
17 |
RESULTS_FOLDER = "./results"
|
18 |
|
19 |
-
CAT_TO_CODEWORDS = {
|
20 |
-
"Prejudices": ["prejudice", "judge", "preconceive", "stigma", "assumption", "assume", "misunderstanding", "unexamined", "distorted", "clear", "compar"],
|
21 |
-
"Self-knowledge": ["self-knowledge", "self-awareness", "introspection", "examined", "myself", "realization", "belief"],
|
22 |
-
"Similarities": ["similarity", "same", "similar", "equal", "related", "together"],
|
23 |
-
"Diversity": ["diverse", "different", "diverse", "particular", "range", "multiplicity"],
|
24 |
-
"Business school": ["ESADE", "competitive", "business school", "education", "study", "university", "student", "consulting", "professional", "pressure", "performance", "institution"],
|
25 |
-
"Courage": ["courage", "brave", "dare", "step", "determine"],
|
26 |
-
"Change": ["change", "finally", "at last", "decided", "chose", "concluded", "want to", "swap", "different", "not the same", "replace", "convert", "trade", "future", "decision"],
|
27 |
-
"Coherence": ["coherent", "align", "incoherent", "consistent"],
|
28 |
-
"Voicing": ["speak", "express", "voice", "talk", "say", "open up", "articulate", "communicate", "convey", "reveal", "show", "verbalize", "phrase", "word"],
|
29 |
-
"Listening": ["listen", "pay attention", "quiet", "silence", "process", "hear", "attend"],
|
30 |
-
"Understanding": ["learn", "understand", "realize", "see", "believe", "question", "critical", "thought", "reasonable", "logical", "rational", "comprehensible", "accept"],
|
31 |
-
"Relationships": ["relationship", "relate", "bond", "connection", "bond", "others", "appreciate", "appreciation", "recognize", "recognition", "acknowledge"],
|
32 |
-
"Emotions": ["emotions", "felt", "feel", "a feeling of", "sense", "sensation", "instinct", "sentiment", "gut feeling", "intense", "wave"],
|
33 |
-
"The course": ["first time", "never", "always", "course", "elective", "Socratic Dialogue", "dialogue", "debate", "enroll", "arguments"],
|
34 |
-
}
|
35 |
-
|
36 |
-
|
37 |
CAT_TO_CODEWORDS = {
|
38 |
"Prejudices": ["prejudice", "judge", "preconceive", "stigma", "assumption", "assume", "misunderstanding", "unexamined", "distorted", "clear", "compar"],
|
39 |
"Self-knowledge": ["self-knowledge", "self-awareness", "introspection", "examined", "myself", "realization", "belief"],
|
|
|
9 |
import pdfminer
|
10 |
|
11 |
print("pdfminer", print(pdfminer.__version__))
|
12 |
+
print("pandoc", print(pypandoc.__version__))
|
13 |
|
14 |
#from docx import Document
|
15 |
#document = Document()
|
16 |
#document.add_heading('Labels for ', level=1)
|
17 |
RESULTS_FOLDER = "./results"
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
CAT_TO_CODEWORDS = {
|
20 |
"Prejudices": ["prejudice", "judge", "preconceive", "stigma", "assumption", "assume", "misunderstanding", "unexamined", "distorted", "clear", "compar"],
|
21 |
"Self-knowledge": ["self-knowledge", "self-awareness", "introspection", "examined", "myself", "realization", "belief"],
|