sentence1
stringlengths
0
100k
sentence2
stringlengths
0
100k
score
float64
0
5
nigeria admits slow response in ebola case
us ramps up response to ebola crisis
1
thousands cross austria-hungary border
thousands of russians stranded abroad
1
kranjcar leaves it late to rescue qpr against moses-inspired stoke
harry kane leaves it late to rescue a point for tottenham hotspur
0
oscar pistorius sentenced to 5 years in prison
'bookkeeper of auschwitz ' sentenced to four years in prison
0
pro-palestinian activists march to un headquarters
pro-palestinian activists prepare flotilla to break gaza blockade
2
benzema faces possible charges in sex-tape case
menendez faces possible corruption charges
1
us senate votes to advance iran nuclear review bill
us scientists praise iran nuclear deal
1
all 224 dead in russian airliner mystery crash
heat flash detected at time of russian airliner crash
2
govt. to hold talks with ftii students
cameron to hold talks with sturgeon on uk future
0
li na to announce retirement
us senator ted cruz to announce presidential bid
0
gunners fire but fail to advance in champions league
epl clubs out to avoid champions league woes
1
scientists prove there is water on mars
has nasa discovered water on mars ?
2
iranian president praises nuclear deal
iran arrests several spies near nuclear plant
1
boko haram disrupts nigerian elections
press awash with nigeria \ ' s general elections
1
south korea regrets north 's refusal of talks
south korea reports 14th mers death , 12 new cases
1
plane crash site search called off for the night
tour de france pack sets off for stage 15
0
editors from around the world urge turkey to protect media
media freedom at stake as turkey fights rebels
2
obama queries turnbull over china port deal
spanish bulls gore seven to death
0
china 's generous 1mdb bid seen reaping it big returns in malaysia
china keeps an eye on visiting tiger freed by russian president
0
hezbollah targets qaeda gathering along border with syria
belarus tightens security along the border with ukraine
0
south korea reports seven new mers cases
south korean woman in contact with mers patient dies
1
obama calls for international front against is
obama vows to save iraqis stranded on mountain
0
u.s. military says it conducts airstrikes against is in syria , iraq
observatory says russian air strikes kill 45 in syria
1
who abandoned 3 boeing planes at the airport ?
police abandon posts in lesotho , fear for lives
0
north korea to put us citizen on trial
n korea hit with new us sanctions
2
hong kong officials resume work as protests thin
hong kong student leaders mull protest retreat
2
ebola uk : nhs staff ' panicked ' after suspected ebola cases
uk says investigating 2 suspected mers cases
0
uk leader signals support for airstrikes on is in syria
why cyprus backs cameron 's push for uk air strikes in syria
1
philippines , canada pledge to further boost relations
philippines saves 100 after ferry sinks
0
israel bars palestinians from jerusalem 's old city
two-state solution between palestinians , israel pie in sky
1
how much do you know about secret service ?
lawmakers from both sides express outrage at secret service
1
n. korea agrees to talks with south
johor crowns its fifth sultan
0
iran , a large important partner for russia : novak
iran reiterates support for iraq , syria
0
taiwan 's president charters plane to pay respects to lee
poland president loses to challenger
0
two palestinians die in attacks on israelis ahead of kerry visit
palestinian official slams israel 's stone-throwing bill
0
thomas cook accused of putting costs before customers
university of florida frat accused of spitting on wounded war veterans
0
narendra modi ' photoshopped ' image of chennai floods visit goes viral
pm narendra modi speaks of non-discrimination and equality
0
un chief welcomes peaceful presidential elections in guinea
un chief condemns attack against peacekeepers in mali
1
obama struggles to soothe saudi fears as iran talks resume
myanmar struggles to finalize voter lists for sunday polls
0
pakistan executions draw international ire
pakistan protests ceasefire violations by india
0
south korea declares end to mers outbreak
north korea delegation meets with south korean officials
0
pranab stresses need to strive for peace by nations
wto : india regrets action of developed nations
0
volkswagen skids into red in wake of pollution scandal
volkswagen 's " gesture of goodwill " to diesel owners
2
two australians killed in kenya after bus crashed into river
permalink to two killed in germany train accident
0
france shuts mosque , arrests man in crackdown after attacks
security tightened at new delhi churches after attacks
2
russian plane reportedly crashes in egypt
pilot killed as us jet crashes in england
2
severe gales as storm clodagh hits britain
merkel pledges nato solidarity with latvia
0
dozens of egyptians hostages taken by libyan terrorists as revenge for airstrikes
egyptian boat crash death toll rises as more bodies found in nile
0
president heading to bahrain
president xi : china to continue help to fight ebola
0
china , india vow to further bilateral ties
china scrambles to reassure jittery stock traders
0
obama is right : africa deserves better leadership
obama waiting for midterm to name attorney general
0
putin spokesman : doping charges appear unfounded
the latest on severe weather : 1 dead in texas after tornado
0
new video shows us police officers beating mentally-ill man
new york police officer critically wounded in hatchet attack
0
vector space representation results in the loss of the order which the terms are in the document .
if a term occurs in the document , the value will be non-zero in the vector .
1
inheritance in object oriented programming is a way to form new classes using classes that have already been defined .
the peropos of inheritance in object oriented programming is to minimize the reuse of existing code without modification .
1
to explain further vector space models , basically a document is characterized by a vector .
a document is represented as a vector .
5
bayes ’ theorem was names after rev thomas bayes and is a method used in probability theory .
as an official theorem , bayes ' theorem is valid in all universal interpretations of probability .
3
if a term appears in the document then its value in the vector is non-zero .
a document is represented as a vector and each dimension corresponds to a separate term .
2
β€’ p ( a | b ) is the conditional probability of a , given b .
β€’ p ( b | a ) is the conditional probability of b given a .
3
the differing application has a direct influence on what the definition of the term means .
the way that a ' term ' is defined depends on the application .
5
thus , the " program " is the optimal plan of action that is being produced .
thus , the " program " is the optimal plan for action that is produced .
5
thus , the " program " is the optimal plan for action that is produced .
therefore , the " program " is the optimal plan for action that is produced .
5
one of the best known schemes is tf-idf weighting ( see the example below ) .
one of the best known methods is called tf-idf weighting .
4
it is " previous " in the sense that it does not take into account any information about b .
it does not take into account any information about b and therefore is considered β€œ prior ” .
3
the algebraic model for representing text documents and objects as vectors of identifiers is called the vector space model .
a possible use for a vector space model is for retrieval and filtering of information .
1
secondly to define the value of the optimal solution recursively .
generalise the structure of an optimal solution 2 .
1
there are two main approaches for dynamic programming .
there are four steps in dynamic programming : 1 .
1
p ( a ) , or the probability that the student is a girl regardless of any other information .
it is mainly used to calculate the probability of one event ’ s outcome given that a previous event happened .
1
for instance , a events schedule at an exhibition is sometimes called a program .
for instance , a finalized schedule of events at an exhibition is sometimes called a program .
4
this can be useful when the number of times a word appears is not considered important .
one of the most important uses of page rank is its meaning to advertising .
0
define value of optimal solution recursively .
characterise structure of an optimal solution .
4
it was first used in the smart information retrieval system .
it is used in information retrieval and was first used in the smart information retrieval system .
4
in vector space model , the documents from which the information is to be retrieved are represented as vectors .
the vector space model has several disadvantages .
1
a term which occurs in the document has a value in the vector of non-zero .
the order in which the terms appear in the document is lost in the vector space representation .
1
vector space representation results in the loss of the order which the terms are in the document .
in the vector space model a document is represented as a vector .
1
the easiest way to look at inheritance is as an β€œ … is a kind of ” relationship .
an example of this gain in efficiency is a path-finding problem .
0
if a term exists in a document , its value in the vector is not equal to zero .
a document is represented as a vector , with each dimension corresponding to a separate term .
2
vector space representation results in the loss of the order which the terms are in the document .
since the pagerank is the most important algorithms which is used in the google engine .
0
a document is represented as a vector , with each dimension corresponding to a separate term .
the basic idea is to represent each document as a vector of certain weighted word frequencies .
2
thus , the " program " is the optimal plan for action that is produced .
after this , it is using this to pick the best overall path .
0
a document is represented as a vector .
the vector space model are the documents which are represented as β€œ bags of words ” .
2
the value of a vector is non-zero if a term occurs in the document .
a term which occurs in the document has a value in the vector of non-zero .
4
a page that is linked to by many pages with high pagerank receives a high rank itself .
a link to a page is seen as a vote of support .
1
several different ways of computing these values , also known as ( term ) weights , have been developed .
other ways of computing these values , or weights , have been developed .
4
a document is represented as a vector , with each dimension corresponding to a separate term .
the value of a vector is non-zero if a term occurs in the document .
2
p ( b ) ( a.k.a. the normalizing constant ) is the prior or marginal probability of b .
p ( b ) is the prior or marginal probability of b , and acts as a normalizing constant .
5
the pagerank is computed iteratively , and it is found that the pagerank values converge fairly rapidly .
the pagerank depends on the pagerank rating and number of all pages that have links to it .
1
in general , we can solve a problem with optimal substructure using a three-step process : 1 .
in a word , we can solve a problem with optimal substructure using a three-step process .
5
in the vector space model a document is represented as a vector .
a possible use for a vector space model is for retrieval and filtering of information .
1
one of its uses is calculating posterior probabilities given observations .
it is usually used to calculate posterior probabilities given observations .
5
if a term appears in the document , the terms value in the vector is non-zero .
each item in the vector represents a different keyword .
1
finally , the order in which the terms appear in the document is lost in the vector space representation .
a term which occurs in the document has a value in the vector of non-zero .
1
several different ways of computing these values , also known as ( term ) weights , have been developed .
many different ways of calculating these values , also known as ( term ) weights , have been developed .
4
to derive the theorem , we begin with the definition of conditional probability .
in probability theory , the prior and conditional probabilities of two random events are related by bayes ' theorem .
2
the way that a ' term ' is defined depends on the application .
the definition of term is dependent on the application .
5
its first application was in the smart information retrieval system .
it was used in the first time in the smart information retrieval system .
5
it doesn 't take into account any information about b , so it is " prior " .
however an object cannot be cast to a class which is no relative of it .
0
following this , each web page is given a ranking of 0-10 according to its relevance to a search .
a variation of the pagerank method bases the importance of a webpage on how many visits the page gets .
1
thus , the program is the best plan for action that is produced .
thus , the " program " is the optimal plan of action that is being produced .
5
this means that inheritance is used when types have common factors and these would be put into the superclass .
they do not have to be written in a computer language .
0