Function

LSMMapAddTextWithWeight(_:_:_:_:)

Declaration

func LSMMapAddTextWithWeight(_ mapref: LSMMap, _ textref: LSMText, _ category: LSMCategory, _ weight: Float) -> OSStatus

Discussion

Adds a training text to the given category with a weight different from 1. The weight may be negative, but global counts will be pinned to 0. The textref is no longer needed after this call.

See Also

Miscellaneous