{"action":"created","issue":{"url":"https://api.github.com/repos/clld/concepticon-data/issues/212","repository_url":"https://api.github.com/repos/clld/concepticon-data","labels_url":"https://api.github.com/repos/clld/concepticon-data/issues/212/labels{/name}","comments_url":"https://api.github.com/repos/clld/concepticon-data/issues/212/comments","events_url":"https://api.github.com/repos/clld/concepticon-data/issues/212/events","html_url":"https://github.com/clld/concepticon-data/pull/212","id":181435111,"number":212,"title":"Heuristically map concept lists to Concepticon","user":{"login":"xrotwang","id":870184,"avatar_url":"https://avatars.githubusercontent.com/u/870184?v=3","gravatar_id":"","url":"https://api.github.com/users/xrotwang","html_url":"https://github.com/xrotwang","followers_url":"https://api.github.com/users/xrotwang/followers","following_url":"https://api.github.com/users/xrotwang/following{/other_user}","gists_url":"https://api.github.com/users/xrotwang/gists{/gist_id}","starred_url":"https://api.github.com/users/xrotwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xrotwang/subscriptions","organizations_url":"https://api.github.com/users/xrotwang/orgs","repos_url":"https://api.github.com/users/xrotwang/repos","events_url":"https://api.github.com/users/xrotwang/events{/privacy}","received_events_url":"https://api.github.com/users/xrotwang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-06T14:44:09Z","updated_at":"2016-10-11T07:38:06Z","closed_at":"2016-10-06T15:58:44Z","pull_request":{"url":"https://api.github.com/repos/clld/concepticon-data/pulls/212","html_url":"https://github.com/clld/concepticon-data/pull/212","diff_url":"https://github.com/clld/concepticon-data/pull/212.diff","patch_url":"https://github.com/clld/concepticon-data/pull/212.patch"},"body":"The corresponding functionality from lingpy has been copied to\r\n`pyconcepticon.glosses` and refactored. It can be called via API\r\nas\r\n```python\r\nfrom pyconcepticon.api import Concepticon\r\napi = Concepticon()\r\napi.map('path/to/clist', 'output/path/to/mapping')\r\n```\r\nand via command line as\r\n```\r\nconcepticon path/to/clist\r\nconcepticon path/to/clist > mapping.tsv\r\nconcepticon path/to/clist mapping.tsv\r\n```\r\n\r\ncloses #210"},"comment":{"url":"https://api.github.com/repos/clld/concepticon-data/issues/comments/252835893","html_url":"https://github.com/clld/concepticon-data/pull/212#issuecomment-252835893","issue_url":"https://api.github.com/repos/clld/concepticon-data/issues/212","id":252835893,"user":{"login":"xrotwang","id":870184,"avatar_url":"https://avatars.githubusercontent.com/u/870184?v=3","gravatar_id":"","url":"https://api.github.com/users/xrotwang","html_url":"https://github.com/xrotwang","followers_url":"https://api.github.com/users/xrotwang/followers","following_url":"https://api.github.com/users/xrotwang/following{/other_user}","gists_url":"https://api.github.com/users/xrotwang/gists{/gist_id}","starred_url":"https://api.github.com/users/xrotwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xrotwang/subscriptions","organizations_url":"https://api.github.com/users/xrotwang/orgs","repos_url":"https://api.github.com/users/xrotwang/repos","events_url":"https://api.github.com/users/xrotwang/events{/privacy}","received_events_url":"https://api.github.com/users/xrotwang/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T07:38:06Z","updated_at":"2016-10-11T07:38:06Z","body":"I was also thinking of using something like [fuzzywuzzy](https://github.com/seatgeek/fuzzywuzzy#token-set-ratio) to get more fine-grained similarity measures, which may already be enough to break many ties when it comes to multiple matches. If this would get automatic mapping to - say - 99% for all existing concept lists, this would prove its usefulness, right?"}}
{"actor":{"display_login":"xrotwang"}}