A tool to extract text samples from news.sina.com.cn articles.
- Install
haskell-stack
- Clone the repository
- Run
stack setup
do install the dependencies - Run
stack build
to build - Run
stack exec get-cn-exe
to run
- How to add new characters to split lines at?
- The responsible function is
splitParagraph
inArticle.hs
. You can add new characters to theseperators
list.
- The responsible function is