All Projects → google → Licenseclassifier

google / Licenseclassifier

Licence: other
A License Classifier

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Licenseclassifier

Lc
licensechecker (lc) a command line application which scans directories and identifies what software license things are under producing reports as either SPDX, CSV, JSON, XLSX or CLI Tabular output. Dual-licensed under MIT or the UNLICENSE.
Stars: ✭ 93 (-48.33%)
Mutual labels:  license-management, classifier
Youtubeshop
Youtube autolike and autosubs script
Stars: ✭ 177 (-1.67%)
Mutual labels:  google
Replacegooglecdn
♋ 一个 Chrome 插件:将 Google CDN 替换为国内的。
Stars: ✭ 2,400 (+1233.33%)
Mutual labels:  google
Magicalexoplayer
The Easiest Way To Play/Stream Video And Audio Using Google ExoPlayer In Your Android Application
Stars: ✭ 171 (-5%)
Mutual labels:  google
China Domain Allowlist
常用中国网站白名单,纯列表,用于 SwitchyOmega,控制不走代理的网站。
Stars: ✭ 166 (-7.78%)
Mutual labels:  google
Attendance Using Face
Face-recognition using Siamese network
Stars: ✭ 174 (-3.33%)
Mutual labels:  google
Naive Bayes Classifier
yet another general purpose naive bayesian classifier.
Stars: ✭ 162 (-10%)
Mutual labels:  classifier
Albert Tf2.0
ALBERT model Pretraining and Fine Tuning using TF2.0
Stars: ✭ 180 (+0%)
Mutual labels:  classifier
Santa Tracker Android
Google Santa Tracker app for Android is an educational and entertaining tradition that brings joy to millions of children (and children at heart) across the world over the December holiday period.
Stars: ✭ 2,062 (+1045.56%)
Mutual labels:  google
Glpi
GLPI is a Free Asset and IT Management Software package, Data center management, ITIL Service Desk, licenses tracking and software auditing.
Stars: ✭ 2,278 (+1165.56%)
Mutual labels:  license-management
Npm License Crawler
Analyzes license information for multiple node.js modules (package.json files) as part of your software project.
Stars: ✭ 168 (-6.67%)
Mutual labels:  license-management
Load Google Maps Api
🌏 A lightweight Promise-returning helper for loading the Google Maps JavaScript API
Stars: ✭ 166 (-7.78%)
Mutual labels:  google
Viewimage
Google removed the "View Image" button. This is a bookmarklet that downloads the full-size photo.
Stars: ✭ 174 (-3.33%)
Mutual labels:  google
Stackdriver exporter
Google Stackdriver Prometheus exporter
Stars: ✭ 164 (-8.89%)
Mutual labels:  google
Googlecontactseventsnotifier
Receive automatic email notifications before your Google Contacts birthday and other events!
Stars: ✭ 177 (-1.67%)
Mutual labels:  google
Turnstile
An authentication framework for Swift.
Stars: ✭ 163 (-9.44%)
Mutual labels:  google
Homeautio.mqtt.googlehome
Stars: ✭ 168 (-6.67%)
Mutual labels:  google
Programming Language Classifier
An example of how to use CreateML in Xcode 10 to create a Core ML model for classifying text
Stars: ✭ 172 (-4.44%)
Mutual labels:  classifier
React Native Google Place Picker
React Native Wrapper of Google Place Picker for iOS + Android.
Stars: ✭ 180 (+0%)
Mutual labels:  google
Android basics nanodegree by google My 10 projects
All of my completed Android Basics Nanodegree by Google projects.
Stars: ✭ 178 (-1.11%)
Mutual labels:  google

License Classifier

Build status

Introduction

The license classifier is a library and set of tools that can analyze text to determine what type of license it contains. It searches for license texts in a file and compares them to an archive of known licenses. These files could be, e.g., LICENSE files with a single or multiple licenses in it, or source code files with the license text in a comment.

A "confidence level" is associated with each result indicating how close the match was. A confidence level of 1.0 indicates an exact match, while a confidence level of 0.0 indicates that no license was able to match the text.

Adding a new license

Adding a new license is straight-forward:

  1. Create a file in licenses/.

    • The filename should be the name of the license or its abbreviation. If the license is an Open Source license, use the appropriate identifier specified at https://spdx.org/licenses/.
    • If the license is the "header" version of the license, append the suffix ".header" to it. See licenses/README.md for more details.
  2. Add the license name to the list in license_type.go.

  3. Regenerate the licenses.db file by running the license serializer:

    $ license_serializer -output licenseclassifier/licenses
    
  4. Create and run appropriate tests to verify that the license is indeed present.

Tools

Identify license

identify_license is a command line tool that can identify the license(s) within a file.

$ identify_license LICENSE
LICENSE: GPL-2.0 (confidence: 1, offset: 0, extent: 14794)
LICENSE: LGPL-2.1 (confidence: 1, offset: 18366, extent: 23829)
LICENSE: MIT (confidence: 1, offset: 17255, extent: 1059)

License serializer

The license_serializer tool regenerates the licenses.db archive. The archive contains preprocessed license texts for quicker comparisons against unknown texts.

$ license_serializer -output licenseclassifier/licenses

This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].