Description
In order to make your data more reusable, please generate the file shown in the title.
"FSF License Metadata API" is defined in the following site.
It is a convenient data format that can be reused.
https://wking.github.io/fsf-api/licenses-full.json
That data format can associate the license identifiers with the catalog name and "tags".
For example,
{"licenses":{
"apsl2": { /* fileName of choosealicense.com/_licenses/apsl2.txt */
"name": "Apple Public Source License",
"identifiers": {
"spdx": ["APSL-2.0"],
"OSI" : ["Apple Public Source License"],
"FSF" : ["FSF/apsl"]
]
},
"tags": [
"libre" /* FSF information*/,
"patent-use" /* choosealicense information */
]
}
}
Please have a look at the data I made for a trial.
https://github.com/reversi-fun/license_doc_similality1/blob/master/config/choosealicense-attrs.json
From this json data and the similarity of the license text, you can deduce the characteristics of the unknown license.
For example, SPDX / ODC-by-1.0 is not included in choosealicense, but it can be inferred that it has characteristics similar to SPDX / ODbl-1.0.
Please look at the attached figure.
https://github.com/reversi-fun/license_doc_similality1/blob/master/data/lic_graph.sfdp.svg