identify_license

command
v0.0.0-...-9a7fe83 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL