add index.html

master
bootje 5 years ago
parent a1461fa9cf
commit c4efb03a00

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

@ -0,0 +1,370 @@
<!DOCTYPE html>
<html>
<head>
<title>Have you read your contract?</title>
<style type="text/css">
@font-face {
font-family: "Belgika";
src: url("http://bohyewoo.com/webfonts/belgika/belgika-40th-webfont.eot");
src: url("http://bohyewoo.com/webfonts/belgika/belgika-40th-webfont.woff") format("woff"),
url("http://bohyewoo.com/webfonts/belgika/belgika-40th-webfont.svg#filename") format("svg");
}
@font-face {
font-family: "Belgika";
src: url("http://bohyewoo.com/webfonts/belgika/belgika-16th-webfont.eot");
src: url("http://bohyewoo.com/webfonts/belgika/belgika-16th-webfont.woff") format("woff"),
url("http://bohyewoo.com/webfonts/belgika/belgika-16th-webfont.svg#filename") format("svg");
}
@font-face {
font-family: "Belgika";
src: url("http://bohyewoo.com/webfonts/belgika/belgika-8th-webfont.eot");
src: url("http://bohyewoo.com/webfonts/belgika/belgika-8th-webfont.woff") format("woff"),
url("http://bohyewoo.com/webfonts/belgika/belgika-8th-webfont.svg#filename") format("svg");
}
@font-face {
font-family: "SourceCodePro";
src: url("http://bohyewoo.com/webfonts/Source_Code_Pro/SourceCodePro-Regular.ttf");
}
.wrapper {
/* background-color: beige;
*/ font-family: SourceCodePro;
font-size: 15pt;
width: 100%;
}
.tos {
background-color: white;
width: 60%;
border: 0.5px solid black;
outline: 40px dotted black;
padding: 40px;
margin: 0 auto;
}
#header {
background-color: white;
top: 0px;
width: 60%;
height: 130px;
border-bottom-style: solid;
border-bottom-color: #000;
position: fixed;
z-index: 199;
}
#header h1 {
text-align: center;
}
h1, h2 {
font-family: Belgika;
font-size: 30pt;
}
a {
font-weight: bold;
color: black;
border-bottom: 4px dotted black;
text-decoration: none;
}
a:hover {
color: red;
border-bottom: 4px dotted red;
text-decoration: none;
}
.text {
font-weight: bold;
color: black;
position: relative;
display: inline-block;
border-bottom: 4px dotted black;
}
.text .text-hover {
visibility: hidden;
width: 400px;
font-size: 12pt;
padding: 10px;
background-color: black;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 0;
/* Position the tooltip */
position: absolute;
z-index: 1;
top: -120px;
right: 120%;
}
.text .text-hover-top {
visibility: hidden;
width: 600px;
font-size: 12pt;
padding: 10px;
background-color: black;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 0;
/* Position the tooltip */
position: absolute;
z-index: 1;
top: -120px;
left: 110%;
}
.text .text-hover-img {
visibility: hidden;
/* Position the tooltip */
position: absolute;
z-index: 1;
top: -400px;
right: 5%;
}
.text:hover {
color: red;
border-bottom: 4px dotted red;
}
.text:hover .text-hover {
visibility: visible;
}
.text:hover .text-hover-top {
visibility: visible;
}
.text:hover .text-hover-img {
visibility: visible;
}
#reference-number {
color: blue;
font-weight: bold;
font-size: 11pt;
border: none;
}
.reference-text {
font-size: 12pt;
border: none;
}
.reference-link {
font-size: 12pt;
border-bottom: 2px dotted black;
}
.reference-link:hover {
color: black;
font-size: 12pt;
border-bottom: 2px dotted black;
}
</style>
</head>
<body>
<div class="wrapper">
<div class="tos">
<div id="header">
<h1>Have you read your working contract?</h1>
</div>
<br><br><br><br><br>
<h1>Terms of Service</h1>
<p>Last updated: April 28, 2020</p>
<p>Please read these terms of service carefully before using Our service.</p><br>
<h1>Interpretation and Definitions</h1>
<h2>Interpretation</h2>
<p>The words of which the initial letter is capitalized have meanings defined under the following conditions.</p>
<p>The following definitions shall have the same meaning regardless of whether they appear in singular or in plural.</p>
<h2>Definitions</h2>
<p>For the purposes of these Terms of service:</p>
<ul>
<li><strong>HAVE YOU READ YOUR CONTRACT?</strong> is a modern-digital-colonial <a class="text" href="#textpublishingarchive">text publishing archive</a>, a series of word analysis that reveals the modern-colonial contexts/words in <a class="text" href="#tos">'Terms of Service (ToS)'</a>. ToS is a modern working/slavery contract in <a class="text" href="#digitalcolonialsociety">digital colonial society</a>, where big companies are dominating the power structures via ToS to deceive users. The project introduces the resemblance of <a class="text" href="#colonialtreaties">colonial treaties</a> in historical colonialism to the digital society by mapping out the whole architecture of language used in ToS comparing with historical colonial treaties.</li><br>
<li><a name="textpublishingarchive"></a><strong>DIGITAL TEXT PUBLISHING ARCHIVE</strong> means a digital (repository) infrastructure of text material that I desire to keep for a long-term preservation. It is evident that not much of digital material will survive<a id="reference-number" href="#1" class="text">[1]<span class="text-hover">(Zelkowitz, 2003): Advances in Computers: Information Repositories edited by Marvin Zelkowitz</span></a>. Archiving is important in digital age as a preservation tool because of perpetual changes in digital platform. This platform archives collections of related informations about my project including news articles, videos, books, tweets ... to proffer knowledges I gleaned from the web. The archive will contain different analyzations on the modern-colonial words and contexts. </li><br>
<li><strong>WORD ANALYSIS</strong> is very important because of <a class="text" href="#obfuscation">obfuscation of language</a> in ToS. Usually ToS are made with polite and generic language to deceive users. By using these general terms, those big tech companies try to wash their hands of responsibility and disclaim their liability to back up themselves. Similarly to the language of ToS, the terminology in treaties are phrased in an equivocally circuitous manner that it's indirect. Therefore, vernaculars used in English ToS, which has similarities to <a class="text" href="#colonialtreaties">colonial treaties</a> will be discovered by analyzing the words that were used during this period.</li><br>
<li><a name="obfuscation"></a><strong>OBFUSCATION OF LANGUAGE</strong>: <a class="text" href="#tos">Terms of Service</a> tend to obfuscate its meaning of contexts by having a way too long texts, so that users don't read them and just click accept. Usually, ToS are written in impenetrable legalise, intentionally vague and generic language that designed to make it impossible to deceive users. During colonial times, obfuscation of language was happening in <a class="text" href="#colonialtreaties">colonial treaties</a> as well. </li><br>
<li><a name="colonialtreaties"></a><strong>COLONIAL TREATIES</strong> are known as agreements, pacts and major contracts made between countries during colonial times. It was a formally concluded agreement between a colonizer and a colony, these treaties are a binding formal agreement that establishes obligations between two or more subjects. Most of the time, colonial treaties were coercively made by a colonizer. It was very common that colonial treaties were slanted in favour of the colonizer, and pushed to sign it without knowing that sovreignty or jurisdiction will be infringed. One of the example would be, <a class="text">a treaty of Ganghwa Island<span class="text-hover-img"><img src="img/ganghwa.jpg" ></span></a> made between Japanese and Korean. They used a term called 'Unequal treaty' to refer that the treaty had generally regarded as an unequal treaty coerced by Japan. By doing so, the Empire of Japan had a full control over rullig Korean Empire <a id="reference-number" href="#2" class="text">[2]<span class="text-hover">(Duus, 1998):The Abacus and the Sword: The Japanese Penetration of Korea. University of California Press</span></a>.</li><br>
<li><a name="digitalcolonialsociety"></a><strong>DIGITAL COLONIAL SOCIETY</strong>: It is a concept based on <a class="text" href="#digitalsociety">a digital society <span class="text-hover">that every aspect of lives is profoundly being affected by the domination of digital technology</span></a> where user's online behavior becomes monetisable commodity to be sold by <a class="text" href="#bigcorporations">big corporations<span class="text-hover-top">giving them direct power over political, economic and cultural domains of life</span></a>, and users don't properly get paid. This ingenious ways of extracting cheap labour from users show similar ways of exploitating natural/human resources in colonial times.
<br><br>
<a class="text">(+)<span class="text-hover-top">Although it is clear that the modes, intensities, scales, and contexts of today's digital colonialism are distinctive from the historical colonialism, the underlying power structures remain the same (Couldry, 2019)</span></a> Of course, this doesn't mean that the transformation of colonialism has done fully identical. Unlike a historical colony that was bounded mostly by geographical locations, a digital colony has no physical borders. There are no geographical locations, there are only IP addresses, domain names, and user's data. Therefore, digital colonialism expands by exploiting more layers of human life itself through the use of technology (Couldry, 2019).
</li>
<br>
<li><strong>THE IDEA OF COLONIALISM</strong> seems to be an eternal loop that comes back throughout history. It is essential not to ignore that digital colonialism is applicable to countries regardless of the history.</li><br>
<li><a name="tos"></a><strong>TERMS OF SERVICE (TOS)</strong> is also known as terms of use and terms and conditions, commonly abbreviated as (ToS) are the legal agreements between a service provider and a person who wants to use that service. This means these Terms of service that form the entire agreement between You and the Company regarding the use of the service. This Terms of service agreement as been created with the help of <a href="https://app.termsfeed.com/download/free?agreement_type=TC&token=4687b8bf6d64d334e89197146ee96509">Terms of service Generator</a>.</li><br>
<li><strong>COMPANY</strong> (referred to as either "the Company", "We", "Us" or "Our" in this Agreement) refers to Have You Read Your Contract?.</li><br>
<li><strong>COUNTRY</strong> refers to: Netherlands</li><br>
<li><strong>DEVICE</strong> means any device that can access the service such as a computer, a cellphone or a digital tablet.</li><br>
<li><strong>SERVICE</strong> refers to the Website.</li><br>
<li><strong>THIRD-PARTY SOCIAL MEDIA SERVICE</strong> means any services or content (including data, information, products or services) provided by a third-party that may be displayed, included or made available by the service.</li><br>
<li><strong>WEBSITE</strong> refers to Have You Read Your Contract?, accessible from www.haveyoureadyourcontract.com</li><br>
<li><strong>YOU</strong> means the individual accessing or using the service, or the company, or other legal entity on behalf of which such individual is accessing or using the service, as applicable.</li><br>
</ul>
<p class="reference-text"><a name="1"></a>[1] (Zelkowitz, 2003): <a class="reference-link" href="https://books.google.nl/books?hl=en&lr=&id=xqvv7yqtr2kC&oi=fnd&pg=PA1&dq=importance+of+knowledge+archiving&ots=9NU6J-zv88&sig=2pkfx30iXkDgFS4-wLsqT9iVs8Y#v=onepage&q=importance%20of%20knowledge%20archiving&f=false">Advances in Computers: Information Repositories edited by Marvin Zelkowitz</a></p>
<p class="reference-text"><a name="2"></a>[2] (Duus, 1998): The Abacus and the Sword: The Japanese Penetration of Korea. University of California Press.</p>
<br>
<h1>Contents</h1>
<p>This archive presents the following ToS such as FaceApp, TikTok, PokemonGo, Snaptchat, Netflix, Amazon, Aibo(Sony). We also provide some historical treaties made during one's colonial era, such as ........, for you to interpret how the former might have had some similar characteristics to the latter.</p>
<br>
<h1>our service</h1>
<ul>
<li>to contribute a platform of reading ToS. In doing so, it questions what does it mean to provide ToS in the digital corporate society.</li><br>
<li>to question the concept of digital colonialism by providing visualization of ToS language as a modern-colonial tool to deceive users.</li><br>
<li>to analyze ToS from major tech companies to investigate how particular terms are being used in the specific context of ToS. Because ToS platforms have different tones of voice, different words are being used. How does the platforms have modern-colonial aspects in ToS?</li><br>
<li>to examine what is modern-colonial language by taking a closer look on words within the realm of ToS. This provides categorization of modern-colonial language into digital colonial glossary.</li><br>
<li></li><br>
<li></li><br>
<li></li><br>
<li></li><br>
<li></li><br>
<li></li><br>
<li></li><br>
</ul>
<h1>Acknowledgement</h1>
<p>These are the Terms of service governing the use of this service and the agreement that operates between You and the Company. These Terms of service set out the rights and obligations of all users regarding the use of the service.</p>
<p>Your access to and use of the service is conditioned on Your acceptance of and compliance with these Terms of service. These Terms of service apply to all visitors, users and others who access or use the service.</p>
<p>By accessing or using the service You agree to be bound by these Terms of service. If You disagree with any part of these Terms of service then You may not access the service.</p>
<p>You represent that you are over the age of 18. The Company does not permit those under 18 to use the service.</p>
<p>Your access to and use of the service is also conditioned on Your acceptance of and compliance with the Privacy Policy of the Company. Our Privacy Policy describes Our policies and procedures on the collection, use and disclosure of Your personal information when You use the Application or the Website and tells You about Your privacy rights and how the law protects You. Please read Our Privacy Policy carefully before using Our service.</p>
<h1>Links to Other Websites</h1>
<p>Our service may contain links to third-party web sites or services that are not owned or controlled by the Company.</p>
<p>The Company has no control over, and assumes no responsibility for, the content, privacy policies, or practices of any third party web sites or services. You further acknowledge and agree that the Company shall not be responsible or liable, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with the use of or reliance on any such content, goods or services available on or through any such web sites or services.</p>
<p>We strongly advise You to read the terms of service and privacy policies of any third-party web sites or services that You visit.</p>
<h1>Termination</h1>
<p>We may terminate or suspend Your access immediately, without prior notice or liability, for any reason whatsoever, including without limitation if You breach these Terms of service.</p>
<p>Upon termination, Your right to use the service will cease immediately.</p>
<h1>Limitation of Liability</h1>
<p>Notwithstanding any damages that You might incur, the entire liability of the Company and any of its suppliers under any provision of this Terms and Your exclusive remedy for all of the foregoing shall be limited to the amount actually paid by You through the service or 100 USD if You haven't purchased anything through the service.</p>
<p>To the maximum extent permitted by applicable law, in no event shall the Company or its suppliers be liable for any special, incidental, indirect, or consequential damages whatsoever (including, but not limited to, damages for loss of profits, loss of data or other information, for business interruption, for personal injury, loss of privacy arising out of or in any way related to the use of or inability to use the service, third-party software and/or third-party hardware used with the service, or otherwise in connection with any provision of this Terms), even if the Company or any supplier has been advised of the possibility of such damages and even if the remedy fails of its essential purpose.</p>
<p>Some states do not allow the exclusion of implied warranties or limitation of liability for incidental or consequential damages, which means that some of the above limitations may not apply. In these states, each party's liability will be limited to the greatest extent permitted by law.</p>
<h1>"AS IS" and "AS AVAILABLE" Disclaimer</h1>
<p>The service is provided to You "AS IS" and "AS AVAILABLE" and with all faults and defects without warranty of any kind. To the maximum extent permitted under applicable law, the Company, on its own behalf and on behalf of its Affiliates and its and their respective licensors and service providers, expressly disclaims all warranties, whether express, implied, statutory or otherwise, with respect to the service, including all implied warranties of merchantability, fitness for a particular purpose, title and non-infringement, and warranties that may arise out of course of dealing, course of performance, usage or trade practice. Without limitation to the foregoing, the Company provides no warranty or undertaking, and makes no representation of any kind that the service will meet Your requirements, achieve any intended results, be compatible or work with any other software, applications, systems or services, operate without interruption, meet any performance or reliability standards or be error free or that any errors or defects can or will be corrected.</p>
<p>Without limiting the foregoing, neither the Company nor any of the company's provider makes any representation or warranty of any kind, express or implied: (i) as to the operation or availability of the service, or the information, content, and materials or products included thereon; (ii) that the service will be uninterrupted or error-free; (iii) as to the accuracy, reliability, or currency of any information or content provided through the service; or (iv) that the service, its servers, the content, or e-mails sent from or on behalf of the Company are free of viruses, scripts, trojan horses, worms, malware, timebombs or other harmful components.</p>
<p>Some jurisdictions do not allow the exclusion of certain types of warranties or limitations on applicable statutory rights of a consumer, so some or all of the above exclusions and limitations may not apply to You. But in such a case the exclusions and limitations set forth in this section shall be applied to the greatest extent enforceable under applicable law.</p>
<h1>Governing Law</h1>
<p>The laws of the Country, excluding its conflicts of law rules, shall govern this Terms and Your use of the service. Your use of the Application may also be subject to other local, state, national, or international laws.</p>
<h1>Disputes Resolution</h1>
<p>If You have any concern or dispute about the service, You agree to first try to resolve the dispute informally by contacting the Company.</p>
<h1>For European Union (EU) Users</h1>
<p>If You are a European Union consumer, you will benefit from any mandatory provisions of the law of the country in which you are resident in.</p>
<h1>United States Legal Compliance</h1>
<p>You represent and warrant that (i) You are not located in a country that is subject to the United States government embargo, or that has been designated by the United States government as a "terrorist supporting" country, and (ii) You are not listed on any United States government list of prohibited or restricted parties.</p>
<h1>Severability and Waiver</h1>
<h2>Severability</h2>
<p>If any provision of these Terms is held to be unenforceable or invalid, such provision will be changed and interpreted to accomplish the objectives of such provision to the greatest extent possible under applicable law and the remaining provisions will continue in full force and effect.</p>
<h2>Waiver</h2>
<p>Except as provided herein, the failure to exercise a right or to require performance of an obligation under this Terms shall not effect a party's ability to exercise such right or require such performance at any time thereafter nor shall be the waiver of a breach constitute a waiver of any subsequent breach.</p>
<h1>Translation Interpretation</h1>
<p>These Terms of service may have been translated if We have made them available to You on our service.</p>
<p>You agree that the original English text shall prevail in the case of a dispute.</p>
<h1>Changes to These Terms of service</h1>
<p>We reserve the right, at Our sole discretion, to modify or replace these Terms at any time. If a revision is material We will make reasonable efforts to provide at least 30 days' notice prior to any new terms taking effect. What constitutes a material change will be determined at Our sole discretion.</p>
<p>By continuing to access or use Our service after those revisions become effective, You agree to be bound by the revised terms. If You do not agree to the new terms, in whole or in part, please stop using the website and the service.</p>
<h1>Contact Us</h1>
<p>If you have any questions about these Terms of service, You can contact us:</p>
<ul>
<li>By email: haveyoureadyourcontract@gmail.com</li>
</ul>
</div>
</div>
</body>
</html>

