{"id":25622567,"url":"https://github.com/unfoldingword/wordmap","last_synced_at":"2025-04-14T05:20:17.307Z","repository":{"id":44051227,"uuid":"117703466","full_name":"unfoldingWord/wordMAP","owner":"unfoldingWord","description":"Multilingual Word Alignment Prediction","archived":false,"fork":false,"pushed_at":"2023-01-04T23:40:15.000Z","size":2108,"stargazers_count":6,"open_issues_count":20,"forks_count":1,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-11T10:45:31.547Z","etag":null,"topics":["scripture-open-components","wordmap"],"latest_commit_sha":null,"homepage":"https://wordmap.netlify.com","language":"TypeScript","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/unfoldingWord.png","metadata":{"files":{"readme":"README.md","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":"2018-01-16T15:41:58.000Z","updated_at":"2022-08-19T13:03:38.000Z","dependencies_parsed_at":"2023-02-03T00:16:07.152Z","dependency_job_id":null,"html_url":"https://github.com/unfoldingWord/wordMAP","commit_stats":null,"previous_names":["translationcoreapps/wordmap"],"tags_count":45,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unfoldingWord%2FwordMAP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unfoldingWord%2FwordMAP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unfoldingWord%2FwordMAP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unfoldingWord%2FwordMAP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unfoldingWord","download_url":"https://codeload.github.com/unfoldingWord/wordMAP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248824922,"owners_count":21167391,"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":["scripture-open-components","wordmap"],"created_at":"2025-02-22T10:19:51.058Z","updated_at":"2025-04-14T05:20:17.274Z","avatar_url":"https://github.com/unfoldingWord.png","language":"TypeScript","readme":"# wordMAP\n[![Build Status](https://travis-ci.org/unfoldingWord/wordMAP.svg?branch=master)](https://travis-ci.org/unfoldingWord/wordMAP)\n[![codecov](https://codecov.io/gh/unfoldingWord/wordmap/branch/master/graph/badge.svg)](https://codecov.io/gh/unfoldingWord/wordmap)\n[![TypeScript](https://badges.frapsoft.com/typescript/code/typescript.svg?v=101)](https://github.com/ellerbrock/typescript-badges/)\n[![npm version](https://badge.fury.io/js/wordmap.svg)](https://badge.fury.io/js/wordmap)\n\n\u003e Multi-Lingual Word Alignment Prediction\n\n\nWord alignment prediction is the process of associating (mapping) words from some primary text with corresponding words in a secondary text. \nhis tool uses statistical algorithms to determine which words or phrases in two texts are equivalent in meaning.\n\nWith wordMAP you can create amazing translation tools that:\n\n* Ensure all terms and phrases in the primary text have a proper translation in the secondary text.\n* Provide in-context vocabulary suggestions to the translator.\n* Helps prevent inconsistencies in the translation.\n* Pre-translates text.\n\n## Installation\n\n```\nyarn add wordmap\n```\n\n## Usage\n\nHere's a minimum setup example.\n```\nconst map = new WordMAP();\nmap.appendAlignmentMemoryString(\"Tag\", \"day\");\nconst source = \"Guten Tag\";\nconst target = \"Good morning\";\nconst suggestions = map.predict(source, target);\nconsole.log(suggestions[0].toString());\n// produces -\u003e \"0 [0|n:guten-\u003en:good] [0|n:tag-\u003en:morning]\"\n```\n\n## Use Cases\n\n* Aligning a primary text with a secondary text e.g. when generating word maps for gateway languages.\n* Aligning a secondary text with a ternary text.\n* Aligning a primary text to a ternary text (using the secondary as a proxy)\n\n## The Need\n\nExisting tools require large data sets, complex running environments, and are usually limited to running in a server environment.\n\nWe need a tool that:\n\n* runs on the client with minimal configuration.\n* works with existing web browser technology.\n* integrates with translationCore and related tools.\n* works without an Internet connection.\n* does not have a minimum corpus size.\n* requires minimal system resources.\n\n## Learn more\nWant to learn more? Read [WHITEPAPER.md](./WHITEPAPER.md).\n\n## Development\nWhen publishing to npm be sure to use the command `yarn deploy`.\nThis will publish the proper module structure to npm.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funfoldingword%2Fwordmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funfoldingword%2Fwordmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funfoldingword%2Fwordmap/lists"}