{"id":26233995,"url":"https://github.com/teragrep/dpf_03","last_synced_at":"2025-10-09T09:42:15.564Z","repository":{"id":118638628,"uuid":"589888558","full_name":"teragrep/dpf_03","owner":"teragrep","description":"Teragrep Tokenizer for Apache Spark","archived":false,"fork":false,"pushed_at":"2024-11-04T16:20:54.000Z","size":80,"stargazers_count":0,"open_issues_count":5,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T15:02:19.109Z","etag":null,"topics":["apache-spark","bloom-filter","bloomfilter","spark","teragrep","tokenization","tokenizer","unstructured-data"],"latest_commit_sha":null,"homepage":"https://teragrep.com/","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teragrep.png","metadata":{"files":{"readme":"README.adoc","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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-01-17T07:14:52.000Z","updated_at":"2025-01-23T13:02:08.000Z","dependencies_parsed_at":"2023-10-12T17:01:18.564Z","dependency_job_id":"f0c910c1-c11a-4fe6-a15f-4bed55db041b","html_url":"https://github.com/teragrep/dpf_03","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Fdpf_03","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Fdpf_03/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Fdpf_03/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Fdpf_03/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teragrep","download_url":"https://codeload.github.com/teragrep/dpf_03/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250237834,"owners_count":21397401,"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":["apache-spark","bloom-filter","bloomfilter","spark","teragrep","tokenization","tokenizer","unstructured-data"],"created_at":"2025-03-13T01:18:24.213Z","updated_at":"2025-10-09T09:42:10.544Z","avatar_url":"https://github.com/teragrep.png","language":"Scala","readme":"link:https://scan.coverity.com/projects/teragrep-dpf_03[image:https://img.shields.io/coverity/scan/30737.svg[Coverity Scan Build Status]]\n\n# DPF_03\n\nHolds a customized lexical tokenizer as a Spark UDF and a bloom filter aggregator.\nUsed to tokenize spark string columns and run Spark aggregation into a bloom filter with configurable filter size selection.\n\n## Features\n\n### TokenizerUDF\n\nSpark UDF that will tokenize incoming string value and return it as a list of byte arrays.\nTokenization rules are set in blf_01.\n\n### ByteArrayListAsStringListUDF\n\nSpark UDF that converts results from TokenizerUDF into a list of strings.\n\n### BloomFilterAggregator\n\nCustom spark aggregator that aggregates a column string tokens into a single bloom filter and\nreturns the bytes of the resulting filter that can be processed.\n\nFilter size is selected by giving the aggregator the name of a spark column that holds an estimated value of tokens and\nby configuring a map of bloom filters with preset values (expected number of items, false positive probability).\n\n\n## Documentation\n\nSee the official documentation on https://docs.teragrep.com[docs.teragrep.com].\n\n## Limitations\n\nCompatible with Java version 1.8, other versions might not work.\n\n## How to [compile/use/implement]\n\nSee tests for how to apply and import into a Spark project\n\n## Contributing\n\nYou can involve yourself with our project by https://github.com/teragrep/dpf_03/issues/new/choose[opening an issue] or submitting a pull request. \n\nContribution requirements:\n\n. *All changes must be accompanied by a new or changed test.* If you think testing is not required in your pull request, include a sufficient explanation as why you think so.\n. Security checks must pass\n. Pull requests must align with the principles and http://www.extremeprogramming.org/values.html[values] of extreme programming.\n. Pull requests must follow the principles of Object Thinking and Elegant Objects (EO).\n\nRead more in our https://github.com/teragrep/teragrep/blob/main/contributing.adoc[Contributing Guideline].\n\n### Contributor License Agreement\n\nContributors must sign https://github.com/teragrep/teragrep/blob/main/cla.adoc[Teragrep Contributor License Agreement] before a pull request is accepted to organization's repositories. \n\nYou need to submit the CLA only once. After submitting the CLA you can contribute to all Teragrep's repositories. \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteragrep%2Fdpf_03","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteragrep%2Fdpf_03","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteragrep%2Fdpf_03/lists"}