Skip to content

mtnfog/philter-sdk-golang

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Philter SDK for Golang

The Philter SDK for Golang enables Go developers to easily work with Philter. Philter identifies and manipulates sensitive information like Protected Health Information (PHI) and personally identifiable information (PII) from natural language text.

Refer to Philter API documentation for details on the methods available.

Build Status

Installation

go get github.com/mtnfog/philter-sdk-golang/philter

Example Usage

With an available running instance of Philter, to filter text:

To filter text:

filterResponse := Filter("http://localhost:8080", "His SSN was 123-45-6789.", "context", "docid", "default", "token")

To filter with explanation:

explainResponse := Explain("http://localhost:8080", "His SSN was 123-45-6789.", "context", "docid", "default", "token")

Release History

  • 1.1.0 - Adds authentication support.
  • 1.0.0 - Initial release.

License

This project is licensed under the Apache License, version 2.0.

Copyright 2020 Mountain Fog, Inc. Philter is a registered trademark of Mountain Fog, Inc.