File diff suppressed because one or more lines are too long

@ -0,0 +1,347 @@
# from __future__ import division
from nltk import sent_tokenize, word_tokenize, pos_tag
from nltk.probability import FreqDist
from nltk.corpus import stopwords
import nltk
import codecs
import base64
nltk.download('stopwords')
# faceapp_file = open('faceapp.txt','r')
with open('tos_file/faceapp_sentence.txt', 'r') as faceapp_file:
faceapp_text = faceapp_file.read()
faceapp_text_list = faceapp_text.split("\n\n")
with open('treaty_file/russia_estonia_sentence.txt', 'r') as russia_file:
russia_text = russia_file.read()
russia_text_list = russia_text.split("\n\n")
#tos stopwords
tos_default_stopwords = set(stopwords.words('english'))
tos_custom_stopwords = set(codecs.open('stopwords.txt', 'r').read().splitlines())
tos_all_stopwords = tos_default_stopwords | tos_custom_stopwords
#treaty stopwords
t_default_stopwords = set(stopwords.words('english'))
t_custom_stopwords = set(codecs.open('t_stopwords.txt', 'r').read().splitlines())
t_all_stopwords = t_default_stopwords | t_custom_stopwords
# multi-line string HTML
print('''<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-3.5.0.min.js"></script>
<meta charset="utf-8">
<title></title>
<style>
@font-face {
font-family: "Belgika";
src: url("http://bohyewoo.com/webfonts/belgika/belgika-40th-webfont.eot");
src: url("http://bohyewoo.com/webfonts/belgika/belgika-40th-webfont.woff") format("woff"),
url("http://bohyewoo.com/webfonts/belgika/belgika-40th-webfont.svg#filename") format("svg");
}
@font-face {
font-family: "Belgika";
src: url("http://bohyewoo.com/webfonts/belgika/belgika-16th-webfont.eot");
src: url("http://bohyewoo.com/webfonts/belgika/belgika-16th-webfont.woff") format("woff"),
url("http://bohyewoo.com/webfonts/belgika/belgika-16th-webfont.svg#filename") format("svg");
}
@font-face {
font-family: "Belgika";
src: url("http://bohyewoo.com/webfonts/belgika/belgika-8th-webfont.eot");
src: url("http://bohyewoo.com/webfonts/belgika/belgika-8th-webfont.woff") format("woff"),
url("http://bohyewoo.com/webfonts/belgika/belgika-8th-webfont.svg#filename") format("svg");
}
@font-face {
font-family: "SourceCodePro";
src: url("http://bohyewoo.com/webfonts/Source_Code_Pro/SourceCodePro-Regular.ttf");
}
body {
}
.tos_wrapper {
# background-color: yellow;
width: 49.3%;
float: left;
margin-right: 20px;
border-right: 2px solid black;
}
.t_wrapper {
# background-color: green;
width: 49.3%;
float: right;
}
.t_img {
# background-color: Aquamarine;
font-family: helvetica;
font-weight: regular;
font-size: 20pt;
float: left;
}
.img {
width: 30vh;
}
.info {
# background-color: LightSkyBlue;
font-family: SourceCodePro;
font-size: 10pt;
width: 30vh;
float: right;
# border: 2px solid black;
margin: 10px;
text-align: center;
}
.t_info {
# background-color: LightSkyBlue;
font-family: SourceCodePro;
font-size: 10pt;
width: 30vh;
float: right;
# border: 2px solid black;
padding: 10px;
text-align: center;
}
.paragraph {
# background-color: gold;
font-family: helvetica;
font-weight: regular;
font-size: 40px;
width: 98%;
padding: 10px;
margin-top: 70px;
float: right;
}
.t_paragraph {
# background-color: gold;
font-family: helvetica;
font-weight: regular;
font-size: 40px;
width: 98%;
margin-top: 70px;
float: right;
}
.top_words {
# background-color: purple;
font-family: helvetica;
font-size: 15pt;
width: 100%;
column-count: 4;
float: left;
}
.top_words_title {
# background-color: yellow;
width: 100%;
}
.chosen_words {
# background-color: pink;
line-height: 0.1;
float: none;
}
.t_top_words {
# background-color: purple;
font-family: helvetica;
font-size: 15pt;
width: 100%;
column-count: 4;
float: left;
}
.t_top_words_title {
# background-color: yellow;
width: 100%;
}
.t_chosen_words {
# background-color: pink;
line-height: 0.1;
float: none;
}
.hide {
# color: white;
background-color: black;
}
</style>
</head>
<body>
<script>
$(document).ready(function() {
if ($('.TO, .DT, .IN, .WDT, .WP, .MD, .PRP, .CC, .VB, .VBZ, .CD').click(function() {
$('.TO, .DT, .IN, .WDT, .WP, .MD, .PRP, .CC, .VB, .VBZ, .CD').toggleClass('hide'); // reset
}));
else ($('span').click(
function(){
var selectedclass = $(this).attr('class');
$('span').css('background-color', 'white').css('color','black'); // reset
$('span.' + selectedclass).css('background-color', '#FF4500').css('color', 'white'); //highlighting the select
}));
})
</script>
''')
#wrapper
print('<div class ="tos_wrapper">')
#insert an image
# https://upload.wikimedia.org/wikipedia/commons/1/15/Joffe_signing_the_Treaty_of_Tartu.jpg
FaceApp_img_url = base64.b64encode(open('img/faceapp_logo.png', 'rb').read()).decode('utf-8')
FaceApp_image = '<div class="t_img">FaceApp<br><img class="img" src="data:img/faceapp_logo.png;base64,{}"></div>'.format(FaceApp_img_url)
print(FaceApp_image)
#info box
print('<div class ="info">')
infotext = [('Service', 'FaceApp'), ('Country', 'Russia'), ('Type', 'Image editing'), ('Initial release', 'December 31, 2016'), ('source', '<a href="https://www.faceapp.com/terms-en.html">link</a>'), ('Description', 'FaceApp is a mobile application for iOS and Android developed by Russian company Wireless Lab. The app generates highly realistic transformations of human faces in photographs by using neural networks based on artificial intelligence. The app can transform a face to make it smile, look younger, look older, or change gender.')]
for title, info in infotext:
print('<div class="info_{0}" style="border-top: 2px solid black;"><div class="info_title" style="-webkit-text-decoration-line: underline; text-decoration-line: underline;" >{0}</div><div class="info_content">{1}</div></div><br>'.format(title, info))
print('</div>')
#ToS text
print('<div class ="paragraph">')
# for paragraph in faceapp_text_list:
# tokenized = word_tokenize(paragraph)
# tagged = pos_tag(tokenized)
# print('<p>')
# for word, pos in tagged:
# print('<span class="{}">{}</span>'.format(pos, word))
# print('</p>')
# print('</div>')
# #faceapp_text
tokenized = word_tokenize(faceapp_text)
tagged = pos_tag(tokenized)
print('<p>')
for word, pos in tagged:
print('<span class="{}">{}</span>'.format(pos, word))
print('</p>')
print('</div>')
#colonial words list
print('<div class="top_words"><div class="top_words_title" style="-webkit-text-decoration-line: underline; text-decoration-line: underline;" >colonial words:</div>')
tokens_without_stopwords = nltk.FreqDist(words.lower() for words in tokenized if words.lower() not in tos_all_stopwords)
frequency_word = FreqDist(tokens_without_stopwords)
top_words = tokens_without_stopwords.most_common(20)
for chosen_words, frequency in top_words:
print('<br><div class="chosen_words" >{}({}) </div>'.format(chosen_words, frequency))
print('</div></div>')
#t_wrapper (second wrapper)
print('</div><div class="t_wrapper">')
#insert an image
# https://upload.wikimedia.org/wikipedia/commons/1/15/Joffe_signing_the_Treaty_of_Tartu.jpg
img_url = base64.b64encode(open('img/tartu.jpeg', 'rb').read()).decode('utf-8')
t_image = '<div class="t_img">Peace Treaty of Tartu<br><img class="img" src="data:img/tartu.jpeg;base64,{}"></div>'.format(img_url)
print(t_image)
#t_info box
print('<div class ="t_info">')
t_infotext = [('Name of Treaty', 'Peace Treaty of Tartu'), ('Country', 'Russia'), ('Date', 'February 2, 1920'), ('Location', 'Tartu, Estonia'), ('Signed', 'February 2, 1920'), ('Type', 'bilateral peace treaty'), ('source', '<a href="https://en.wikipedia.org/wiki/Treaty_of_Tartu_(Russian-Estonian)">link</a>'), ('Description', 'The Tartu Peace Treaty or Treaty of Tartu is a peace treaty between Estonia and Russian Soviet Federative Socialist Republic signed on 2 February 1920, ending the Estonian War of Independence.')]
for t_title, t_info in t_infotext:
print('<div class="t_info-{0}" style="border-top: 2px solid black;"><div class="info_t_title" style="-webkit-text-decoration-line: underline; text-decoration-line: underline;" >{0}</div><div class="t_info_content">{1}</div></div><br>'.format(t_title, t_info))
print('</div>')
#ToS text
print('<div class="t_paragraph">')
t_tokenized = word_tokenize(russia_text)
t_tagged = pos_tag(t_tokenized)
for t_word, t_pos in t_tagged:
print('<span class="{}">{}</span>'.format(t_pos, t_word))
print('<p>')
print('</div>')
#treaty colonial words list
print('<div class="t_top_words"><div class="t_top_words_title" style="-webkit-text-decoration-line: underline; text-decoration-line: underline;" >colonial words:</div>')
t_tokens_without_stopwords = nltk.FreqDist(words.lower() for words in t_tokenized if words.lower() not in t_all_stopwords)
t_frequency_word = FreqDist(t_tokens_without_stopwords)
t_top_words = t_tokens_without_stopwords.most_common(20)
for t_chosen_words, t_frequency in t_top_words:
print('<br><div class="t_chosen_words" >{}({}) </div>'.format(t_chosen_words, t_frequency))
print('</div></div>')
print('</div>')
print('''</body></html>''')

