Documentation
¶
Overview ¶
The identify_license program tries to identify the license type of an unknown license. The file containing the license text is specified on the command line. Multiple license files can be analyzed with a single command. The type of the license is returned along with the confidence level of the match. The confidence level is between 0.0 and 1.0, with 1.0 indicating an exact match and 0.0 indicating a complete mismatch. The results are sorted by confidence level.
$ identifylicense LICENSE1 LICENSE2 LICENSE2: MIT (confidence: 0.987) LICENSE1: BSD-2-Clause (confidence: 0.833)
Directories
¶
Path | Synopsis |
---|---|
Package backend contains the necessary functions to classify a license.
|
Package backend contains the necessary functions to classify a license. |
Package results contains the result type returned by the classifier backend.
|
Package results contains the result type returned by the classifier backend. |
Click to show internal directories.
Click to hide internal directories.