nltk.chunk.ChunkScore.f_measure

ChunkScore.f_measure(alpha=0.5)[source]

Return the overall F measure for all texts that have been scored by this ChunkScore.

Parameters:alpha (float) – the relative weighting of precision and recall. Larger alpha biases the score towards the precision value, while smaller alpha biases the score towards the recall value. alpha should have a value in the range [0,1].
Return type:float