GitXplorerGitXplorer
a

walverine

public
55 stars
9 forks
7 issues

Commits

List of commits on branch master.
Unverified
9794c100f088d706afa3b82958dfc1a6ff89a98e

bump to 0.0.5

aadelevie committed 11 years ago
Unverified
e01cf63ac66d8e4b5b25fcd457ae844482ba8d58

Citation -> WalverineCitation

aadelevie committed 11 years ago
Unverified
781c8cb42eb8d8085a44e88f227ec46e95ebef75

Merge branch 'master' of https://github.com/adelevie/walverine

aadelevie committed 11 years ago
Unverified
a15a041e633cfafc79fe923f1fa7d68aaa0dfb66

bump to 0.0.4

aadelevie committed 11 years ago
Unverified
147843c52c6e8e50b9dff9c9a9bfcf630cee9cea

added new response object to readme example

aadelevie committed 11 years ago
Unverified
812446fe7a68674aaf8f058ea298aa0c8c3e278d

Merge pull request #4 from adelevie/fbennett-master

aadelevie committed 11 years ago

README

The README file for this repository.

Walverine

Mightier than a ferret, contains "Law Rev." spelled backwards.

Walverine extracts structured case law citations from unstructured strings of text.

Usage

var walverine = require('walverine');
var input = "I am a cat. Smith v. Hardibble, 111 Cal.2d 222, 555, 558, 333 Cal.3d 444 (1988)";
var cites = walverine.get_citations(input);
console.log(cites);
// =>
/*
[ { volume: 111,
    reporter: 'Cal. 2d',
    page: 222,
    lookup_index: 0,
    canonical_reporter: 'Cal.',
    extra: '555, 558, 333 Cal.3d 444',
    defendant: 'Hardibble',
    plaintiff: 'Smith',
    court: null,
    year: 1988,
    mlz_jurisdiction: 'us;ca',
    match_url: null,
    end_idx: 11,
    cert_order: null,
    disposition: null,
    match: 'Smith v. Hardibble, 111 Cal.2d 222, 555, 558, 333 Cal.3d 444 (1988)',
    seqID: 0,
    relations: [ 0, 1 ] },
  { volume: 333,
    reporter: 'Cal. 3d',
    page: 444,
    lookup_index: 0,
    canonical_reporter: 'Cal.',
    extra: null,
    defendant: 'Hardibble',
    plaintiff: 'Smith',
    court: null,
    year: 1988,
    mlz_jurisdiction: 'us;ca',
    match_url: null,
    end_idx: 14,
    cert_order: null,
    disposition: null,
    CARRY_FORWARD: true,
    match: '558, 333 Cal.3d 444 (1988)',
    seqID: 1,
    relations: [ 0, 1 ] } ]

*/

Installation

npm install walverine

Heritage

CourtListener (Python) -> Free Law Ferret (Javascript/Firefox Extension) -> Walverine (Javascript/Node)

License

See LICENSE.txt