1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.4.
.TH PYNLPL-COMPUTEPMI "1" "February 2016" "pynlpl-computepmi 0.7.7" "User Commands"
.SH NAME
computepmi \- manual page for pynlpl-computepmi 0.7.7
.SH DESCRIPTION
usage: pynlpl\-computepmi [\-h] \fB\-f\fR INPUTTEXT [\-s] [\-t THRESHOLD] [\-a] [\-A]
.IP
[\-\-pmi] [\-\-npmi] [\-\-jaccard] [\-\-dice]
.PP
Simple cooccurence computation
.SS "optional arguments:"
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.TP
\fB\-f\fR INPUTTEXT, \fB\-\-inputtext\fR INPUTTEXT
Input file (plaintext, tokenised, utf\-8, one sentence
per line) (default: )
.TP
\fB\-s\fR, \fB\-\-sorted\fR
Output sorted by co\-occurrence score (default: False)
.TP
\fB\-t\fR THRESHOLD, \fB\-\-threshold\fR THRESHOLD
Joined occurrence threshold, do not consider words
occurring less than this (default: 1)
.TP
\fB\-a\fR, \fB\-\-adjacency\fR
Compute the adjacency fraction (how many co\-occurrence
are immediate bigrams) (default: False)
.TP
\fB\-A\fR, \fB\-\-discountadjacency\fR
Do not take immediately adjacent fragments (bigrams)
into account when computing mutual information
(requires \fB\-a\fR) (default: False)
.TP
\fB\-\-pmi\fR
Compute pointwise mutual information (default: False)
.TP
\fB\-\-npmi\fR
Compute normalised pointwise mutual information
(default: False)
.TP
\fB\-\-jaccard\fR
Compute jaccard similarity coefficient (default:
False)
.TP
\fB\-\-dice\fR
Compute dice coefficient (default: False)
|