philter-java-sdk

Philter Java SDK.

License

License

Categories

Categories

Java Languages
GroupId

GroupId

com.mtnfog
ArtifactId

ArtifactId

philter-java-sdk
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

philter-java-sdk
Philter Java SDK.
Project URL

Project URL

https://github.com/mtnfog/philter-sdk-java
Source Code Management

Source Code Management

https://github.com/mtnfog/philter-sdk-java.git

Download philter-java-sdk

How to add to project

<!-- https://jarcasting.com/artifacts/com.mtnfog/philter-java-sdk/ -->
<dependency>
    <groupId>com.mtnfog</groupId>
    <artifactId>philter-java-sdk</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.mtnfog/philter-java-sdk/
implementation 'com.mtnfog:philter-java-sdk:1.1.0'
// https://jarcasting.com/artifacts/com.mtnfog/philter-java-sdk/
implementation ("com.mtnfog:philter-java-sdk:1.1.0")
'com.mtnfog:philter-java-sdk:jar:1.1.0'
<dependency org="com.mtnfog" name="philter-java-sdk" rev="1.1.0">
  <artifact name="philter-java-sdk" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.mtnfog', module='philter-java-sdk', version='1.1.0')
)
libraryDependencies += "com.mtnfog" % "philter-java-sdk" % "1.1.0"
[com.mtnfog/philter-java-sdk "1.1.0"]

Dependencies

compile (7)

Group / Artifact Type Version
com.squareup.retrofit2 : retrofit jar 2.7.1
com.squareup.retrofit2 : converter-scalars jar 2.7.1
org.apache.commons : commons-lang3 jar 3.9
commons-io : commons-io jar 2.6
com.squareup.retrofit2 : converter-gson jar 2.7.1
com.squareup.okhttp3 : okhttp jar 3.14.0
org.apache.logging.log4j : log4j-core jar 2.11.2

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Philter SDK for Java

The Philter SDK for Java enables Java 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 Maven Central javadoc

Example Usage

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

PhilterClient client = new PhilterClient.PhilterClientBuilder().withEndpoint("https://127.0.0.1:8080").build();
FilterResponse filterResponse = client.filter(text);

To filter text with explanation:

PhilterClient client = new PhilterClient.PhilterClientBuilder().withEndpoint("https://127.0.0.1:8080").build();
ExplainResponse explainResponse = client.explain(text);

Dependency

Release dependencies are available in Maven Central.

<dependency>
  <groupId>com.mtnfog</groupId>
  <artifactId>philter-sdk-java</artifactId>
  <version>1.3.0</version>
</dependency>

Snapshot dependencies are available in the Maven Central Snapshot Repository by adding the repository to your pom.xml:

<repository>
  <id>snapshots</id>
  <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  <releases><enabled>false</enabled></releases>
  <snapshots><enabled>true</enabled></snapshots>
</repository>

Release History

  • 1.3.0:
    • Added support for SSL authentication.
    • Added support for filtering PDF documents.
    • Removed token-based API authentication.
    • Removed models client.
  • 1.2.0:
    • Added option for API authentication support.
    • Added salt to Span for when the HASH_SHA256_REPLACE filter strategy is applied by Philter.
    • Changed artifact name to philter-sdk-java
    • Added alerts retrieval/deletion to client.
    • Added models client.
  • 1.1.0:
    • Various changes/fixes.
    • Split SDKs into separate projects.
  • 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.

com.mtnfog

Mountain Fog

Products and services around NLP, cloud, and big-data.

Versions

Version
1.1.0