{"id":13741699,"url":"https://github.com/cmusphinx/pocketsphinx-android","last_synced_at":"2025-05-11T07:22:07.412Z","repository":{"id":15891987,"uuid":"18633290","full_name":"cmusphinx/pocketsphinx-android","owner":"cmusphinx","description":"pocketsphinx build for Android","archived":false,"fork":false,"pushed_at":"2020-01-11T07:14:04.000Z","size":163,"stargazers_count":238,"open_issues_count":17,"forks_count":130,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-05-08T22:37:04.762Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cmusphinx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-10T10:58:38.000Z","updated_at":"2025-04-23T07:05:58.000Z","dependencies_parsed_at":"2022-08-29T14:10:51.385Z","dependency_job_id":null,"html_url":"https://github.com/cmusphinx/pocketsphinx-android","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmusphinx%2Fpocketsphinx-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmusphinx%2Fpocketsphinx-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmusphinx%2Fpocketsphinx-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmusphinx%2Fpocketsphinx-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmusphinx","download_url":"https://codeload.github.com/cmusphinx/pocketsphinx-android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253530007,"owners_count":21922787,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T04:01:01.859Z","updated_at":"2025-05-11T07:22:07.393Z","avatar_url":"https://github.com/cmusphinx.png","language":"Java","readme":"About\n=====\n\nThis project is a wrapper for Pocketsphinx for Android providing\nhigh-level interface for recognizing the microphone input.\n\nBuild\n=====\n\nYou will need SWIG, Gradle and Android NDK to build a distributable\narchive of pocketsphinx for Android. It is better to use recent versions.\n\nYou need to checkout sphinxbase, pocketsphinx and pocketsphinx-android\nand put them in the same folder.\n\n```\nRoot folder\n \\_pocketsphinx\n \\_sphinxbase\n \\_pocketsphinx-android\n```\n\nOlder versions might be incompatible with the latest pocketsphinx-android,\nso you need to make sure you are using latest versions. You can use\nthe following command to checkout from repository:\n\n```\ngit clone https://github.com/cmusphinx/sphinxbase\ngit clone https://github.com/cmusphinx/pocketsphinx\ngit clone https://github.com/cmusphinx/pocketsphinx-android\n```\n\nAfter checkout you need to update the file 'local.properties' in the\nproject root and define the following properties:\n\n  * sdk.dir - path to Android SDK\n  * ndk.dir - path to Android NDK\n  * pocketsphinx.dir - path to pocketsphinx folder\n  * sphinxbase.dir - path to sphinxbase folder\n\nFor example:\n\n```\nsdk.dir=/Users/User/Library/Android/sdk\nndk.dir=/Users/User/Library/Android/sdk/ndk-bundle\npocketsphinx.dir=/Users/user/pocketsphinx\nsphinxbase.dir=/Users/user/sphinxbase\n```\n\nAfter everything is set, run `./gradlew build`. It will create\npocketsphinx-android-5prealpha-release.aar and\npocketsphinx-android-5prealpha-debug.aar in build/output.\n\nUsing the library\n=================\n\nAdd bintray maven to your repositories\n\n    allprojects {\n        repositories {\n            maven {\n                url  \"https://dl.bintray.com\"\n            }\n            jcenter()\n            google()\n        }\n    }\n\n\nAdd `pocketsphinx-android` to your dependencies\n\n    dependencies {\n        implementation 'edu.cmu.pocketsphinx.android:pocketsphinx-android:5prealpha@aar'\n    }\n\n\nUsing the library locally\n=================\n\nLibrary is distributed as android archive AAR. You can add it to your project\nas usual with Android Studio or directly in gradle\n\n    dependencies {\n        compile (name:'pocketsphinx-android-debug', ext:'aar')\n    }\n\n    repositories {\n        flatDir {\n            dirs 'libs'\n        }\n    }\n\nFor further information on usage please see the wiki page:\n\nhttp://cmusphinx.sourceforge.net/wiki/tutorialandroid\n","funding_links":[],"categories":["Software"],"sub_categories":["Utilities"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmusphinx%2Fpocketsphinx-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmusphinx%2Fpocketsphinx-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmusphinx%2Fpocketsphinx-android/lists"}