From 683c9af01a930e8ce6932539d771036280ef193c Mon Sep 17 00:00:00 2001 From: bootje Date: Mon, 20 Apr 2020 20:50:08 +0200 Subject: [PATCH] migrated all files --- website/.DS_Store | Bin 6148 -> 6148 bytes website/faceapp_info.txt | 6 - website/faceapp_infos.txt | 11 - website/new_file.txt | 1 - website/storage.py | 24 - website/style.css | 0 website/tag_comparison.html | 143 +- website/tag_comparison.py | 94 +- website/tag_comparison_copy.html | 6728 ------------------ website/tagged_word_highlight.py | 334 + website/test2.py | 178 - website/tokenized_words.txt | 1 - website/{ => tos_file}/faceapp.txt | 0 website/{ => treaty_file}/russia-estonia.txt | 0 14 files changed, 471 insertions(+), 7049 deletions(-) delete mode 100644 website/faceapp_info.txt delete mode 100644 website/faceapp_infos.txt delete mode 100644 website/new_file.txt delete mode 100644 website/storage.py delete mode 100644 website/style.css delete mode 100644 website/tag_comparison_copy.html create mode 100644 website/tagged_word_highlight.py delete mode 100644 website/test2.py delete mode 100644 website/tokenized_words.txt rename website/{ => tos_file}/faceapp.txt (100%) rename website/{ => treaty_file}/russia-estonia.txt (100%) diff --git a/website/.DS_Store b/website/.DS_Store index 02437b12cc9f906a9cc9e0ee9fff5c55d59318a6..b4ce1882e8c23fa5a7c15cfd194c8a6794529601 100644 GIT binary patch delta 387 zcmZoMXfc=|#>B!ku~2NHo+2av#(>?7izhHMG4gNbVX9%Q=U^yd$Y&^Kh-XM+$YjW2 zNX|lm3WB)qu~2NHo+2ar#(>?7jO?3vSZWwIUtlw5+}Pm3yqTSYp9837vmnQJ W=E?jbjvNd?z{tSBvN=Lz4Kn~+mk- @@ -153,7 +173,7 @@ $('span').click( function(){ var selectedclass = $(this).attr('class'); $('span').css('background-color', 'white').css('color','black'); // reset - $('span.' + selectedclass).css('background-color', 'red'); //highlighting the select + $('span.' + selectedclass).css('background-color', 'lightgreen'); //highlighting the select }); @@ -5796,27 +5816,27 @@ function(){ .

-
colonial words: -
services(69) -
agreement(60) -
arbitration(42) -
content(37) -
use(35) -
user(28) -
claims(28) -
may(26) -
rights(21) -
app(21) -
parties(20) -
apple(18) -
law(17) -
applicable(16) -
access(15) -
copyright(15) -
relief(15) -
shall(15) -
agree(14) -
without(14) +
colonial words:
+
services(69)
+
agreement(60)
+
arbitration(42)
+
content(37)
+
use(35)
+
user(28)
+
claims(28)
+
may(26)
+
rights(21)
+
app(21)
+
parties(20)
+
apple(18)
+
law(17)
+
applicable(16)
+
access(15)
+
copyright(15)
+
relief(15)
+
shall(15)
+
agree(14)
+
without(14)

Peace Treaty of Tartu

