{"id":23326428,"url":"https://github.com/dkpro/jweb1t","last_synced_at":"2025-04-07T06:44:42.799Z","repository":{"id":29467575,"uuid":"33004129","full_name":"dkpro/jweb1t","owner":"dkpro","description":"Efficient access to Web1T formatted data","archived":false,"fork":false,"pushed_at":"2020-10-13T07:50:19.000Z","size":159,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-02-13T10:53:12.713Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dkpro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-27T19:03:15.000Z","updated_at":"2020-10-13T07:50:19.000Z","dependencies_parsed_at":"2022-08-30T10:50:54.713Z","dependency_job_id":null,"html_url":"https://github.com/dkpro/jweb1t","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkpro%2Fjweb1t","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkpro%2Fjweb1t/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkpro%2Fjweb1t/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkpro%2Fjweb1t/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dkpro","download_url":"https://codeload.github.com/dkpro/jweb1t/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247608160,"owners_count":20965950,"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-12-20T19:17:56.032Z","updated_at":"2025-04-07T06:44:42.781Z","avatar_url":"https://github.com/dkpro.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jweb1t\n\njWeb1T is an open source Java tool for efficiently searching n-gram data in the Web 1T 5-gram corpus format.\nIt is based on a binary search algorithm that finds the n-grams and returns their frequency counts in logarithmic time.\nAs the corpus is stored in many files a simple index is used to retrieve the files containing the n-grams.\n\njWeb1T has been developed by Claudio Giuliano at FBK for the English Lexical Substitution Task at SemEval 2007:\n\n\u003e Claudio Giuliano, Alfio Gliozzo and Carlo Strapparava. FBK-irst: Lexical Substitution Task Exploiting Domain and Syntagmatic Coherence. In Proceedings of the 4th Interational Workshop on Semantic Evaluations (SemEval-2007), Prague, 23-24 June 2007.\n\njWeb1T has been funded by X-Media Project.\n\nThe [UKP Lab at Technische Universität Darmstadt](https://www.ukp.tu-darmstadt.de/ukp-home/) has contributed several bug fixes and updates.\nA UIMA wrapper for jWeb1T is available as part of DKPro.\n\n\n## Getting it\nThe latest version of jWeb1T is now available via Maven Central.\nIf you use Maven as your build tool, then you can add jWeb1T as a dependency in your pom.xml file:\n```\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.googlecode.jweb1t\u003c/groupId\u003e\n  \u003cartifactId\u003ecom.googlecode.jweb1t\u003c/artifactId\u003e\n  \u003cversion\u003e1.3.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Usage\n### Prerequisites\n- Obtain or create data in Web1T format.\n- Unzip\n- Delete zipped files (if still present)\n### Creating necessary indexes\n```Java\nJWeb1TIndexer indexer = new JWeb1TIndexer(PATH_TO_DATA, MAX_NGRAM_LEVEL);\nindexer.create();\n```\n\n### Getting n-gram counts\n```Java\nJWeb1TSearcher web1t = new JWeb1TSearcher (\n    INDEX_FILE_1\n    INDEX_FILE_2\n    ...\n    INDEX_FILE_N\n);\n\nweb1t.getFrequency(\"test phrase\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkpro%2Fjweb1t","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdkpro%2Fjweb1t","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkpro%2Fjweb1t/lists"}