Integrations
Provides contact information through WeChat for support and inquiries related to the entity identification service.
EntityIdentification
Identify whether two sets of data are from the same entity. 识别两组数据是否来自同一主体
This is a MCP (Model Context Protocol) server. 这是一个支持MCP协议的服务器。
Data Comparison Tool
This tool provides a comprehensive way to compare two sets of data, evaluating both exact and semantic equality of their values. It leverages text normalization and a language model to determine if the data originates from the same entity.
Features
- Text Normalization: Converts text to lowercase, removes punctuation, and normalizes whitespace.
- Value Comparison: Compares values directly and semantically (ignoring order for lists).
- JSON Traversal: Iterates through each key in the JSON objects and compares corresponding values.
- Language Model Integration: Uses a generative language model to assess semantic similarity and provide a final judgment on whether the data comes from the same entity.
Installation
To use this tool, ensure you have the necessary dependencies installed. You can install them using pip:
Usage
Functions
- normalize_text(text):
- Normalizes the input text by converting it to lowercase, removing punctuation, and normalizing whitespace.
- compare_values(val1, val2):
- Compares two values both exactly and semantically.
- If the values are lists, it ignores the order of elements for semantic comparison.
- compare_json(json1, json2):
- Compares two JSON objects key by key.
- Uses
compare_values
to evaluate each key's values. - Integrates a language model to assess semantic similarity and provides a final judgment.
Example
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
If you have any questions or suggestions, please contact me:
- Email: u3588064@connect.hku.hk
- GitHub: u3588064@connect.hku.hk。
This server cannot be installed
A MCP server that helps determine if two sets of data belong to the same entity by comparing both exact and semantic equality through text normalization and language model integration.
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol (MCP) server that enables semantic search and retrieval of documentation using a vector database (Qdrant). This server allows you to add documentation from URLs or local files and then search through them using natural language queries.Last updated -1474JavaScriptApache 2.0
- -securityAlicense-qualityAn MCP server aimed to be portable, local, easy and convenient to support semantic/graph based retrieval of txtai "all in one" embeddings database. Any txtai embeddings db in tar.gz form can be loadedLast updated -23PythonMIT License
- -securityFlicense-qualityA MCP server that fetches and renders Baidu Baike (Chinese Wikipedia) discussion content, allowing users to access encyclopedia article discussions and generate readable analysis of the structured data.Last updated -TypeScript
- -securityFlicense-qualityA custom MCP server that allows storage, retrieval, and management of text-based information with natural language commands and keyword detection.Last updated -TypeScript