First internally hyperlinked New York Laws online

I’m completing an internally hyperlinked version of the New York Laws.  I’ve looked hard, but I haven’t found any other sites that link the cross references in the text itself.  (Someone please correct me if I’m wrong.)  Why hasn’t this been done before?  Take a look at Abandoned Property Law § 1222:

The provisions of sections twelve hundred seven, twelve hundred eight, twelve hundred eleven and twelve hundred twelve of article twelve of this chapter shall apply to all escheat proceedings under this article.

Compare with a similar Oregon statute, ORS 98.304:

Unless otherwise provided in ORS 98.302 to 98.436 and 98.992 or by other statute of this state, intangible property is subject to the custody of this state…

The reason for the lack of a hyperlinked version looks obvious: We want to figure out which statute is being referred to.  That’s many times more difficult with text like “twelve hundred twelve of article twelve of this chapter” compared with “ORS 98.302” — especially for a computer program.

Core computer science techniques can solve problems like this

A hyperlinked cross reference

A hyperlinked cross reference

I wrote a divide and conquer / recursive descent parser which interprets a legal citation and translates New York state’s idiomatic language into ordinary numbers.  A factory method controls access to the algorithm; this is one of the great design patterns for writing flexible code.  For example, software that changes its behavior depending on which state’s laws its displaying.

That’s the buzzword-laden summary.  If anybody would like more details, drop me a line.

3 thoughts on “First internally hyperlinked New York Laws online

  1. Pingback: Tweets that mention First internally hyperlinked New York Laws online « OregonLaws.org Blog -- Topsy.com

  2. Robb:

    I am working on the same thing, albeit on a much smaller scale, for only the particular titles that I will be working with routinely: CPL, PEN, CPLR, etc. And mine is manually done, a few hours at a time.

    I’d love any tips you could give me on how to make this go faster.

    Thanks…

    Peter

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s