ThanniruVenkata/Income-Tax-Act-2025-Machine-Readable-Legal-Text
收藏资源简介:
--- license: mit --- # Income Tax Act 2025 (India) - Machine-Readable Legal Text Dataset ## Overview This dataset contains the complete text and structured information from India's **Income-Tax Act, 2025** (effective from April 1, 2026). It provides comprehensive coverage of all chapters and sections of the act, formatted as JSON for easy parsing and analysis by AI/ML systems. ## Dataset Description The Income Tax Act, 2025 is the primary legislation governing income taxation in India. This dataset extracts and structures all sections, chapters, and provisions into a machine-readable format for research, legal analysis, tax compliance, and AI/ML applications including semantic search, knowledge extraction, and domain-specific model training. ## Dataset Size & Format - **Format**: JSON (Line-delimited) - **Content**: Complete Act with all chapters and sections - **Language**: English - **Encoding**: UTF-8 - **Total Entries**: Comprehensive coverage of all Income Tax Act, 2025 sections ## Data Structure Each entry in the dataset contains the following fields: | Field | Type | Description | |-------|------|-------------| | `act_name` | string | Name of the act (e.g., "Income-Tax Act, 2025") | | `act_code` | string | Code identifier for the act (e.g., "ITA2025") | | `effective_from` | string | Effective date in YYYY-MM-DD format | | `chapter` | string | Chapter number of the act | | `section` | string | Section number within the chapter | | `title` | string | Title/heading of the section | | `content` | string | Full text content of the section with legal language | | `search_text` | string | Concatenated searchable text including all metadata | | `chapter_name` | string | Descriptive name of the chapter | | `chapter_subtype` | string | Subcategory or classification of the chapter | | `doc_id` | string | Unique document identifier (ITA2025_[SECTION]_[CHUNK]) | | `chunk_index` | integer | Index of chunk (0-based) for multi-chunk documents | | `total_chunks` | integer | Total number of chunks for the document | ## Content Coverage The dataset includes all major chapters of the Income Tax Act, 2025: - **Chapter 1-4**: Income Classification and Heads of Income - **Chapter 5**: Income of Other Persons Included - **Chapter 6**: Aggregation of Income - **Chapter 7**: Set Off and Carry Forward of Losses - **Chapter 8+**: Deductions, Allowances, and Advanced Provisions ## Use Cases - **Legal Research**: Search and analyze specific tax provisions and precedents - **Tax Compliance**: Understand applicability of sections to different taxpayers - **AI/ML Training**: Build domain-specific NLP models for tax law interpretation - **Educational Tools**: Develop interactive tax education and training platforms - **Document Retrieval**: Create semantic search systems for tax provisions - **Knowledge Graphs**: Extract relationships and dependencies between sections - **Tax Chatbots**: Power conversational AI for tax inquiries - **Compliance Automation**: Automate tax provision applicability checking ## How to Use ### Load with Hugging Face Datasets ```python from datasets import load_dataset # Load the dataset dataset = load_dataset("ThanniruVenkata/Income-Tax-Act-2025-Machine-Readable-Legal-Text") # Access specific sections for example in dataset['train']: if example['section'] == '100': print(example['content']) ``` ### Filter by Chapter ```python # Filter sections from a specific chapter filtered = [ex for ex in dataset['train'] if ex['chapter'] == '6'] print(f"Found {len(filtered)} sections in Chapter 6: {filtered[0]['chapter_name']}") ``` ### Search by Keyword ```python # Search for specific provisions results = [ex for ex in dataset['train'] if 'unexplained' in ex['search_text'].lower()] for result in results: print(f"Section {result['section']}: {result['title']}") ``` ### Convert to Pandas DataFrame ```python import pandas as pd dataset = load_dataset("ThanniruVenkata/Income-Tax-Act-2025-Machine-Readable-Legal-Text") df = pd.DataFrame(dataset['train']) # Analyze provisions by chapter chapter_stats = df.groupby('chapter_name').size() print(chapter_stats) ``` ## Dataset Splits - **Single split**: `train` (entire dataset as one comprehensive split for all analyses) ## Field Descriptions ### Identifiers & Metadata - **doc_id**: Unique identifier in format `ITA2025_[SECTION_NUMBER]_[CHUNK_INDEX]` - **act_code**: Standardized code for the act (`ITA2025`) - **effective_from**: Date when the act came into force (`2026-04-01`) ### Content Fields - **content**: Primary text of the section containing full legal language and provisions - **search_text**: Enhanced text including metadata for semantic searching and NLP - **title**: Section heading for quick reference and categorization ### Organization Fields - **chapter**: Chapter number (e.g., "5", "6", "7") - **section**: Section number within chapter (e.g., "100", "102", "104") - **chapter_name**: Descriptive name of the chapter (e.g., "AGGREGATION OF INCOME") - **chapter_subtype**: Subcategory of chapter for hierarchical organization ### Chunking Information - **chunk_index**: Which part of a multi-part section (0-based indexing) - **total_chunks**: Total number of chunks section is divided into ## Licensing & Attribution - **Source**: Income-Tax Act, 2025 (Government of India - Ministry of Finance) - **Public Domain**: Government legislative documents are in public domain in India - **Attribution**: Please cite Government of India and this dataset - **Terms**: Complies with GOI open data and public domain policies ## Data Quality - ✅ Comprehensive coverage of all sections and chapters - ✅ Properly formatted JSON with valid UTF-8 encoding - ✅ Structured metadata for filtering and hierarchical retrieval - ✅ Searchable text field optimized for semantic analysis - ✅ Unique identifiers for precise referencing and linking - ✅ Consistent formatting across all entries ## Known Limitations - Text is current as of the effective date (April 1, 2026) - Does not include subsequent amendments after April 2026 - Does not include case law, judicial interpretations, or precedents - Supplementary rules and notifications not included - No provisions from older acts (prior Income Tax Acts not included) ## Applications & Examples ### 1. Tax Advisory Systems Build AI assistants that answer tax-related queries using semantic search and retrieval ### 2. Compliance Checking Automate verification of tax provision applicability for specific business scenarios ### 3. Legal Document Analysis Extract and match relevant sections in tax-related contracts and agreements ### 4. Educational Platforms Power interactive learning tools and tutorials for taxation studies ### 5. Research & Analytics Analyze tax provisions across sections and identify policy patterns ### 6. Document Retrieval Systems Implement semantic search over Indian tax law for precise provision discovery ### 7. Tax Chatbots Train conversational AI to answer taxpayer questions about specific provisions ## Related Resources - [Income-Tax Department (India)](https://www.incometaxindia.gov.in/) - [Ministry of Finance - India](https://www.finance.gov.in/) - [Income Tax Act Official Portal](https://www.incometaxindia.gov.in/indian-income-tax-act/) - [Finance Acts & Amendments](https://www.finance.gov.in/tamil/en/web/mof) ## Citation If you use this dataset in your research, projects, publications, or work, please cite: ```bibtex @dataset{income_tax_act_2025, title={Income Tax Act 2025 (India) - Machine-Readable Legal Text Dataset}, author={Government of India, Ministry of Finance}, year={2026}, publisher={Hugging Face Datasets}, url={https://huggingface.co/datasets/ThanniruVenkata/Income-Tax-Act-2025-Machine-Readable-Legal-Text}, note={Effective from April 1, 2026} } ``` ## Contributing Found errors or have suggestions? - Open an issue for corrections or improvements - Submit pull requests for enhancements - Suggest additional metadata or features - Report any formatting or encoding issues ## Disclaimer **Important Legal Notice**: This dataset is provided for informational and research purposes only. - **Not Legal Advice**: This should not be relied upon as the sole source for tax compliance or legal advice - **Professional Consultation**: Always consult qualified tax professionals, chartered accountants, and official government sources - **Accuracy**: While efforts are made to ensure accuracy, Government of India's official sources remain authoritative - **Changes**: Tax laws are subject to amendments; always verify current applicability - **Liability**: Users are responsible for verifying information and consulting appropriate professionals - **Compliance**: Ensure compliance with applicable tax laws through official channels --- **Dataset Version**: 1.0 **Release Date**: April 2026 **Last Updated**: April 20, 2026 **Maintained by**: Data Contributors & Hugging Face Community **License**: Public Domain (Government of India) **Status**: Active and maintained
--- 许可证:MIT --- # 印度2025年所得税法——机器可读法律文本数据集 ## 概述 本数据集收录印度《2025年所得税法》(自2026年4月1日起生效)的完整文本与结构化信息,全面覆盖该法案的全部章节与条款,并以JSON(JavaScript对象标记)格式存储,便于人工智能/机器学习(Artificial Intelligence/Machine Learning)系统解析与分析。 ## 数据集描述 《2025年所得税法》是印度管辖所得税征管的核心立法文件。本数据集将该法案的所有条款、章节与法律条文提取并结构化为机器可读格式,可用于研究、法律分析、税务合规以及人工智能/机器学习应用,例如语义搜索(Semantic Search)、知识抽取(Knowledge Extraction)与领域专属模型训练。 ## 数据集规模与格式 - **格式**:JSON(行分隔格式) - **内容**:涵盖该法案全部章节与条款的完整文本 - **语言**:英语 - **编码**:UTF-8 - **总条目**:完整覆盖《2025年所得税法》所有条款 ## 数据结构 本数据集中的每条条目包含以下字段: | 字段名 | 类型 | 描述 | |-------|------|-------------| | `act_name` | 字符串 | 法案名称(示例:《2025年所得税法》) | | `act_code` | 字符串 | 法案代码标识符(示例:ITA2025) | | `effective_from` | 字符串 | 生效日期,格式为YYYY-MM-DD | | `chapter` | 字符串 | 法案所属章节编号 | | `section` | 字符串 | 该章节内的条款编号 | | `title` | 字符串 | 条款标题 | | `content` | 字符串 | 包含完整法律文本的条款正文内容 | | `search_text` | 字符串 | 包含所有元数据的拼接式可搜索文本 | | `chapter_name` | 字符串 | 章节的描述性名称 | | `chapter_subtype` | 字符串 | 章节的子类别或分类标签 | | `doc_id` | 字符串 | 唯一文档标识符(格式为ITA2025_[SECTION]_[CHUNK]) | | `chunk_index` | 整数 | 多分块文档的分块索引(从0开始计数) | | `total_chunks` | 整数 | 该文档的总分块数 | ## 内容覆盖范围 本数据集涵盖《2025年所得税法》的全部核心章节: - **第1-4章**:收入分类与收入来源类别 - **第5章**:其他个人的收入计入 - **第6章**:收入汇总 - **第7章**:亏损的冲抵与结转 - **第8章及以后**:扣除项、免税额与高级条款 ## 应用场景 - **法律研究**:检索并分析特定税务条款与判例 - **税务合规**:明确各条款对不同纳税主体的适用性 - **人工智能/机器学习训练**:构建用于税法解读的领域专属自然语言处理模型 - **教育工具**:开发交互式税务教育与培训平台 - **文档检索**:构建税务条款的语义搜索系统 - **知识图谱**:抽取条款间的关联与依赖关系 - **税务智能体**:为税务咨询对话式AI提供支持 - **合规自动化**:自动校验税务条款的适用性 ## 使用方法 ### 使用Hugging Face Datasets库加载 python from datasets import load_dataset # 加载数据集 dataset = load_dataset("ThanniruVenkata/Income-Tax-Act-2025-Machine-Readable-Legal-Text") # 访问特定条款 for example in dataset['train']: if example['section'] == '100': print(example['content']) ### 按章节筛选 python # 筛选特定章节的条款 filtered = [ex for ex in dataset['train'] if ex['chapter'] == '6'] print(f"在第6章:{filtered[0]['chapter_name']}中找到 {len(filtered)} 个条款") ### 关键词搜索 python # 搜索特定条款 results = [ex for ex in dataset['train'] if 'unexplained' in ex['search_text'].lower()] for result in results: print(f"条款 {result['section']}: {result['title']}") ### 转换为Pandas DataFrame python import pandas as pd dataset = load_dataset("ThanniruVenkata/Income-Tax-Act-2025-Machine-Readable-Legal-Text") df = pd.DataFrame(dataset['train']) # 按章节统计条款数量 chapter_stats = df.groupby('chapter_name').size() print(chapter_stats) ## 数据集拆分 - **仅包含一个拆分**:`train`(将完整数据集作为单一综合拆分,适用于所有分析场景) ## 字段说明 ### 标识符与元数据 - **doc_id**:格式为`ITA2025_[SECTION_NUMBER]_[CHUNK_INDEX]`的唯一标识符 - **act_code**:该法案的标准化代码(`ITA2025`) - **effective_from**:法案生效日期(`2026-04-01`) ### 内容字段 - **content**:包含完整法律条文与条款的原始正文 - **search_text**:优化用于语义搜索与自然语言处理的增强型文本,包含所有元数据 - **title**:用于快速检索与分类的条款标题 ### 组织字段 - **chapter**:章节编号(例如:"5"、"6"、"7") - **section**:章节内的条款编号(例如:"100"、"102"、"104") - **chapter_name**:章节的描述性名称(例如:"AGGREGATION OF INCOME",即“收入汇总”) - **chapter_subtype**:用于层级化组织的章节子类别 ### 分块信息 - **chunk_index**:多分块条款的分块索引(从0开始计数) - **total_chunks**:该条款的总分块数 ## 许可与署名要求 - **来源**:《2025年所得税法》(印度政府财政部) - **公有领域**:印度政府立法文件属于公有领域 - **署名要求**:请注明引用印度政府与本数据集 - **使用条款**:符合印度政府开放数据与公有领域政策 ## 数据质量 - ✅ 完整覆盖所有章节与条款 - ✅ 格式规范的JSON文件,采用有效UTF-8编码 - ✅ 结构化元数据,支持筛选与层级化检索 - ✅ 可搜索文本字段,优化用于语义分析 - ✅ 唯一标识符,支持精准引用与关联 - ✅ 所有条目格式统一 ## 已知局限性 - 文本内容截止至法案生效日期(2026年4月1日) - 未包含2026年4月之后的后续修正案 - 未包含判例法、司法解释或先例 - 未包含配套规则与通知文件 - 未纳入旧版所得税法案的相关条款 ## 应用示例与场景 ### 1. 税务咨询系统 构建基于语义搜索与检索的AI助手,解答税务相关咨询 ### 2. 合规校验 自动验证特定业务场景下税务条款的适用性 ### 3. 法律文档分析 提取并匹配税务相关合同与协议中的相关条款 ### 4. 教育平台 为税务学习提供交互式教学工具与教程 ### 5. 研究与分析 跨条款分析税务条款,识别政策规律 ### 6. 文档检索系统 构建印度税法的语义搜索系统,精准定位目标条款 ### 7. 税务对话机器人 训练对话式AI,解答纳税人关于特定条款的疑问 ## 相关资源 - [印度所得税局](https://www.incometaxindia.gov.in/) - [印度财政部](https://www.finance.gov.in/) - [所得税法官方门户](https://www.incometaxindia.gov.in/indian-income-tax-act/) - [财政法案与修正案](https://www.finance.gov.in/tamil/en/web/mof) ## 引用格式 若您在研究、项目、出版物或工作中使用本数据集,请引用如下: bibtex @dataset{income_tax_act_2025, title={Income Tax Act 2025 (India) - Machine-Readable Legal Text Dataset}, author={Government of India, Ministry of Finance}, year={2026}, publisher={Hugging Face Datasets}, url={https://huggingface.co/datasets/ThanniruVenkata/Income-Tax-Act-2025-Machine-Readable-Legal-Text}, note={Effective from April 1, 2026} } ## 贡献指南 发现错误或有改进建议? - 提交issue以修正错误或提出改进方案 - 提交拉取请求以增强功能 - 建议新增元数据或特性 - 报告任何格式或编码问题 ## 免责声明 **重要法律声明**:本数据集仅用于信息参考与研究用途。 - **非法律建议**:本数据集不应作为税务合规或法律建议的唯一依据 - **专业咨询**:请始终咨询合格的税务专业人士、注册会计师与官方政府来源 - **准确性**:尽管已尽力确保内容准确,印度政府的官方来源仍为权威依据 - **法律变更**:税法可能随时修订,请务必核实当前适用条款 - **责任承担**:用户需自行负责信息验证与专业咨询 - **合规要求**:请通过官方渠道确保符合适用税法规定 --- **数据集版本**:1.0 **发布日期**:2026年4月 **最后更新**:2026年4月20日 **维护方**:数据贡献者与Hugging Face社区 **许可证**:公有领域(印度政府) **状态**:活跃维护中



