---
title: "A linguistic rule-based approach to extract drug-drug interactions"
description: "How linguistic rules extract drug interactions from pharmacological text, and how lists, examples and clause splitting affect accuracy."
canonical: "https://research.elamur.ai/free/en/papers/bedmar-2011-linguistic-rule-based-approach-extract/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/bedmar-2011-linguistic-rule-based-approach-extract/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2011](https://md.research.elamur.ai/free/en/papers/2011/) / A linguistic rule-based approach to extract drug-drug interactions from pharmacological documents

# A linguistic rule-based approach to extract drug-drug interactions from pharmacological documents

Paper · 2011 · Isabel Segura-Bédmar, Paloma Martı́nez and César de Pablo-Sánchez

**Authors:** [Isabel Segura-Bédmar](https://md.research.elamur.ai/free/en/authors/isabel-segura-bedmar/), [Paloma Martı́nez](https://md.research.elamur.ai/free/en/authors/paloma-marti-nez/) and César de Pablo-Sánchez · **Year:** 2011 · **Venue:** BMC Bioinformatics · **Licence:** [CC BY (OpenAlex best open-access location)](https://creativecommons.org/licenses/by/4.0/)

Cited by **3** papers in our library of more than 163,000 papers whose bibliographies we read · BMC Bioinformatics · [licence](https://creativecommons.org/licenses/by/4.0/)

- [PDF](https://bmcbioinformatics.biomedcentral.com/counter/pdf/10.1186/1471-2105-12-S2-S1)
- [DOI 10.1186/1471-2105-12-s2-s1](https://doi.org/10.1186/1471-2105-12-s2-s1)

## Summary

A drug interaction can change how much of a medicine circulates in the body or how strongly it acts. Reports of these interactions appear in journals and technical documents, and the authors point out that drug databases can lag behind the literature. They ask whether software can identify the pairs of drugs that a document describes as interacting. Finding the names is only the beginning. A sentence may mention several drugs while connecting only some of them, and a statement about a whole list can express several interactions through a single verb. Recognizing those distinctions is the central problem in this application of [information extraction](https://md.research.elamur.ai/free/en/concepts/information-extraction/).

The authors combine rules for recognizing sentence structures with rules for recognizing the language of interactions. They first identify drug names and group words into phrases. They look for lists whose members share a grammatical role and for constructions that put an example next to the drug or drug class it illustrates. A pharmacist supplied patterns for common ways of reporting interactions, such as changes in a drug’s effect or warnings about concurrent administration. A pattern can match an entire list as if it were a single participant. The system then expands that participant into its individual members and proposes the corresponding drug pairs. A further version tries to make long sentences easier to match by splitting and rewriting their clauses.

The authors evaluate the approach on DrugDDI, a collection of 579 DrugBank documents with 3,160 drug interactions annotated at sentence level. The pharmacist’s patterns applied directly to sentences achieved 67.30% precision and 14.07% recall. Recognizing lists and appositions, the constructions that put a description or example beside another phrase, raised recall to 25.70% while lowering precision to 48.69%. The combined F-measure rose from 23.28% to 33.64%. With clause splitting and sentence simplification added, recall fell to 24.81% and F-measure to 32.92%, while precision was 48.89%.

The results distinguish between two ways a sentence can be difficult. When a list occupies one place in a familiar interaction statement, grouping it and recovering its members can expose pairs a literal pattern would miss. When the interaction depends on information distributed across clauses, dividing the sentence can separate the very pieces needed to identify the pair. The authors also trace many errors to the initial grammatical analysis and show how a local check for negation can miss a denial expressed elsewhere in the sentence. The experiments establish a benefit for list and apposition handling together, with substantial gaps in both coverage and accuracy.

## Deep dive: A linguistic rule-based approach to extract drug-drug interactions from pharmacological documents

How linguistic rules extract drug interactions from pharmacological text, and how lists, examples and clause splitting affect accuracy. · about 34 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### From a pharmacological statement to a pair of drugs

The authors define a drug-drug interaction by its effect. One drug changes the level or activity of another. A rise in concentration can intensify side effects, for instance, and a drop in concentration can reduce a drug’s effectiveness. The authors place detection in the context of patient safety and health care costs. Their computational task concerns how to find descriptions of interactions in existing documents. A sentence can support a proposed pair in the extraction task even though determining the clinical significance of that interaction involves further evidence.

At the time of the study, drug databases already helped professionals check for known interactions. The paper reports that update intervals could reach three years. It identifies clinical pharmacology journals and technical reports as sources of interaction descriptions and argues that reviewing the available material takes time. An extractor could help locate passages worth reviewing or surface candidate records for database maintenance. For either use, a useful output needs to say which drugs the passage connects. Retrieving a sentence about several drugs leaves that choice to the reader.

A document can mention drugs together for many reasons. Some appear as members of the same class, as alternatives, or as examples. Others are linked through a statement about concurrent use. Even where a sentence clearly describes an effect, a reader has to determine which noun phrases participate in it. In the paper’s example involving aspirin, the words that introduce the first item in a list also apply to the following items. The author of the pharmacological passage can state the effect once and let the grammar distribute it across the list. An extractor that simply selects pairs of nearby names can overlook that structure or pair the list members with one another.

Long sentences pose a different problem. A relative clause can describe a drug class between the point where the class is named and the point where its interaction is stated. A conditional clause can specify that a reported change occurred when drugs were taken together. In the first situation, separating out the description might place the interaction words next to the correct participant. In the second, that same operation might put the treatment condition and the measured effect in different fragments. The paper’s proposal to simplify sentences depends on distinguishing these situations well enough for the final matching rules to work.

#### What biomedical relation extraction already offered

The work draws on research in biomedical relation extraction, much of which the authors describe as focused on interactions among genes or proteins. Annotated collections were available in those areas. Such a collection provides a common set of sentences and reference relations against which proposed extractions can be checked. The authors argue that techniques can travel between biomedical tasks more readily than the collections used to evaluate them. A collection marked for protein interactions does not supply the drug pairs required to evaluate drug interaction extraction. The authors therefore make the creation of a drug-specific collection part of the study.

The paper describes linguistic, pattern-based and machine learning approaches. Linguistic approaches use grammatical or semantic analysis to identify connections between entities. A grammatical analysis can establish, for example, which phrases occupy the same position in a construction and which words belong to a clause. According to the paper, earlier linguistic approaches were frequently effective for straightforward relations between entities in a sentence. Coordination and relations expressed through complex clauses were harder. The authors also point to a mismatch between general-purpose parsers trained on newswire and the long, ambiguous sentences encountered in biomedical writing. That mismatch matters when a downstream extraction rule takes the parser’s phrase labels as its evidence. The relevant operations belong to [parsing](https://md.research.elamur.ai/free/en/concepts/parsing/).

Pattern-based approaches use expressions that specify recognizable ways of stating a relation. A rule for an increase can describe the order of the drug mentions and the words that indicate a change, with room for some variation. The authors characterize these systems as tending towards high precision and low recall. A narrowly specified rule can select convincing passages when their wording fits. Coverage depends on how the rules are expressed, how much intervening language they permit, and whether the relation can be found within the text they inspect. The authors also note that differences in mood or modality, such as whether an outcome is asserted or merely possible, can alter what familiar words convey.

In the paper’s account, machine learning can acquire extraction criteria from examples and can make adaptation to another collection or task easier. The authors point to stronger performance from such methods in the BioCreative challenge they discuss. They also emphasize the cost of producing examples for training and evaluation. The studies they review used different corpora, which limits what their reported scores can establish about the relative merits of the approaches. A result on one protein interaction collection, for example, cannot serve as the score of a competing system on DrugDDI. The authors describe these tradeoffs in their discussion of [machine learning](https://md.research.elamur.ai/free/en/concepts/machine-learning/).

#### Where the hybrid approach fits

The immediate precedent for the method is a biomedical extraction approach that uses syntactic patterns to deal with appositions, coordination and relative clauses before matching relation patterns. This lets a system prepare a sentence for extraction by acting on its grammar first. The authors retain that division of labor and extend the intended coverage to other types of subordinate and coordinate clauses. They also adapt rules from earlier work on syntactic simplification. That work aimed to produce simpler sentences for applications such as summarization and translation. In DrugDDI, simplification has a specific test. The generated sentences must preserve enough of the original statement for a pattern to find the correct drug pair.

The approach brings together a relatively shallow view of grammar and a domain specialist’s account of useful expressions. The grammar supplies phrase boundaries and categories, recognizes units that can stand in a participant position, and proposes ways to divide longer sentences. The drug-specific patterns supply the connection between these units. A conjunction can tell the system that names belong together in a list. A verb or warning construction gives it a reason to propose an interaction involving that list. The authors present this pipeline and its annotated collection as an integrated effort to address a task that had received little attention compared with protein and gene relation extraction.

### The method, step by step

#### Preparing the documents and annotations

The authors selected 579 documents at random from DrugBank. The collection, which they call DrugDDI, contains 66,021 phrases as reported after processing with MetaMap Transfer, abbreviated MMTx. The paper counts 14,930 of those phrases as drugs, corresponding to 22.6%. These figures describe occurrences in the processed documents. The size of the phrase inventory and the number of drug phrases describe how much material the initial analysis supplies before the system begins deciding which mentions interact.

A pharmacist assisted with marking interactions at sentence level. The authors report 3,775 sentences with two or more drugs, of which 2,044 contain at least one annotated interaction. Across the collection, they report 3,160 interactions. The paper gives an average of 5.46 interactions per document and 0.54 per sentence. An annotation here records a relation between drug mentions in the sentence. A sentence can contribute several reference pairs, and a sentence containing several recognizable drug names can contribute none. The unit used to evaluate extraction is therefore more specific than the sentence-level decision that a passage is about interactions. The distinction is central to [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/).

The pharmacist had a second role in the study. Drawing on professional experience and observation of the corpus, she defined the language patterns for extraction and supplied lists of related words for the main interaction triggers. The rules were authored by hand. Corpus observations also informed the syntactic patterns and clause heuristics. The paper describes the collection as the basis for annotation, rule development and evaluation without specifying a separate held-out document split for the reported extraction experiments.

#### From text to a sequence of phrases

MMTx divides the text into sentences and tokens, assigns grammatical word classes, groups tokens into phrases and links phrases to concepts in the Unified Medical Language System Metathesaurus. Sentence splitting defines each unit that the extractor can process. Dividing text into tokens gives the analysis units such as words and punctuation. Grammatical labels distinguish such categories as nouns, verbs and adverbs. A phrase can group several tokens under one syntactic label, such as a noun phrase or a prepositional phrase. Concept links supply biomedical information about what the phrase names. The first stages include [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/) and [part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/).

MMTx’s analysis is shallow because the subsequent rules work on chunks and their labels. The sequence of chunks does not have to specify all the attachments in the sentence. The authors’ procedure also uses DrugNer to identify drug mentions. These are complementary descriptions of the processing. MMTx provides the lexical, syntactic and semantic analysis, while the extraction procedure explicitly calls on DrugNer for the names. Only sentences with at least two identified drug names continue to extraction. Missing a necessary name at this point can remove a candidate sentence or leave the relation matcher with an incomplete set of participants. This stage illustrates the role of [named entity recognition](https://md.research.elamur.ai/free/en/concepts/named-entity-recognition/).

The extractor uses indexed labels in place of drug mentions. An index records the position of a drug in the sentence’s list of recognized names. It allows the extraction pattern to refer to a generic participant while keeping the information needed to recover the drug name. The same technique is later used for larger constructions. A coordinate list can receive one indexed `COORD` label and an apposition one indexed `APPOSITION` label. Each label gives the matcher a compact representation of a larger phrase sequence and lets the matcher recover its contents when needed.

From pharmacological sentences to candidate drug interactions The steps in order.

The configurations differ in how much of this pipeline they use. The basic version applies the interaction patterns to the original sentence with drug labels. The next one groups coordination and apposition before matching. The fullest version groups those structures, runs the clause procedure, and matches the remaining text of the resulting sentences. Matching always serves as the decision point for proposing a relation. Grouping and rewriting change what the lexical patterns can see.

#### Treating a list as a single participant

In coordination, words or phrases joined by something like *and* can occupy a shared grammatical position. The paper illustrates this with a sentence about aspirin and a list of other drugs. The first list item follows a preposition and appears in an MMTx prepositional phrase. The other names appear as noun phrases. The intended reading applies the same statement about aspirin to each member of the list. If a rule required all coordinated items to have identical phrase labels, it would miss this structure as MMTx represents it.

The paper discusses the Coordination of Likes Constraint, which treats matching syntactic categories as a requirement for coordination. The authors find that requirement too strict for the shallow analyses they receive. MMTx sometimes assigns the unknown label `UNK`, and the first item of a list can include a preposition that the remaining items share implicitly. The authors allow a phrase-level list to contain different chunk types. Their rule is permissive about the parser’s representation so that the shared grammatical role can still be recovered when the labels differ.

The main phrase-list pattern in the paper can be written in the following notation.

```
((NP ∣ PP ∣ ADJ ∣ UNK) ,)* (NP ∣ PP ∣ ADJ ∣ UNK) CONJ (NP ∣ PP ∣ ADJ ∣ UNK)
```

`NP` is a noun phrase, `PP` a prepositional phrase, `ADJ` an adjectival phrase and `UNK` a phrase with an undetermined type. `CONJ` is a conjunction in the pattern. The vertical bar `∣` separates alternatives. Parentheses group parts of the expression. The comma is literal punctuation, and `*` permits the preceding group to appear zero or more times. The required ending is a phrase, a conjunction and another phrase. The repeated prefix admits longer lists with comma-separated members. The rule does not insist that every occurrence select the same alternative.

The phrase coordinators considered include *and*, *or*, *nor*, *and/or* and *as well as*. The authors use a separate pattern for verb phrases. In their division between phrase and clause processing, a verb phrase can coordinate with another verb phrase, while a connection between a verb phrase and a different phrase type belongs to clause analysis. The separate verb pattern is structurally similar to the list pattern, with `VP` in every participant position. The paper also recognizes paired markers in correlative constructions. Openers such as *both*, *either* and *neither*, together with connectives such as *and*, *or* and *nor*, can mark a grouping. The paper illustrates the construction with a pair of drug names following *both* and *and*.

The output of coordination detection is a group, with its members retained for possible expansion. In the aspirin example, the group occupies the position of the drugs whose effects the sentence describes. A successful lexical match connects aspirin to that group. Expansion then yields an aspirin pair for each member. The grouping alone would supply no interaction between two members of the group. Their role comes from the one external interaction statement they share.

#### Capturing examples and class names through apposition

The authors use apposition to cover constructions where neighboring expressions name, characterize or exemplify a participant. Their discussion notes that linguistic definitions disagree over the range of constructions that qualify. One definition emphasizes neighboring noun phrases that refer to the same entity. Broader proposals admit clauses and sentences, while another approach emphasizes the presence of an apposition marker. For extraction, the authors make a practical choice. They target overtly signaled constructions that include drug mentions.

Markers include *such as*, *like*, *including* and *for example*, as well as *e.g.* and *i.e.*. Parentheses can help delimit the construction. The authors observe that scientific writing also contains appositions without these markers, but report that they rarely encountered that kind in expressions describing drug interactions. Overt markers supply an anchor for a local phrase rule in a task where identifying all appositions would require a broader grammatical analysis.

The pattern distinguishes an apposition from an appositive, an element within it. An appositive may be a noun phrase, a prepositional phrase, an unknown phrase or another apposition. Allowing another apposition in that position gives the representation a way to recognize nesting. The types used here reflect where the authors found drug mentions in their phrase analyses. The whole construction starts with an appositive, allows punctuation around the appositional material, then looks for a marker and the phrases that follow it. The material after the marker can itself be a coordinated sequence. A pharmacological writer can introduce a category and give a list of examples in a single construction.

The paper illustrates this with a description of catecholamine-depleting drugs that names reserpine as an example and discusses an additive effect with beta-blocking agents. In the authors’ interpretation, the sentence supports a pair with the class name and another with the named example, each linked to beta-blocking agents. The matcher can process the class and example together as one participant. Once it finds the interaction expression, the system unfolds the group to recover both pairs. This operation extracts the participants the sentence supplies. It does not try to enumerate other members of the drug class.

Encapsulation keeps commas and conjunctions inside a recognized apposition from being reconsidered immediately as separators of independent statements. This is especially important in the full configuration. A comma after a class name could mark the start of an example or help separate parts of a compound sentence. If the apposition is grouped first, the clause algorithm works with fewer ambiguous punctuation marks. The authors thus use the same grammatical analysis to simplify the input to both the clause rules and the interaction patterns.

#### Deciding whether there are several clauses

A clause is organized around a predicate, with a subject that may be expressed in the clause or shared with surrounding material. Independent clauses can stand as statements. Subordinate clauses depend on another part of the sentence and can describe a participant, give a condition or explain a circumstance. The paper’s clause stage tries to detect these units as a way of shortening what a lexical pattern must match.

The authors begin with a count of extended verb phrases. A word such as *and* can join drug names, and a subordinator can have a use that does not separate clauses. The presence of a candidate connective therefore supplies weak evidence on its own. Counting verb groups is meant to give the algorithm a stronger reason to look for a boundary. That count depends on first deciding how much material belongs to a verb group.

The paper adopts a narrow notion of a verb phrase centered on the main verb and associated auxiliaries or modals, leaving its complements outside the group. MMTx can assign separate phrase labels to the verbs in what a reader would interpret as a single predicate. It also uses a special label for forms of *be*. Without a merging step, an auxiliary chain can look like several predicates and trigger clause splitting in a sentence that expresses one statement. The authors use a pattern to join the relevant labels before counting.

```
(VP ∣ V/be ∣ VPG) (V/be)? (NOT)? (ADV)? (VP ∣ V/be ∣ VPG)? (TO VP)?
```

`VP` designates a verb phrase label from the shallow analysis, `V/be` represents a form of *be*, and `VPG` is a verbal category admitted by the pattern. `NOT` represents the negative adverb, `ADV` an adverb, and `TO` the infinitival marker when it precedes another `VP`. The bar `∣` allows alternatives. Parentheses group elements, and `?` makes the preceding group optional. A verbal label at the start is required. The remaining groups allow material such as an auxiliary, negation, an adverb, another verb or an infinitive to be bundled into the same extended phrase.

The paper shows the effect with a statement about drug interaction studies. MMTx gives separate labels to parts of the sequence expressing that the studies were never conducted. The merging rule allows the sequence from the auxiliary through the main verb to count as a unit. In another example, a form of *be*, an adverb and the verbal expression of a contraindication become one unit. The resulting verb group is a cue for whether the sentence requires clause analysis. Merging a negative adverb into that group does not determine the scope of the negation.

#### Finding candidate clause boundaries

The authors use different cues for different sentence structures. Independent clauses can be connected by coordinating expressions or separated by punctuation. Words such as *however* can signal a link between statements while also occurring at the beginning of a simple sentence. A subordinate clause can be introduced by a word such as *because*, *although* or *when*. Its expected punctuation depends partly on whether it precedes the main clause. A relative clause can occur inside the main clause, directly after the phrase it describes. That position makes it a special case, because removing the relative clause can leave pieces of the main statement on either side.

The authors first describe fixed patterns that embody these possibilities. A subordinate clause at the start might be followed by a comma and a main clause. An independent clause might be followed by a marker and another independent clause. These patterns are insufficient when the punctuation or connectives also occur within the clauses. A comma can appear in a list, and words such as *for* can function in ways other than joining independent clauses. Removing recognized lists and appositions reduces the available separators, while MMTx’s conjunction label helps screen words whose grammatical function varies. The parser can still assign a misleading category.

The authors replaced their initial boundary templates with heuristics informed by fifty compound and complex sentences. The procedure takes a sentence whose verb phrases have already been merged. If it has one extended verb phrase, the algorithm treats it as simple and ends the analysis. Otherwise it scans for separators such as conjunctions, dependent or independent markers, commas and semicolons. Candidate word markers are screened using the phrase analysis where the procedure requires a conjunction. Punctuation supplies possible boundaries in its own right.

The algorithm considers the span between its current starting point and the next candidate separator. If the span has a verb phrase, it marks a clause and moves the starting point past the separator. If the span has no verb phrase, the search continues to another separator without accepting that first span as a clause. The procedure also accounts for a remaining span at the end. In outline, this checks a grammatical property of the material before accepting a boundary. A conjunction early in a subject list is less likely to create a spurious clause when the text before it has no predicate.

The classification of a segment as independent or subordinate uses the separator and the type of construction. The method remains a heuristic over relatively shallow syntax. A span can contain a verb and still be an incomplete projection of the sentence’s structure. Conversely, an independent clause may share its subject with an earlier clause. The paper’s example involving CRIXIVAN has two independent predicates supported by the same subject. That subject contains a description of other drugs through an embedded relative clause. The example shows why recognizing the presence of several predicates is easier than recovering the boundaries and arguments of each clause.

#### Generating sentences the patterns can match

The generation rules adapt simplification work that separated common clause structures. Where a marker introduces material before a comma-delimited division, the rules can generate a sentence from each of the separated clauses. Where a marker occurs between clauses, they can again produce sentences independently from those spans. Relative clauses receive a special treatment. One generated sentence joins the parts of the main clause around the noun phrase that the relative clause describes. Another uses that noun phrase to supply the subject of the separated description.

The relative-clause transformation can be written as a schematic rule.

```
A NP REL(NP) B → (A NP B), (NP REL(NP))
```

`A` is the part of the main clause before the noun phrase. `NP` is that noun phrase, and `REL(NP)` is the relative clause attached to it. `B` is the remaining part of the main clause after the relative. The parentheses in `REL(NP)` mark the attachment to `NP`. The arrow `→` indicates generation. On its right, the parentheses enclose the two resulting sentences, and the comma separates the outputs. The first output preserves the noun phrase in the main statement. The second makes the phrase available to the separated description.

One illustration concerns uricosuric agents. A relative clause describes what the agents do to urate excretion. The surrounding clause makes a distinct statement about their likely effect on oxipurinol excretion. The generated main statement keeps the agents and the oxipurinol claim together, while the other generated sentence attaches the agents to the statement about urate. The example shows the operation’s purpose even though the longer generated sentence retains other complexity. The rule removes a particular interruption and preserves the noun phrase as the argument of both pieces.

A rule that divides clauses at a connector performs a more consequential transformation. When a sentence contains independent propositions, the resulting sentences can retain a usable statement each. When the connector expresses a condition for an effect, separating the propositions can weaken the evidence that they belong together. The generator supplies text for reuse by the same lexical patterns, with no separate representation linking a detached condition to its effect. That design makes the evaluation of simplification depend on what the matcher can recover from each resulting sentence.

#### Matching the language of drug interactions

The lexical rules target recurring ways that writers express an interaction. Several begin from a drug label, allow a modal or adverb, and look for a verb about interacting, increasing, decreasing or altering. A short span of other words can intervene before the next drug. This is useful for expressions that name a property of the second drug, such as its effect. The subject and the affected drug therefore need not occur on opposite sides of a single verb with no words between them.

Other rules cover passive forms, where the affected drug appears first. Patterns built on coadministration name both drugs together before the expression of an effect or result. The pattern set also covers cautions about concurrent administration, language about patients receiving drugs together, and cases where the noun *interaction* introduces the pair. The pharmacist’s auxiliary lists let one trigger position admit several words. An increase can be indicated by such words as *raise*, *elevate* or *enhance*. An alteration can be indicated by words such as *change*, *influence* or *inhibit*. The vocabulary reflects the constructions the authors sought to recognize, with each word interpreted in the context of its pattern.

The coadministration pattern `P8` is an example of how these choices become a matching expression.

```
COADMINISTRATION OF DRUG (WITH ∣ AND ∣ PLUS) DRUG MODAL? ADV? (INCREASEₛᵧₙ ∣ DECREASEₛᵧₙ ∣ INTERACTₛᵧₙ ∣ ALTERₛᵧₙ)
```

`COADMINISTRATION` and `OF` mark the opening construction. `DRUG` is the participant slot and occurs twice. `WITH`, `AND` and `PLUS` are alternative links between the participants. `MODAL` is a member of the rule set’s modal word list, and `ADV` is an adverbial other than the targeted negative adverb. The subscript `ₛᵧₙ` identifies the pharmacist’s word list for the corresponding trigger family. `INCREASE`, `DECREASE`, `INTERACT` and `ALTER` name those families. Parentheses group alternatives, `∣` separates them, and `?` marks optional material. The rule requires a trigger after naming both drugs, so the construction can propose a pair when a statement about what happens accompanies the coadministration.

Several of the patterns allow intervening words within explicit bounds. The paper uses `0..5` for the flexible word span in rules that include the direct increase and decrease constructions. The rule beginning with an interaction noun uses `0..3` for its flexible span. Each notation gives the permitted span length in words. This device allows some variation in what authors say about a drug while limiting the distance a pattern can reach. It cannot decide whether every permitted sequence of words makes the surrounding expression an interaction assertion.

In the configurations with structural grouping, the participant slot can match a single drug or one of the stored groups.

```
DRUG slot → DRUG ∣ APPOSITION ∣ COORD
```

`DRUG slot` is the participant position in an extraction pattern. On the right, `DRUG` stands for an indexed drug mention, `APPOSITION` for an indexed apposition and `COORD` for an indexed coordinate group. The arrow `→` indicates how the slot can be filled, and the vertical bar `∣` separates the possible fillers. The text given to the matcher uses the group labels in place of the group’s internal wording. This is what lets the matcher treat a list as one participant before expanding it into several.

After a lexical match, the procedure checks whether the matched span contains the negative adverb represented as `NOT`. A span that passes the check supplies a candidate interaction. For an individual drug label, the system recovers the corresponding drug name. For a group label, it recovers the individual members and uses them to form the pairs. The final output is a list of drug interactions proposed from the text. The procedure’s last decision depends on the wording and syntactic representation that survived all the preceding stages.

### Experiments and results

#### What counts as success on DrugDDI

The extraction experiments compare proposed drug pairs with the sentence-level annotations in DrugDDI. Precision measures the share of proposed pairs that agree with those annotations. Recall measures the share of annotated interactions that the system recovers. The paper also reports the F-measure with equal emphasis on precision and recall. It combines them through their harmonic mean, so poor coverage still weighs heavily on the combined score when a system makes few incorrect proposals relative to the number it returns. The global figures describe each complete configuration. The scores for an individual pattern describe what that rule recovers against the corpus reference.

The baseline, called `allDDIs`, assumes that every pair of drugs occurring in the same sentence interacts. Its purpose is to show how far candidate generation can go using the sentence boundary and drug names alone. It gives the maximum recall under this co-occurrence strategy. The paper reports 11% precision and 19% F-measure. The low precision makes sense in light of the annotation setup. A candidate sentence can contain several names and support only particular pairings, and some candidate sentences have no annotated interaction at all. The baseline includes both kinds of unsupported proposal.

The comparison holds the document source and extraction target in common while changing the treatment of each sentence. In the basic experiment, the matcher receives the sentence text with the names replaced by drug labels. In the next experiment, it also recognizes apposition and coordination and accepts their group labels as participants. The last experiment keeps those changes and passes the sentences through clause splitting and generation before applying the patterns. The paper presents the extraction scores on DrugDDI as a whole. It gives no separate held-out test split for these figures.

#### The main comparison

With the lexical patterns alone, precision is 67.30%, recall is 14.07% and F-measure is 23.28%. The result gives the pattern inventory some power to select appropriate pairs from the co-occurring names. The low recall places a tight limit on the number of annotated interactions it can recover. The corpus includes interactions that cannot be reduced to one of the specified patterns, and even familiar wording can be interrupted by text that the basic matcher has no rule for handling.

With coordination and apposition enabled, precision is 48.69%, recall is 25.70% and F-measure is 33.64%. The change raises the combined score and covers more of the annotated pairs. It also means a smaller share of the returned candidates agrees with the annotations. The structure-aware rules create additional ways for a pattern to match and additional pairs when a match expands. An erroneous group can distribute an erroneous relation across several members, just as a well-formed group can expose several correct relations.

With clause splitting and simplification added, the authors report 48.89% precision, 24.81% recall and 32.92% F-measure. Precision is close to that of the configuration with grouping alone. The lower recall and combined score show that the extra clause operation did not yield an aggregate improvement on DrugDDI. The authors give examples that motivate the operation, but the full comparison evaluates all constructions and all patterns together. A rewriting rule can make an individual sentence easier to match while failing to improve the corpus-level outcome.

F-measure by extraction configuration on DrugDDI Grouping coordination and apposition gives the highest combined score.

**The numbers**

| System or setting | F-measure % |
| --- | --- |
| All co-occurring drug pairs | 19 |
| Lexical patterns | 23.28 |
| Lexical patterns with coordination and apposition (this paper) | 33.64 |
| Lexical patterns with grouping and clause simplification | 32.92 |

Recall by rule configuration on DrugDDI Grouping increases coverage, and adding clause simplification recovers fewer annotated interactions.

**The numbers**

| System or setting | Recall % |
| --- | --- |
| Lexical patterns | 14.07 |
| Lexical patterns with coordination and apposition (this paper) | 25.70 |
| Lexical patterns with grouping and clause simplification | 24.81 |

Precision by rule configuration on DrugDDI Direct lexical matching gives the highest precision among the rule configurations.

**The numbers**

| System or setting | Precision % |
| --- | --- |
| Lexical patterns (this paper) | 67.30 |
| Lexical patterns with coordination and apposition | 48.69 |
| Lexical patterns with grouping and clause simplification | 48.89 |

The charts capture different properties of the same task. A reader looking for a larger fraction of the annotated pairs would prefer the configuration with grouping among the rule systems tested. A reader concerned with the fraction of correct proposals would notice the stronger precision of the basic patterns. The F-measure comparison expresses the balance chosen in the paper and places the grouped configuration first. The results also show how much coverage is lost when moving from the permissive co-occurrence assumption to rules that require textual evidence of an interaction.

#### What individual patterns recover

The authors report that the average number of interactions detected by a pattern was 35.5 in the basic experiment and 64.83 once coordination and apposition were included. These are averages over the patterns’ detections, while the global recall figures measure recovery of the annotated interactions by each configuration as a whole. The averages help show that adding group labels changes the work done by the patterns even though their interaction triggers continue to come from the same pharmacist-defined inventory.

The `P2` rule for an increase gives the highest individual recall in the basic experiment and remains the highest after coordination and apposition are introduced. On DrugDDI, its basic precision is 69.51% and recall is 3.77%. With grouping, its precision is 54.78% and recall is 7.00%. Its individual F-measure moves from 7.15% to 12.42%. These numbers show how the global pattern of higher recall and lower precision can occur within a single often productive construction. The modest absolute recall of the individual rule also gives a sense of how much of the corpus lies outside any single template.

The strongest precision among the basic patterns belongs to `P8`, the coadministration construction. It records 100.00% precision on DrugDDI with 0.50% recall. The precision figure refers to the cases the rule actually proposed in that setting. Its very small recall shows that those cases cover a narrow part of the reference set. After the matcher can take a group as a participant, `P8` has 57.45% precision and 0.89% recall. In the grouping experiment, the authors identify `P10`, the caution construction, as the highest-precision individual rule.

These rows also help explain why the reported figures for particular rules should be read alongside their recall. A precise coadministration construction can give a reliable cue for the subset of passages that use it. Altering what can occupy the drug slots changes that subset. The performance of the rule therefore depends on the reliability of the participant recognition as well as on the conspicuousness of its trigger words. A match around the word *coadministration* will still yield inaccurate pairs if the participants attached to that match have been grouped incorrectly.

#### A small check of the grammatical stages

Before relying on the full extraction scores, the authors examined the resolution of linguistic structures on fifty randomly selected sentences with help from a linguist. They assessed coordination, appositions, relative clauses and the remaining clauses. This check asks whether the system identified or resolved the constructions it was designed to process. The extraction comparison asks whether the resulting text led to the right drug pairs. A structural error can matter for extraction when it changes the participants or cuts the interaction expression apart. It can also occur in text that would never have matched a lexical rule.

The authors report that most of the errors they observed in the structural check came from MMTx’s tagging and parsing. Nested clauses were a particular problem for the splitting approach. The sample gives a way to inspect errors before they reach the final matcher, and the corpus-level scores show their possible end effect together with errors in the rules themselves. The paper treats the structural check as preliminary. The extraction scores provide the direct basis for comparing the complete settings.

### What the ablations show

#### Grouping changes which participants a rule can see

The paper’s main component comparison is cumulative. It starts with lexical matching, adds coordination and apposition together, and finally adds clause splitting and simplification together. The first step tests whether treating particular multi-phrase structures as single participants makes the extraction patterns more productive. The second step tests whether breaking up the resulting sentences gives a further benefit. These comparisons use the same basic interaction vocabulary and reference corpus, so their outcomes speak to the processing added around the matcher.

The improvement from 14.07% to 25.70% recall with grouping supports the idea that useful interaction expressions were already present in some of the sentences the basic matcher missed. A participant could be spread across list items or separated by an appositional example. By putting a group label in its place, the system gives a lexical pattern a simple slot to match. Then it can expand the group into pairs. The comparison joins coordination with apposition, so it does not establish how much of the improvement is due to each construction type. Both use the same mechanism of representing a larger structure through an indexed participant.

Precision falls from 67.30% to 48.69% in that comparison. The authors attribute the decline to errors introduced in syntactic processing. This explanation is consistent with the design. A false boundary or an extra member in a group can turn a valid interaction expression into several poor pair proposals. There is also a change in matching opportunity. When the patterns accept group labels, the lexical structure that a rule recognizes can arise in a wider range of sentences than it did with drug labels alone. The paper does not provide a pair-by-pair attribution that would distinguish these mechanisms quantitatively.

#### Simplification depends on preserving interaction evidence

The addition of splitting and rewriting brings recall down from 25.70% to 24.81% and F-measure down from 33.64% to 32.92%. This comparison tests the complete clause intervention after grouping. It combines the detection of boundaries, the identification of clause types and the generation of text for the pattern matcher. The overall score shows how the implementation worked as a group of operations. It cannot isolate a penalty from a specific kind of clause or determine whether better boundaries alone would have delivered a gain.

The authors offer two explanations. Errors can accumulate as information moves from MMTx’s labels into clause decisions and from those decisions into rewritten sentences. Some interaction descriptions also need evidence from more than one clause. The paper illustrates this with a report of a change in norethindrone’s peak concentration when it was taken with gabapentin. The main clause gives the measured change. The clause introduced by *when* supplies the coadministration. An interaction rule needs the pieces together, even if the clause division itself is grammatically defensible. The full pipeline’s rule inventory works on the resulting sentences separately and has no mechanism for joining the effect to that detached condition.

The individual pattern rows show that simplifying the sentence has different effects on different forms of expression. For `P2`, recall falls from 7.00% to 6.41% when clause processing is added after grouping, while precision rises from 54.78% to 55.75%. For `P8`, recall goes from 0.89% to 1.02% while precision moves from 57.45% to 52.54%. The indirect coadministration pattern `P9`, which requires language about a result, has 68.18% precision and 1.98% recall with grouping, and the same figures after the clause stage is included. These rows establish that the shifts are not uniform. They do not identify which rewritten clauses produced the gains or losses for a particular pattern.

The structural evaluation sheds some light on where degradation can begin. Resolving a clause requires locating its start, locating its end and deciding whether the intervening material forms a usable clause. Nested structures can cause a mistake at any of these decisions and alter the input for the next one. A good score for a grammatical operation would still require checking the effect on relation extraction, because a successful split may remove useful context. In this paper, the final pair scores supply that check. They show a clear aggregate benefit from grouping and no additional aggregate benefit from the clause procedure that was tested.

### Limitations

#### Limits the authors identify

The authors describe their evaluation of syntactic simplification as preliminary. The manually examined set is small, and the paper leaves detailed diagnosis and correction of MMTx errors for future work. This makes the observed dependence on parsing important but difficult to quantify. The initial phrase sequence helps decide what belongs in a list, whether a connector acts as a conjunction and where a verb phrase is present. An error early in that sequence can propagate through several later decisions. The analyses do not measure how many final errors would disappear if the initial tags or chunks were corrected.

The authors particularly emphasize nested clauses. Their boundary heuristics use markers and the presence of a verb group, which are useful local cues. The same cues occur inside larger clauses. A predicate may belong to a relative clause modifying a noun in a main clause, and more than one level of structure can be present before the main predicate is reached. The authors characterize their treatment as too simple for the complexity of biomedical writing. They also identify a separate limitation in the pattern matcher’s ability to use relations spread across clauses. Better clause boundaries would address only part of that issue. A relation can genuinely depend on material on both sides of a correct boundary.

Negation is another limit the authors explicitly acknowledge. The check rejects a match if the negative adverb occurs inside the matched string. The paper gives a case in which a statement says that studies have failed to show an interaction. A local pattern can match the two drugs and the interaction verb while leaving the words that express the failure to show it outside the match. The broader statement governs the interpretation of the interaction expression. Correct treatment requires knowing what the negation applies to, which cannot be determined just by searching the match for the negative word. The authors also call for a fuller treatment of modality, including the difference between a possible interaction and a more definite statement.

The rule inventory has a related problem with linguistic variation. Different words or sentence structures can convey similar interaction claims. Conversely, a shared set of words can appear in sentences that support different interpretations. A synonym list helps the rule generalize from one trigger word to another, while the lexical frame places that word in some context. The resulting combination still misses many reference pairs. The authors connect this limitation to future plans for learning additional patterns and applying machine learning to the task.

#### Limits apparent from the evaluation setup

The reported results describe a DrugBank-derived collection. Random selection from DrugBank gives a basis for sampling within that source. The paper’s motivation also discusses clinical journals and technical reports, but the extraction experiments do not measure performance on separately sampled material from those sources. Differences in how documents describe drugs and interactions could change the relative usefulness of the patterns, the frequency of marked apposition or the success of the parser. The scores support conclusions about DrugDDI, with transfer to other document sources left open.

The pharmacist drew on corpus observations as well as experience when defining lexical patterns, and the authors used observed sentences to develop clause heuristics. The paper does not specify a distinct held-out collection for the main extraction scores. That leaves uncertainty about how well the particular rule inventory would transfer to documents encountered after rule development. The number of documents and annotations establishes the scale of the DrugDDI evaluation. It does not by itself establish independence between development and the reported test.

The annotations and the extraction routine are sentence-based. A relation whose participants or evidence are distributed across sentences lies outside the routine’s direct search. Even within one sentence, finding both names is a precondition for a pair. The reported settings vary syntax processing while leaving the dependence on drug recognition in place. They provide no separate estimate of how well the extraction rules would perform if the drug mentions were always supplied correctly, or of how many missed pairs begin with a drug name that DrugNer failed to identify.

The structural comparison also bundles changes whose effects could differ. Coordination and apposition are enabled together. Clause boundary detection and the generation of simplified sentences are added together, and the order of operations stays fixed in the reported experiments. The results therefore identify useful and less useful combinations at the level tested. They leave open whether apposition alone would improve precision or recall, whether an alternative simplification rule would preserve more interaction evidence, and whether a different order would alter errors introduced by the parser and phrase patterns. The authors themselves identify varying that order as future work.

Finally, extracting a pair from a passage is a narrower task than assessing the clinical content of the passage. The evaluation measures agreement with annotated interactions. It does not assess whether the candidate can be acted on, how strong the supporting evidence is, or under what doses and treatment conditions it matters. The examples involving cautions, conditional statements and negation make the distinction concrete. A pair may be relevant for literature review even when a reader still needs the original wording to determine the status, direction and circumstances of the reported effect.

### What came after

No subsequent citing work is documented for this account. The paper itself closes with several directions the authors intended to pursue. For syntactic processing, they propose identifying and repairing MMTx errors, trying other parsers and grammatical corpora, improving the clause splitter, and changing the order in which the structures are resolved. They also propose enlarging the corpus and annotating the linguistic constructions so that the stages can be evaluated more directly.

A separate set of plans concerns the evidence used to decide whether to return a pair. The authors propose handling negation and modality more thoroughly and evaluating an existing approach to resolving references in the extraction task. Such references matter when a clause uses a pronoun or another referring expression in place of a full drug name. The authors also outline plans to discover more patterns from text through bootstrapping and to explore machine learning for drug interaction extraction. These are proposed extensions. The reported evidence ends with the tests of the hand-written patterns, phrase grouping and clause simplification on DrugDDI.

## Cite

Cite as Isabel Segura-Bédmar, Paloma Martı́nez and César de Pablo-Sánchez. 2011. A linguistic rule-based approach to extract drug-drug interactions from pharmacological documents. BMC Bioinformatics.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1186/1471-2105-12-s2-s1](https://doi.org/10.1186/1471-2105-12-s2-s1)

```bibtex
@inproceedings{segurabedmar2011linguistic,
  title = {{A linguistic rule-based approach to extract drug-drug interactions from pharmacological documents}},
  author = {Isabel Segura-Bédmar, Paloma Martı́nez and César {de Pablo-Sánchez}},
  booktitle = {BMC Bioinformatics},
  year = {2011},
  doi = {10.1186/1471-2105-12-s2-s1},
  url = {https://doi.org/10.1186/1471-2105-12-s2-s1}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
