It is common in judgments for the judge to use the full short title of a piece of legislation (such as the Theft Act 1968
) the first time it is referred to and then to refer to the same legislation obliquely (such as the Act
of the 1968 Act
) in subsequent references elsewhere in the judgment. This challenge this presents is that it makes it difficult to determine which Act is being cited (so that, for example, the oblique reference can be linked to the corresponding instrument on legislation.gov.uk
). The Oblique Legislative References Annotator (OLRA) is designed to address this challenge.
The OLRA is the fourth annotator in the JEP and kicks into action in the second phase of enrichment (the Case Law Annotator; the Legisalation Annotator; and the Abbreviations Annotator).
<ref href="http://www.legislation.gov.uk/id/ukpga/1972/68" uk:canonical="1972 c. 68" uk:type="legislation">this Act</ref>
- The OLRA uses the previously phase two enriched judgment as input and identifies where there are legislation
</ref>
tags in the judgment body. - The annotator then searches for oblique reference patterns, such as
T(t)he/T(t)his/T(t)hat Act
andT(t)he/T(t)his/T(t)hat [dddd] Act
references in the judgment text. - Where the matched oblique reference does not contain a year, the OLRA uses the location of the oblique reference and the legislation reference to determine which citation to legislation the oblique reference is closest to, and then links to that legislation.
- Where the matched oblique reference contains a year, the OLRA searches for the matched legislation reference (identified in step 1 above) that corresponds to that year and then links to that legislation.
- OLRA then builds builds a replacement string that wraps the detected oblique reference into a element with the link and canonical form of the linked legislation as attributes.
The pipeline returns a dictionary containing the detected oblique reference, its position and the replacement string.