{
let matches = [
{ match: 'john c .', tag:'Actor1' },
{ match: 'john foo', tag:'Foo' },
{ match: 'john .? reilly', tag:'Actor2'},
]
let net = nlp.buildNet(matches)
let doc = nlp(sentence)
let res = doc.sweep(net)
return html`${doc.html({'.red':'#Actor2+'})}`
}