{"id":32978804,"url":"https://github.com/mast-group/naturalize","last_synced_at":"2025-11-15T18:01:07.595Z","repository":{"id":85414842,"uuid":"41926068","full_name":"mast-group/naturalize","owner":"mast-group","description":"Source code for the Naturalize project","archived":true,"fork":false,"pushed_at":"2015-09-05T21:53:02.000Z","size":244,"stargazers_count":56,"open_issues_count":1,"forks_count":12,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-04T07:38:04.355Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://groups.inf.ed.ac.uk/naturalize/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mast-group.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":"2015-09-04T16:26:21.000Z","updated_at":"2024-05-10T01:58:02.000Z","dependencies_parsed_at":"2023-03-12T06:45:22.955Z","dependency_job_id":null,"html_url":"https://github.com/mast-group/naturalize","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mast-group/naturalize","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mast-group%2Fnaturalize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mast-group%2Fnaturalize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mast-group%2Fnaturalize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mast-group%2Fnaturalize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mast-group","download_url":"https://codeload.github.com/mast-group/naturalize/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mast-group%2Fnaturalize/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284597116,"owners_count":27032396,"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","status":"online","status_checked_at":"2025-11-15T02:00:06.050Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-11-13T06:00:38.078Z","updated_at":"2025-11-15T18:01:07.589Z","avatar_url":"https://github.com/mast-group.png","language":"Java","readme":"Naturalize\n===============\nNaturalize suggests natural names for source code.\n\nnaturalize is released under a BSD license.\n\nThe project depends on three internal (maven) modules:\n\n\na) [codemining-sequencelm](https://github.com/mast-group/codemining-sequencelm)\nb) [codemining-utils](https://github.com/mast-group/codemining-utils)\nc) [codemining-core](https://github.com/mast-group/codemining-core)\nd) [commitmining-tools](https://github.com/mast-group/commitmining-tools)\n\nthe rest of the dependencies are declared in the maven dependencies. \n\n\n\n## Basic Usage\n```java\nfinal AbstractIdentifierRenamings renamer = new BaseIdentifierRenamings(\n\t\t\t\tnew JavaTokenizer());\nrenamer.buildRenamingModel(trainingFiles);\n\nfinal SortedSet\u003cAbstractIdentifierRenamings.Renaming\u003e renamings = renamer\n\t\t\t\t\t\t.getRenamings(new Scope(snippet,\n\t\t\t\t\t\t\t\tScope.ScopeType.SCOPE_LOCAL, null, -1, -1),\n\t\t\t\t\t\t\t\tnameOfIdentifier);\n```\n\n\n\nIf you need a method for directly specifying variable bindings consider \nusing `AbstractIdentifierRenamings.getRenamings(TokenNameBinding binding)`\nthat avoids retokenizing the snippet and performing a textual match on the\ntokens.\n","funding_links":[],"categories":["Software"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmast-group%2Fnaturalize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmast-group%2Fnaturalize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmast-group%2Fnaturalize/lists"}