pearmut 1.0.2__py3-none-any.whl → 1.0.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pearmut/app.py +8 -5
- pearmut/assignment.py +336 -82
- pearmut/cli.py +145 -82
- pearmut/static/annotate.bundle.js +1 -1
- pearmut/static/annotate.html +11 -7
- pearmut/static/dashboard.bundle.js +1 -1
- pearmut/static/dashboard.html +1 -1
- pearmut/static/index.html +1 -1
- pearmut/static/style.css +38 -0
- pearmut/utils.py +38 -21
- {pearmut-1.0.2.dist-info → pearmut-1.0.3.dist-info}/METADATA +74 -1
- pearmut-1.0.3.dist-info/RECORD +20 -0
- {pearmut-1.0.2.dist-info → pearmut-1.0.3.dist-info}/WHEEL +1 -1
- pearmut-1.0.2.dist-info/RECORD +0 -20
- {pearmut-1.0.2.dist-info → pearmut-1.0.3.dist-info}/entry_points.txt +0 -0
- {pearmut-1.0.2.dist-info → pearmut-1.0.3.dist-info}/licenses/LICENSE +0 -0
- {pearmut-1.0.2.dist-info → pearmut-1.0.3.dist-info}/top_level.txt +0 -0
pearmut/static/annotate.html
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
<!doctype html><html lang="en" style="height: 100%;"><head><meta charset="UTF-8"><meta name="viewport" content="width=
|
|
1
|
+
<!doctype html><html lang="en" style="height: 100%;"><head><meta charset="UTF-8"><meta name="viewport" content="width=810px"><title>Pearmut Evaluation</title><link rel="icon" type="image/svg+xml" href="favicon.svg"><style>.output_item {
|
|
2
2
|
display: flex;
|
|
3
3
|
width: calc(100% - 10px);
|
|
4
4
|
padding-right: 10px;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.output_src,
|
|
7
|
+
.output_src,
|
|
8
|
+
.output_ref {
|
|
8
9
|
display: inline-block;
|
|
9
10
|
flex: 1;
|
|
10
11
|
box-sizing: border-box;
|
|
@@ -27,7 +28,8 @@
|
|
|
27
28
|
margin-bottom: 10px;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
|
-
.output_tgt,
|
|
31
|
+
.output_tgt,
|
|
32
|
+
.output_textfield {
|
|
31
33
|
width: calc(100% - 20px);
|
|
32
34
|
background-color: #fffc;
|
|
33
35
|
padding: 10px;
|
|
@@ -89,15 +91,17 @@
|
|
|
89
91
|
|
|
90
92
|
/* on displays with less than 1000px - stack vertically */
|
|
91
93
|
@media (max-width: 1000px) {
|
|
94
|
+
|
|
95
|
+
.output_src,
|
|
96
|
+
.output_ref,
|
|
92
97
|
.output_candidate {
|
|
93
98
|
display: block;
|
|
94
99
|
width: 100%;
|
|
95
100
|
margin-right: 0;
|
|
96
101
|
}
|
|
97
102
|
|
|
98
|
-
.
|
|
99
|
-
|
|
100
|
-
width: calc(100% - 20px);
|
|
103
|
+
.output_item {
|
|
104
|
+
flex-direction: column;
|
|
101
105
|
}
|
|
102
106
|
}
|
|
103
107
|
|
|
@@ -157,4 +161,4 @@
|
|
|
157
161
|
border: none;
|
|
158
162
|
font-size: 9pt;
|
|
159
163
|
cursor: pointer;
|
|
160
|
-
}</style><script defer="defer" src="annotate.bundle.js?
|
|
164
|
+
}</style><script defer="defer" src="annotate.bundle.js?ee803f203a3b5ee1305d"></script><link href="style.css?ee803f203a3b5ee1305d" rel="stylesheet"></head><body><div style="max-width: 1600px; min-width: 800px; margin-left: auto; margin-right: auto; margin-top: 20px; padding-left: 10px;"><div class="white-box" style="margin-right: 10px; background-color: #e7e2cf; padding: 5px 15px 5px 5px;"><span id="instructions_global" style="display: inline-block; font-size: 11pt; width: calc(100% - 175px);"></span><div style="width: 170px; display: inline-block; vertical-align: top; text-align: right; padding-top: 5px;"><span id="time" style="width: 135px; text-align: left; display: inline-block; font-size: 11pt;" title="Approximation of total annotation time.">Time: 0m</span> <input type="button" value="⚙️" id="button_settings" style="height: 1.5em; width: 30px;"><br><br><div id="progress" style="text-align: center;"></div><br><br><input type="button" value="Next 🛠️" id="button_next" disabled="disabled" style="width: 170px; height: 2.5em;" title="Finish annotating all examples first."> <input type="button" value="skip tutorial" id="button_skip_tutorial" style="width: 170px; font-size: 11pt; height: 30px; margin-top: 10px; display: none;" title="Skip tutorial only if you completed it already."></div></div><div id="settings_div" class="white-box" style="margin-right: 20px; margin-top: 10px; display: none; background-color: #e7e2cf; font-size: 11pt;"><input type="checkbox" id="settings_approximate_alignment"> <label for="settings_approximate_alignment">Show approximate alignment</label><br><input type="checkbox" id="settings_word_level"> <label for="settings_word_level">Word-level selection</label><br><br><textarea id="settings_comment" style="width: 95%; height: 80px; resize: vertical; margin-top: 5px; padding: 5px; border-radius: 4px; border: 1px solid #999;" placeholder="Optional: Add any comments or feedback about this item. Will be submitted with Next."></textarea></div><div id="output_div" style="margin-top: 100px;"></div><br><br><br></div></body></html>
|