Skip to content

Instantly share code, notes, and snippets.

@zsrinivas
Created August 1, 2016 22:38
Show Gist options
  • Save zsrinivas/c174dd8d1769b6d86824c4bbbdfc6bb5 to your computer and use it in GitHub Desktop.
Save zsrinivas/c174dd8d1769b6d86824c4bbbdfc6bb5 to your computer and use it in GitHub Desktop.
term term_frequency (tf) inverse_document_frequency (idf) weight (tf * idf)
subdocument_0 ----- ----- -----
CRIMINAL 1 3.258096538021482 3.258096538021482
Criminal 1 3.258096538021482 3.258096538021482
JURISDICTION 1 3.258096538021482 3.258096538021482
APPELLATE 1 3.258096538021482 3.258096538021482
No 1 2.159484249353372 2.159484249353372
Appeal 1 2.159484249353372 2.159484249353372
subdocument_1 ----- ----- -----
of 1 0.6931471805599453 0.6931471805599453
subdocument_2 ----- ----- -----
High 1 3.258096538021482 3.258096538021482
from 1 3.258096538021482 3.258096538021482
January 1 3.258096538021482 3.258096538021482
Mics 1 3.258096538021482 3.258096538021482
Leave 1 3.258096538021482 3.258096538021482
dated 1 3.258096538021482 3.258096538021482
Judgment 1 3.258096538021482 3.258096538021482
Special 1 3.258096538021482 3.258096538021482
Order 1 2.5649493574615367 2.5649493574615367
Delhi 1 2.159484249353372 2.159484249353372
Appeal 1 2.159484249353372 2.159484249353372
Court 1 1.8718021769015913 1.8718021769015913
by 1 1.6486586255873816 1.6486586255873816
in 1 1.466337068793427 1.466337068793427
and 1 1.1786549963416462 1.1786549963416462
the 2 0.550046336919272 1.100092673838544
of 1 0.6931471805599453 0.6931471805599453
subdocument_3 ----- ----- -----
Main 1 3.258096538021482 3.258096538021482
No 1 2.159484249353372 2.159484249353372
subdocument_4 ----- ----- -----
of 1 0.6931471805599453 0.6931471805599453
subdocument_5 ----- ----- -----
subdocument_6 ----- ----- -----
Malhotra 1 3.258096538021482 3.258096538021482
Bisaria 1 3.258096538021482 3.258096538021482
Tarkunde 1 3.258096538021482 3.258096538021482
Navin 1 3.258096538021482 3.258096538021482
Anand 1 3.258096538021482 3.258096538021482
for 1 1.3121863889661687 1.3121863889661687
and 1 1.1786549963416462 1.1786549963416462
appellant 1 1.0608719606852626 1.0608719606852626
the 1 0.550046336919272 0.550046336919272
subdocument_7 ----- ----- -----
Bhartari 1 3.258096538021482 3.258096538021482
Respondent 1 3.258096538021482 3.258096538021482
Punchhi 1 3.258096538021482 3.258096538021482
for 1 1.3121863889661687 1.3121863889661687
and 1 1.1786549963416462 1.1786549963416462
the 1 0.550046336919272 0.550046336919272
subdocument_8 ----- ----- -----
KRISHNA 1 3.258096538021482 3.258096538021482
counsel 1 3.258096538021482 3.258096538021482
delivered 1 3.258096538021482 3.258096538021482
sides 1 3.258096538021482 3.258096538021482
both 1 3.258096538021482 3.258096538021482
heard 1 3.258096538021482 3.258096538021482
was 1 3.258096538021482 3.258096538021482
IYER 1 3.258096538021482 3.258096538021482
Order 1 2.5649493574615367 2.5649493574615367
have 1 2.159484249353372 2.159484249353372
Court 1 1.8718021769015913 1.8718021769015913
The 1 1.8718021769015913 1.8718021769015913
on 1 1.8718021769015913 1.8718021769015913
by 1 1.6486586255873816 1.6486586255873816
of 1 0.6931471805599453 0.6931471805599453
the 1 0.550046336919272 0.550046336919272
subdocument_9 ----- ----- -----
this 2 2.159484249353372 4.318968498706744
bail 2 1.8718021769015913 3.7436043538031827
on 2 1.8718021769015913 3.7436043538031827
bearing 1 3.258096538021482 3.258096538021482
already 1 3.258096538021482 3.258096538021482
explained 1 3.258096538021482 3.258096538021482
principles 1 3.258096538021482 3.258096538021482
are 1 3.258096538021482 3.258096538021482
facts 1 3.258096538021482 3.258096538021482
Singh 1 3.258096538021482 3.258096538021482
grant 1 3.258096538021482 3.258096538021482
granted 1 3.258096538021482 3.258096538021482
Ors 1 3.258096538021482 3.258096538021482
should 1 3.258096538021482 3.258096538021482
refusal 1 3.258096538021482 3.258096538021482
satisfied 1 3.258096538021482 3.258096538021482
Gurcharan 1 3.258096538021482 3.258096538021482
now 1 3.258096538021482 3.258096538021482
us 1 3.258096538021482 3.258096538021482
placed 1 3.258096538021482 3.258096538021482
or 1 3.258096538021482 3.258096538021482
before 1 2.5649493574615367 2.5649493574615367
been 1 2.5649493574615367 2.5649493574615367
where 1 2.5649493574615367 2.5649493574615367
have 1 2.159484249353372 2.159484249353372
case 1 2.159484249353372 2.159484249353372
Court 1 1.8718021769015913 1.8718021769015913
is 1 1.8718021769015913 1.8718021769015913
The 1 1.8718021769015913 1.8718021769015913
be 1 1.6486586255873816 1.6486586255873816
We 1 1.6486586255873816 1.6486586255873816
by 1 1.6486586255873816 1.6486586255873816
a 1 1.6486586255873816 1.6486586255873816
in 1 1.466337068793427 1.466337068793427
that 1 1.3121863889661687 1.3121863889661687
of 1 0.6931471805599453 0.6931471805599453
the 1 0.550046336919272 0.550046336919272
subdocument_10 ----- ----- -----
Admn 1 3.258096538021482 3.258096538021482
State 1 2.5649493574615367 2.5649493574615367
Delhi 1 2.159484249353372 2.159484249353372
subdocument_11 ----- ----- -----
is 2 1.8718021769015913 3.7436043538031827
On 1 3.258096538021482 3.258096538021482
decision 1 3.258096538021482 3.258096538021482
basis 1 3.258096538021482 3.258096538021482
clearly 1 3.258096538021482 3.258096538021482
entitled 1 3.258096538021482 3.258096538021482
where 1 2.5649493574615367 2.5649493574615367
this 1 2.159484249353372 2.159484249353372
case 1 2.159484249353372 2.159484249353372
bail 1 1.8718021769015913 1.8718021769015913
a 1 1.6486586255873816 1.6486586255873816
to 1 1.466337068793427 1.466337068793427
that 1 1.3121863889661687 1.3121863889661687
the 2 0.550046336919272 1.100092673838544
appellant 1 1.0608719606852626 1.0608719606852626
of 1 0.6931471805599453 0.6931471805599453
subdocument_12 ----- ----- -----
certain 1 3.258096538021482 3.258096538021482
Two 1 3.258096538021482 3.258096538021482
namely 1 3.258096538021482 3.258096538021482
mentioned 1 3.258096538021482 3.258096538021482
documents 1 3.258096538021482 3.258096538021482
recovery 1 3.258096538021482 3.258096538021482
behalf 1 3.258096538021482 3.258096538021482
necessary 1 3.258096538021482 3.258096538021482
grounds 1 3.258096538021482 3.258096538021482
been 1 2.5649493574615367 2.5649493574615367
search 1 2.5649493574615367 2.5649493574615367
State 1 2.5649493574615367 2.5649493574615367
making 1 2.5649493574615367 2.5649493574615367
presence 1 2.159484249353372 2.159484249353372
have 1 2.159484249353372 2.159484249353372
is 1 1.8718021769015913 1.8718021769015913
on 1 1.8718021769015913 1.8718021769015913
a 1 1.6486586255873816 1.6486586255873816
of 2 0.6931471805599453 1.3862943611198906
for 1 1.3121863889661687 1.3121863889661687
and 1 1.1786549963416462 1.1786549963416462
the 2 0.550046336919272 1.100092673838544
appellant 1 1.0608719606852626 1.0608719606852626
subdocument_13 ----- ----- -----
has 1 3.258096538021482 3.258096538021482
premises 1 3.258096538021482 3.258096538021482
think 1 3.258096538021482 3.258096538021482
custody 1 2.5649493574615367 2.5649493574615367
taken 1 2.5649493574615367 2.5649493574615367
do 1 2.5649493574615367 2.5649493574615367
not 1 2.5649493574615367 2.5649493574615367
search 1 2.5649493574615367 2.5649493574615367
making 1 2.5649493574615367 2.5649493574615367
into 1 2.159484249353372 2.159484249353372
her 1 2.159484249353372 2.159484249353372
presence 1 2.159484249353372 2.159484249353372
be 1 1.6486586255873816 1.6486586255873816
We 1 1.6486586255873816 1.6486586255873816
a 1 1.6486586255873816 1.6486586255873816
in 1 1.466337068793427 1.466337068793427
to 1 1.466337068793427 1.466337068793427
that 1 1.3121863889661687 1.3121863889661687
for 1 1.3121863889661687 1.3121863889661687
appellant 1 1.0608719606852626 1.0608719606852626
of 1 0.6931471805599453 0.6931471805599453
the 1 0.550046336919272 0.550046336919272
subdocument_14 ----- ----- -----
being 1 3.258096538021482 3.258096538021482
done 1 3.258096538021482 3.258096538021482
can 1 3.258096538021482 3.258096538021482
This 1 2.5649493574615367 2.5649493574615367
without 1 2.5649493574615367 2.5649493574615367
taken 1 2.5649493574615367 2.5649493574615367
custody 1 2.5649493574615367 2.5649493574615367
her 1 2.159484249353372 2.159484249353372
into 1 2.159484249353372 2.159484249353372
be 1 1.6486586255873816 1.6486586255873816
subdocument_15 ----- ----- -----
other 1 3.258096538021482 3.258096538021482
The 1 1.8718021769015913 1.8718021769015913
subdocument_16 ----- ----- -----
is 3 1.8718021769015913 5.6154065307047745
forward 1 3.258096538021482 3.258096538021482
connection 1 3.258096538021482 3.258096538021482
investigation 1 3.258096538021482 3.258096538021482
put 1 3.258096538021482 3.258096538021482
ground 1 3.258096538021482 3.258096538021482
required 1 2.5649493574615367 2.5649493574615367
police 1 2.5649493574615367 2.5649493574615367
with 1 2.5649493574615367 2.5649493574615367
interrogation 1 2.159484249353372 2.159484249353372
presence 1 2.159484249353372 2.159484249353372
by 1 1.6486586255873816 1.6486586255873816
in 1 1.466337068793427 1.466337068793427
for 1 1.3121863889661687 1.3121863889661687
that 1 1.3121863889661687 1.3121863889661687
the 2 0.550046336919272 1.100092673838544
appellant 1 1.0608719606852626 1.0608719606852626
subdocument_17 ----- ----- -----
right 1 3.258096538021482 3.258096538021482
Constitution 1 3.258096538021482 3.258096538021482
appear 1 3.258096538021482 3.258096538021482
make 1 3.258096538021482 3.258096538021482
whenever 1 3.258096538021482 3.258096538021482
clear 1 3.258096538021482 3.258096538021482
reasonably 1 3.258096538021482 3.258096538021482
it 1 2.5649493574615367 2.5649493574615367
subject 1 2.5649493574615367 2.5649493574615367
police 1 2.5649493574615367 2.5649493574615367
shall 1 2.5649493574615367 2.5649493574615367
under 1 2.5649493574615367 2.5649493574615367
Article 1 2.5649493574615367 2.5649493574615367
required 1 2.5649493574615367 2.5649493574615367
interrogation 1 2.159484249353372 2.159484249353372
her 1 2.159484249353372 2.159484249353372
the 3 0.550046336919272 1.6501390107578158
We 1 1.6486586255873816 1.6486586255873816
by 1 1.6486586255873816 1.6486586255873816
to 1 1.466337068793427 1.466337068793427
for 1 1.3121863889661687 1.3121863889661687
that 1 1.3121863889661687 1.3121863889661687
appellant 1 1.0608719606852626 1.0608719606852626
of 1 0.6931471805599453 0.6931471805599453
subdocument_18 ----- ----- -----
on 2 1.8718021769015913 3.7436043538031827
Rs 1 3.258096538021482 3.258096538021482
enlarged 1 3.258096538021482 3.258096538021482
sum 1 3.258096538021482 3.258096538021482
two 1 3.258096538021482 3.258096538021482
appeal 1 3.258096538021482 3.258096538021482
allow 1 3.258096538021482 3.258096538021482
enter 1 3.258096538021482 3.258096538021482
direct 1 2.5649493574615367 2.5649493574615367
sureties 1 2.5649493574615367 2.5649493574615367
with 1 2.5649493574615367 2.5649493574615367
condition 1 2.5649493574615367 2.5649493574615367
she 1 2.5649493574615367 2.5649493574615367
into 1 2.159484249353372 2.159484249353372
bail 1 1.8718021769015913 1.8718021769015913
will 1 1.8718021769015913 1.8718021769015913
We 1 1.6486586255873816 1.6486586255873816
be 1 1.6486586255873816 1.6486586255873816
a 1 1.6486586255873816 1.6486586255873816
in 1 1.466337068793427 1.466337068793427
to 1 1.466337068793427 1.466337068793427
that 1 1.3121863889661687 1.3121863889661687
and 1 1.1786549963416462 1.1786549963416462
the 2 0.550046336919272 1.100092673838544
appellant 1 1.0608719606852626 1.0608719606852626
of 1 0.6931471805599453 0.6931471805599453
subdocument_19 ----- ----- -----
condition 2 2.5649493574615367 5.1298987149230735
subject 2 2.5649493574615367 5.1298987149230735
to 3 1.466337068793427 4.399011206380281
appearing 1 3.258096538021482 3.258096538021482
upon 1 3.258096538021482 3.258096538021482
so 1 3.258096538021482 3.258096538021482
if 1 3.258096538021482 3.258096538021482
herself 1 3.258096538021482 3.258096538021482
called 1 3.258096538021482 3.258096538021482
for 2 1.3121863889661687 2.6243727779323374
do 1 2.5649493574615367 2.5649493574615367
Article 1 2.5649493574615367 2.5649493574615367
she 1 2.5649493574615367 2.5649493574615367
under 1 2.5649493574615367 2.5649493574615367
Police 1 2.5649493574615367 2.5649493574615367
before 1 2.5649493574615367 2.5649493574615367
interrogation 1 2.159484249353372 2.159484249353372
will 1 1.8718021769015913 1.8718021769015913
and 1 1.1786549963416462 1.1786549963416462
the 2 0.550046336919272 1.100092673838544
subdocument_20 ----- ----- -----
Magistrate 1 3.258096538021482 3.258096538021482
satisfaction 1 3.258096538021482 3.258096538021482
Chief 1 3.258096538021482 3.258096538021482
Judicial 1 3.258096538021482 3.258096538021482
bond 1 3.258096538021482 3.258096538021482
sureties 1 2.5649493574615367 2.5649493574615367
the 4 0.550046336919272 2.200185347677088
Delhi 1 2.159484249353372 2.159484249353372
of 3 0.6931471805599453 2.0794415416798357
will 1 1.8718021769015913 1.8718021769015913
The 1 1.8718021769015913 1.8718021769015913
be 1 1.6486586255873816 1.6486586255873816
to 1 1.466337068793427 1.466337068793427
and 1 1.1786549963416462 1.1786549963416462
appellant 1 1.0608719606852626 1.0608719606852626
subdocument_21 ----- ----- -----
registered 1 3.258096538021482 3.258096538021482
Crime 1 3.258096538021482 3.258096538021482
as 1 3.258096538021482 3.258096538021482
govern 1 3.258096538021482 3.258096538021482
order 1 3.258096538021482 3.258096538021482
This 1 2.5649493574615367 2.5649493574615367
case 1 2.159484249353372 2.159484249353372
will 1 1.8718021769015913 1.8718021769015913
bail 1 1.8718021769015913 1.8718021769015913
the 1 0.550046336919272 0.550046336919272
subdocument_22 ----- ----- -----
No 1 2.159484249353372 2.159484249353372
subdocument_23 ----- ----- -----
Chandigarh 1 3.258096538021482 3.258096538021482
district 1 3.258096538021482 3.258096538021482
West 1 3.258096538021482 3.258096538021482
offence 1 3.258096538021482 3.258096538021482
Station 1 3.258096538021482 3.258096538021482
arising 1 3.258096538021482 3.258096538021482
any 1 3.258096538021482 3.258096538021482
out 1 3.258096538021482 3.258096538021482
Police 1 2.5649493574615367 2.5649493574615367
it 1 2.5649493574615367 2.5649493574615367
in 1 1.466337068793427 1.466337068793427
of 2 0.6931471805599453 1.3862943611198906
and 1 1.1786549963416462 1.1786549963416462
subdocument_24 ----- ----- -----
leave 1 3.258096538021482 3.258096538021482
India 1 3.258096538021482 3.258096538021482
prior 1 3.258096538021482 3.258096538021482
permission 1 3.258096538021482 3.258096538021482
further 1 3.258096538021482 3.258096538021482
shall 1 2.5649493574615367 2.5649493574615367
direct 1 2.5649493574615367 2.5649493574615367
without 1 2.5649493574615367 2.5649493574615367
not 1 2.5649493574615367 2.5649493574615367
this 1 2.159484249353372 2.159484249353372
Court 1 1.8718021769015913 1.8718021769015913
We 1 1.6486586255873816 1.6486586255873816
that 1 1.3121863889661687 1.3121863889661687
appellant 1 1.0608719606852626 1.0608719606852626
of 1 0.6931471805599453 0.6931471805599453
the 1 0.550046336919272 0.550046336919272
subdocument_25 ----- ----- -----
allowed 1 3.258096538021482 3.258096538021482
Appeal 1 2.159484249353372 2.159484249353372
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment