From cb8a58491789ab47c10bd2569e195324974ccb24 Mon Sep 17 00:00:00 2001 From: Naor Shlomo Tedgi Date: Fri, 7 Jun 2019 01:24:34 +0300 Subject: [PATCH] Update README.MD --- README.MD | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README.MD b/README.MD index f3a5c94..834eca5 100644 --- a/README.MD +++ b/README.MD @@ -1,5 +1,6 @@ [![Build Status](https://travis-ci.com/ntedgi/cld3-kotlin.svg?branch=master)](https://travis-ci.com/ntedgi/cld3-kotlin) [![codecov](https://codecov.io/gh/ntedgi/cld3-kotlin/branch/master/graph/badge.svg)](https://codecov.io/gh/ntedgi/cld3-kotlin) -[![codebeat badge](https://codebeat.co/badges/a92dd040-a71c-4644-96a9-daad0aeb9ac4)](https://codebeat.co/projects/github-com-ntedgi-cld3-kotlin-master) +[![codebeat badge](https://codebeat.co/badges/a92dd040-a71c-4644-96a9-daad0aeb9ac4)](https://codebeat.co/projects/github-com-ntedgi-cld3-kotlin-master) [![](https://jitpack.io/v/ntedgi/cld3-kotlin.svg)](https://jitpack.io/#ntedgi/cld3-kotlin) + # cld3-kotlin Kotlin Wrapper for [CLD3](https://github.com/google/cld3) - Google's Compact Language Detector 3 @@ -8,6 +9,27 @@ Bridge from c++ to Kotlin using [Java Abstracted Foreign Function Layer](https:/ ## Usage Examples: + +### add maven dependencies + +```maven + + + jitpack.io + https://jitpack.io + + + ... + + com.github.ntedgi + cld3-kotlin + master-243b20b6d7-1 + +``` + +### download [os shred objects](https://github.com/ntedgi/cld3-kotlin/tree/master/src/main/lib) add under src/lib/(os-name) + + ```kotlin val ld = LangDetect() val englishText = "This piece of text is in English";