Package com.logicaldoc.ai.tools
Class ParagraphsPreparer
java.lang.Object
com.logicaldoc.ai.tools.ParagraphsPreparer
Generates a file with a specified amount of paragraphs, taken from a list of
sample documents. Useful for preparing contents to train embedder models. It
accepts 3 arguments:
- samples folder path (it must contains .txt files and subfolders)
- output file path
- number of paragraphs in the output
- Since:
- 9.2.2
- Author:
- Giuseppe Desiato - LogicalDOC
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ParagraphsPreparer
-
-
Method Details
-
main
-
generate
public void generate() -
getOutput
-