{"action":"opened","issue":{"url":"https://api.github.com/repos/HazyResearch/ddlite/issues/126","repository_url":"https://api.github.com/repos/HazyResearch/ddlite","labels_url":"https://api.github.com/repos/HazyResearch/ddlite/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/HazyResearch/ddlite/issues/126/comments","events_url":"https://api.github.com/repos/HazyResearch/ddlite/issues/126/events","html_url":"https://github.com/HazyResearch/ddlite/issues/126","id":147551252,"number":126,"title":"Multiple matcher concatenation to make new matcher","user":{"login":"edoughty","id":1186557,"avatar_url":"https://avatars.githubusercontent.com/u/1186557?v=3","gravatar_id":"","url":"https://api.github.com/users/edoughty","html_url":"https://github.com/edoughty","followers_url":"https://api.github.com/users/edoughty/followers","following_url":"https://api.github.com/users/edoughty/following{/other_user}","gists_url":"https://api.github.com/users/edoughty/gists{/gist_id}","starred_url":"https://api.github.com/users/edoughty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edoughty/subscriptions","organizations_url":"https://api.github.com/users/edoughty/orgs","repos_url":"https://api.github.com/users/edoughty/repos","events_url":"https://api.github.com/users/edoughty/events{/privacy}","received_events_url":"https://api.github.com/users/edoughty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-11T20:48:19Z","updated_at":"2016-04-11T20:48:19Z","closed_at":null,"body":"Create a composite matcher that includes two or more matchers concatenated for a single phrase. For example in bacteria, we may want to extract \"Yersinia pestis K-12\". We would match the first part of the phrase (\"Yersinia pestis\") with a dictionary matcher and we would match the second part of the phrase (\"K-12\") with a regex. The concat matcher composed of dictionary match and regex match would return Yersinia pestis K-12 if the phrase contains a dictionary match followed by the regex match. \r\n\r\nThis would be great for domain-specific candidates that can construct more sophisticated matchers using the base matcher functions (dictionary matcher, regex matcher, etc). My example is only for bacteria but I'm such experts in other domains would have similar example patterns that can be constructed using a composite/concatenated matcher."}}