sidnt / proden

prog ram de sign n otes
0 stars 0 forks source link

addressing till the sentences #10

Open sidnt opened 4 years ago

sidnt commented 4 years ago

what-if / how-could a blog engine provide sentence level anchor addressing in the website?

sidnt commented 4 years ago

we'll have the database of plain user text. we'll break a chunk of text by sentence endings, and map to new data structure via .map(f: A => B), and then go on rendering the appropriate html abstraction.

could this be done in stream like fashion? I don't have to read in the entire body of a text, in a single method, to be able to transform it. I can stream process it, chunk - by - chunk.