'Return the overall precision for all texts that have been
scored by this ``ChunkScore``.
:rtype: float'

def precision(self):

    self._updateMeasures()
    div = (self._tp_num + self._fp_num)
    if (div == 0):
        return 0
    else:
        return (self._tp_num / div)
