All Projects → medelman17 → Blackstone Api

medelman17 / Blackstone Api

Blackstone is a spaCy model and library for processing long-form, unstructured legal text. Here, we wrap Blackstone with a performant API layer written in Go.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Blackstone Api

Eschool
eSchool Microservice based Solution
Stars: ✭ 29 (-43.14%)
Mutual labels:  microservice
Fabric8 Wit
wit stands for Work Item Tracker
Stars: ✭ 43 (-15.69%)
Mutual labels:  microservice
Microservice
Xigadee is an open-source Microservice framework, developed by Paul Stancer and Guy Steel. The libraries provide a simple and consistent approach for building modern enterprise API and Microservice based solutions; specifically those solutions targeted on the Azure platform.
Stars: ✭ 47 (-7.84%)
Mutual labels:  microservice
Microservice learning
从零开始微服务框架使用
Stars: ✭ 31 (-39.22%)
Mutual labels:  microservice
Altair
Lightweight and Robust API Gateway written in Go
Stars: ✭ 34 (-33.33%)
Mutual labels:  microservice
Spring Boot Microservice Eureka Zuul Docker
Spring-Boot rest microservices using Eureka, Zuul, Docker. Monitoring with logstash, logback, elasticsearch, kibana
Stars: ✭ 45 (-11.76%)
Mutual labels:  microservice
Mu
A full-stack DevOps on AWS framework
Stars: ✭ 948 (+1758.82%)
Mutual labels:  microservice
Docker Flask Mongodb Example
Uses docker compose with a python flask microservice and MongoDB instance to make a sample application
Stars: ✭ 49 (-3.92%)
Mutual labels:  microservice
Nex
Aiming to simplify the construction of JSON API service
Stars: ✭ 35 (-31.37%)
Mutual labels:  microservice
Moleculer Decorators
decorators for moleculer
Stars: ✭ 47 (-7.84%)
Mutual labels:  microservice
Jbone
jbone基于Spring Cloud框架开发,旨在为中小企业提供稳定的微服务解决方案,为开发人员提供基础开发骨架,jbone包含微服务中所有常用组件,例如注册中心、服务管理、服务监控、JVM监控、内存分析、调用链跟踪、API网关等等。业务功能包括系统权限的统一管理、单点登录、CMS、电商平台、工作流平台、支付平台等等。
Stars: ✭ 961 (+1784.31%)
Mutual labels:  microservice
Freedom
Freedom是一个基于六边形架构的框架,可以支撑充血的领域模型范式。
Stars: ✭ 972 (+1805.88%)
Mutual labels:  microservice
Hands On Microservices With Csharp 8 And .net Core 3 Third Edition
Hands-On Microservices with C# 8 and .NET Core 3, Third Edition, published by Packt
Stars: ✭ 46 (-9.8%)
Mutual labels:  microservice
Server
Serve your Rubix ML models in production with scalable stand-alone model inference servers.
Stars: ✭ 30 (-41.18%)
Mutual labels:  microservice
Relieve
Ease the implementation of multi processing accross your microservices
Stars: ✭ 47 (-7.84%)
Mutual labels:  microservice
Practical Clean Ddd
A simplified and effortless approach to get started with Domain-driven Design, Clean Architecture, CQRS, and Microservices patterns
Stars: ✭ 28 (-45.1%)
Mutual labels:  microservice
Mini Platform
Mini-Platform致力于更简洁易用的轻量级微服务治理平台。
Stars: ✭ 45 (-11.76%)
Mutual labels:  microservice
Awesome Micro
A collection of awesome things regarding zeit's micro.
Stars: ✭ 1,053 (+1964.71%)
Mutual labels:  microservice
Go Restful Api
An idiomatic Go REST API starter kit (boilerplate) following SOLID principles and Clean Architecture
Stars: ✭ 1,043 (+1945.1%)
Mutual labels:  microservice
Spring Cloud Study
开源书《跟我学Spring Cloud》的配套代码。讨论QQ群:731548893
Stars: ✭ 1,036 (+1931.37%)
Mutual labels:  microservice

Blackstone Microservice

Blackstone is a spaCy model and library for processing long-form, unstructured legal text. Here, we wrap Blackstone with a performant API layer written in Go. Communication between Blackstone and the API layer happens via gRPC. All of the above has been containerized to facilitate deploying "Blackstone as a Microservice".

Get Started

You must have Docker installed on your machine and access to the internet. Assuming the above, simply run:

docker-compose up -d

Running the above command starts the underlying Blackstone service as well as the API layer, which, by default, is accessible at http://localhost:8080. Note, however, as explained below, the API layer currently does not support any GET requests. So, navigating to the address above will return a 404-Not Found error. No worries--check out Postman (https://www.postman.com/) for easy programmatic access.

Routes

All of the below routes accept a POST request with a JSON body that includes a "text" property. E.g.,

{
  "text": "This is the text you want to process..."
}

/entities

The NER component of the Blackstone model has been trained to detect the following entity types:

Ent Name Examples
CASENAME Case names e.g. Smith v Jones, In re Jones, In Jones' case
CITATION Citations (unique identifiers for reported and unreported cases) e.g. (2002) 2 Cr App R 123
INSTRUMENT Written legal instruments e.g. Theft Act 1968, European Convention on Human Rights, CPR
PROVISION Unit within a written legal instrument e.g. section 1, art 2(3)
COURT Court or tribunal e.g. Court of Appeal, Upper Tribunal
JUDGE References to judges e.g. Eady J, Lord Bingham of Cornhill

The API layer will return a JSON response with the following shape:


{
  "data": [{"text":  "Some identified text", "label":  "CASENAME", "labelNumber":  1562316511}, ...]
}

/categories

Documentation forthcoming...

/abbreviations

/compound-references

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].