{"id":21478950,"url":"https://github.com/mjpost/picaro","last_synced_at":"2025-07-15T11:31:23.576Z","repository":{"id":13860518,"uuid":"16558285","full_name":"mjpost/picaro","owner":"mjpost","description":"Jason Riesa's text-based alignment visualizer","archived":false,"fork":false,"pushed_at":"2025-02-05T18:23:57.000Z","size":17,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T03:11:31.691Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mjpost.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-05T21:04:14.000Z","updated_at":"2025-02-05T18:24:00.000Z","dependencies_parsed_at":"2022-08-28T16:41:43.944Z","dependency_job_id":null,"html_url":"https://github.com/mjpost/picaro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mjpost/picaro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjpost%2Fpicaro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjpost%2Fpicaro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjpost%2Fpicaro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjpost%2Fpicaro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mjpost","download_url":"https://codeload.github.com/mjpost/picaro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjpost%2Fpicaro/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265431544,"owners_count":23764030,"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-11-23T11:20:15.354Z","updated_at":"2025-07-15T11:31:23.307Z","avatar_url":"https://github.com/mjpost.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"README - 16 Jan 2011\nAuthor: Jason Riesa \u003criesa@isi.edu\u003e\n\nPicaro [v1.0]: A simple command-line alignment visualzation tool.\nVisualize alignments in grid-format. \n\nThis brief README is oragnized as follows:\nI. REQUIREMENTS\nII. USAGE\nIII. INPUT FORMAT\nIV. EXAMPLE USAGE\nV. NOTES \n\nI. REQUIREMENTS\n===============\nPython v2.5 or higher is required.\n\nII. USAGE\n=========\nPicaro takes as input 3 mandatory arguments and up to 2 optional arguments:\nMandatory arguments:\n1. -a1 \u003calignment1\u003e\twhere alignment1 is a path to an alignment file\n2. -e  \u003ce\u003e\t\twhere e is a path to a file of English sentences \n3. -f  \u003cf\u003e\t\twhere f is a path to a file of French sentences \nOptional arguments:\n1. -a2 \u003ca2\u003e\t \tpath to alignment2 file in f-e format\n2. -maxlen \u003clen\u003e\tfor each sentence pair, render only when each \n\t\t\tsentence has length in words \u003c= len\n\nFor historical reasons we use the labels e, f, English, and French,\nbut any language pair will do.\n\nIII. INPUT FORMAT\n=================\n- Files e and f must be sentence-aligned\n- Alignment files must be in f-e format\nSee included sample files in zh/ and es/.\n\nIV. EXAMPLE USAGE\n=================\nWITH A SINGLE ALIGNMENT:\n$ picaro.py -e zh/sample.e -f zh/sample.f -a1 zh/sample.a\n\nCOMPARING TWO ALIGNMENTS:\n$ picaro.py -e zh/sample.e -f zh/sample.f -a1 zh/alternate.a -a2 zh/sample.a\n\nWhen visualizing two alignments at once, refer to the following color scheme:\nGreen blocks: alignments a1 and a2 agree\nBlue blocks:  alignment a1 only\nGold blocks:  alignment a2 only\n\nV. NOTES\n========\nRIGHT-TO-LEFT TEXT:\nIf you are using right-to-left text, e.g. Arabic, transliterate your text first.\nTerminals generally render unexpectedly with mixed left-to-right and right-to-left text.\nFor Arabic, in particular, we use the Buckwalter translitation scheme [1] when using this tool.\nThe following Perl module implements Buckwalter transliteration:\nhttp://search.cpan.org/~smrz/Encode-Arabic-1.8/lib/Encode/Arabic.pm\n\n[1] http://www.ldc.upenn.edu/myl/morph/buckwalter.html\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjpost%2Fpicaro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmjpost%2Fpicaro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjpost%2Fpicaro/lists"}