changed colonial-list.py

master
bootje 5 years ago
parent 44a8b35713
commit 45ec6e0060

BIN
.DS_Store vendored

Binary file not shown.

@ -46,7 +46,9 @@ In addition, although we have no obligation to screen, edit or monitor User Cont
Our Services and the text, graphics, images, photographs, videos, illustrations, trademarks, trade names, page headers, button icons, scripts, service marks, logos, slogans, filters, user generated filters and other content contained therein (collectively, the “FaceApp Content”) are owned by or licensed to FaceApp and are protected under both United States and foreign laws. Except as explicitly stated in this Agreement, FaceApp and our licensors reserve all rights in and to our Services and the FaceApp Content. You are hereby granted a limited, nonexclusive, nontransferable, non-sublicensable, revocable license to access and use our Services and FaceApp Content for your own personal use; however, such license is subject to this Agreement and does not include any right to: (a) sell, resell or commercially use our Services or FaceApp Content; (b) copy, reproduce, distribute, publicly perform or publicly display FaceApp Content, except as expressly permitted by us or our licensors; (c) modify the FaceApp Content, remove any proprietary rights notices or markings, or otherwise make any derivative uses of our Services or FaceApp Content, except as expressly set forth in this Agreement; (d) use any data mining, robots or similar data gathering or extraction methods; or (e) use our Services or FaceApp Content other than as expressly provided in this Agreement. Any use of our Services or FaceApp Content other than as specifically authorized herein, without our prior written permission, is strictly prohibited and will terminate the license granted under this Agreement. You will not remove, alter or conceal any copyright, trademark, service mark or other proprietary rights notices incorporated in or accompanying the FaceApp Content.
7. Feedback
Any questions, comments, suggestions, ideas, original or creative materials or other information you submit about FaceApp or our products or Services (collectively, “Feedback”), is non-confidential and we have no obligations (including without limitation obligations of confidentiality) with respect to such Feedback. You hereby grant to FaceApp a fully paid, royalty-free, perpetual, irrevocable, worldwide, non-exclusive, and fully sublicensable right and license to use, reproduce, perform, display, distribute, adapt, modify, re-format, create derivative works of, and otherwise commercially or non-commercially exploit in any manner, any and all Feedback, and to sublicense the foregoing rights, in connection with the operation and maintenance of the Services and/or FaceApps business.
Any questions, comments, suggestions, ideas, original or creative materials or other information you submit about FaceApp or our products or Services (collectively, “Feedback”), is non-confidential and we have no obligations (including without limitation obligations of confidentiality) with respect to such Feedback.
You hereby grant to FaceApp a fully paid, royalty-free, perpetual, irrevocable, worldwide, non-exclusive, and fully sublicensable right and license to use, reproduce, perform, display, distribute, adapt, modify, re-format, create derivative works of, and otherwise commercially or non-commercially exploit in any manner, any and all Feedback, and to sublicense the foregoing rights, in connection with the operation and maintenance of the Services and/or FaceApps business.
8. Copyright Complaints
We have a policy of limiting access to our Services and terminating the accounts of users who repeatedly infringe the intellectual property copyright rights of others upon prompt notification to us by the copyright owner or the copyright owners legal agent. Without limiting the foregoing, if you believe that your work has been copied and posted on or through the Services in a way that constitutes copyright infringement, please provide our Copyright Agent with the following information: (a) an electronic or physical signature of the person authorized to act on behalf of the owner of the copyright interest; (b) a description of the copyrighted work that you claim has been infringed; (c) a description of the location on the Services of the material that you claim is infringing; (d) your address, telephone number and e-mail address; € a written statement by you that you have a good faith belief that the disputed use is not authorized by the copyright owner, its agent or the law; and (f) a statement by you, made under penalty of perjury, that the above information in your notice is accurate and that you are the copyright owner or authorized to act on the copyright owners behalf. Contact information for FaceApps Copyright Agent for notice of claims of infringement is as follows: Yaroslav Goncharov, Designated DMCA Copyright Agent, FaceApp Inc, 1000 N West Street, Suite 1200, Wilmington, Delaware, 19801.

@ -0,0 +1,68 @@
from jinja2 import Environment, FileSystemLoader
#example of colonial glossary
dict_verb_coloniality = {
'grant':
{'meaning': 'to give or allow someone something, usually in an officialway',
'value': 90},
'modify': {'meaning': 'to change something, usually to improve it or make it more acceptable',
'value':},
'reproduce': {'meaning': ' to produce a copy of something',
'value': 80},
'display': {'meaning': 'to arrange something or a collection of things so that it can be seen by the public',
'value': 80},
'provide': {'meaning': ' to give someone something that they need',
'value': 60},
'use': {'meaning': ' building to a particular purpose',
'value': 50},
}
dict_noun_coloniality = {
'service':
{'meaning': 'private organization that is responsible for a particular type of activity, or for providing a particular thing that people need',
'value': 80},
'services':
{'meaning': 'private organization that is responsible for a particular type of activity, or for providing a particular thing that people need',
'value': 80},
'agreement': {'meaning': 'the situation in which people have the same opinion',
'value': 90 },
}
# example
"You<span class="value_90 grant">grant<div class="grant_definition">to give or allow someone something, usually in an officialway</div></span>" FaceApp a nonexclusive, royalty-free, worldwide, fully paid license to use, reproduce, modify, adapt, create derivative works from, distribute, perform and display your User Content during the term of this Agreement solely to provide you with the Services."
template_a = Template(
<p>
{% for word in text %}
{% if word in colon_dict.keys() %}
<span class="value_{{colon_dict[{{word}}]['value']}} {{word|lower}}">{{word}}
<div class="{{word|lower}}_definition">{{colon_dict[{{word}}]['definition']}}</div></span>
{% else %}
{{word}}
{% endfor %}
</p>
)
template_a.render(text=source_text_list,
colon_dict = dict_word_coloniality)
value_90 {}
grant {}
$('.grant').do

BIN
website/.DS_Store vendored

Binary file not shown.

@ -91,10 +91,11 @@
</div>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<div class="information">
<b>This is a detailed page when one of sentence in ToS is clicked..</b><br>
some information: <br>
- When it's mousehovered, it shows the degree of coloniality<br>
- line color shows different degrees of coloniality (now it's random, but it will work with gradation maybe?) <br>
- line thickness shows the frequency (options)<br>
- When it's mousehovered or clicked, it shows the degree of coloniality<br>
- line color shows different degrees of coloniality (now it's random) <br>
- line thickness shows the frequency (yet, it's an option)<br>
</div>
</body>
</html>

Binary file not shown.
Loading…
Cancel
Save