output example of document after NLP parse
document: Array(1)
0:Array(2)
0:{text: 'Lorelei', pre: '', post: ' ', tags: Set(6), normal: 'lorelei', …}
1:{text: 'Anderson', pre: '', post: '?', tags: Set(5), normal: 'anderson', …}
let doc = nlp("Lorelei Anderson?")
let bName = doc.match("#Person");
let bNameAsJson = bName.json();
first = `${bNameAsJson[0].text}`;
last = ` ${bNameAsJson[1].text}`
name = first + last
console.log("Name is : " + name)
Name is : Lorelei Anderson?
my objective is to get the result Name is : Lorelei Anderson but i can not work out how to stop the post: '?' from printing with the text: 'Anderson'