node.js required.
npm install
npm run build
node ./dist/evaluate.js
node ./dist/search.js
After that, you may want to:
-
Update
config.txt
to your preference. -
Change
text
inevaluate.ts
to configure what kind of sentences you want to use to evaluate the layout. -
Blush up parameters at
create_cost()
incalc.ts
to make the method better.