diff --git a/.DS_Store b/.DS_Store index 644c21d..679373b 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/nltk-book/faceapp.txt b/nltk-book/faceapp.txt index 7d59f26..a7ad08f 100644 --- a/nltk-book/faceapp.txt +++ b/nltk-book/faceapp.txt @@ -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 FaceApp’s 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 FaceApp’s 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 owner’s 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 owner’s behalf. Contact information for FaceApp’s 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. diff --git a/sandbox/colonial_list.py b/sandbox/colonial_list.py new file mode 100644 index 0000000..3b685cc --- /dev/null +++ b/sandbox/colonial_list.py @@ -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 +"Yougrant
to give or allow someone something, usually in an officialway
" 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( +

+{% for word in text %} + + {% if word in colon_dict.keys() %} + {{word}} +

{{colon_dict[{{word}}]['definition']}}
+ {% else %} + {{word}} +{% endfor %} +

+) +template_a.render(text=source_text_list, + colon_dict = dict_word_coloniality) + +value_90 {} +grant {} + +$('.grant').do + + diff --git a/website/.DS_Store b/website/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/website/.DS_Store differ diff --git a/website/index2.html b/website/index2.html index 4ea6278..b889aec 100644 --- a/website/index2.html +++ b/website/index2.html @@ -91,10 +91,11 @@






















+ This is a detailed page when one of sentence in ToS is clicked..
some information:
- - When it's mousehovered, it shows the degree of coloniality
- - line color shows different degrees of coloniality (now it's random, but it will work with gradation maybe?)
- - line thickness shows the frequency (options)
+ - When it's mousehovered or clicked, it shows the degree of coloniality
+ - line color shows different degrees of coloniality (now it's random)
+ - line thickness shows the frequency (yet, it's an option)
\ No newline at end of file diff --git a/website/text.indd b/website/text.indd deleted file mode 100644 index c7235f9..0000000 Binary files a/website/text.indd and /dev/null differ