alekam / phonetic-lib

Fork of sample project from article "phonetic algorithms"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phonetic-lib

Fork of sample project from article Phonetic algorithms [RU]

The sample project contains realisation:

Also the project used Apache Commons Codec:

Usage

Create dictionary.txt (or get it here 252 russian surnames ) and run MetaphoneRussian.main(null);

Usage in custom project

  • Normal usage (not work in current moment)

Add it to your root build.gradle with:

repositories {
    maven { url "https://jitpack.io" }
}

and:

dependencies {
	compile 'com.github.kolipass:phonetic-lib:0.0.1'
}

or

dependencies {
	compile 'com.github.kolipass:phonetic-lib:-SNAPSHOT'
}
  • Sub project dependency

In your project root folder:

$ git submodule add https://github.com/kolipass/phonetic-lib
$ git submodule init
$ git submodule update
$ echo "include ':speachkit:library'" >  settings.gradle
  • Local usage (prefer in current moment)

If you want to use you own local fork: You need run gradle installand check the local Maven repo folder .m2/repository/ru/phonetic/phoneticlib/0.0.1

Add it to your root build.gradle with:

repositories {
        mavenLocal()
}

and:

dependencies {
     compile 'ru.phonetic.phoneticlib:0.0.1'
}

Release

About

Fork of sample project from article "phonetic algorithms"


Languages

Language:Java 100.0%