diff --git a/website/amazon.html b/website/amazon.html index 026be60..0dabde2 100644 --- a/website/amazon.html +++ b/website/amazon.html @@ -40,11 +40,7 @@
-

-Conditions -of -Use -

+

Welcome to diff --git a/website/estonia.py b/website/estonia.py index fded809..ff0eabe 100644 --- a/website/estonia.py +++ b/website/estonia.py @@ -9,7 +9,7 @@ import base64 nltk.download('stopwords') -with open('treaty_file/russia-estonia.txt', 'r') as russia_file: +with open('treaty_file/hongkong.txt', 'r') as russia_file: russia_text = russia_file.read() russia_text_list = russia_text.split("\n\n") @@ -39,14 +39,14 @@ print(''' #t_wrapper (second wrapper) print('

') -img_url = base64.b64encode(open('img/tartu.jpeg', 'rb').read()).decode('utf-8') -t_image = '
Peace Treaty of Tartu

'.format(img_url) +img_url = base64.b64encode(open('img/hk.jpg', 'rb').read()).decode('utf-8') +t_image = '
Hong Kong Letters Patent 1843

'.format(img_url) print(t_image) #t_info box print('
') -t_infotext = [('Name of Treaty', 'Peace Treaty of Tartu'), ('Country of Origin', 'Russia'), ('Signed', 'February 2, 1920'), ('Location', 'Tartu, Estonia'), ('Word Counts', '2,104'), ('Type', 'bilateral peace treaty'), ('Original 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.')] +t_infotext = [('Name of Treaty', 'Hong Kong Letters Patent 1843'), ('Country of Origin', 'United Kingdom'), ('Signed', ' April, 1843'), ('Location', 'Westminster, U.K.'), ('Word Counts', '1,543'), ('Type', 'unilateral treaty'), ('Original Source', 'link'), ('Description', 'It was issued by Queen Vcitoria of the United Kingdom of Great Britain and Ireland in 1843 to established the British Colony of Hong Kong in and over Hong Kong Island.')] for t_title, t_info in t_infotext: print('
{0}
{1}

'.format(t_title, t_info)) diff --git a/website/faceapp.html b/website/faceapp.html index 1f04e53..d02d7f5 100644 --- a/website/faceapp.html +++ b/website/faceapp.html @@ -5831,9 +5831,9 @@

Frequent words
-
 services (69)
-
 agreement (60)
-
 your (43)
+
 services (69)
+
 agreement (60)
+
 your (43)
 arbitration (42)
 content (37)
 use (35)
diff --git a/website/highlight.js b/website/highlight.js index 20eba31..4846172 100644 --- a/website/highlight.js +++ b/website/highlight.js @@ -18,25 +18,23 @@ $(window).scroll(function(){ }); - - - /* hover to highlight words */ $(document).ready(function() { - /* frequent words */ - $('.chosen_words').mouseover( function(){ - var word = $(this).text().toLowerCase().slice(0,-5); - $(word).attr('class').css('background-color','blue'); + // /* on mousehover: frequent words highlight on the paragraph*/ + // $('.top_words > .chosen_words').mouseover( function(){ + // var word = $(this).text().toLowerCase().slice(0,-5); + // console.log(word) - }); + // $(word).attr('class').css('color','blue'); - $('.t_chosen_words').click( function(){ - var word = $(this).text(); - alert(word); - }); + // }); + // $('.t_chosen_words').click( function(){ + // var word = $(this).text(); + // alert(word); + // }); /* legend & pos tag highlights */ @@ -76,18 +74,33 @@ $(document).ready(function() { + + //get other iframe + var other = $(window.parent.document).find('iframe.viewer').filter( function() { + return this.contentWindow!==window; + }); + + // click to highlight words + remove words + turn off hightlight //stopwords $('.legendhide, .TO, .DT, .IN, .WDT, .WP, .MD, .PRP, .CC, .VBP, .WRB, .marks, .CD, .LS, .comma, .dot').click(function() { + if ($('.legendhide').hasClass('legendhide-clicked')) { $('.legendhide').removeClass('legendhide-clicked'); $('.TO, .DT, .IN, .WDT, .WP, .MD, .PRP, .CC, .VBP, .WRB, .marks, .CD, .LS, .comma, .dot').removeClass('hide'); + + other.contents().find('.legendhide').removeClass('legendhide-clicked'); + other.contents().find('.TO, .DT, .IN, .WDT, .WP, .MD, .PRP, .CC, .VBP, .WRB, .marks, .CD, .LS, .comma, .dot').removeClass('hide'); + } else { $('.legendhide').addClass('legendhide-clicked'); $('.TO, .DT, .IN, .WDT, .WP, .MD, .PRP, .CC, .VBP, .WRB, .marks, .CD, .LS, .comma, .dot').addClass('hide'); + + other.contents().find('.legendhide').addClass('legendhide-clicked'); + other.contents().find('.TO, .DT, .IN, .WDT, .WP, .MD, .PRP, .CC, .VBP, .WRB, .marks, .CD, .LS, .comma, .dot').addClass('hide'); } }); @@ -95,20 +108,29 @@ $(document).ready(function() { //verb $('.legendverb, .VB, .VBZ, .VBN, .VBD').click(function() { + + if ($('.legendverb').hasClass('verb')) { $('.legendverb').removeClass('verb').addClass('legendverb-clicked'); $('.VB, .VBZ, .VBN, .VBD').removeClass('verb').addClass('bg-verb'); + other.contents().find('.legendverb').removeClass('verb').addClass('legendverb-clicked'); + other.contents().find('.VB, .VBZ, .VBN, .VBD').removeClass('verb').addClass('bg-verb'); + } else if ($('.legendverb').hasClass('legendverb-clicked')) { $('.legendverb').removeClass('legendverb-clicked'); $('.VB, .VBZ, .VBN, .VBD').removeClass('bg-verb'); + other.contents().find('.legendverb').removeClass('legendverb-clicked'); + other.contents().find('.VB, .VBZ, .VBN, .VBD').removeClass('bg-verb'); + } else { $('.legendverb, .VB, .VBZ, .VBN, .VBD').addClass('verb'); + other.contents().find('.legendverb, .VB, .VBZ, .VBN, .VBD').addClass('verb'); } }); @@ -119,16 +141,24 @@ $(document).ready(function() { $('.legendadjective').removeClass('adjective').addClass('legendadjective-clicked'); $('.JJ').removeClass('adjective').addClass('bg-adjective'); + other.contents().find('.legendadjective').removeClass('adjective').addClass('legendadjective-clicked'); + other.contents().find('.JJ').removeClass('adjective').addClass('bg-adjective'); + } else if ($('.legendadjective').hasClass('legendadjective-clicked')) { $('.legendadjective').removeClass('legendadjective-clicked'); $('.JJ').removeClass('bg-adjective'); + other.contents().find('.legendadjective').removeClass('legendadjective-clicked'); + other.contents().find('.JJ').removeClass('bg-adjective'); + } else { $('.legendadjective, .JJ').addClass('adjective'); + + other.contents().find('.legendadjective, .JJ').addClass('adjective'); } }); @@ -140,16 +170,24 @@ $(document).ready(function() { $('.legendpossesivepronoun').removeClass('possesivepronoun').addClass('legendpossesivepronoun-clicked'); $('.PRPS').removeClass('possesivepronoun').addClass('bg-possesivepronoun'); + other.contents().find('.legendpossesivepronoun').removeClass('possesivepronoun').addClass('legendpossesivepronoun-clicked'); + other.contents().find('.PRPS').removeClass('possesivepronoun').addClass('bg-possesivepronoun'); + } else if ($('.legendpossesivepronoun').hasClass('legendpossesivepronoun-clicked')) { $('.legendpossesivepronoun').removeClass('legendpossesivepronoun-clicked'); $('.PRPS').removeClass('bg-possesivepronoun'); + other.contents().find('.legendpossesivepronoun').removeClass('legendpossesivepronoun-clicked'); + other.contents().find('.PRPS').removeClass('bg-possesivepronoun'); + } else { $('.legendpossesivepronoun, .PRPS').addClass('possesivepronoun'); + + other.contents().find('.legendpossesivepronoun, .PRPS').addClass('possesivepronoun'); } }); @@ -161,16 +199,24 @@ $(document).ready(function() { $('.legendnoun').removeClass('noun').addClass('legendnoun-clicked'); $('.NN, .NNS').removeClass('noun').addClass('bg-noun'); + other.contents().find('.legendnoun').removeClass('noun').addClass('legendnoun-clicked'); + other.contents().find('.NN, .NNS').removeClass('noun').addClass('bg-noun'); + } else if ($('.legendnoun').hasClass('legendnoun-clicked')) { $('.legendnoun').removeClass('legendnoun-clicked'); $('.NN, .NNS').removeClass('bg-noun'); + other.contents().find('.legendnoun').removeClass('legendnoun-clicked'); + other.contents().find('.NN, .NNS').removeClass('bg-noun'); + } else { $('.legendnoun, .NN, .NNS').addClass('noun'); + + other.contents().find('.legendnoun, .NN, .NNS').addClass('noun'); } }); @@ -182,16 +228,24 @@ $(document).ready(function() { $('.legendpropernoun').removeClass('propernoun').addClass('legendpropernoun-clicked'); $('.NNP, .NNPS').removeClass('propernoun').addClass('bg-propernoun'); + other.contents().find('.legendpropernoun').removeClass('propernoun').addClass('legendpropernoun-clicked'); + other.contents().find('.NNP, .NNPS').removeClass('propernoun').addClass('bg-propernoun'); + } else if ($('.legendpropernoun').hasClass('legendpropernoun-clicked')) { $('.legendpropernoun').removeClass('legendpropernoun-clicked'); $('.NNP, .NNPS').removeClass('bg-propernoun'); + other.contents().find('.legendpropernoun').removeClass('legendpropernoun-clicked'); + other.contents().find('.NNP, .NNPS').removeClass('bg-propernoun'); + } else { $('.legendpropernoun, .NNP, .NNPS').addClass('propernoun'); + + other.contents().find('.legendpropernoun, .NNP, .NNPS').addClass('propernoun'); } }); @@ -202,16 +256,24 @@ $(document).ready(function() { $('.legendadverb').removeClass('adverb').addClass('legendadverb-clicked'); $('.RB').removeClass('adverb').addClass('bg-adverb'); + other.contents().find('.legendadverb').removeClass('adverb').addClass('legendadverb-clicked'); + other.contents().find('.RB').removeClass('adverb').addClass('bg-adverb'); + } else if ($('.legendadverb').hasClass('legendadverb-clicked')) { $('.legendadverb').removeClass('legendadverb-clicked'); $('.RB').removeClass('bg-adverb'); + other.contents().find('.legendadverb').removeClass('legendadverb-clicked'); + other.contents().find('.RB').removeClass('bg-adverb'); + } else { $('.legendadverb, .RB').addClass('adverb'); + + other.contents().find('.legendadverb, .RB').addClass('adverb'); } }); @@ -224,16 +286,24 @@ $(document).ready(function() { $('.legendpresentparticiple').removeClass('presentparticiple').addClass('legendpresentparticiple-clicked'); $('.VBG').removeClass('presentparticiple').addClass('bg-presentparticiple'); + other.contents().find('.legendpresentparticiple').removeClass('presentparticiple').addClass('legendpresentparticiple-clicked'); + other.contents().find('.VBG').removeClass('presentparticiple').addClass('bg-presentparticiple'); + } else if ($('.legendpresentparticiple').hasClass('legendpresentparticiple-clicked')) { $('.legendpresentparticiple').removeClass('legendpresentparticiple-clicked'); $('.VBG').removeClass('bg-presentparticiple'); + other.contents().find('.legendpresentparticiple').removeClass('legendpresentparticiple-clicked'); + other.contents().find('.VBG').removeClass('bg-presentparticiple'); + } else { $('.legendpresentparticiple, .VBG').addClass('presentparticiple'); + + other.contents().find('.legendpresentparticiple, .VBG').addClass('presentparticiple'); } }); @@ -246,16 +316,24 @@ $(document).ready(function() { $('.legendadjectivesuperlative').removeClass('adjectivesuperlative').addClass('legendadjectivesuperlative-clicked'); $('.JJS').removeClass('adjectivesuperlative').addClass('bg-adjectivesuperlative'); + other.contents().find('.legendadjectivesuperlative').removeClass('adjectivesuperlative').addClass('legendadjectivesuperlative-clicked'); + other.contents().find('.JJS').removeClass('adjectivesuperlative').addClass('bg-adjectivesuperlative'); + } else if ($('.legendadjectivesuperlative').hasClass('legendadjectivesuperlative-clicked')) { $('.legendadjectivesuperlative').removeClass('legendadjectivesuperlative-clicked'); $('.JJS').removeClass('bg-adjectivesuperlative'); + other.contents().find('.legendadjectivesuperlative').removeClass('legendadjectivesuperlative-clicked'); + other.contents().find('.JJS').removeClass('bg-adjectivesuperlative'); + } else { $('.legendadjectivesuperlative, .JJS').addClass('adjectivesuperlative'); + + other.contents().find('.legendadjectivesuperlative, .JJS').addClass('adjectivesuperlative'); } }); @@ -267,16 +345,24 @@ $(document).ready(function() { $('.legendadverb-comparative-superative').removeClass('adverb-comparative-superative').addClass('legendadverb-comparative-superative-clicked'); $('.RBR, .JJR, .RBS').removeClass('adverb-comparative-superative').addClass('bg-adverb-comparative-superative'); + other.contents().find('.legendadverb-comparative-superative').removeClass('adverb-comparative-superative').addClass('legendadverb-comparative-superative-clicked'); + other.contents().find('.RBR, .JJR, .RBS').removeClass('adverb-comparative-superative').addClass('bg-adverb-comparative-superative'); + } else if ($('.legendadverb-comparative-superative').hasClass('legendadverb-comparative-superative-clicked')) { $('.legendadverb-comparative-superative').removeClass('legendadverb-comparative-superative-clicked'); $('.RBR, .JJR, .RBS').removeClass('bg-adverb-comparative-superative'); + other.contents().find('.legendadverb-comparative-superative').removeClass('legendadverb-comparative-superative-clicked'); + other.contents().find('.RBR, .JJR, .RBS').removeClass('bg-adverb-comparative-superative'); + } else { $('.legendadverb-comparative-superative, .RBR, .JJR, .RBS').addClass('adverb-comparative-superative'); + + other.contents().find('.legendadverb-comparative-superative, .RBR, .JJR, .RBS').addClass('adverb-comparative-superative'); } }); @@ -288,16 +374,24 @@ $(document).ready(function() { $('.legendcurrencysign').removeClass('currencysign').addClass('legendcurrencysign-clicked'); $('.currencysign2').removeClass('currencysign').addClass('bgcurrencysign'); + other.contents().find('.legendcurrencysign').removeClass('currencysign').addClass('legendcurrencysign-clicked'); + other.contents().find('.currencysign2').removeClass('currencysign').addClass('bgcurrencysign'); + } else if ($('.legendcurrencysign').hasClass('legendcurrencysign-clicked')) { $('.legendcurrencysign').removeClass('legendcurrencysign-clicked'); $('.currencysign2').removeClass('bgcurrencysign'); + other.contents().find('.legendcurrencysign').removeClass('legendcurrencysign-clicked'); + other.contents().find('.currencysign2').removeClass('bgcurrencysign'); + } else { $('.legendcurrencysign, .currencysign2').addClass('currencysign'); + + other.contents().find('.legendcurrencysign, .currencysign2').addClass('currencysign'); } }); diff --git a/website/hk.py b/website/hk.py new file mode 100644 index 0000000..ff0eabe --- /dev/null +++ b/website/hk.py @@ -0,0 +1,106 @@ +# 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') + +with open('treaty_file/hongkong.txt', 'r') as russia_file: + russia_text = russia_file.read() + russia_text_list = russia_text.split("\n\n") + +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 + + + +print(''' + + + + + + + + + + + + + +''') + + +#t_wrapper (second wrapper) +print('
') + +img_url = base64.b64encode(open('img/hk.jpg', 'rb').read()).decode('utf-8') +t_image = '
Hong Kong Letters Patent 1843

'.format(img_url) +print(t_image) + + +#t_info box +print('
') +t_infotext = [('Name of Treaty', 'Hong Kong Letters Patent 1843'), ('Country of Origin', 'United Kingdom'), ('Signed', ' April, 1843'), ('Location', 'Westminster, U.K.'), ('Word Counts', '1,543'), ('Type', 'unilateral treaty'), ('Original Source', 'link'), ('Description', 'It was issued by Queen Vcitoria of the United Kingdom of Great Britain and Ireland in 1843 to established the British Colony of Hong Kong in and over Hong Kong Island.')] + +for t_title, t_info in t_infotext: + print('
{0}
{1}

'.format(t_title, t_info)) + +print('
') + +print(''' +
+
  • stopwords
  • +
  • adjective
  • +
  • verb
  • +
  • noun
  • +
  • proper noun
  • +
  • adverb
  • +
  • possesive pronoun
  • +
  • present participle
  • +
  • adjective superlative
  • +
  • adverb comparative + superative
  • +
    +''') + + + +#Treaty text +print('
    ') +t_tokenized_all = [] +for t_paragraph in russia_text_list: + t_tokenized = word_tokenize(t_paragraph) + t_tokenized_all += t_tokenized # add to the tokenized_all + t_tagged = pos_tag(t_tokenized) + print('

    ') + for t_word, t_pos in t_tagged: + print('{2}'.format(t_pos.replace('PRP$', 'PRPS').replace('.', 'dot').replace(',', 'comma').replace('(', 'marks').replace(')', 'marks').replace(':', 'marks').replace(';', 'marks'), t_word.replace('’', 'apostrophe').replace('.', 'dot').replace(',', 'comma').replace('(', 'marks').replace(')', 'marks').replace(':', 'marks').replace(';', 'marks').lower(), t_word)) + print('

    ') + +print('
    ') + + +#treaty colonial top words list +print('
    Frequent words
    ') + +t_tokens_without_stopwords = nltk.FreqDist(words.lower() for words in t_tokenized_all if words.lower() not in t_custom_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('
    ') + + +# at the end of wrapper +print('
    ') + + +print('
    ') +print('''''') diff --git a/website/hong-kong-letters-patent-1843.html b/website/hong-kong-letters-patent-1843.html index a2549f5..511a064 100644 --- a/website/hong-kong-letters-patent-1843.html +++ b/website/hong-kong-letters-patent-1843.html @@ -5,6 +5,7 @@ + @@ -13,2226 +14,1874 @@
    -
    hong-kong-letters-patent-1843

    +
    Hong Kong Letters Patent 1843

    -
    -
    Name of Treaty
    -
    Peace Treaty of Tartu
    -
    -
    -
    Country of Origin
    Russia

    -
    Signed
    February 2, 1920

    -
    Location
    Tartu, Estonia

    -
    Word Counts
    2,104


    -
    Type
    bilateral peace treaty

    -
    Original Source

    -
    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.

    +
    Name of Treaty
    Hong Kong Letters Patent 1843

    +
    Country of Origin
    United Kingdom

    +
    Signed
    April, 1843

    +
    Location
    Westminster, U.K.

    +
    Word Counts
    1,543

    +
    Type
    unilateral treaty

    +
    Original Source

    +
    Description
    It was issued by Queen Vcitoria of the United Kingdom of Great Britain and Ireland in 1843 to established the British Colony of Hong Kong in and over Hong Kong Island.

    -
  • verb
  • -
  • noun
  • -
  • adjective
  • -
  • adverb
  • -
  • possesive pronoun
  • -
  • present participle
  • -
  • adjective superlative
  • -
  • adverb comparative + superative
  • -
  • proper noun
  • -
  • stopwords
  • +
  • stopwords
  • +
  • adjective
  • +
  • verb
  • +
  • noun
  • +
  • proper noun
  • +
  • adverb
  • +
  • possesive pronoun
  • +
  • present participle
  • +
  • adjective superlative
  • +
  • adverb comparative + superative
  • -Article 1 -

    -

    -The -state -of -war -between -the -Contracting -Parties -will -end -on -the -day -on -which +. +Victoria +, +by the -present -Treaty +GRACE of -Peace -comes -into -force -. -

    -

    -Article -2 -

    -

    -In -consequence +God +, of the -right +United +Kingdom of -all -peoples -to -self-determination +Great +Britain +and +Ireland , -to -the -point +Queen +, +Defender of -seceding -completely -from the -State +Faith +, +—To +all +to +whom +these +Presents +shall +come + +GREETING +: +KNOW +YE + +that +We +, of -which -they -form -part +our +Special +Grace +, +certain +knowledge , -a -right -proclaimed -by -the -Socialist and -Federal -Russian -Republic -of -the -Soviets +mere +motion , -Russia -unreservedly -recognises -the -independence +have +thought +fit +to +erect and -sovereignty -of -the -State +do +hereby +erect +our +Island of -Estonia +Hong +Kong +and +its +Dependencies +, +situate +between +twenty +two +degrees +nine +minutes , and -renounces -voluntarily +twenty-two +degrees +twenty-one +minutes +North +Latitude +, and -for -ever -all -sovereign -rights -possessed -by -Russia -over the -Estonian -people -and -territory -whether -these -rights -be -based -on +one +hundred +and +fourteenth +degree +eighteen +minutes +East +Longtitude +from the -juridical -position -that -formerly -existed -in -public -law +Meridian +of +Greenwich , -or -in -the -international -treaties -which +into +a +Colony , -in +and the -sense -here -indicated +said +Island +and +its +Dependencies +is +hereby +erected +into +a +separate +Colony +accordingly , -lose -their -validity -in -future -. -From -the -fact -that -Estonia -has -belonged to -Russia -, -no -obligation -whatsoever -will -fall -on -the -Estonian -people +be +known and -land -to -Russia +designated +at + +the +Colony +of +Hong +Kong + .

    -Article -3 -

    -

    -1 +2 . -The -frontier -between -Esthonia +AND +WE +DO +hereby +further +grant +, +appoint +, and -Russia -follows -the -following -line -: -

    -

    -Starting -from -the -Bay -of -Narva +ordain , -one -verst -south -of +that the -Fishers - -House -, -it -turns -toward -Ropscha +Governor , -then -follows +for the -course +time +being +, of the -Rivers -Mertvitskaja -and -Rosson +said +Colony , -as -far +and +such +other +Persons as -the -village -of -Ilkino +are +hereinafter +designated , -from -Ilkino -one -verst -west -of -the -village -Keikino +shall +constitute , -half +and +be a -verst -west -of +Legislative +Council +for the -village -of -Isvosi +said +Colony +: +And +We +do +hereby +direct and -turns -towards +appoint +, +that +in +addition +to +the +said +Governor +, the -village +said +Legislative +Council +shall +be +composed of -Kobõljaki -; -it -then -crosses +such +Public +Officers +within the -mouth +said +Colony +, +or of +such +other +Persons +within the -river -Schtschutschka +same +, +as +shall +from +time +to +time +be +named +or +designated +for +that +purpose , -passes by -Krivaja -Luka +Us , by -the -estate +any +Instruction of -Petschurki +Instructions +, +or +Warrant +, +or +Warrants , to +be +by +Us +for +that +purpose +issued +under +Our +Signet +and +Sign +Manual +, +and +with the -confluence -of -three -sources +advice of +Our +Privy +Councillor +, +shall +hold +their +places +in the -river -Vtroja +said +Council +, +at +our +pleasure +. +

    +

    +3 +. +And +we +do +hereby +grant +and +ordain , -follows +that the -southern -boundary -of +Governor +for the -village +time +being +, of -Kuritschek -with -its -dependences +the +said +Colony , -then -turns -in -a -straight -line -as -far -as +with the -centre -line +advice of the -Lake -Peipus -, -follows -it -in -a -southern -direction +said +Legislative +Council , +shall +have +full +power and -thus -passes -one -verst +authority to -the -east -of -Piirisaar -( -Pork -) -; -follows -the -narrow -strip -of -the -lake -dividing -it -along -the -middle -as -far +make +and +enact +all +such +laws +and +Ordinances as +may +from +time +to +time +be +required +for the -island -of -Salu +Peace +, +Order , -thence -passes -through -Lake -Pihkva -( -Pskov -) -between -the -Islands -of -Talabski and +good +Government +of the -Island +said +Colony of -Kamonka +Hong-Kong +: +And +that , -then -to -the -east -of -the -village -of -Poddubje -( -on -the -southern -bank -of -Lake -Pihkva -) +in +making +all +such +laws and -to +Ordinances +, the -outlook -post -on +said +Governor +shall +exercise +all +such +powers +and +authorities +; +and +that the -railway -situated -near +said +Legislative +Council +shall +conform to -Grjardischtsche , -then -passes -successively -to -the -west -of -the -Village -of -Schahintsõi +and +observe +all +such +rules +and +regulations +as +We , -to +with the -east +advice of -Novaja +Our +Privy +Council , -across -the -Lake -Poganova +shall +from +time +to +time , -between -the -villages -of -Babina +make +for +his and -Vomorski +their +guidance +therein +: +Provided +, +nevertheless , -to -one -verst and -a -half +We +do +hereby +reserve to -the -south -of -the -Forestry -keeper - -s -house -( -which -is -situated +Ourselves +, +our +Heirs +and +Successors +, +our +and +their +right +and +authority to +disallow +any +such +Ordinances +in the -north -of -Glybotschina -) +whole +or +in +part +, +and to -Sprechtitschi +make and +establish +from +time to +time +, +with the -Farm -Kudepi -. -

    -

    -Note -1 -. -The -Frontier -described -in -this -Article -is -shown -in -red -on -the -map +advice +and +consent +of +Parliament , -scale +or +with +the +advice of -three -versts +our +or +their +Privy +Council +, +all +such +Laws +as +may to -the -inch -( -0.0254 -metre -) +Us , -which -constitutes -the -first -Annex to -Article -3 -. -In -case -of -difference -between +them +, +appear +necessary +, +for the -text +Order +, +Peace +, and -the -map +good +Government +of +our +said +Island +and +its +Dependencies , -it -is -to -the -text -that -one -must -adhere +as +full +as +if +these +Presents +had +not +been +made .

    -Note -2 +4 . -The -tracing -of -the -boundary -between -the -two -contracting -countries +And +, +whereas +, +it +is +expedient +, +that +an +Executive +Council +should +be +appointed +to +advise and +assist the -placing -in -position +Governor of +our +said +Colony +of +Hong-Kong +, +for the -frontier -signs -will -be -carried -out -under +time +being +, +in the -direction -of -a -special -mixed -commission -composed +administration of -an -equal -number -of -members -from -both -parties -. -In -marking the -boundary -line -this -mixed -commission -will -decide +Government +thereof + +We +do +therefore +, +by +these +, +our +Letters +Patent +, +authorizing the -allocation +Governor of -inhabited -areas -on +said +Colony +, +for the -frontier +time +being +, to -one -or -other -of -the -parties -according +summon +as +an +Executive +Council +, +such +Persons +as +may +from +time to -ethnographical -indications -and -bearing +time +be +named +or +designated +by +Us +, in -mind -economic -agreements +any +Instructions +under +Our +Signet and -agricultural -consideration +Sign +Manual +, +addressed +to +him +in +that +behalf .

    -2 +5 . -The -portion -of +And +We +, +do +hereby +authorize +and +empower the -territory +Governor of -Esthonia -to -the -east +Our +said +Colony of -the -Narova +Hong +Kong , +for the -River -Narova -itself +time +being , +to +keep and +use the -islands -in +Public +Seal +appointed +for the -midst +Sealing of +all +things +whatsoever +that +shall +pass the -stream -, -as -well -as -the -zone +Seal +of +our +said +Colony +. +

    +

    +6 +. +And +we +do +hereby +give +and +grant to the -south +Governor of -Lake -Pihkva +our +said +Colony +of +Hong-Kong , -which -is -situated -between +for the -boundary -above -mentioned +time +being +, +full +power and -the -line -of -villages +authority +in +our +name +and +on +our +behalf +, +but +subject , -Borok-Smolni-Belkova-Sprechtitschi +nevertheless , -will +to +such +provisions +as +may be , +in +that +respect +contained +in +any +instructions +which +may from -a -military -point -of -view +time +to +time +be +addressed +to +him +by +Us +, +for +that +purpose , -considered -as -neutral -until -1 -January -1922 -. -

    -

    -Esthonia -undertakes to -maintain -no -troops -of -any -kind +make +and +execute in -the -neutralized -zones -other -than -those -which -are -necessary -for -the -frontier -service +our +name +, and +on +our +behalf +, +under the -maintenance +Public +Seal of -order +our +said +Colony , -and +Grants of -which -the -strength -is -laid -down -in -Annex -2 -of -the -present -Article -; -not +Land to -construct -fortifications -or -observation -posts +us +belonging +within +the +same , -nor to -constitute -military -depots +Private +Persons +for +their +own +use +and +benefit , -nor +or 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 +Persons +, +Bodies +Politic or -depots +Corporate +, +in +trust for the -use -of -any -kind +Public +uses of -vessels +our +Subjects +there +resident , or of any -kind of -aerial -fleet +them .

    -3 +7 . -Russia +And +We +do +hereby +authorize +and +empower +the +Governor +of +our +said +Colony +of +Hong +Kong +, for -her -part -undertakes -not +the +time +being +, to -maintain -troops +constitute +and +appoint +Judges +, +and in -the -region +cases +requisite +, +Commissioners of -Pskov -to -the -west +Oyer +and +Terminer +, +Justices of the -line -: -western -bank -of +Peace +, +and +other +necessary +Officers +and +Ministers +in +our +said +Colony +, +for the -mouth +due +and +impartial +administration of -Velikaja +justice , +and +for +putting the -villages -of -Sivtseva +Laws +into +execution , -Luhnova +and +to +administer , -Samulina +or +cause +to +be +administered +unto +them , -Schalki -and -Sprechtitschi -until -1 -January -1922 +such +Oath , -which +or +Oaths +as are -indispensable +usually +given for the -frontier -service +due +execution and -for -the -maintenance +performance of -order +officers +and +places +, and for the -effectives -provided -for -in -Annex -2 +clearing of -the -present -Article +truth +in +judicial +matters .

    -4 +8 . -The -contracting -parties -undertake -to -have -no -armed -vessels -whatsoever -on -Lakes -Peipus +And +we +do +hereby +give and -Pihkva -. -

    -

    -Article -4 -

    -

    -During -one -year -from +grant +unto the -day +Governor of -ratification +our +said +Colony of +Hong-Kong +, +for the -present -Treaty +time +being +, +full +power +and +authority +, +as +he +shall +see +occasion , -persons -of -non-Estonian -origin -living in -Estonia +our +name , and -over -eighteen -years -of -age +on +our +behalf , -have -the -right to -opt -for -Russian -nationality -; -women +remit +any +fines , -and -children +penalties , -less -than -eighteen -years -of -age +or +forfeitures +which +may +accrue , -take -the -nationality -of -the -husband or +become +payable +to +us +, +provided the -father +same +do +not +exceed +Fifty +Pounds +Sterling , -unless -there -exists -between -man -and -wife +in any -contrary -agreement -. -The -people -who -have -opted -for -Russian -nationality -must -, -within -a -year -from -the -date -of -their -choice +one +case , -leave -Estonian -territory -; -but -they -maintain -their -rights -over -the -property and -can -take -with -them -their -movable -property -. -In +to +respite +and +suspend the -same -way -persons +payment of -Estonian -origin -living -in -Russia -can -opt -for -Estonian -nationality -within +any +such +Fine +, +Penalty +or +Forfeiture +, +exceeding the -same -length +said +sum of -time +Fifty +Pounds +, +until +our +pleasure +thereon +shall +be +made +known and -under -the -same -conditions -. -

    -

    -Each -of -the -contracting -Governments -reserves -the -right -to -refuse -acceptance +signified to -its -citizenship -of such -persons +Governor .

    -Note +9 . -In -case +And +we +do +hereby +give +and +grant +unto +the +Governor of -doubt -about -tho -origin +our +said +Colony of -persons -, -all -those -who -could -have -been -personally -registered -or -whose -parents -would -have -been -registered -in -a -rural -or -urban -community +Hong +Kong , -or -in -a - -class - -on +for the -territory -now -composing -the -State -of -Estonia +time +being +, +full +power +and +authority , -shall -be -considered as -Estonians -. -

    -

    -Article -5 -

    -

    -In -case -the -perpetual -neutrality -of -Estonia -should -be -internationally -recognised +he +shall +see +occasion , -Russia -undertakes -to -respect -this -neutrality -and -to -take -part in -guaranteeing -it -. -

    -

    -Article -6 -

    -

    -Should -the -Gulf -of -Finland -be -neutralised -, -the -two -contracting -Parties -undertake -to -accede -to -this -neutralisation +our +name , +and on -conditions -determined -by -common -agreement -by -all -the -States -concerned +our +behalf , -and -established -by -the -international -acts -relating -thereto -; -should -the -international -convention -referred to -be -concluded -, -they -also -undertake +grant to -put -their -naval -forces +any +offender +convicted +of +any +crime +, +in +any +Court , or -part -thereof +before +any +Judge , -into +Justice +or +Magistrate +within +our +said +Colony +, +a +free +and +unconditional +pardon +, +or +a +pardon +subject +to such conditions +, as -this -international -convention -may -require -. -

    -

    -Article -7 -

    -

    -The -two -Contracting -Parties -undertake -: -

    -

    -1 -. -To -prohibit -the -presence -in -their -territory -of +by any -troops -with -the -exception -of -those -of -their -own -Government +Law or -of -friendly -States -with -whom -one -of -the -Contracting -Parties +Ordinance +hereafter +to +be +in +force +in +our +said +Colony +, may -have -concluded -a -military -convention +be +there +unto +annexed , -but -which -are -not -de -facto -in -a -state -of -war -with -one +or +any +respite of the -Contracting -Parties -, -and -also -to -prohibit -within -the -limits +execution of -their -territory -, the -recruiting -and -mobilisation +sentence of -particular -corps -by -States -, -organisations -and -groups +any +such +offender , -intended for -armed -conflict -against -the -other -Contracting -Parties +such +period +as +to +such +Governor +may +seem +fit .

    -2 +10 . -To -disarm -those -military +And +we +do +hereby +give and -naval -forces -within -their -territory -which -did -not -belong -to -one -of +grant +unto the -Contracting -Parties -on -the -first +Governor of -October -, -One -thousand -nine -hundred -and -nineteen -; -to -neutralise -and -immobilise -, -until -the -first +our +said +Colony of -January +Hong +Kong , -One -thousand -nine -hundred -and -twenty-two -, -all -property -, -artillery -and -commissariat -material -( -exclusive -of -food -and -clothing -) +for +the +time +being , -engineering +full +power and -aviational -material -, -i. -e. -, -guns +authority , -machine -guns -, -rifles -, -side-arms -, -munitions -, -aeroplanes -, -armoured -vehicles -, -tanks -, -armoured -trains -, -etc. -, -belonging +upon +sufficient +cause to -the -military -and -naval -forces -referred +him +appearing +, to -with +suspend +from the -exception +exercise of -such -technical -and -war -material -as -was -handed -over -to -these -forces +his +Office , -but +within +our +said +Colony +, +any +person +exercising +any +office +or +Warrant +granted +, +or which -belongs -to -the -Contracting -Parties +may +be +granted +by +us +, or -to -other -States +in +our +name , -any -portion -of -this -material +or +under +our +authority which -belongs -to -other -States +suspension shall -be -returned -within -six -months -from -the -date -of -the -ratification -of -this -Treaty -. -The -disarmament -of -the -above-mentioned -irregular -military +continue and -naval -forces +have +effect , -and -the -immobilisation -and -neutralisation -of -their -military -stocks -and -of -all -their -technical -and -war -material -must +only +until +our +pleasure +therein +shall be -completed +made +known +and +signified +to +such +Governor : -the -first -30 -per -cent -. -of -men +And +we +do +hereby +strictly +require and -material -within +enjoin the -first -seven -days -after -the -ratification +Governor of -the -present -Treaty +our +said +Colony of -Peace +Hong +Kong , -and -the -remainder -within -the -two -following -weeks -at -the -rate -of -thirty-five -per -cent -per -week -. -

    -

    -3 -. -To -prohibit -the -soldiers -and -officers -of +for the -irregular -troops -who -are -subject +time +being +, +in +proceeding to -disarmament -under -the -conditions -laid -down -by +any +such +suspension +, +to +observe the -prececing -Point -( -2 -) -from -joining +directions in -any -capacity -whatsoever +that +behalf , -as -volunteers +given +to +him +by +our +instructions , -the -ranks +under +our +Signet +and +Sign +Manual +, +accompanying +his +Commission of -the -Government -troops +appointment +as +Governor of the -Contracting -Parties -, -with -the -exception -of -: +said +Colony +.

    -( -a -) -Persons -of -Estonian -nationality -who -reside -outside -Estonia +11 +. +And , -but -who -have -opted -for -that -country -; -( -b -) -Persons -not -of -Estonian -nationality -who -resided in -Estonia -before the -first +event +of +the +death +or +absence +out of -May +our +said +Colony +of +Hong-Kong , -One -thousand -nine -hundred +of +such +person +as +may +be +commissioned and -nineteen +appointed +by +us , -and -who -have -not -opted to -Russia -; -( -c -) -Persons -not -of -Estonian -nationality -who -have -not -opted -for -Russia -and -who -served -in -the -Estonian -army -before +be the -twenty-seventh -of -November -, -One -thousand -nine -hundred +Governor +thereof +We +do +hereby +provide and -nineteen -. -Persons -belonging +declare +our +pleasure to -the -classes -mentioned -in -sub-divisions -( -a -) +be , -( -b -) +that +all , and -( -c -) +every , -may -serve -with the -armies -of +powers +and +authorities +herein +granted +to the -Estonian -Government -. -

    -

    -4 -. -( -a -) -To -prohibit -any -State -, -which -is -de -facto -in -a -state +Governor of -war -with -one +our +said +Colony of -the -Contracting -Parties -, -and -any -organisations -or -groups -intended -for -an -armed -conflict -with -one -of -the -Contracting -Parties -, -for -transporting -through -their -ports -or -their -territories -anything -which -might -be -used -for -attacking -the -other -Contracting -Party -, -particularly -armed -forces -belonging -to -these -States -, -organisations -or -groups +Hong +Kong , -and -any -article -and -war -material -used for -artillery -, -commissariat -, -engineering +the +time +being , -aviation +shall +be , -etc. +and +the +same +are , -which +hereby +vested +in +such +person +as may -belong -to -these -military -formations -. -

    -

    -4 -. -( -b -) -To -prohibit +be +appointed +by +us , -exclusive -of -cases -provided -for by -international -law +Warrant , -the -launching +under +our +Signet and -navigation -in -their -territorial -waters -of -any -warships -, -gun-boats +Sign +Manual , -mine-layers -, -etc. -, -belonging -either -to -organisations -or -groups -which -are -intended to -fight -against +be the -other -Contracting -Party +Lieutenant-Governor +of +our +said +Colony +; or -to -States -which -are +, in -a -state +the +event of -war -with -this -party +there +being +no +Person +upon +the +place , -if -those -ships -are -intended +Commissioned +and +appointed +by +use to -attack -it +be +Lieutenant-Governor +thereof , -and -if -this -intention +then +our +pleasure is -known -to -the -Contracting -Party -to -whose -territory +, +and +we +do +hereby +provide +and +declare +, +that +in +any +such +contingency +, +all the -ports +powers and -territorial -waters -so -used -belong -. -

    -

    -5 -. -Not +authorities +herein +granted to -authorise the -formation +Governor +, or -presence -in -their -territory +Lieutenant-Governor of -any -organisation -or -groups -whatsoever +our +said +Colony +shall +be +, +and +the +same +are +hereby +granted , -which -claim to -govern the -whole -or -part +Colonial +Secretary of -the -territory +our +said +Colony of +Hong +Kong +, +for the -other -Contracting -Party +time +being +, +and +such +Lieutenant-Governor , or +such +Colonial +Secretary +, +as the -presence -of -representatives -or -officials -of -organisations +case +may +be +, +shall +execute +all +, and -groups +every , -whose -object -it -is -to -overthrow the -Government -of -the -other -party -to -the -Treaty +powers +and +authorities +herein +granted +, +until +our +further +pleasure +shall +be +signified +therein .

    -6 +12 . -The -Governments -of -the -two -Contracting -Parties -undertake +And +we +do +hereby +require +and +command +all +our +Officers +and +Ministers , -upon -exchanging -the -ratification -of -this -Treaty -of -Peace -to -furnish -each +Civil +and +Military +, +and +all other -with -precise -information -regarding +, the -strength +Inhabitants of -the -non-Governmental -and -also +our +said +Colony of -military -stocks -( -stationary -or -mobile -) +Hong-Kong , +to +be +obedient +in +aiding and -of -the -military +assisting +to +such +person +as +may +be +Commissioned and -technical -material -belonging +appointed +by +us to -those -irregular -forces +be +Governor +of +Hong-Kong , -which -were -on -their -territory -at -the -time -when +or +, +in the -Armistice -was -concluded +event +of +his +death +or +absence , -that -is to -say +such +person +as +may , -on +under the -thirty-first +provision of -December +these , -One -thousand -nine -hundred +our +Letters +Patent +, +assume and -nineteen +exercise +the +functions +of +such +Governor .

    -7 +13 . -In -order +And +we +do +hereby +reserve to -superintend -the -carrying -out -of -the -military -guarantees -conceded +us +, +our +heirs +and +successors +, +full +power +and +authority +from +time to -each -other -by -the -Contracting -Parties +time , -a -mixed -commission -is to -be -established -whose -composition +revoke , -rights -and -obligations +alter +, +or +amend +, +these +our +Letters +Patent +, +as +to +us +or +them shall -be -determined -by - -Instructions - -which -are -annxed +seem +meet +: +

    +

    +IN +WITNESS +WHEREOF +, +we +have +caused +these +, +our +Letters +, to +be +made +Patent +. +

    +

    +WITNESS +Ourself +, +at +Westminster +, +the +Fifth +day +of +April +, +in the -present -Article +Sixth +year +of +our +Reign +. +

    +

    +BY +THE +QUEEN +HERSELF +

    +

    +EDMUNDS .

    Frequent words
    -
     contracting (20)
    -
     parties (16)
    -
     territory (11)
    -
     military (11)
    -
     russia (10)
    -
     material (9)
    -
     state (8)
    -
     war (8)
    -
     between (8)
    -
     persons (8)
    -
     village (7)
    -
     nationality (7)
    -
     states (7)
    -
     forces (7)
    -
     present (6)
    -
     treaty (6)
    -
     frontier (6)
    -
     line (6)
    -
     lake (6)
    -
     first (6)
    +
     said (36)
    +
     colony (30)
    +
     time (27)
    +
     governor (22)
    +
     shall (20)
    +
     we (19)
    +
     hereby (19)
    +
     being (14)
    +
     may (14)
    +
     us (13)
    +
     hong (9)
    +
     kong (9)
    +
     council (9)
    +
     authority (8)
    +
     grant (7)
    +
     under (7)
    +
     full (7)
    +
     hong-kong (7)
    +
     pleasure (6)
    +
     power (6)
    diff --git a/website/hovering.js b/website/hovering.js deleted file mode 100644 index 9a0834d..0000000 --- a/website/hovering.js +++ /dev/null @@ -1,48 +0,0 @@ -hovering - - -#1 - $(document).on('mouseover','.NN, .NNS', function() { - $('.NN, .NNS').css('background-color', 'grey'); - }).on('mouseout','.NN, .NNS', function() { - $('.NN, .NNS').css('background-color', 'white'); - }); - - $(document).on('click', '.NN, .NNS', function() { - $('.NN, .NNS').css('background-color', 'blue'); - }).on('mouseout','.NN, .NNS', function() { - $('.NN, .NNS').css('background-color', 'blue'); - }); - - - - - - -#2 - - $('.NN, .NNS').mouseover(function() { - $('.NN, .NNS').css('background-color', "grey"); - }); - - $('.NN, .NNS').mouseout(function() { - $('.NN, .NNS').css('background-color', "white"); - }); - - $('.NN, .NNS').click( - function() { - $('.NN, .NNS').toggleClass('noun'); - }); - - - $(document).on('mouseenter','.NN, .NNS', function() { - $('.NN, .NNS').css('background-color', 'grey'); - }).on('mouseout','.NN, .NNS', function() { - $('.NN, .NNS').css('background-color', 'white'); - }); - - $(document).on('click', '.NN, .NNS', function() { - $('.NN, .NNS').css('background-color', 'blue'); - }).on('mouseout','.NN, .NNS', function() { - $('.NN, .NNS').css('background-color', 'blue'); - }); diff --git a/website/img/hk.jpg b/website/img/hk.jpg new file mode 100644 index 0000000..8ee1556 Binary files /dev/null and b/website/img/hk.jpg differ diff --git a/website/img/japankorea.jpg b/website/img/japankorea.jpg new file mode 100644 index 0000000..13d73f0 Binary files /dev/null and b/website/img/japankorea.jpg differ diff --git a/website/img/uk-korea.png b/website/img/uk-korea.png new file mode 100644 index 0000000..819bca0 Binary files /dev/null and b/website/img/uk-korea.png differ diff --git a/website/index.html b/website/index.html index f96de4e..b41d234 100644 --- a/website/index.html +++ b/website/index.html @@ -5,13 +5,13 @@ - + - Have you read your contract? + Parallel Colonialism — Reading between the lines of colonial and contemporary terms