Skip to content

scripts/clean_thesaurus_duplicates.py

Overview

This file contains 4 documented elements.

Functions

clean_duplicates_postgres(host, port, dbname, user, password)

Remove duplicate records from PostgreSQL thesaurus table.

Parameters: - host - port - dbname - user - password

clean_duplicates_sqlite(db_path)

Remove duplicate records from SQLite thesaurus table.

Parameters: - db_path

main()

Main function to clean duplicates based on user choice.