{"id":19398126,"url":"https://github.com/piedweb/textanalyzer","last_synced_at":"2026-03-10T01:31:04.529Z","repository":{"id":57041419,"uuid":"164663031","full_name":"PiedWeb/TextAnalyzer","owner":"PiedWeb","description":"[PHP] Semantic Analysis : Extract Expressions from a text and order it by density.","archived":false,"fork":false,"pushed_at":"2021-01-20T15:52:18.000Z","size":19,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-24T05:34:00.489Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dev.piedweb.com/","language":"PHP","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/PiedWeb.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":"2019-01-08T14:11:59.000Z","updated_at":"2022-05-04T17:19:18.000Z","dependencies_parsed_at":"2022-08-23T23:30:51.131Z","dependency_job_id":null,"html_url":"https://github.com/PiedWeb/TextAnalyzer","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/PiedWeb/TextAnalyzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiedWeb%2FTextAnalyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiedWeb%2FTextAnalyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiedWeb%2FTextAnalyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiedWeb%2FTextAnalyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PiedWeb","download_url":"https://codeload.github.com/PiedWeb/TextAnalyzer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiedWeb%2FTextAnalyzer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30320885,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-11-10T11:04:56.745Z","updated_at":"2026-03-10T01:31:04.506Z","avatar_url":"https://github.com/PiedWeb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca href=\"https://dev.piedweb.com\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/PiedWeb/piedweb-devoluix-theme/master/src/img/logo_title.png\" width=\"200\" height=\"200\" alt=\"Open Source Package\" /\u003e\n\u003c/a\u003e\u003c/p\u003e\n\n# Text Analyzer\n\n[![Latest Version](https://img.shields.io/github/tag/PiedWeb/TextAnalyzer.svg?style=flat\u0026label=release)](https://github.com/PiedWeb/TextAnalyzer/tags)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE)\n[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/PiedWeb/TextAnalyzer/Tests?label=tests)](https://github.com/PiedWeb/TextAnalyzer/actions)\n[![Quality Score](https://img.shields.io/scrutinizer/g/PiedWeb/TextAnalyzer.svg?style=flat)](https://scrutinizer-ci.com/g/PiedWeb/TextAnalyzer)\n[![Code Coverage](https://codecov.io/gh/PiedWeb/TextAnalyzer/branch/main/graph/badge.svg)](https://codecov.io/gh/PiedWeb/TextAnalyzer/branch/main)\n[![Type Coverage](https://shepherd.dev/github/PiedWeb/TextAnalyzer/coverage.svg)](https://shepherd.dev/github/PiedWeb/TextAnalyzer)\n[![Total Downloads](https://img.shields.io/packagist/dt/piedweb/text-analyzer.svg?style=flat)](https://packagist.org/packages/piedweb/text-analyzer)\n\nSemantic Analysis : Extract Expressions from a text and order it by density.\n\n## Install\n\nVia [Packagist](https://img.shields.io/packagist/dt/piedweb/text-analyzer.svg?style=flat)\n\n``` bash\n$ composer require piedweb/text-analyzer\n```\n\n## Usage\n\n``` php\n\nuse \\PiedWeb\\ExpressionHarvester\\MultiAnalyzer;\n\n$test = new MultiAnalyzer($onlyInSentence = true, $expressionMaxWords = 5, $keepTrail = 5);\n\n$result = $test-\u003eaddContent(\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed...\");  // @return \\PiedWeb\\TextAnalyzer\\Analysis\n    $result-\u003egetExpressions(); // @return array\n    $result-\u003egetTrails(); // @return array\n    $result-\u003egetTrail('expression'); // @return array\n    $result-\u003egetWordNumber(); // @çeturn int\n\n$results = $test-\u003eexec(); // @return \\PiedWeb\\TextAnalyzer\\Analysis\n    // same methods except in get expression, the value for each expression is not anymore his number\n\n```\n\n## Testing\n\n``` bash\n$ composer test\n```\n\n## Contributing\n\nPlease see [contributing](https://dev.piedweb.com/contributing)\n\n## Credits\n\n- [PiedWeb](https://piedweb.com)\n- [All Contributors](https://github.com/PiedWeb/:package_skake/graphs/contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiedweb%2Ftextanalyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiedweb%2Ftextanalyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiedweb%2Ftextanalyzer/lists"}