{"id":18044684,"url":"https://github.com/groonga/groonga-tokenizer-sample","last_synced_at":"2025-04-05T03:26:50.145Z","repository":{"id":9935888,"uuid":"11951049","full_name":"groonga/groonga-tokenizer-sample","owner":"groonga","description":"It is a sample groonga tokenizer","archived":false,"fork":false,"pushed_at":"2014-01-24T05:04:56.000Z","size":131,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-02-10T11:45:17.844Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/groonga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-07T13:51:39.000Z","updated_at":"2016-01-25T17:18:48.000Z","dependencies_parsed_at":"2022-09-13T14:25:23.841Z","dependency_job_id":null,"html_url":"https://github.com/groonga/groonga-tokenizer-sample","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/groonga%2Fgroonga-tokenizer-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groonga%2Fgroonga-tokenizer-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groonga%2Fgroonga-tokenizer-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groonga%2Fgroonga-tokenizer-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/groonga","download_url":"https://codeload.github.com/groonga/groonga-tokenizer-sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284828,"owners_count":20913687,"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-10-30T18:10:18.374Z","updated_at":"2025-04-05T03:26:50.125Z","avatar_url":"https://github.com/groonga.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sample groonga tokenizer\n\n## Install\n\nInstall libgroonga-dev.\n\nBuild this tokenizer.\n\n    % ./configure\n    % make\n    % sudo make install\n\n## Usage\n\nRegister `tokenizers/sample`:\n\n    % groonga DB\n    \u003e register tokenizers/sample\n\nNow, you can use `TokenSample` that tokenizes the content by a\ncharacter:\n\n    \u003e tokenizer TokenSample \"abc d e f\"\n    [\n      [\n        0,\n        0.0,\n        0.0\n      ],\n      [\n        {\n          \"value\": \"a\",\n          \"position\": 0\n        },\n        {\n          \"value\": \"b\",\n          \"position\": 1\n        },\n        {\n          \"value\": \"c\",\n          \"position\": 2\n        },\n        {\n          \"value\": \" \",\n          \"position\": 3\n        },\n        {\n          \"value\": \"d\",\n          \"position\": 4\n        },\n        {\n          \"value\": \" \",\n          \"position\": 5\n        },\n        {\n          \"value\": \"e\",\n          \"position\": 6\n        },\n        {\n          \"value\": \" \",\n          \"position\": 7\n        },\n        {\n          \"value\": \"f\",\n          \"position\": 8\n        }\n      ]\n    ]\n\n## License\n\nPublic domain. You can copy and modify this project freely.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgroonga%2Fgroonga-tokenizer-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgroonga%2Fgroonga-tokenizer-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgroonga%2Fgroonga-tokenizer-sample/lists"}