talisman icon indicating copy to clipboard operation
talisman copied to clipboard

Chaining of commands? Similar to jQuery?

Open giorgio79 opened this issue 6 years ago • 1 comments

Would be nice to chain commands like:

GivenText.Sentences().Tokens().Tags();
GivenText.Sentences().Ngrams();

giorgio79 avatar May 28 '18 14:05 giorgio79

Hello @giorgio79. This would be a nice idea indeed but this is something I'd love to see in another library using talisman rather than talisman itself. I am trying to focus on small atomic building blocks and very simple functions that anyone could use & compose to build the kind of API you describe.

Yomguithereal avatar May 28 '18 14:05 Yomguithereal