openlawnz-research

所属分类:论文
开发工具:JavaScript
文件大小:168KB
下载次数:0
上传日期:2022-06-24 09:46:16
上 传 者sh-1993
说明:  学术界和法律专业人士的研究中心,用于导出数据和处理定制的数据方面。
(Research centre for academics and legal professionals to export data and process bespoke data facets.)

文件列表:
.env.sample (254, 2020-12-23)
.prettierrc (165, 2020-12-23)
buildspec.yml (126, 2020-12-23)
index.js (19084, 2020-12-23)
mock-index.js (3023, 2020-12-23)
mocks (0, 2020-12-23)
mocks\case-sets.json (51, 2020-12-23)
mocks\case-sets (0, 2020-12-23)
mocks\case-sets\sample_case_set.json (137, 2020-12-23)
mocks\cases (0, 2020-12-23)
mocks\cases\sample_case.json (676, 2020-12-23)
mocks\columns.json (143, 2020-12-23)
mocks\public (0, 2020-12-23)
mocks\public\ocrs (0, 2020-12-23)
mocks\public\ocrs\sample_case.pdf (179546, 2020-12-23)
mocks\public\pdfs (0, 2020-12-23)
mocks\public\pdfs\sample_case.pdf (42755, 2020-12-23)
mocks\search-results.json (144, 2020-12-23)
package-lock.json (252300, 2020-12-23)
package.json (603, 2020-12-23)
public (0, 2020-12-23)
public\export (0, 2020-12-23)
public\export\index.css (3096, 2020-12-23)
public\export\index.js (6349, 2020-12-23)
public\global (0, 2020-12-23)
public\global\index.css (1400, 2020-12-23)
public\global\logo.svg (3637, 2020-12-23)
public\global\pdfTextWorker.js (5777, 2020-12-23)
public\home (0, 2020-12-23)
public\home\acc-logo.svg (1450, 2020-12-23)
public\home\index.css (1365, 2020-12-23)
public\home\index.js (1150, 2020-12-23)
public\home\tenancy-logo.svg (10874, 2020-12-23)
public\human-refinement (0, 2020-12-23)
public\human-refinement\RowSorter.js (8896, 2020-12-23)
public\human-refinement\index.css (7056, 2020-12-23)
public\human-refinement\index.js (28800, 2020-12-23)
... ...

# OpenLaw NZ Research This software faciliates analysis of case law data at scale, by facilitating fast and efficient manual data extraction from case law, and enablinhg the export of case law data (both manually and autonomously extracted) in a machine-readable format. **This software is proof of concept.** ## Prerequisites You must have the following installed: - Node & NPM Make a `.env` file in the root directory, with the variables in `.env.sample`. Adjust the users and roles if you want to. > If you are just interested in doing front-end work you don't need to configure anything else. Otherwise you'll need to set up the other parameters. - `PDF_JSON_BASE_PATH` is the path where the interface will look for OCR'd PDF files in JSON format. Data must be from Azure Cognitive Services Vision 3.0 preview. This data provides the text of each case, and the location of each word on each page. - `PDF_BASE_PATH` is where the PDFs will be loaded from for display. ## Installation and Use Install npm install Run (locally) npm run dev npm run dev:mock `npm run dev` - visit: http://localhost:8082 `npm run dev:mock` - visit http://localhost:8083 ## Details The OpenLaw NZ research interface has two primary functions. ### Human Refinement Centre The human refinement centre is where humans can manually review case law and add data facets to the database. The interface has three panels. The left side panel shows a list of ACC cases, grouped into case sets. Case sets are all ACC cases (all cases with category "ACC") sorted randomly into groups of X, when a user clicks "Seetings" and enters a group size. This is a global, and the same sets are available to any logged-in user (if one user re-generates the sets, it will apply to all other users). A user can choose which case set, and which case, to view. The middle panel displays the case and a minimap. It highlights words and phrases relevant to each data facet, or all discoverable dates (if the data facet is a date). The words and phrases are loaded from the database. The right panel allows a user to choose which facet to look at and enter data for. Clicking "select" will choose that facet and highlight the relevant words or phrases in the case view. ### Export The export view allows users to: - Choose a data source by category, date, or case set - For cases in the data source, choose which data to export - Generate custom boolean (true/false) data for the presence of absence of words or phrases in the case text - Export the data in CSV or JSON format.

近期下载者

相关文件


收藏者