Skip to content

TheLanguageArchive/ISOcat2CCR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ISOcat2CCR

Tool to convert ISOcat cool URIs to CLARIN Concept Registry (CCR) handles.

java -jar src/target/isocat2ccr.jar mappings/ISOcat2CCR-full.csv resource.xml > resource-new.xml

See also

java -jar src/target/isocat2ccr.jar -?

for more options, e.g., to specify the encoding and line endings.

The mappings directory contains the following map files:

  • ISOcat2CCR-full.csv: from the official ISOcat cool URI and REST ISOcat URIs to the CCR handle
  • ISOcat2CCR-CR.csv: from ISOcat ConceptLinks using all kinds of correct and incorrect URIs to the CCR handle

You can easily add the URLs as they appear in your resource. Do notice that not all ISOcat Data Categories have been taken along to the CCR.

Also note that the descending order of the mappings is important, i.e., the highest numbers have to be mapped first to prevent partial replacements.

About

Convert ISOcat cool URIs to CLARIN Concept Registry (CCR) handles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages