Deontic modality tagging is a sequence labeling task that identifies and categorizes text segments expressing obligation (must, shall), permission (may, can), or prohibition (must not, may not) within legal and regulatory corpora. Unlike general sentiment analysis, this process targets the normative force of a statement, distinguishing a contractual duty from a discretionary right. The output is a structured annotation layer that maps specific linguistic triggers to formal deontic operators, enabling downstream normative reasoning engines to parse prescriptive rules from unstructured text.
Glossary
Deontic Modality Tagging

What is Deontic Modality Tagging?
Deontic modality tagging is the computational linguistics task of classifying spans of text that express normative concepts of obligation, permission, or prohibition, forming the basis for extracting actionable rules from legal documents.
The technical implementation typically employs fine-tuned transformer-based models trained on domain-specific annotated corpora, where each token is classified using BIO tagging schemes for deontic categories. The primary challenge lies in resolving scope ambiguity—determining the exact textual extent of a modal verb's governance—and handling implicit deontic expressions where normative force is conveyed without explicit modal markers, such as through passive constructions or nominalizations. This tagging serves as a critical preprocessing step for contract clause extraction and deontic logic modeling pipelines.
Key Characteristics of Deontic Tagging Systems
Deontic modality tagging systems classify spans of legal text according to their normative force—obligation, permission, or prohibition. These systems form the backbone of automated regulatory compliance and contract analysis.
Modal Verb Detection
The foundational layer of deontic tagging identifies explicit modal verbs that signal normative force. 'Shall' and 'must' typically indicate obligation, while 'may' and 'can' signal permission. 'Shall not' and 'may not' denote prohibition. Advanced systems handle negated forms, passive constructions, and archaic legal phrasing such as 'heretofore shall' or 'is hereby authorized to'. The challenge lies in disambiguating deontic uses from epistemic ones—distinguishing 'You may file a motion' (permission) from 'The evidence may suggest otherwise' (possibility).
Implicit Norm Extraction
Beyond surface-level modal verbs, sophisticated taggers identify normative force embedded in syntactic structures without explicit modals. Examples include:
- Performative verbs: 'The court orders...' or 'The parties agree to...'
- Conditional constructions: 'If the lessee fails to pay...' implying a prohibition on non-payment
- Nominalizations: 'The obligation to disclose...' or 'The prohibition against...'
- Passive imperatives: 'All filings are to be submitted...'
This layer requires deep syntactic parsing and domain-specific legal ontologies to map diverse expressions to a unified deontic framework.
Scope Resolution
A critical technical challenge is determining the precise textual span over which a deontic operator exerts its normative force. A single obligation marker like 'shall' may govern multiple conjoined clauses, while exceptions and conditions can narrow or suspend the obligation's scope. For example, in 'The contractor shall deliver reports monthly, unless otherwise agreed in writing,' the tagger must correctly bind the exception clause to the obligation. Scope resolution often employs dependency parsing and rule-based finite-state automata to delineate the exact boundaries of each normative statement.
Directed Obligation Assignment
Deontic tagging systems must identify the bearer (who is obligated), the counterparty (to whom the obligation is owed), and the action (what must be done). In 'The licensee shall pay royalties to the licensor,' the system tags:
- Bearer: licensee
- Counterparty: licensor
- Action: pay royalties
This entity-linking task connects deontic spans to named entities recognized elsewhere in the document, enabling downstream reasoning about who owes what to whom across complex multi-party agreements.
Conflict and Hierarchy Flagging
When multiple deontic statements interact, tagging systems flag potential conflicts and establish normative hierarchies. A permissive clause may be overridden by a subsequent prohibition, or a general obligation may be qualified by a specific exception. Systems implement lex specialis logic (specific rules override general ones) and temporal priority rules (later clauses may supersede earlier ones). The output includes conflict metadata—flagging spans where a permission and prohibition appear to govern the same action—enabling human review or automated resolution in downstream reasoning engines.
Cross-Reference Linking
Legal norms rarely stand in isolation. A deontic tagger must resolve cross-references where an obligation in one section is defined by or contingent upon a provision elsewhere. For instance, 'Subject to the limitations set forth in Section 4.2, the vendor shall...' requires the system to traverse the document structure, retrieve the referenced constraints, and annotate the obligation with its governing conditions. This capability transforms flat text tagging into a structured, navigable graph of interrelated normative statements, essential for multi-document legal reasoning systems.
Frequently Asked Questions
Clear answers to the most common technical questions about the classification of obligation, permission, and prohibition in legal texts.
Deontic modality tagging is the computational linguistic task of automatically identifying and classifying spans of text that express obligation, permission, or prohibition. It works by training sequence labeling models—typically fine-tuned transformer architectures like Legal-BERT—on annotated legal corpora to recognize the linguistic cues that signal normative rules. The tagger scans each token in a sentence and assigns a label such as OBLIGATION, PERMISSION, or PROHIBITION to the relevant text span, distinguishing deontic expressions from epistemic ones (which express belief or probability). For example, in the phrase 'the licensee shall submit a report,' the word 'shall' triggers an OBLIGATION tag, while 'may terminate' triggers PERMISSION. This structured output transforms unstructured legal prose into machine-readable normative statements that can be ingested by downstream reasoning engines.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Understanding deontic modality tagging requires familiarity with the broader ecosystem of legal NLP tasks that extract structure, logic, and normative meaning from unstructured text.
Deontic Logic Modeling
The formal, symbolic representation of obligation, permission, and prohibition using modal operators. While tagging identifies spans in text, deontic logic modeling translates those spans into computable rules. Key operators include:
- O(p): It is obligatory that p
- P(p): It is permitted that p
- F(p): It is forbidden that p This formalization enables automated consistency checking across large regulatory corpora, detecting conflicts where a statute simultaneously obligates and forbids the same action.
Normative Conflict Resolution
The algorithmic process of detecting and reconciling contradictory deontic statements across legal documents. When one regulation obligates an action and another prohibits it, resolution engines apply meta-rules such as:
- Lex superior: Higher authority prevails
- Lex posterior: Later enactment prevails
- Lex specialis: Specific rule overrides general rule Effective conflict resolution depends directly on the accuracy of upstream deontic modality tagging to correctly identify the conflicting normative statements.
Argument Mining
The computational extraction of premises, conclusions, and their inferential relationships from legal text. Deontic modality tagging serves as a critical preprocessing step, identifying normative premises that carry obligatory force. An argument mining pipeline typically:
- Segments text into argument components
- Classifies each as premise or conclusion
- Identifies support and attack relations
- Flags deontic operators that constrain the reasoning chain
Ratio Decidendi Mining
The extraction of the binding legal principle that forms the essential reasoning of a court's decision. Deontic tagging helps distinguish the normative core from peripheral commentary by identifying spans where the court articulates:
- Obligations imposed on parties
- Permissions granted under specific conditions
- Prohibitions that define the boundaries of lawful conduct These tagged spans become features for models that separate binding precedent from non-binding obiter dicta.
Legal Rule Induction
A bottom-up machine learning approach that infers general, interpretable legal rules from specific case outcomes. Deontic modality tagging enriches the feature space by explicitly marking:
- Conditional obligations: 'If X, then must Y'
- Exceptions: 'Unless Z, it is prohibited to...'
- Permissions with constraints: 'May only if...' These tagged patterns enable rule induction systems to learn structured, deontic logic rules rather than opaque statistical correlations.
Defeasible Reasoning Modeling
The formal representation of legal arguments that can be invalidated by exceptions or contrary evidence. Deontic modality tagging identifies the linguistic markers of defeasibility:
- Prima facie obligations: 'Generally, one must...'
- Defeaters: '...unless extraordinary circumstances apply'
- Rebuttals: 'Notwithstanding the above, it is permitted to...' This modeling reflects the non-monotonic nature of legal logic, where conclusions are provisional and subject to revision.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us