{"id":15483611,"url":"https://github.com/thesp0nge/wc","last_synced_at":"2025-07-01T12:34:18.962Z","repository":{"id":937730,"uuid":"711846","full_name":"thesp0nge/wc","owner":"thesp0nge","description":"Your Word Counter Gem","archived":false,"fork":false,"pushed_at":"2011-11-15T16:28:52.000Z","size":200,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-18T08:06:26.439Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thesp0nge.png","metadata":{"files":{"readme":"README.rdoc","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":"2010-06-09T15:56:35.000Z","updated_at":"2020-08-01T12:34:00.000Z","dependencies_parsed_at":"2022-07-05T23:00:23.821Z","dependency_job_id":null,"html_url":"https://github.com/thesp0nge/wc","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/thesp0nge/wc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesp0nge%2Fwc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesp0nge%2Fwc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesp0nge%2Fwc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesp0nge%2Fwc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thesp0nge","download_url":"https://codeload.github.com/thesp0nge/wc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesp0nge%2Fwc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262963542,"owners_count":23391842,"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-02T05:19:30.393Z","updated_at":"2025-07-01T12:34:18.618Z","avatar_url":"https://github.com/thesp0nge.png","language":"JavaScript","funding_links":[],"categories":["NLP Pipeline Subtasks"],"sub_categories":["Lexical Processing"],"readme":"= wc\n\nwc is a rubygem to count word occurrences in a given text.\n\n*NEWS*\nThis is a major rewrite since version 0.98.2 and the API is completely rewritten from scratch. \nThe expected behavior is to let wc gem to extend a plain ruby String object and use it to retrieve tag cloud.\nPlease note that reading words from a file will be removed in further releases.\n\n{\u003cimg src=\"http://travis-ci.org/thesp0nge/wc.png\" /\u003e}[http://travis-ci.org/thesp0nge/wc]\n== Usage\n\nUsing wc is easy. Just require the gem and use the to_tag_cloud method to the\nstring containing the text you want to transform in a tag cloud\n\n  require 'wc'\n\n  \"A text longer is here\".to_tag_cloud ~\u003e \"\u003cul id=\\\"cloud\\\"\u003e\u003cli\u003e\u003ca href=\\\"#\\\" class=\\\"tag0\\\"\u003etext\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\\\"#\\\" class=\\\"tag0\\\"\u003elonger\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\\\"#\\\" class=\\\"tag0\\\"\u003ehere\u003c/a\u003e\u003c/li\u003e\u003c/ul\u003e\" \n\n== Note on Patches/Pull Requests\n \n* Fork the project.\n* Make your feature addition or bug fix.\n* Add tests for it. This is important so I don't break it in a\n  future version unintentionally.\n* Commit, do not mess with rakefile, version, or history.\n  (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)\n* Send me a pull request. Bonus points for topic branches.\n\n== Copyright\n\nCopyright (c) 2011 Paolo Perego. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesp0nge%2Fwc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthesp0nge%2Fwc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesp0nge%2Fwc/lists"}