@@ -5830,7 +5850,6 @@ function(){
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.

-

Article I The @@ -7937,27 +7956,27 @@ function(){ .

-
colonial words: -
contracting(20) -
parties(16) -
article(13) -
territory(11) -
military(11) -
russia(10) -
estonian(10) -
material(9) -
state(8) -
war(8) -
persons(8) -
estonia(7) -
village(7) -
nationality(7) -
within(7) -
states(7) -
forces(7) -
present(6) -
treaty(6) -
frontier(6) +
colonial words:
+
contracting(20)
+
parties(16)
+
article(13)
+
territory(11)
+
military(11)
+
russia(10)
+
estonian(10)
+
material(9)
+
state(8)
+
war(8)
+
persons(8)
+
estonia(7)
+
village(7)
+
nationality(7)
+
within(7)
+
states(7)
+
forces(7)
+
present(6)
+
treaty(6)
+
frontier(6)
diff --git a/website/tag_comparison.py b/website/tag_comparison.py index a3023ca..cf67e98 100644 --- a/website/tag_comparison.py +++ b/website/tag_comparison.py @@ -10,24 +10,20 @@ from nltk import sent_tokenize, word_tokenize, pos_tag from nltk.probability import FreqDist from nltk.corpus import stopwords import base64 -nltk.download('stopwords') - +nltk.download('stopwords') -# infofile = open('faceapp_infos.txt','r') -# infotext = infofile.read() -#open the txt file, read, and tokenize -file = open('faceapp.txt','r') -text = file.read() -text_list = text.split("\n\n") +# faceapp_file = open('faceapp.txt','r') +with open('faceapp.txt', 'r') as faceapp_file: + faceapp_text = faceapp_file.read() + faceapp_text_list = faceapp_text.split("\n\n") -#not sure if this works.. -x = 1 +with open('russia-estonia.txt', 'r') as russia_file: + russia_text = russia_file.read() + russia_text_list = russia_text.split("\n\n") -t_file = open('russia-estonia.txt', 'r') -t_text = t_file.read() #stopwords default_stopwords = set(stopwords.words('english')) @@ -87,42 +83,47 @@ print(''' .tos_wrapper { - width: 50%; + # background-color: yellow; + width: 48%; float: left; + margin-right: 20px; } .t_wrapper { - width: 50%; + # background-color: green; + width: 48%; float: right; } - .NNP { - background-color: pink; - } + # .NNP { + # background-color: pink; + # } - .VBP { - } + # .VBP { + # } - .VBP:hover { - background-color: gold; - } + # .VBP:hover { + # background-color: gold; + # } - .NN { - background-color: LightSkyBlue; - } + # .NN { + # background-color: LightSkyBlue; + # } - .NNS { - background-color: Aquamarine; - } + # .NNS { + # background-color: Aquamarine; + # } .t_img { + # background-color: Aquamarine; font-family: SourceCodePro; font-size: 10pt; float: left; } .info { + # background-color: LightSkyBlue; font-family: SourceCodePro; font-size: 10pt; width: 60%; @@ -133,6 +134,7 @@ print(''' } .t_info { + # background-color: LightSkyBlue; font-family: SourceCodePro; font-size: 10pt; width: 90%; @@ -144,22 +146,25 @@ print(''' .paragraph { + # background-color: gold; font-family: SourceCodePro; font-weight: regular; letter-spacing: -0.5px; - width: 70%; + width: 80%; float: right; } .t_paragraph { + # background-color: gold; font-family: SourceCodePro; font-weight: regular; letter-spacing: -0.5px; - width: 70%; + width: 80%; float: right; } .top_words { + # background-color: purple; font-family: Belgika; font-weight: 8th; font-size: 9pt; @@ -168,6 +173,7 @@ print(''' } .t_top_words { + # background-color: purple; font-family: Belgika; font-weight: 8th; font-size: 9pt; @@ -175,6 +181,16 @@ print(''' float: left; } + .chosen_words { + # background-color: pink; + line-height: 0.1; + } + + .t_chosen_words { + # background-color: pink; + line-height: 0.1; + } + @@ -191,7 +207,7 @@ $('span').click( function(){ var selectedclass = $(this).attr('class'); $('span').css('background-color', 'white').css('color','black'); // reset - $('span.' + selectedclass).css('background-color', 'red'); //highlighting the select + $('span.' + selectedclass).css('background-color', 'lightgreen'); //highlighting the select }); @@ -231,8 +247,9 @@ print('') print('
') -# for paragraph in text_list: -tokenized = word_tokenize(text) +# for paragraph in faceapp_text_list: +# #faceapp_text +tokenized = word_tokenize(faceapp_text) tagged = pos_tag(tokenized) print('

') for word, pos in tagged: @@ -243,14 +260,15 @@ print('

') #colonial words list -print('
colonial words:') +print('
colonial words:
') tokens_without_stopwords = nltk.FreqDist(words.lower() for words in tokenized if words.lower() not in all_stopwords) frequency_word = FreqDist(tokens_without_stopwords) top_words = tokens_without_stopwords.most_common(20) + for chosen_words, frequency in top_words: - print('
{}({}) '.format(chosen_words, frequency)) + print('
{}({})
'.format(chosen_words, frequency)) print('
') @@ -287,7 +305,7 @@ print('
') #ToS text print('
') -t_tokenized = word_tokenize(t_text) +t_tokenized = word_tokenize(russia_text) t_tagged = pos_tag(t_tokenized) for t_word, t_pos in t_tagged: @@ -297,14 +315,14 @@ print('
') #treaty colonial words list -print('
colonial words:') +print('
colonial words:
') t_tokens_without_stopwords = nltk.FreqDist(words.lower() for words in t_tokenized if words.lower() not in 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('
{}({}) '.format(t_chosen_words, t_frequency)) + print('
{}({})
'.format(t_chosen_words, t_frequency)) print('
') diff --git a/website/tag_comparison_copy.html b/website/tag_comparison_copy.html deleted file mode 100644 index ae0a136..0000000 --- a/website/tag_comparison_copy.html +++ /dev/null @@ -1,6728 +0,0 @@ - - - - - - - - - -
-
- Service:FaceApp
- Type:Image editing
- Initial release:December 31 2016
- Type:Image editing
- source:link
- 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.
-
-
- 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 - entity - - s - 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 - 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 - Please - refer - to - our - Privacy - Policy - for - information - about - how - we - collect - , - use - and - disclose - information - about - you - . - 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 - . - 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 - 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 - . - 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 - : - Engage - in - any - harassing - , - threatening - , - intimidating - , - predatory - or - stalking - conduct - ; - Use - or - attempt - to - use - another - user - - s - 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 - ; - 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 - ; - 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 - . - 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 - ; - 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 - ; - 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 - ; - Contains - any - unsolicited - promotions - , - political - campaigning - , - advertising - or - solicitations - ; - Contains - any - private - or - personal - information - of - a - third - party - without - such - third - party - - s - consent - ; - 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 - . - 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 - Our - Services - and - the - text - , - graphics - , - images - , - photographs - , - videos - , - illustrations - , - trademarks - , - trade - names - , - page - headers - , - button - icons - , - scripts - , - service - marks - , - logos - , - slogans - , - filters - , - user - generated - filters - and - other - content - contained - therein - ( - collectively - , - the - - FaceApp - Content - - ) - are - owned - by - or - licensed - to - FaceApp - and - are - protected - under - both - United - States - and - foreign - laws - . - Except - as - explicitly - stated - in - this - Agreement - , - FaceApp - and - our - licensors - reserve - all - rights - in - and - to - our - Services - and - the - FaceApp - Content - . - You - are - hereby - granted - a - limited - , - nonexclusive - , - nontransferable - , - non-sublicensable - , - revocable - license - to - access - and - use - our - Services - and - FaceApp - Content - for - your - own - personal - use - ; - however - , - such - license - is - subject - to - this - Agreement - and - does - not - include - any - right - to - : - ( - a - ) - sell - , - resell - or - commercially - use - our - Services - or - FaceApp - Content - ; - ( - b - ) - copy - , - reproduce - , - distribute - , - publicly - perform - or - publicly - display - FaceApp - Content - , - except - as - expressly - permitted - by - us - or - our - licensors - ; - ( - c - ) - modify - the - FaceApp - Content - , - remove - any - proprietary - rights - notices - or - markings - , - or - otherwise - make - any - derivative - uses - of - our - Services - or - FaceApp - Content - , - except - as - expressly - set - forth - in - this - Agreement - ; - ( - d - ) - use - any - data - mining - , - robots - or - similar - data - gathering - or - extraction - methods - ; - or - ( - e - ) - use - our - Services - or - FaceApp - Content - other - than - as - expressly - provided - in - this - Agreement - . - Any - use - of - our - Services - or - FaceApp - Content - other - than - as - specifically - authorized - herein - , - without - our - prior - written - permission - , - is - strictly - prohibited - and - will - terminate - the - license - granted - under - this - Agreement - . - You - will - not - remove - , - alter - or - conceal - any - copyright - , - trademark - , - service - mark - or - other - proprietary - rights - notices - incorporated - in - or - accompanying - the - FaceApp - Content - . - 7 - . - Feedback - Any - questions - , - comments - , - suggestions - , - ideas - , - original - or - creative - materials - or - other - information - you - submit - about - FaceApp - or - our - products - or - Services - ( - collectively - , - - Feedback - - ) - , - is - non-confidential - and - we - have - no - obligations - ( - including - without - limitation - obligations - of - confidentiality - ) - with - respect - to - such - Feedback - . - You - hereby - grant - to - FaceApp - a - fully - paid - , - royalty-free - , - perpetual - , - irrevocable - , - worldwide - , - non-exclusive - , - and - fully - sublicensable - right - and - license - to - use - , - reproduce - , - perform - , - display - , - distribute - , - adapt - , - modify - , - re-format - , - create - derivative - works - of - , - and - otherwise - commercially - or - non-commercially - exploit - in - any - manner - , - any - and - all - Feedback - , - and - to - sublicense - the - foregoing - rights - , - in - connection - with - the - operation - and - maintenance - of - the - Services - and/or - FaceApp - - s - business - . - 8 - . - Copyright - Complaints - We - have - a - policy - of - limiting - access - to - our - Services - and - terminating - the - accounts - of - users - who - repeatedly - infringe - the - intellectual - property - copyright - rights - of - others - upon - prompt - notification - to - us - by - the - copyright - owner - or - the - copyright - owner - - s - legal - agent - . - Without - limiting - the - foregoing - , - if - you - believe - that - your - work - has - been - copied - and - posted - on - or - through - the - Services - in - a - way - that - constitutes - copyright - infringement - , - please - provide - our - Copyright - Agent - with - the - following - information - : - ( - a - ) - an - electronic - or - physical - signature - of - the - person - authorized - to - act - on - behalf - of - the - owner - of - the - copyright - interest - ; - ( - b - ) - a - description - of - the - copyrighted - work - that - you - claim - has - been - infringed - ; - ( - c - ) - a - description - of - the - location - on - the - Services - of - the - material - that - you - claim - is - infringing - ; - ( - d - ) - your - address - , - telephone - number - and - e-mail - address - ; - - a - written - statement - by - you - that - you - have - a - good - faith - belief - that - the - disputed - use - is - not - authorized - by - the - copyright - owner - , - its - agent - or - the - law - ; - and - ( - f - ) - a - statement - by - you - , - made - under - penalty - of - perjury - , - that - the - above - information - in - your - notice - is - accurate - and - that - you - are - the - copyright - owner - or - authorized - to - act - on - the - copyright - owner - - s - behalf - . - Contact - information - for - FaceApp - - s - Copyright - Agent - for - notice - of - claims - of - infringement - is - as - follows - : - Yaroslav - Goncharov - , - Designated - DMCA - Copyright - Agent - , - FaceApp - Inc - , - 1000 - N - West - Street - , - Suite - 1200 - , - Wilmington - , - Delaware - , - 19801 - . - 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 - . - 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 - . - 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 - can - not - 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 - 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 - 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 - can - not - 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 - 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 - 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 - 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 - . - 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 - JAMS - - s - most - current - version - of - the - Streamlined - Arbitration - Rules - and - procedures - available - ; - all - other - disputes - shall - be - subject - to - JAMS - - s - most - current - version - of - the - Comprehensive - Arbitration - Rules - and - Procedures - , - available - at - http - : - //www.jamsadr.com/rules-comprehensive-arbitration/ - . - JAMS - - s - 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 - can - not - afford - to - pay - JAMS - - s - filing - , - administrative - , - hearing - and/or - other - fees - and - can - not - obtain - a - waiver - from - JAMS - , - FaceApp - will - pay - them - for - you - . - In - addition - , - we - will - reimburse - all - such - JAMS - - s - 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 - . - 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 - forum - - s - 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 - 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 - CAN - NOT - 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 - subsection - - s - 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 - . - 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 - . - 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 - . - 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 - can - not - 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 - 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 - 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 - 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 - 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 - . - 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 - . - 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 - . - 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 - party - - s - 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 - . - Developer - Name - and - Address - . - Any - questions - , - complaints - or - claims - with - respect - to - the - App - should - be - directed - to - : - FaceApp - Inc - 1000 - N - West - Street - , - Suite - 1200 - , - Wilmington - , - Delaware - , - 19801 - USA - contact - @ - faceapp.com - 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 - Apple - - s - 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 - 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 - Department - - s - list - of - Specially - Designated - Nationals - or - the - U.S. - Department - of - Commerce - - s - Denied - Person - - s - 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 - 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 - . -
-
colonial words: -
services(69) -
agreement(60) -
arbitration(42) -
content(37) -
use(35) -
user(28) -
claims(28) -
may(26) -
rights(21) -
app(21) -
parties(20) -
apple(18) -
law(17) -
applicable(16) -
access(15) -
copyright(15) -
relief(15) -
shall(15) -
agree(14) -
without(14) -
right(14) -
including(13) -
acknowledge(13) -
“(12) -
”(12) -
subject(12) -
limited(12) -
u.s.(12) -
arbitrator(12) -
claim(11) -
disputes(11) -
rules(11) -
legal(10) -
person(10) -
third-party(10) -
party(10) -
license(10) -
liability(10) -
california(10) -
court(10) -
award(10) -
responsible(9) -
us(9) -
third(9) -
damages(9) -
jams(9) -
information(8) -
intellectual(8) -
written(8) -
laws(8) -
except(8) -
address(8) -
available(8) -
must(7) -
using(7) -
entity(7) -
authorized(7) -
account(7) -
otherwise(7) -
set(7) -
jurisdiction(7) -
property(7) -
part(7) -
united(7) -
b(7) -
agent(7) -
dispute(7) -
requests(7) -
provision(7) -
government(7) -
represent(6) -
users(6) -
create(6) -
store(6) -
solely(6) -
extent(6) -
notice(6) -
forth(6) -
fees(6) -
state(6) -
states(6) -
feedback(6) -
respect(6) -
owner(6) -
warranties(6) -
individual(6) -
country(6) -
terms(6) -
age(5) -
fully(5) -
another(5) -
privacy(5) -
post(5) -
include(5) -
grant(5) -
paid(5) -
manner(5) -
communications(5) -
warrant(5) -
service(5) -
- -
-
- 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 - . - Article - II - In - consequence - of - the - right - of - all - peoples - to - self-determination - , - to - the - point - of - seceding - completely - from - the - State - of - which - they - form - part - , - a - right - proclaimed - by - the - Socialist - and - Federal - Russian - Republic - of - the - Soviets - , - Russia - unreservedly - recognises - the - independence - and - sovereignty - of - the - State - of - Estonia - , - and - renounces - voluntarily - and - for - ever - all - sovereign - rights - possessed - by - Russia - over - the - Estonian - people - and - territory - whether - these - rights - be - based - on - the - juridical - position - that - formerly - existed - in - public - law - , - or - in - the - international - treaties - which - , - in - the - sense - here - indicated - , - lose - their - validity - in - future - . - From - the - fact - that - Estonia - has - belonged - to - Russia - , - no - obligation - whatsoever - will - fall - on - the - Estonian - people - and - land - to - Russia - . - Article - III - 1 - . - The - frontier - between - Esthonia - and - Russia - follows - the - following - line - : - Starting - from - the - Bay - of - Narva - , - one - verst - south - of - the - Fishers - - House - , - it - turns - toward - Ropscha - , - then - follows - the - course - of - the - Rivers - Mertvitskaja - and - Rosson - , - as - far - as - the - village - of - Ilkino - , - from - Ilkino - one - verst - west - of - the - village - Keikino - , - half - a - verst - west - of - the - village - of - Isvosi - and - turns - towards - the - village - of - Kobõljaki - ; - it - then - crosses - the - mouth - of - the - river - Schtschutschka - , - passes - by - Krivaja - Luka - , - by - the - estate - of - Petschurki - , - to - the - confluence - of - three - sources - of - the - river - Vtroja - , - follows - the - southern - boundary - of - the - village - of - Kuritschek - with - its - dependences - , - then - turns - in - a - straight - line - as - far - as - the - centre - line - of - the - Lake - Peipus - , - follows - it - in - a - southern - direction - , - and - thus - passes - one - verst - to - the - east - of - Piirisaar - ( - Pork - ) - ; - follows - the - narrow - strip - of - the - lake - dividing - it - along - the - middle - as - far - as - the - island - of - Salu - , - thence - passes - through - Lake - Pihkva - ( - Pskov - ) - between - the - Islands - of - Talabski - and - the - Island - of - Kamonka - , - then - to - the - east - of - the - village - of - Poddubje - ( - on - the - southern - bank - of - Lake - Pihkva - ) - and - to - the - outlook - post - on - the - railway - situated - near - to - Grjardischtsche - , - then - passes - successively - to - the - west - of - the - Village - of - Schahintsõi - , - to - the - east - of - Novaja - , - across - the - Lake - Poganova - , - between - the - villages - of - Babina - and - Vomorski - , - to - one - verst - and - a - half - to - the - south - of - the - Forestry - keeper - - s - house - ( - which - is - situated - to - the - north - of - Glybotschina - ) - to - Sprechtitschi - and - to - the - Farm - Kudepi - . - Note - 1 - . - The - Frontier - described - in - this - Article - is - shown - in - red - on - the - map - , - scale - of - three - versts - to - the - inch - ( - 0.0254 - metre - ) - , - which - constitutes - the - first - Annex - to - Article - 3 - . - In - case - of - difference - between - the - text - and - the - map - , - it - is - to - the - text - that - one - must - adhere - . - Note - 2 - . - The - tracing - of - the - boundary - between - the - two - contracting - countries - and - the - placing - in - position - of - the - frontier - signs - will - be - carried - out - under - the - direction - of - a - special - mixed - commission - composed - of - an - equal - number - of - members - from - both - parties - . - In - marking - the - boundary - line - this - mixed - commission - will - decide - the - allocation - of - inhabited - areas - on - the - frontier - to - one - or - other - of - the - parties - according - to - ethnographical - indications - and - bearing - in - mind - economic - agreements - and - agricultural - consideration - . - 2 - . - The - portion - of - the - territory - of - Esthonia - to - the - east - of - the - Narova - , - the - River - Narova - itself - , - and - the - islands - in - the - midst - of - the - stream - , - as - well - as - the - zone - to - the - south - of - Lake - Pihkva - , - which - is - situated - between - the - boundary - above - mentioned - and - the - line - of - villages - , - Borok-Smolni-Belkova-Sprechtitschi - , - will - be - , - from - a - military - point - of - view - , - considered - as - neutral - until - 1 - January - 1922 - . - Esthonia - undertakes - to - maintain - no - troops - of - any - kind - in - the - neutralized - zones - other - than - those - which - are - necessary - for - the - frontier - service - and - the - maintenance - of - order - , - and - of - which - the - strength - is - laid - down - in - Annex - 2 - of - the - present - Article - ; - not - to - construct - fortifications - or - observation - posts - , - nor - to - constitute - military - depots - , - nor - to - deposit - any - kind - of - war - material - whatsoever - with - the - exception - of - what - is - indispensable - for - the - effectives - allowed - for - ; - nor - to - establish - ther - bases - or - depots - for - the - use - of - any - kind - of - vessels - , - or - of - any - kind - of - aerial - fleet - . - 3 - . - Russia - for - her - part - undertakes - not - to - maintain - troops - in - the - region - of - Pskov - to - the - west - of - the - line - : - western - bank - of - the - mouth - of - Velikaja - , - the - villages - of - Sivtseva - , - Luhnova - , - Samulina - , - Schalki - and - Sprechtitschi - until - 1 - January - 1922 - , - which - are - indispensable - for - the - frontier - service - and - for - the - maintenance - of - order - and - for - the - effectives - provided - for - in - Annex - 2 - of - the - present - Article - . - 4 - . - The - contracting - parties - undertake - to - have - no - armed - vessels - whatsoever - on - Lakes - Peipus - and - Pihkva - . -
- -
- diff --git a/website/tagged_word_highlight.py b/website/tagged_word_highlight.py new file mode 100644 index 0000000..cf67e98 --- /dev/null +++ b/website/tagged_word_highlight.py @@ -0,0 +1,334 @@ +from __future__ import division +import glob +from nltk import * +import re + + +import nltk +import codecs +from nltk import sent_tokenize, word_tokenize, pos_tag +from nltk.probability import FreqDist +from nltk.corpus import stopwords +import base64 + + +nltk.download('stopwords') + + +# faceapp_file = open('faceapp.txt','r') +with open('faceapp.txt', 'r') as faceapp_file: + faceapp_text = faceapp_file.read() + faceapp_text_list = faceapp_text.split("\n\n") + +with open('russia-estonia.txt', 'r') as russia_file: + russia_text = russia_file.read() + russia_text_list = russia_text.split("\n\n") + + +#stopwords +default_stopwords = set(stopwords.words('english')) +custom_stopwords = set(codecs.open('stopwords.txt', 'r').read().splitlines()) +all_stopwords = default_stopwords | custom_stopwords + + +# multi-line string HTML +print(''' + + + + + + + + + + + Noun + + + + + + +''') + + + + +#wrapper +print('
') + +#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 = '

FaceApp

'.format(FaceApp_img_url) +print(FaceApp_image) + + +#info box +print('
') +infotext = [('Service', 'FaceApp'), ('Type', 'Image editing'), ('Initial release', 'December 31, 2016'), ('Type', 'Image editing'), ('source', 'link'), ('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('
{0}
{1}

'.format(title, info)) + +print('
') + + + +#ToS text +print('
') + + +# for paragraph in faceapp_text_list: +# #faceapp_text +tokenized = word_tokenize(faceapp_text) +tagged = pos_tag(tokenized) +print('

') +for word, pos in tagged: + print('{}'.format(pos, word)) +print('

') +print('
') + + + +#colonial words list +print('
colonial words:
') + +tokens_without_stopwords = nltk.FreqDist(words.lower() for words in tokenized if words.lower() not in all_stopwords) +frequency_word = FreqDist(tokens_without_stopwords) +top_words = tokens_without_stopwords.most_common(20) + + +for chosen_words, frequency in top_words: + print('
{}({})
'.format(chosen_words, frequency)) + +print('
') + + + + + +#t_wrapper (second wrapper) +print('
') + + + + + + + + +#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 = '

Peace Treaty of Tartu

'.format(img_url) +print(t_image) + + +#t_info box +print('
') +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', 'link'), ('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('
{0}
{1}

'.format(t_title, t_info)) + +print('
') + + +#ToS text +print('
') +t_tokenized = word_tokenize(russia_text) +t_tagged = pos_tag(t_tokenized) + +for t_word, t_pos in t_tagged: + print('{}'.format(t_pos, t_word)) +print('

') +print('

') + + +#treaty colonial words list +print('
colonial words:
') + +t_tokens_without_stopwords = nltk.FreqDist(words.lower() for words in t_tokenized if words.lower() not in 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('
{}({})
'.format(t_chosen_words, t_frequency)) + +print('
') + + + +print('
') +print('''''') + + diff --git a/website/test2.py b/website/test2.py deleted file mode 100644 index 82db29f..0000000 --- a/website/test2.py +++ /dev/null @@ -1,178 +0,0 @@ -from __future__ import division -import glob -from nltk import * -import re - - -import nltk -import codecs -from nltk import sent_tokenize, word_tokenize, pos_tag -from nltk.probability import FreqDist -from nltk.corpus import stopwords -nltk.download('stopwords') - - -#open the txt file, read, and tokenize -file = open('faceapp.txt','r') -text = file.read() - -#stopwords -default_stopwords = set(stopwords.words('english')) -custom_stopwords = set(codecs.open('stopwords.txt', 'r').read().splitlines()) -all_stopwords = default_stopwords | custom_stopwords - -print(''' - - - - - - -''') - - -# my stopwords are common words I don't want to count, like "a", "an", "the". - -print('
') -for sentence in sent_tokenize(text): - print('') - - tokenized = word_tokenize(sentence) - tagged = pos_tag(tokenized) - - # for HTML - for word, pos in tagged: - print('{}'.format(pos, word)) - - print('') -print('
') - -# filtering stopwords -tokens_without_stopwords = nltk.FreqDist(words.lower() for words in tokenized if words.lower() not in all_stopwords) -print(tokens_without_stopwords) - -# for read_whole_text in tokens_without_stopwords: -# whole_text_tokenized = -# print(whole_text_tokenized) - -# #filtered words in sentence -# filtered_sentence = (" ").join(tokens_without_stopwords) -# print(filtered_sentence) - -print('
colonial words:') - -frequency_word = FreqDist(tokens_without_stopwords) -top_words = tokens_without_stopwords.most_common(10) - -for chosen_words, frequency in top_words: - print('
{}({}) '.format(chosen_words, frequency)) - - -print('''
''') - - - - # for new_file in tokens_without_stopwords: - # appendFile = open('tokenized_words.txt', 'a') - # appendFile.write(" " + new_file) - # appendFile.close() - - - - - - - - - - - - - - - - - - - - - -# #shows only stopwords -# processed_word_list = [] - -# for word in tokenized: -# # print(word) -# if word not in all_stopwords: -# processed_word_list.append('*') -# else: -# processed_word_list.append(word) -# print(processed_word_list) - - - - - -# # # result putting in a graph -# top_words_plot = frequency_word.plot(10) -# print(top_words_plot) diff --git a/website/tokenized_words.txt b/website/tokenized_words.txt deleted file mode 100644 index 9cebe8d..0000000 --- a/website/tokenized_words.txt +++ /dev/null @@ -1 +0,0 @@ - 1 eligibility must least 13 years age access use services 18 years age ( legal majority live ) may access use services supervision parent guardian agrees bound agreement parent legal guardian user age 18 ( majority ) agree fully responsible acts omissions connection services accessing using services behalf another person entity represent authorized accept agreement ’ agrees responsible us violates 2 user accounts account security choose login services via third-party platform social media network need use credentials ( e.g. username password ) online must maintain security third party account promptly notify us discover suspect someone accessed without permission permit others use account credentials responsible activities users occur connection 1 eligibility must least 13 years age access use services 18 years age ( legal majority live ) may access use services supervision parent guardian agrees bound agreement parent legal guardian user age 18 ( majority ) agree fully responsible acts omissions connection services accessing using services behalf another person entity represent authorized accept agreement ’ agrees responsible us violates 2 user accounts account security choose login services via third-party platform social media network need use credentials ( e.g. username password ) online must maintain security third party account promptly notify us discover suspect someone accessed without permission permit others use account credentials responsible activities users occur connection 1 \ No newline at end of file diff --git a/website/faceapp.txt b/website/tos_file/faceapp.txt similarity index 100% rename from website/faceapp.txt rename to website/tos_file/faceapp.txt diff --git a/website/russia-estonia.txt b/website/treaty_file/russia-estonia.txt similarity index 100% rename from website/russia-estonia.txt rename to website/treaty_file/russia-estonia.txt