@ -4,11 +4,26 @@
( (
) )
" "
faceapp faceapp
: :
; ;
1
2
3
4
5
6
7
8
9
10
including
a a
about about
within
without
all all
an an
and and

@ -0,0 +1,92 @@
-
'
(
)
"
faceapp
:
;
1
2
3
4
5
6
7
8
9
10
including
within
without
article
a
about
all
an
and
are
as
at
be
but
by
can
do
from
get
had
has
have
he
I
i
if
in
into
is
it
its
me
more
my
not
of
on
one
or
other
out
so
some
such
than
that
the
their
them
then
there
these
they
this
those
to
up
was
were
what
when
which
who
whom
will
with
would
|
,
.

File diff suppressed because one or more lines are too long

@ -22,10 +22,15 @@ with open('treaty_file/russia-estonia.txt', 'r') as russia_file:
russia_text_list = russia_text.split("\n\n") russia_text_list = russia_text.split("\n\n")
#stopwords #tos stopwords
default_stopwords = set(stopwords.words('english')) tos_default_stopwords = set(stopwords.words('english'))
custom_stopwords = set(codecs.open('stopwords.txt', 'r').read().splitlines()) tos_custom_stopwords = set(codecs.open('stopwords.txt', 'r').read().splitlines())
all_stopwords = default_stopwords | custom_stopwords tos_all_stopwords = tos_default_stopwords | tos_custom_stopwords
#treaty stopwords
t_default_stopwords = set(stopwords.words('english'))
t_custom_stopwords = set(codecs.open('t_stopwords.txt', 'r').read().splitlines())
t_all_stopwords = t_default_stopwords | t_custom_stopwords
# multi-line string HTML # multi-line string HTML
@ -69,148 +74,151 @@ print('''<!DOCTYPE html>
body { body {
background-color: ghostwhite;
# font-family: Belgika;
# font-weight: 8th;
# letter-spacing: -0.3px;
font-size: 14px;
line-height: 1.2;
} }
.tos_wrapper { .tos_wrapper {
# background-color: yellow; # background-color: yellow;
width: 48%; width: 49.3%;
float: left; float: left;
margin-right: 20px; margin-right: 20px;
border-right: 2px solid black;
} }
.t_wrapper { .t_wrapper {
# background-color: green; # background-color: green;
width: 48%; width: 49.3%;
float: right; float: right;
} }
# .NNP {
# background-color: pink;
# }
# .VBP {
# }
# .VBP:hover {
# background-color: gold;
# }
# .NN {
# background-color: LightSkyBlue;
# }
# .NNS {
# background-color: Aquamarine;
# }
.t_img { .t_img {
# background-color: Aquamarine; # background-color: Aquamarine;
font-family: SourceCodePro; font-family: helvetica;
font-size: 10pt; font-weight: regular;
font-size: 20pt;
float: left; float: left;
} }
.img {
width: 30vh;
}
.info { .info {
# background-color: LightSkyBlue; # background-color: LightSkyBlue;
font-family: SourceCodePro; font-family: SourceCodePro;
font-size: 10pt; font-size: 10pt;
width: 60%; width: 30vh;
float: left; float: right;
border: 1px solid black;
padding:10px; # border: 2px solid black;
margin-bottom: 50px; margin: 10px;
text-align: center;
} }
.t_info { .t_info {
# background-color: LightSkyBlue; # background-color: LightSkyBlue;
font-family: SourceCodePro; font-family: SourceCodePro;
font-size: 10pt; font-size: 10pt;
width: 90%; width: 30vh;
float: left; float: right;
border: 1px solid black;
padding:10px; # border: 2px solid black;
margin-bottom: 50px; padding: 10px;
text-align: center;
} }
.paragraph { .paragraph {
# background-color: gold; # background-color: gold;
font-family: SourceCodePro; font-family: helvetica;
font-weight: regular; font-weight: regular;
letter-spacing: -0.5px; font-size: 40px;
width: 80%; width: 98%;
padding: 10px;
margin-top: 70px;
float: right; float: right;
} }
.t_paragraph { .t_paragraph {
# background-color: gold; # background-color: gold;
font-family: SourceCodePro; font-family: helvetica;
font-weight: regular; font-weight: regular;
letter-spacing: -0.5px; font-size: 40px;
width: 80%; width: 98%;
margin-top: 70px;
float: right; float: right;
} }
.top_words { .top_words {
# background-color: purple; # background-color: purple;
font-family: Belgika; font-family: helvetica;
font-weight: 8th; font-size: 15pt;
font-size: 9pt; width: 100%;
width: 15%; column-count: 4;
float: left; float: left;
} }
.t_top_words { .top_words_title {
# background-color: purple; # background-color: yellow;
font-family: Belgika; width: 100%;
font-weight: 8th;
font-size: 9pt;
width: 15%;
float: left;
} }
.chosen_words { .chosen_words {
# background-color: pink; # background-color: pink;
line-height: 0.1; line-height: 0.1;
float: none;
}
.t_top_words {
# background-color: purple;
font-family: helvetica;
font-size: 15pt;
width: 100%;
column-count: 4;
float: left;
}
.t_top_words_title {
# background-color: yellow;
width: 100%;
} }
.t_chosen_words { .t_chosen_words {
# background-color: pink; # background-color: pink;
line-height: 0.1; line-height: 0.1;
float: none;
} }
</style>
</head>
<body>
<input type="checkbox" id="myCheck" onclick="myFunction()"> Noun
<p id="text" style="display:none">Checkbox is CHECKED!</p>
<script>
$(document).ready(function(){
$('span').click( .hide {
function(){ color: white;
var selectedclass = $(this).attr('class'); }
$('span').css('background-color', 'white').css('color','black'); // reset
$('span.' + selectedclass).css('background-color', '#FF4500').css('color', 'white'); //highlighting the select
});
</style>
</head>
<body>
<script>
$(document).ready(function() {
if ($('.TO, .DT, .IN, .WDT, .WP, .MD, .PRP, .CC, .VB, .VBZ, .CD').click(function() {
$('.TO, .DT, .IN, .WDT, .WP, .MD, .PRP, .CC, .VB, .VBZ, .CD').toggleClass('hide'); // reset
}));
else ($('span').click(
function(){
var selectedclass = $(this).attr('class');
$('span').css('background-color', 'white').css('color','black'); // reset
$('span.' + selectedclass).css('background-color', '#FF4500').css('color', 'white'); //highlighting the select
}));
}) })
</script> </script>
@ -219,6 +227,7 @@ function(){
#wrapper #wrapper
print('<div class ="tos_wrapper">') print('<div class ="tos_wrapper">')
@ -231,10 +240,10 @@ print(FaceApp_image)
#info box #info box
print('<div class ="info">') print('<div class ="info">')
infotext = [('Service', 'FaceApp'), ('Type', 'Image editing'), ('Initial release', 'December 31, 2016'), ('Type', 'Image editing'), ('source', '<a href="https://www.faceapp.com/terms-en.html">link</a>'), ('Description', 'FaceApp is a mobile application for iOS and Android developed by Russian company Wireless Lab. The app generates highly realistic transformations of human faces in photographs by using neural networks based on artificial intelligence. The app can transform a face to make it smile, look younger, look older, or change gender.')] infotext = [('Service', 'FaceApp'), ('Country', 'Russia'), ('Type', 'Image editing'), ('Initial release', 'December 31, 2016'), ('source', '<a href="https://www.faceapp.com/terms-en.html">link</a>'), ('Description', 'FaceApp is a mobile application for iOS and Android developed by Russian company Wireless Lab. The app generates highly realistic transformations of human faces in photographs by using neural networks based on artificial intelligence. The app can transform a face to make it smile, look younger, look older, or change gender.')]
for title, info in infotext: for title, info in infotext:
print('<span class="info_{0}"><div class="info_title" style="-webkit-text-decoration-line: underline; text-decoration-line: underline;" >{0}</div><div class="info_content">{1}</div></span><br>'.format(title, info)) print('<div class="info_{0}"><div class="info_title" style="-webkit-text-decoration-line: underline; text-decoration-line: underline;" >{0}</div><div class="info_content">{1}</div></div><br>'.format(title, info))
print('</div>') print('</div>')
@ -269,7 +278,7 @@ print('</div>')
#colonial words list #colonial words list
print('<div class="top_words"> <div style="-webkit-text-decoration-line: underline; text-decoration-line: underline;" >colonial words:</div>') print('<div class="top_words"> <div style="-webkit-text-decoration-line: underline; text-decoration-line: underline;" >colonial words:</div>')
tokens_without_stopwords = nltk.FreqDist(words.lower() for words in tokenized if words.lower() not in all_stopwords) tokens_without_stopwords = nltk.FreqDist(words.lower() for words in tokenized if words.lower() not in tos_all_stopwords)
frequency_word = FreqDist(tokens_without_stopwords) frequency_word = FreqDist(tokens_without_stopwords)
top_words = tokens_without_stopwords.most_common(20) top_words = tokens_without_stopwords.most_common(20)
@ -302,10 +311,10 @@ print(t_image)
#t_info box #t_info box
print('<div class ="t_info">') print('<div class ="t_info">')
t_infotext = [('Name of Treaty', 'Peace Treaty of Tartu'), ('Date', 'February 2, 1920'), ('Location', 'Tartu, Estonia'), ('Signed', 'February 2, 1920'), ('Type', 'bilateral peace treaty'), ('source', '<a href="https://en.wikipedia.org/wiki/Treaty_of_Tartu_(Russian-Estonian)">link</a>'), ('Description', 'The Tartu Peace Treaty or Treaty of Tartu is a peace treaty between Estonia and Russian Soviet Federative Socialist Republic signed on 2 February 1920, ending the Estonian War of Independence.')] t_infotext = [('Name of Treaty', 'Peace Treaty of Tartu'), ('Country', 'Russia'), ('Date', 'February 2, 1920'), ('Location', 'Tartu, Estonia'), ('Signed', 'February 2, 1920'), ('Type', 'bilateral peace treaty'), ('source', '<a href="https://en.wikipedia.org/wiki/Treaty_of_Tartu_(Russian-Estonian)">link</a>'), ('Description', 'The Tartu Peace Treaty or Treaty of Tartu is a peace treaty between Estonia and Russian Soviet Federative Socialist Republic signed on 2 February 1920, ending the Estonian War of Independence.')]
for t_title, t_info in t_infotext: for t_title, t_info in t_infotext:
print('<span class="t_info-{0}"><div class="info_t_title" style="-webkit-text-decoration-line: underline; text-decoration-line: underline;" >{0}</div><div class="t_info_content">{1}</div></span><br>'.format(t_title, t_info)) print('<div class="t_info-{0}"><div class="info_t_title" style="-webkit-text-decoration-line: underline; text-decoration-line: underline;" >{0}</div><div class="t_info_content">{1}</div></div><br>'.format(t_title, t_info))
print('</div>') print('</div>')
@ -324,7 +333,7 @@ print('</div>')
#treaty colonial words list #treaty colonial words list
print('<div class="t_top_words" > <div style="-webkit-text-decoration-line: underline; text-decoration-line: underline;" >colonial words:</div>') print('<div class="t_top_words" > <div style="-webkit-text-decoration-line: underline; text-decoration-line: underline;" >colonial words:</div>')
t_tokens_without_stopwords = nltk.FreqDist(words.lower() for words in t_tokenized if words.lower() not in all_stopwords) t_tokens_without_stopwords = nltk.FreqDist(words.lower() for words in t_tokenized if words.lower() not in t_all_stopwords)
t_frequency_word = FreqDist(t_tokens_without_stopwords) t_frequency_word = FreqDist(t_tokens_without_stopwords)
t_top_words = t_tokens_without_stopwords.most_common(20) t_top_words = t_tokens_without_stopwords.most_common(20)

File diff suppressed because one or more lines are too long

@ -0,0 +1,395 @@
# from __future__ import division
from nltk import sent_tokenize, word_tokenize, pos_tag
from nltk.probability import FreqDist
from nltk.corpus import stopwords
import nltk
import codecs
import base64
nltk.download('stopwords')
# faceapp_file = open('faceapp.txt','r')
with open('tos_file/faceapp.txt', 'r') as faceapp_file:
faceapp_text = faceapp_file.read()
faceapp_text_list = faceapp_text.split("\n\n")
with open('treaty_file/russia-estonia.txt', 'r') as russia_file:
russia_text = russia_file.read()
russia_text_list = russia_text.split("\n\n")
#tos stopwords
tos_default_stopwords = set(stopwords.words('english'))
tos_custom_stopwords = set(codecs.open('stopwords.txt', 'r').read().splitlines())
tos_all_stopwords = tos_default_stopwords | tos_custom_stopwords
#treaty stopwords
t_default_stopwords = set(stopwords.words('english'))
t_custom_stopwords = set(codecs.open('t_stopwords.txt', 'r').read().splitlines())
t_all_stopwords = t_default_stopwords | t_custom_stopwords
# multi-line string HTML
print('''<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-3.5.0.min.js"></script>
<meta charset="utf-8">
<title></title>
<style>
@font-face {
font-family: "Belgika";
src: url("http://bohyewoo.com/webfonts/belgika/belgika-40th-webfont.eot");
src: url("http://bohyewoo.com/webfonts/belgika/belgika-40th-webfont.woff") format("woff"),
url("http://bohyewoo.com/webfonts/belgika/belgika-40th-webfont.svg#filename") format("svg");
}
@font-face {
font-family: "Belgika";
src: url("http://bohyewoo.com/webfonts/belgika/belgika-16th-webfont.eot");
src: url("http://bohyewoo.com/webfonts/belgika/belgika-16th-webfont.woff") format("woff"),
url("http://bohyewoo.com/webfonts/belgika/belgika-16th-webfont.svg#filename") format("svg");
}
@font-face {
font-family: "Belgika";
src: url("http://bohyewoo.com/webfonts/belgika/belgika-8th-webfont.eot");
src: url("http://bohyewoo.com/webfonts/belgika/belgika-8th-webfont.woff") format("woff"),
url("http://bohyewoo.com/webfonts/belgika/belgika-8th-webfont.svg#filename") format("svg");
}
@font-face {
font-family: "SourceCodePro";
src: url("http://bohyewoo.com/webfonts/Source_Code_Pro/SourceCodePro-Regular.ttf");
}
* {
margin: 0;
padding: 0;
}
html, body {
height: 100%;
}
.tos_wrapper {
# background-color: yellow;
width: 49%;
float: left;
margin-right: 20px;
border-right: 2px solid black;
}
.t_wrapper {
# background-color: green;
width: 49%;
float: right;
}
.intro {
width: 75%;
float: right;
}
.t_intro {
width: 75%;
float: left;
}
.t_img {
# background-color: Aquamarine;
top: 50px;
font-family: helvetica;
font-weight: regular;
font-size: 20pt;
float: left;
}
.img {
height: 20vh;
}
.info {
# background-color: LightSkyBlue;
font-family: helvetica;
font-weight: regular;
font-size: 10pt;
width: 50vh;
float: left;
margin-top: 20px;
# border: 2px solid black;
# text-align: center;
column-count: 2;
}
.t_info {
# background-color: LightSkyBlue;
font-family: helvetica;
font-weight: regular;
font-size: 10pt;
width: 50vh;
float: left;
margin-top: 20px;
# border: 2px solid black;
# text-align: center;
column-count: 2;
}
.paragraph {
# background-color: gold;
font-family: helvetica;
font-weight: regular;
font-size: 30px;
width: 75%;
padding: 10px;
margin-top: 70px;
float: right;
}
.t_paragraph {
# background-color: gold;
font-family: helvetica;
font-weight: regular;
font-size: 30px;
width: 98%;
margin-top: 70px;
float: right;
}
.top_words {
background-color: black;
width: 10%;
height: 100%;
font-family: Belgika;
font-weight: 16th;
font-size: 7.5pt;
color: white;
letter-spacing: 0.5px;
position: fixed;
float: left;
}
.top_words_title {
# background-color: yellow;
margin: 40px 10px 10px 10px;
width: 80%;
}
.chosen_words {
# background-color: pink;
padding: 10px 1px 1px 10px;
}
.chosen_words:hover {
background-color: white;
color: red;
}
.t_top_words {
background-color: black;
width: 10%;
height: 100%;
font-family: Belgika;
font-weight: 16th;
font-size: 7.5pt;
color: white;
letter-spacing: 0.5px;
position: fixed;
float: right;
right: 0;
top: 0;
}
.t_top_words_title {
# background-color: yellow;
margin: 40px 10px 10px 10px;
width: 80%;
}
.t_chosen_words {
# background-color: pink;
padding: 10px 1px 1px 10px;
}
.t_chosen_words:hover {
background-color: white;
color: red;
}
.hide {
# color: white;
background-color: black;
}
</style>
</head>
<body>
<script>
$(document).ready(function() {
if ($('.TO, .DT, .IN, .WDT, .WP, .MD, .PRP, .CC, .VB, .VBZ, .CD').click(function() {
$('.TO, .DT, .IN, .WDT, .WP, .MD, .PRP, .CC, .VB, .VBZ, .CD').toggleClass('hide'); // reset
}));
else ($('span').click(
function(){
var selectedclass = $(this).attr('class');
$('span').css('background-color', 'white').css('color','black'); // reset
$('span.' + selectedclass).css('background-color', '#FF4500').css('color', 'white'); //highlighting the select
}));
})
</script>
''')
#wrapper
print('<div class ="tos_wrapper"><div class="intro">')
#insert an image
# https://upload.wikimedia.org/wikipedia/commons/1/15/Joffe_signing_the_Treaty_of_Tartu.jpg
FaceApp_img_url = base64.b64encode(open('img/faceapp_logo.png', 'rb').read()).decode('utf-8')
FaceApp_image = '<div class="t_img">FaceApp<br><img class="img" src="data:img/faceapp_logo.png;base64,{}"></div>'.format(FaceApp_img_url)
print(FaceApp_image)
#info box
print('<div class ="info">')
infotext = [('Service', 'FaceApp'), ('Country', 'Russia'), ('Type', 'Image editing'), ('Initial release', 'December 31, 2016'), ('Source', '<a href="https://www.faceapp.com/terms-en.html">link</a>'), ('Description', 'FaceApp is a mobile application for iOS and Android developed by Russian company Wireless Lab. The app generates highly realistic transformations of human faces in photographs by using neural networks based on artificial intelligence. The app can transform a face to make it smile, look younger, look older, or change gender.')]
for title, info in infotext:
print('<div class="info_{0}" ><div class="info_title" style="-webkit-text-decoration-line: underline; text-decoration-line: underline;" >{0}</div><div class="info_content">{1}</div></div><br>'.format(title, info))
print('</div></div>')
#ToS text
print('<div class ="paragraph">')
# for paragraph in faceapp_text_list:
# tokenized = word_tokenize(paragraph)
# tagged = pos_tag(tokenized)
# print('<p>')
# for word, pos in tagged:
# print('<span class="{}">{}</span>'.format(pos, word))
# print('</p>')
# print('</div>')
# #faceapp_text
tokenized = word_tokenize(faceapp_text)
tagged = pos_tag(tokenized)
print('<p>')
for word, pos in tagged:
print('<span class="{}">{}</span>'.format(pos, word))
print('</p>')
print('</div>')
#colonial words list
print('<div class="top_words"><div class="top_words_title" style="-webkit-text-decoration-line: underline; text-decoration-line: underline;" >colonial words:</div>')
tokens_without_stopwords = nltk.FreqDist(words.lower() for words in tokenized if words.lower() not in tos_all_stopwords)
frequency_word = FreqDist(tokens_without_stopwords)
top_words = tokens_without_stopwords.most_common(30)
for chosen_words, frequency in top_words:
print('<div class="chosen_words" >&nbsp;{}&nbsp;({}) </div>'.format(chosen_words, frequency))
print('</div></div></div>')
#t_wrapper (second wrapper)
print('</div><div class="t_wrapper"><div class="t_intro">')
#insert an image
# https://upload.wikimedia.org/wikipedia/commons/1/15/Joffe_signing_the_Treaty_of_Tartu.jpg
img_url = base64.b64encode(open('img/tartu.jpeg', 'rb').read()).decode('utf-8')
t_image = '<div class="t_img">Peace Treaty of Tartu<br><img class="img" src="data:img/tartu.jpeg;base64,{}"></div>'.format(img_url)
print(t_image)
#t_info box
print('<div class ="t_info">')
t_infotext = [('Name of Treaty', 'Peace Treaty of Tartu'), ('Country', 'Russia'), ('Date', 'February 2, 1920'), ('Location', 'Tartu, Estonia'), ('Signed', 'February 2, 1920'), ('Type', 'bilateral peace treaty'), ('Source', '<a href="https://en.wikipedia.org/wiki/Treaty_of_Tartu_(Russian-Estonian)">link</a>'), ('Description', 'The Tartu Peace Treaty or Treaty of Tartu is a peace treaty between Estonia and Russian Soviet Federative Socialist Republic signed on 2 February 1920, ending the Estonian War of Independence.')]
for t_title, t_info in t_infotext:
print('<div class="t_info-{0}"><div class="info_t_title" style="-webkit-text-decoration-line: underline; text-decoration-line: underline;" >{0}</div><div class="t_info_content">{1}</div></div><br>'.format(t_title, t_info))
print('</div>')
#ToS text
print('<div class="t_paragraph">')
t_tokenized = word_tokenize(russia_text)
t_tagged = pos_tag(t_tokenized)
for t_word, t_pos in t_tagged:
print('<span class="{}">{}</span>'.format(t_pos, t_word))
print('<p>')
print('</div>')
#treaty colonial words list
print('<div class="t_top_words"><div class="t_top_words_title" style="-webkit-text-decoration-line: underline; text-decoration-line: underline;" >colonial words:</div>')
t_tokens_without_stopwords = nltk.FreqDist(words.lower() for words in t_tokenized if words.lower() not in t_all_stopwords)
t_frequency_word = FreqDist(t_tokens_without_stopwords)
t_top_words = t_tokens_without_stopwords.most_common(20)
for t_chosen_words, t_frequency in t_top_words:
print('<div class="t_chosen_words" >&nbsp;{}&nbsp;({}) </div>'.format(t_chosen_words, t_frequency))
print('</div></div></div>')
print('</div>')
print('''</body></html>''')

@ -0,0 +1,52 @@
$(document).ready(function() {
if ($('.TO, .DT, .IN, .WDT, .WP, .MD, .PRP, .CC').click(function() {
$('.TO, .DT, .IN, .WDT, .WP, .MD, .PRP, .CC').toggleClass('hide'); // reset
}));
else ($('span').click(
function(){
var selectedclass = $(this).attr('class');
$('span').css('background-color', 'white').css('color','black'); // reset
$('span.' + selectedclass).css('background-color', '#FF4500').css('color', 'white'); //highlighting the select
}));
})
final code
$(document).ready(function(){
$('.TO, .DT, .IN .WDT, .WP, .MD, .PRP, .CC').click(
function() {
$('.TO, .DT, .IN .WDT, .WP, .MD, .PRP, .CC').css('color','black'); // reset
$('.TO, .DT, .IN .WDT, .WP, .MD, .PRP, .CC').css('color', 'white');
});
})
$(document).ready(function(){
$('span').click(
function(){
var selectedclass = $(this).attr('class');
$('span').css('background-color', 'white').css('color','black'); // reset
$('span.' + selectedclass).css('background-color', '#FF4500').css('color', 'white'); //highlighting the select
});
})
same:
$(document).ready(function() {
if ($('.TO, .DT, .IN, .WDT, .WP, .MD, .PRP, .CC').click(
function() {
$('.TO, .DT, .IN, .WDT, .WP, .MD, .PRP, .CC').toggleClass('hide'); // reset
}));
})

@ -1,135 +1,134 @@
1. Eligibility 1. Eligibility
You must be at least 13 years of age to access or use our Services. If you are under 18 years of age (or the age of legal majority where you live), you may only access or use our Services under the supervision of a parent or legal guardian who agrees to be bound by this Agreement. If you are a parent or legal guardian of a user under the age of 18 (or the age of legal majority), you agree to be fully responsible for the acts or omissions of such user in connection with our Services. If you are accessing or using our Services on behalf of another person or entity, you represent that you are authorized to accept this Agreement on that person or entitys behalf and that the person or entity agrees to be responsible to us if you or the other person or entity violates this Agreement. you must be at least 13 years of age to access or use our services. If you are under 18 years of age (or the age of legal majority where you live), you may only access or use our services under the supervision of a parent or legal guardian who agrees to be bound by this agreement. If you are a parent or legal guardian of a user under the age of 18 (or the age of legal majority), you agree to be fully responsible for the acts or omissions of such user in connection with our services. If you are accessing or using our services on behalf of another person or entity, you represent that you are authorized to accept this agreement on that person or entitys behalf and that the person or entity agrees to be responsible to us if you or the other person or entity violates this agreement.
2. User Accounts and Account Security 2. User accounts and account security
If you choose to login to the Services via a third-party platform or social media network, you will need to use your credentials (e.g., username and password) from a third-party online platform. You must maintain the security of your third party account and promptly notify us if you discover or suspect that someone has accessed your account without your permission. If you permit others to use your account credentials, you are responsible for the activities of such users that occur in connection with your account. if you choose to login to the services via a third-party platform or social media network, you will need to use your credentials (e.G., username and password) from a third-party online platform. You must maintain the security of your third party account and promptly notify us if you discover or suspect that someone has accessed your account without your permission. If you permit others to use your account credentials, you are responsible for the activities of such users that occur in connection with your account.
3. Privacy 3. Privacy
Please refer to our Privacy Policy for information about how we collect, use and disclose information about you. please refer to our privacy policy for information about how we collect, use and disclose information about you.
4. User Content 4. User content
Our Services may allow you and other users to create, post, store and share content, including photos, videos, messages, text, software and other materials (collectively, “User Content”). User Content does not include user-generated filters. Subject to this Agreement and the Privacy Policy, you retain all rights in and to your User Content, as between you and FaceApp. Further, FaceApp does not claim ownership of any User Content that you post on or through the Services. You grant 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. our services may allow you and other users to create, post, store and share content, including photos, videos, messages, text, software and other materials (collectively, “user content”). User content does not include user-generated filters. Subject to this agreement and the privacy policy, you retain all rights in and to your user content, as between you and faceapp. Further, faceapp does not claim ownership of any user content that you post on or through the services. You grant 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.
You acknowledge that some of the Services are supported by advertising revenue and may display advertisements and promotions, and you hereby agree that FaceApp may place such advertising and promotions on the Services or on, about, or in conjunction with your User Content. The manner, mode and extent of such advertising and promotions are subject to change without specific notice to you. You acknowledge that we may not always identify paid services, sponsored content, or commercial communications as such. You acknowledge that some of the services are supported by advertising revenue and may display advertisements and promotions, and you hereby agree that faceapp may place such advertising and promotions on the services or on, about, or in conjunction with your user content. The manner, mode and extent of such advertising and promotions are subject to change without specific notice to you. You acknowledge that we may not always identify paid services, sponsored content, or commercial communications as such.
You represent and warrant that: (i) you own or otherwise have the right to use the User Content modified by you on or through the Services in accordance with the rights and licenses set forth in this Agreement; (ii) you agree to pay for all royalties, fees, and any other monies owed by reason of User Content you stylize on or through the Services; and (iii) you have the legal right and capacity to enter into this Agreement in your jurisdiction. You represent and warrant that: (i) you own or otherwise have the right to use the user content modified by you on or through the services in accordance with the rights and licenses set forth in this agreement; (ii) you agree to pay for all royalties, fees, and any other monies owed by reason of user content you stylize on or through the services; and (iii) you have the legal right and capacity to enter into this agreement in your jurisdiction.
You may not create, post, store or share any User Content that violates this Agreement or for which you do not have all the rights necessary to grant us the license described above. Although we have no obligation to screen, edit or monitor User Content, we may delete or remove User Content at any time and for any reason. You may not create, post, store or share any user content that violates this agreement or for which you do not have all the rights necessary to grant us the license described above. Although we have no obligation to screen, edit or monitor user content, we may delete or remove user content at any time and for any reason.
FaceApp is not a backup service and you agree that you will not rely on the Services for the purposes of User Content backup or storage. FaceApp will not be liable to you for any modification, suspension, or discontinuation of the Services, or the loss of any User Content. Faceapp is not a backup service and you agree that you will not rely on the services for the purposes of user content backup or storage. Faceapp will not be liable to you for any modification, suspension, or discontinuation of the services, or the loss of any user content.
5. Prohibited Conduct and Content 5. Prohibited conduct and content
You will not violate any applicable law, contract, intellectual property or other third-party right or commit a tort, and you are solely responsible for your conduct while accessing or using our Services. You will not: you will not violate any applicable law, contract, intellectual property or other third-party right or commit a tort, and you are solely responsible for your conduct while accessing or using our services. You will not:
Engage in any harassing, threatening, intimidating, predatory or stalking conduct; engage in any harassing, threatening, intimidating, predatory or stalking conduct;
Use or attempt to use another users account without authorization from that user and FaceApp; use or attempt to use another users account without authorization from that user and faceapp;
Use our Services in any manner that could interfere with, disrupt, negatively affect or inhibit other users from fully enjoying our Services or that could damage, disable, overburden or impair the functioning of our Services in any manner; use our services in any manner that could interfere with, disrupt, negatively affect or inhibit other users from fully enjoying our services or that could damage, disable, overburden or impair the functioning of our services in any manner;
Reverse engineer any aspect of our Services or do anything that might discover source code or bypass or circumvent measures employed to prevent or limit access to any part of our Services; reverse engineer any aspect of our services or do anything that might discover source code or bypass or circumvent measures employed to prevent or limit access to any part of our services;
Attempt to circumvent any content-filtering techniques we employ or attempt to access any feature or area of our Services that you are not authorized to access; attempt to circumvent any content-filtering techniques we employ or attempt to access any feature or area of our services that you are not authorized to access;
Develop or use any third-party applications that interact with our Services without our prior written consent, including any scripts designed to scrape or extract data from our Services; develop or use any third-party applications that interact with our services without our prior written consent, including any scripts designed to scrape or extract data from our services;
Use our Services for any illegal or unauthorized purpose, or engage in, encourage or promote any activity that violates this Agreement. use our services for any illegal or unauthorized purpose, or engage in, encourage or promote any activity that violates this agreement.
You may also only post or otherwise share User Content that is non-confidential and you have all necessary rights to disclose. You may not create, post, store or share any User Content that: You may also only post or otherwise share user content that is non-confidential and you have all necessary rights to disclose. You may not create, post, store or share any user content that:
Is unlawful, libelous, defamatory, obscene, pornographic, indecent, lewd, suggestive, harassing, threatening, invasive of privacy or publicity rights, abusive, inflammatory or fraudulent; is unlawful, libelous, defamatory, obscene, pornographic, indecent, lewd, suggestive, harassing, threatening, invasive of privacy or publicity rights, abusive, inflammatory or fraudulent;
Would constitute, encourage or provide instructions for a criminal offense, violate the rights of any party or otherwise create liability or violate any local, state, national or international law; would constitute, encourage or provide instructions for a criminal offense, violate the rights of any party or otherwise create liability or violate any local, state, national or international law;
May infringe any patent, trademark, trade secret, copyright or other intellectual or proprietary right of any party; may infringe any patent, trademark, trade secret, copyright or other intellectual or proprietary right of any party;
Contains or depicts any statements, remarks or claims that do not reflect your honest views and experiences; contains or depicts any statements, remarks or claims that do not reflect your honest views and experiences;
Impersonates, or misrepresents your affiliation with, any person or entity; impersonates, or misrepresents your affiliation with, any person or entity;
Contains any unsolicited promotions, political campaigning, advertising or solicitations; contains any unsolicited promotions, political campaigning, advertising or solicitations;
Contains any private or personal information of a third party without such third partys consent; contains any private or personal information of a third party without such third partys consent;
Contains any viruses, corrupted data or other harmful, disruptive or destructive files or content; or contains any viruses, corrupted data or other harmful, disruptive or destructive files or content; or
Is, in our sole judgment, objectionable or that restricts or inhibits any other person from using or enjoying our Services, or that may expose FaceApp or others to any harm or liability of any type. is, in our sole judgment, objectionable or that restricts or inhibits any other person from using or enjoying our services, or that may expose faceapp or others to any harm or liability of any type.
In addition, although we have no obligation to screen, edit or monitor User Content, we may delete or remove User Content at any time and for any reason. In addition, although we have no obligation to screen, edit or monitor user content, we may delete or remove user content at any time and for any reason.
6. Limited License; Copyright and Trademark 6. Limited license; copyright and trademark
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. 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 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 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. 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.
9. Indemnification 9. Indemnification
To the fullest extent permitted by applicable law, you will indemnify, defend, and hold harmless FaceApp and each of our respective officers, directors, agents, partners and employees (individually and collectively, the “FaceApp Parties”) from and against any loss, liability, claim, demand, damages, expenses or costs (“Claims”) arising out of or related to (a) your access to or use of our Services; (b) your User Content or Feedback; (c) your violation of this Agreement; (d) your violation, misappropriation or infringement of any rights of another (including intellectual property rights or privacy rights); or (e) your conduct in connection with our Services. You agree to promptly notify FaceApp Parties of any third party Claims, cooperate with FaceApp Parties in defending such Claims and pay all fees, costs and expenses associated with defending such Claims (including, but not limited to, attorneys fees). You also agree that the FaceApp Parties will have control of the defense or settlement of any third party Claims. This indemnity is in addition to, and not in lieu of, any other indemnities set forth in a written agreement between you and FaceApp or the other FaceApp Parties. to the fullest extent permitted by applicable law, you will indemnify, defend, and hold harmless faceapp and each of our respective officers, directors, agents, partners and employees (individually and collectively, the “faceapp parties”) from and against any loss, liability, claim, demand, damages, expenses or costs (“claims”) arising out of or related to (a) your access to or use of our services; (b) your user content or feedback; (c) your violation of this agreement; (d) your violation, misappropriation or infringement of any rights of another (including intellectual property rights or privacy rights); or (e) your conduct in connection with our services. You agree to promptly notify faceapp parties of any third party claims, cooperate with faceapp parties in defending such claims and pay all fees, costs and expenses associated with defending such claims (including, but not limited to, attorneys fees). You also agree that the faceapp parties will have control of the defense or settlement of any third party claims. This indemnity is in addition to, and not in lieu of, any other indemnities set forth in a written agreement between you and faceapp or the other faceapp parties.
10. Disclaimers 10. Disclaimers
We do not control, endorse or take responsibility for any User Content or third-party content available on or linked to by our Services. we do not control, endorse or take responsibility for any user content or third-party content available on or linked to by our services.
YOUR USE OF OUR SERVICES IS AT YOUR SOLE RISK. OUR SERVICES ARE PROVIDED “AS IS” AND “AS AVAILABLE” WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT. In addition, FaceApp does not represent or warrant that our Services are accurate, complete, reliable, current or error-free. While FaceApp attempts to make your access to and use of our Services safe, we cannot and do not represent or warrant that our Services or servers are free of viruses or other harmful components. You assume the entire risk as to the quality and performance of the Services. Your use of our services is at your sole risk. Our services are provided “as is” and “as available” without warranties of any kind, either express or implied, including, but not limited to, implied warranties of merchantability, fitness for a particular purpose, title, and non-infringement. In addition, faceapp does not represent or warrant that our services are accurate, complete, reliable, current or error-free. While faceapp attempts to make your access to and use of our services safe, we cannot and do not represent or warrant that our services or servers are free of viruses or other harmful components. You assume the entire risk as to the quality and performance of the services.
11. Limitation of Liability 11. Limitation of liability
FACEAPP AND THE OTHER FACEAPP PARTIES WILL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY—WHETHER BASED IN CONTRACT, TORT, NEGLIGENCE, STRICT LIABILITY, WARRANTY, OR OTHERWISE—FOR ANY INDIRECT, CONSEQUENTIAL, EXEMPLARY, INCIDENTAL, PUNITIVE OR SPECIAL DAMAGES OR LOST PROFITS, EVEN IF FACEAPP OR THE OTHER FACEAPP PARTIES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. faceapp and the other faceapp parties will not be liable to you under any theory of liability—whether based in contract, tort, negligence, strict liability, warranty, or otherwise—for any indirect, consequential, exemplary, incidental, punitive or special damages or lost profits, even if faceapp or the other faceapp parties have been advised of the possibility of such damages.
THE TOTAL LIABILITY OF FACEAPP AND THE OTHER FACEAPP PARTIES, FOR ANY CLAIM ARISING OUT OF OR RELATING TO THIS AGREEMENT OR OUR SERVICES, REGARDLESS OF THE FORM OF THE ACTION, IS LIMITED TO THE AMOUNT PAID, IF ANY, BY YOU TO ACCESS OR USE OUR SERVICES. The total liability of faceapp and the other faceapp parties, for any claim arising out of or relating to this agreement or our services, regardless of the form of the action, is limited to the amount paid, if any, by you to access or use our services.
The limitations set forth in this section will not limit or exclude liability for the gross negligence, fraud or intentional misconduct of FaceApp or the other FaceApp Parties or for any other matters in which liability cannot be excluded or limited under applicable law. Additionally, some jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so the above limitations or exclusions may not apply to you. The limitations set forth in this section will not limit or exclude liability for the gross negligence, fraud or intentional misconduct of faceapp or the other faceapp parties or for any other matters in which liability cannot be excluded or limited under applicable law. Additionally, some jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so the above limitations or exclusions may not apply to you.
12. Release 12. Release
To the fullest extent permitted by applicable law, you release FaceApp and the other FaceApp Parties from responsibility, liability, claims, demands, and/or damages (actual and consequential) of every kind and nature, known and unknown (including, but not limited to, claims of negligence), arising out of or related to disputes between users and the acts or omissions of third parties. You expressly waive any rights you may have under California Civil Code § 1542 as well as any other statute or common law principles that would otherwise limit the coverage of this release to include only those claims which you may know or suspect to exist in your favor at the time of agreeing to this release. to the fullest extent permitted by applicable law, you release faceapp and the other faceapp parties from responsibility, liability, claims, demands, and/or damages (actual and consequential) of every kind and nature, known and unknown (including, but not limited to, claims of negligence), arising out of or related to disputes between users and the acts or omissions of third parties. You expressly waive any rights you may have under california civil code § 1542 as well as any other statute or common law principles that would otherwise limit the coverage of this release to include only those claims which you may know or suspect to exist in your favor at the time of agreeing to this release.
13. Transfer and Processing Data 13. Transfer and processing data
By accessing or using our Services, you acknowledge and, as applicable, consent to the processing, transfer and storage of information about you in and to the United States and other countries. by accessing or using our services, you acknowledge and, as applicable, consent to the processing, transfer and storage of information about you in and to the united states and other countries.
14. Dispute Resolution; Binding Arbitration Agreement 14. Dispute resolution; binding arbitration agreement
Please read the following section carefully because it requires users who are U.S. residents to arbitrate certain disputes and claims with FaceApp and limits the manner in which you can seek relief from us. please read the following section carefully because it requires users who are u.S. Residents to arbitrate certain disputes and claims with faceapp and limits the manner in which you can seek relief from us.
Applicability of Arbitration Agreement. Except for small claims disputes in which you or FaceApp seek to bring an individual action in small claims court located in the county of your billing address or disputes in which you or FaceApp seeks injunctive or other equitable relief for the alleged unlawful use of intellectual property, you and FaceApp waive your rights to a jury trial and to have any dispute arising out of or related to this Agreement or our Services resolved in court. This Arbitration Agreement shall apply, without limitation, to all disputes or claims and requests for relief that arose or were asserted before the effective date of this Agreement or any prior version of this Agreement. Applicability of arbitration agreement. Except for small claims disputes in which you or faceapp seek to bring an individual action in small claims court located in the county of your billing address or disputes in which you or faceapp seeks injunctive or other equitable relief for the alleged unlawful use of intellectual property, you and faceapp waive your rights to a jury trial and to have any dispute arising out of or related to this agreement or our services resolved in court. This arbitration agreement shall apply, without limitation, to all disputes or claims and requests for relief that arose or were asserted before the effective date of this agreement or any prior version of this agreement.
Arbitration Rules and Forum. The Federal Arbitration Act governs the interpretation and enforcement of this Arbitration Agreement. To begin an arbitration proceeding, you must send a letter requesting arbitration and describing your dispute or claim or request for relief to our registered agent [include name and address of registered agent here]. The arbitration will be resolved through confidential binding arbitration by the Judicial Arbitration and Mediation Services (“JAMS”), an established alternative dispute resolution provider. Disputes involving claims, counterclaims, or requests for relief under $250,000, not inclusive of attorneys fees and interest, shall be subject to JAMSs most current version of the Streamlined Arbitration Rules and procedures available; all other disputes shall be subject to JAMSs most current version of the Comprehensive Arbitration Rules and Procedures, available at http://www.jamsadr.com/rules-comprehensive-arbitration/. JAMSs rules are also available at www.jamsadr.com or by calling JAMS at 800-352-5267. If JAMS is not available to arbitrate, the parties will select an alternative arbitral forum. If the arbitrator finds that you cannot afford to pay JAMSs filing, administrative, hearing and/or other fees and cannot obtain a waiver from JAMS, FaceApp will pay them for you. In addition, we will reimburse all such JAMSs filing, administrative, hearing and/or other fees for disputes, claims, or requests for relief totaling less than $10,000 unless the arbitrator determines the claims are frivolous. You may choose to have the arbitration conduced by telephone, based on written submissions, or in person in the country where you live or at another mutually agreed location. Any judgment on the award rendered by the arbitrator may be entered in any court of competent jurisdiction. Arbitration rules and forum. The federal arbitration act governs the interpretation and enforcement of this arbitration agreement. To begin an arbitration proceeding, you must send a letter requesting arbitration and describing your dispute or claim or request for relief to our registered agent [include name and address of registered agent here]. The arbitration will be resolved through confidential binding arbitration by the judicial arbitration and mediation services (“jams”), an established alternative dispute resolution provider. Disputes involving claims, counterclaims, or requests for relief under $250,000, not inclusive of attorneys fees and interest, shall be subject to jamss most current version of the streamlined arbitration rules and procedures available; all other disputes shall be subject to jamss most current version of the comprehensive arbitration rules and procedures, available at http://www.Jamsadr.Com/rules-comprehensive-arbitration/. Jamss rules are also available at www.Jamsadr.Com or by calling jams at 800-352-5267. If jams is not available to arbitrate, the parties will select an alternative arbitral forum. If the arbitrator finds that you cannot afford to pay jamss filing, administrative, hearing and/or other fees and cannot obtain a waiver from jams, faceapp will pay them for you. In addition, we will reimburse all such jamss filing, administrative, hearing and/or other fees for disputes, claims, or requests for relief totaling less than $10,000 unless the arbitrator determines the claims are frivolous. You may choose to have the arbitration conduced by telephone, based on written submissions, or in person in the country where you live or at another mutually agreed location. Any judgment on the award rendered by the arbitrator may be entered in any court of competent jurisdiction.
You may choose to have the arbitration conduced by telephone, based on written submissions or at another mutually agreed location. Any judgment on the award rendered by the arbitrator may be entered in any court of competent jurisdiction. You may choose to have the arbitration conduced by telephone, based on written submissions or at another mutually agreed location. Any judgment on the award rendered by the arbitrator may be entered in any court of competent jurisdiction.
Authority of Arbitrator. The arbitrator shall have exclusive authority to (a) determine the scope and enforceability of this Arbitration Agreement and (b) resolve any dispute related to the interpretation, applicability, enforceability or formation of this Arbitration Agreement, including, but not limited to, any assertion that all or any part of this Arbitration Agreement is void or voidable. The arbitration will decide the rights and liabilities, if any, of you and FaceApp. The arbitration proceeding will not be consolidated with any other matters or joined with any other cases or parties. The arbitrator shall have the authority to grant motions dispositive of all or part of any claim. The arbitrator shall have the authority to award monetary damages and to grant any non-monetary remedy or relief available to an individual under applicable law, the arbitral forums rules, and the Agreement (including the Arbitration Agreement). The arbitrator shall issue a written award and statement of decision describing the essential findings and conclusions on which the award is based, including the calculation of any damages awarded. The arbitrator has the same authority to award relief on an individual basis that a judge in a court of law would have. The award of the arbitrator is final and binding upon you and us. Authority of arbitrator. The arbitrator shall have exclusive authority to (a) determine the scope and enforceability of this arbitration agreement and (b) resolve any dispute related to the interpretation, applicability, enforceability or formation of this arbitration agreement, including, but not limited to, any assertion that all or any part of this arbitration agreement is void or voidable. The arbitration will decide the rights and liabilities, if any, of you and faceapp. The arbitration proceeding will not be consolidated with any other matters or joined with any other cases or parties. The arbitrator shall have the authority to grant motions dispositive of all or part of any claim. The arbitrator shall have the authority to award monetary damages and to grant any non-monetary remedy or relief available to an individual under applicable law, the arbitral forums rules, and the agreement (including the arbitration agreement). The arbitrator shall issue a written award and statement of decision describing the essential findings and conclusions on which the award is based, including the calculation of any damages awarded. The arbitrator has the same authority to award relief on an individual basis that a judge in a court of law would have. The award of the arbitrator is final and binding upon you and us.
Waiver of Jury Trial. YOU AND FACEAPP HEREBY WAIVE ANY CONSTITUTIONAL AND STATUTORY RIGHTS TO SUE IN COURT AND HAVE A TRIAL IN FRONT OF A JUDGE OR A JURY. You and FaceApp are instead electing that all disputes, claims or requests for relief shall be resolved by arbitration under this Arbitration Agreement, except as specified above. An arbitrator can award on an individual basis the same damages and relief as a court and must follow this Agreement as a court would. However, there is no judge or jury in arbitration, and court review of an arbitration award is subject to very limited. Review. Waiver of jury trial. You and faceapp hereby waive any constitutional and statutory rights to sue in court and have a trial in front of a judge or a jury. You and faceapp are instead electing that all disputes, claims or requests for relief shall be resolved by arbitration under this arbitration agreement, except as specified above. An arbitrator can award on an individual basis the same damages and relief as a court and must follow this agreement as a court would. However, there is no judge or jury in arbitration, and court review of an arbitration award is subject to very limited. Review.
Waiver of Class or Other Non-Individualized Relief. ALL DISPUTES, CLAIMS AND REQUESTS FOR RELIEF WITHIN THE SCOPE OF THIS ARBITRATION AGREEMENT MUST BE ARBITRATED ON AN INDIVIDUAL BASIS AND NOT ON A CLASS OR COLLECTIVE BASIS. ONLY INDIVIDUAL RELIEF IS AVAILABLE, AND CLAIMS OF MORE THAN ONE USER CANNOT BE ARBITRATED OR CONSOLIDATED WITH THOSE OF ANY OTHER USER. If a decision is issued stating that applicable law precludes enforcement of any of this subsections limitations as to a given dispute, claim or request for relief, then such aspect must be severed from the arbitration and brought into the State or Federal Courts located in the State of California. All other disputes, claims, or requests for relief shall be arbitrated. Waiver of class or other non-individualized relief. All disputes, claims and requests for relief within the scope of this arbitration agreement must be arbitrated on an individual basis and not on a class or collective basis. Only individual relief is available, and claims of more than one user cannot be arbitrated or consolidated with those of any other user. If a decision is issued stating that applicable law precludes enforcement of any of this subsections limitations as to a given dispute, claim or request for relief, then such aspect must be severed from the arbitration and brought into the state or federal courts located in the state of california. All other disputes, claims, or requests for relief shall be arbitrated.
30-Day Right to Opt-Out. You have the right to opt out of the provisions of this Arbitration Agreement by sending written notice of your decision to opt-out to: arbitration@faceapp.com, within 30 days after first becoming subject to this Arbitration Agreement. Your notice must include your name and address, your username (if any), the e-mail address you used to set up your account (if you have one), and an unequivocal statement that you want to opt out of this Arbitration Agreement. If you opt out of this Arbitration Agreement, all other parts of this Agreement will continue to apply to you. Opting out of this Arbitration Agreement has no effect on any other arbitration agreements that you may currently have, or may enter in the future, with us. 30-day right to opt-out. You have the right to opt out of the provisions of this arbitration agreement by sending written notice of your decision to opt-out to: arbitration@faceapp.Com, within 30 days after first becoming subject to this arbitration agreement. Your notice must include your name and address, your username (if any), the e-mail address you used to set up your account (if you have one), and an unequivocal statement that you want to opt out of this arbitration agreement. If you opt out of this arbitration agreement, all other parts of this agreement will continue to apply to you. Opting out of this arbitration agreement has no effect on any other arbitration agreements that you may currently have, or may enter in the future, with us.
You and FaceApp agree that the state or federal courts of the State of California and the United States sitting in Santa Clara County, California have exclusive jurisdiction over any appeals and the enforcement of an arbitration award. You and faceapp agree that the state or federal courts of the state of california and the united states sitting in santa clara county, california have exclusive jurisdiction over any appeals and the enforcement of an arbitration award.
Severability. Except as provided in this Section 14 above, if any part or parts of this Arbitration Agreement are found under the law to be invalid or unenforceable, then such specific part or parts shall be of no force and effect and shall be severed, and the remainder of the Arbitration Agreement shall continue in full force and effect. Severability. Except as provided in this section 14 above, if any part or parts of this arbitration agreement are found under the law to be invalid or unenforceable, then such specific part or parts shall be of no force and effect and shall be severed, and the remainder of the arbitration agreement shall continue in full force and effect.
Survival of Agreement. This Arbitration Agreement will survive the termination of your relationship with FaceApp. Survival of agreement. This arbitration agreement will survive the termination of your relationship with faceapp.
Modification, Notwithstanding any provision in this Agreement to the contrary, we agree that if FaceApp makes any future material change to this Arbitration Agreement you may reject that change within thirty (30) days of such change becoming effective by writing Company at the following address: arbitration@faceapp.com. Modification, notwithstanding any provision in this agreement to the contrary, we agree that if faceapp makes any future material change to this arbitration agreement you may reject that change within thirty (30) days of such change becoming effective by writing company at the following address: arbitration@faceapp.Com.
15. Governing Law and Venue 15. Governing law and venue
This Agreement and your access to and use of our Services will be governed by and construed and enforced in accordance with the laws of California, consistent with the Federal Arbitration Act, without regard to conflict of law rules or principles (whether of California or any other jurisdiction) that would cause the application of the laws of any other jurisdiction. The United Nations Convention for the International Sale of Goods does not apply to the Agreement. Any dispute between the parties that is not subject to arbitration or cannot be heard in small claims court will be resolved in the state or federal courts of California and the United States, respectively, sitting in Santa Clara County, California. this agreement and your access to and use of our services will be governed by and construed and enforced in accordance with the laws of california, consistent with the federal arbitration act, without regard to conflict of law rules or principles (whether of california or any other jurisdiction) that would cause the application of the laws of any other jurisdiction. The united nations convention for the international sale of goods does not apply to the agreement. Any dispute between the parties that is not subject to arbitration or cannot be heard in small claims court will be resolved in the state or federal courts of california and the united states, respectively, sitting in santa clara county, california.
16. Electronic Communications 16. Electronic communications
By accessing or using the Services, you also consent to receive electronic communications from FaceApp (e.g., responses to your requests, questions and feedback, announcements, updates, and security alerts through a push notification or by posting notices on our Services). You agree that any notices, agreements, disclosures or other communications that we send to you electronically will satisfy any legal communication requirements, including, but not limited to, that such communications be in writing. by accessing or using the services, you also consent to receive electronic communications from faceapp (e.G., responses to your requests, questions and feedback, announcements, updates, and security alerts through a push notification or by posting notices on our services). You agree that any notices, agreements, disclosures or other communications that we send to you electronically will satisfy any legal communication requirements, including, but not limited to, that such communications be in writing.
17. Termination 17. Termination
We reserve the right, without notice and in our sole discretion, to terminate your right to access or use our Services. We are not responsible for any loss or harm related to your inability to access or use our Services. we reserve the right, without notice and in our sole discretion, to terminate your right to access or use our services. We are not responsible for any loss or harm related to your inability to access or use our services.
18. Severability 18. Severability
If any provision or part of a provision of this Agreement is unlawful, void or unenforceable, that provision or part of the provision is deemed severable from this Agreement and does not affect the validity and enforceability of any remaining provisions. if any provision or part of a provision of this agreement is unlawful, void or unenforceable, that provision or part of the provision is deemed severable from this agreement and does not affect the validity and enforceability of any remaining provisions.
19. Additional Terms Applicable to iOS Devices 19. Additional terms applicable to ios devices
The following terms apply if you install, access or use the Services on any device that contains the iOS mobile operating system (the “App”) developed by Apple Inc. (“Apple”). the following terms apply if you install, access or use the services on any device that contains the ios mobile operating system (the “app”) developed by apple inc. (“apple”).
Acknowledgement. You acknowledge that this Agreement is concluded solely between us, and not with Apple, and FaceApp, not Apple, is solely responsible for the App and the content thereof. You further acknowledge that the usage rules for the App are subject to any additional restrictions set forth in the Usage Rules for the Apple App Store Terms of Service as of the date you download the App, and in the event of any conflict, the Usage Rules in the App Store shall govern if they are more restrictive. You acknowledge and agree that you have had the opportunity to review the Usage Rules. Acknowledgement. You acknowledge that this agreement is concluded solely between us, and not with apple, and faceapp, not apple, is solely responsible for the app and the content thereof. You further acknowledge that the usage rules for the app are subject to any additional restrictions set forth in the usage rules for the apple app store terms of service as of the date you download the app, and in the event of any conflict, the usage rules in the app store shall govern if they are more restrictive. You acknowledge and agree that you have had the opportunity to review the usage rules.
Scope of License. The license granted to you is limited to a non-transferable license to use the App on any iPhone, iPod touch or iPad that you own or control as permitted by the Usage Rules set forth in the Apple App Store Terms of Service. Scope of license. The license granted to you is limited to a non-transferable license to use the app on any iphone, ipod touch or ipad that you own or control as permitted by the usage rules set forth in the apple app store terms of service.
Maintenance and Support. You and FaceApp acknowledge that Apple has no obligation whatsoever to furnish any maintenance and support services with respect to the App. Maintenance and support. You and faceapp acknowledge that apple has no obligation whatsoever to furnish any maintenance and support services with respect to the app.
Warranty. You acknowledge that Apple is not responsible for any product warranties, whether express or implied by law, with respect to the App. In the event of any failure of the App to conform to any applicable warranty, you may notify Apple, and Apple will refund the purchase price, if any, paid to Apple for the App by you; and to the maximum extent permitted by applicable law, Apple will have no other warranty obligation whatsoever with respect to the App. The parties acknowledge that to the extent that there are any applicable warranties, any other claims, losses, liabilities, damages, costs or expenses attributable to any failure to conform to any such applicable warranty would be the sole responsibility of FaceApp. However, you understand and agree that in accordance with this Agreement, FaceApp has disclaimed all warranties of any kind with respect to the App, and therefore, there are no warranties applicable to the App. Warranty. You acknowledge that apple is not responsible for any product warranties, whether express or implied by law, with respect to the app. In the event of any failure of the app to conform to any applicable warranty, you may notify apple, and apple will refund the purchase price, if any, paid to apple for the app by you; and to the maximum extent permitted by applicable law, apple will have no other warranty obligation whatsoever with respect to the app. The parties acknowledge that to the extent that there are any applicable warranties, any other claims, losses, liabilities, damages, costs or expenses attributable to any failure to conform to any such applicable warranty would be the sole responsibility of faceapp. However, you understand and agree that in accordance with this agreement, faceapp has disclaimed all warranties of any kind with respect to the app, and therefore, there are no warranties applicable to the app.
Product Claims. You and FaceApp acknowledge that as between Apple and FaceApp, FaceApp, not Apple, is responsible for addressing any claims relating to the App or your possession and/or use of the App, including, but not limited to (a) product liability claims, (b) any claim that the App fails to conform to any applicable legal or regulatory requirement, and (c) claims arising under consumer protection or similar legislation. Product claims. You and faceapp acknowledge that as between apple and faceapp, faceapp, not apple, is responsible for addressing any claims relating to the app or your possession and/or use of the app, including, but not limited to (a) product liability claims, (b) any claim that the app fails to conform to any applicable legal or regulatory requirement, and (c) claims arising under consumer protection or similar legislation.
Intellectual Property Rights. The parties acknowledge that, in the event of any third party claim that the App or your possession and use of the App infringe that third partys intellectual property rights, FaceApp, and not Apple, will be solely responsible for the investigation, defense, settlement and discharge of any such intellectual property infringement claim to the extent required under this Agreement. Intellectual property rights. The parties acknowledge that, in the event of any third party claim that the app or your possession and use of the app infringe that third partys intellectual property rights, faceapp, and not apple, will be solely responsible for the investigation, defense, settlement and discharge of any such intellectual property infringement claim to the extent required under this agreement.
Legal Compliance. You represent and warrant that (a) you are not located in a country that is subject to a U.S. Government embargo, or that has been designated by the U.S. Government as a “terrorist supporting” country, and (b) you are not listed on any U.S. Government list of prohibited or restricted parties. Legal compliance. You represent and warrant that (a) you are not located in a country that is subject to a u.S. Government embargo, or that has been designated by the u.S. Government as a “terrorist supporting” country, and (b) you are not listed on any u.S. Government list of prohibited or restricted parties.
Developer Name and Address. Any questions, complaints or claims with respect to the App should be directed to: Developer name and address. Any questions, complaints or claims with respect to the app should be directed to:
FaceApp Inc faceapp inc
1000 N West Street, Suite 1200, 1000 n west street, suite 1200,
Wilmington, Delaware, 19801 wilmington, delaware, 19801
USA usa
contact@faceapp.com contact@faceapp.Com
Third-Party Terms of Agreement. You agree to comply with any applicable third-party terms when using the Services. third-party terms of agreement. You agree to comply with any applicable third-party terms when using the services.
Third-Party Beneficiary. The parties acknowledge and agree that Apple, and Apples subsidiaries, are third-party beneficiaries of this Agreement, and that, upon your acceptance of this Agreement, Apple will have the right (and will be deemed to have accepted the right) to enforce this Agreement against you as a third-party beneficiary thereof). Third-party beneficiary. The parties acknowledge and agree that apple, and apples subsidiaries, are third-party beneficiaries of this agreement, and that, upon your acceptance of this agreement, apple will have the right (and will be deemed to have accepted the right) to enforce this agreement against you as a third-party beneficiary thereof).
20. Export 20. Export
You may not use, export, import, or transfer all or any portion of the Services except as authorized by U.S. law, the laws of the jurisdiction in which you obtained the Services, and any other applicable laws. In particular, but without limitation, the Services may not be exported or re-exported (a) into any United States embargoes countries, or (b) to anyone on the U.S. Treasury Departments list of Specially Designated Nationals or the U.S. Department of Commerces Denied Persons List or Entity List. By using the Services, you represent and warrant that (y) you are not located in a country that is subject to a U.S. Government embargo, or that has been designated by the U.S. Government as a “terrorist supporting” country and (z) you are not listed on any U.S. Government list of prohibited or restricted parties. You also will not use the Services for any purpose prohibited by U.S. law, including the development, design, manufacture or production of missiles, nuclear, chemical or biological weapons. You acknowledge and agree that products, services or technology provided by FaceApp are subject to the export control laws and regulations of the United States. You shall comply with these laws and regulations and shall not, without prior U.S. government authorization, export, re-export, or transfer FaceApp products, services or technology, either directly or indirectly, to any country in violation of such laws and regulations. you may not use, export, import, or transfer all or any portion of the services except as authorized by u.S. Law, the laws of the jurisdiction in which you obtained the services, and any other applicable laws. In particular, but without limitation, the services may not be exported or re-exported (a) into any united states embargoes countries, or (b) to anyone on the u.S. Treasury departments list of specially designated nationals or the u.S. Department of commerces denied persons list or entity list. By using the services, you represent and warrant that (y) you are not located in a country that is subject to a u.S. Government embargo, or that has been designated by the u.S. Government as a “terrorist supporting” country and (z) you are not listed on any u.S. Government list of prohibited or restricted parties. You also will not use the services for any purpose prohibited by u.S. Law, including the development, design, manufacture or production of missiles, nuclear, chemical or biological weapons. You acknowledge and agree that products, services or technology provided by faceapp are subject to the export control laws and regulations of the united states. You shall comply with these laws and regulations and shall not, without prior u.S. Government authorization, export, re-export, or transfer faceapp products, services or technology, either directly or indirectly, to any country in violation of such laws and regulations.
21. Miscellaneous 21. Miscellaneous
In accordance with California Civil Code section 1789.3, you may report complaints to the Complaint Assistance Unit of the Division of Consumer Services of the California Department of Consumer Affairs by contacting them in writing at 400 R Street, Sacramento, CA 95814, or by telephone at (800) 952-5210. This Agreement constitutes the entire agreement between you and FaceApp relating to your access to and use of our Services. The failure of FaceApp to exercise or enforce any right or provision of this Agreement will not operate as a waiver of such right or provision. The section titles in this Agreement is for convenience only and have no legal or contractual effect. Except as otherwise provided herein, this Agreement is intended solely for the benefit of the parties and are not intended to confer third party beneficiary rights upon any other person or entity. in accordance with california civil code section 1789.3, you may report complaints to the complaint assistance unit of the division of consumer services of the california department of consumer affairs by contacting them in writing at 400 r street, sacramento, ca 95814, or by telephone at (800) 952-5210. This agreement constitutes the entire agreement between you and faceapp relating to your access to and use of our services. The failure of faceapp to exercise or enforce any right or provision of this agreement will not operate as a waiver of such right or provision. The section titles in this agreement is for convenience only and have no legal or contractual effect. Except as otherwise provided herein, this agreement is intended solely for the benefit of the parties and are not intended to confer third party beneficiary rights upon any other person or entity.

@ -0,0 +1,2 @@
1. Eligibility
Subject to this Agreement and the Privacy Policy, you retain all rights in and to your User Content, as between you and FaceApp.

@ -0,0 +1,2 @@
Article I
The state of war between the Contracting Parties will end on the day on which the present Treaty of Peace comes into force.
Loading…
Cancel
Save