📄 write_text_params.1
字号:
.\" Process this file with .\" groff -man -Tascii write_text_params.1.TH WRITE_TEXT_PARAMS 1 "FEBRUARY 2004" "Infomap Project" "Infomap NLP Manual".SH NAME.TPwrite_text_params \- convert binary model params to text.SH SYNOPSIS.B write_text_params.BR -mdir " <model_data_dir> " .SH DESCRIPTION.B write_text_paramsreads in the three binary files expressing various model and corpusparameters, and writes out the information they contain in a textualformat. Keeping these data around as text is a Good Idea because itallows easy inspection of the parameters and could aid portability toother machines, since the binary files are not portable acrossarchitectures..SH OPTIONS.TP.BI -mdir \ <model_data_dir>The directory from which we read input and to which we write output..SH INPUT FILESThese files are read from the model data directory, specifiedas an argument to the .B -mdir option..I model_params.bin.RSBasic parameters describing the model. Parameters that will need to be read by search-side programs (such as.BR associate (1))are kept here. Other parameters are kept in .I model_info.binto keep this file small and efficient to load. This design reflectsprobable premature optimization. See.BR prepare_corpus (1))..RE.I model_info.bin.RSAdditional parameters describing the model.See .BR prepare_corpus (1))..RE.I corpus_format.bin.RSParameters describing the format of the corpus and how it has been processed. For instance, the tags that mark the beginningand end of documents, and XML/SGML character entities that havebeen stripped. See.BR prepare_corpus (1))..RE.SH OUTPUT FILESAll of these files are produced in the model data directory, specifiedas an argument to the.B -mdiroption..I model_params.txt.RSTextual version of.IR model_params.bin ..RE.I model_info.txt.RSTextual version of.IR model_info.bin ..RE.I corpus_format.txt.RSTextual version of.IR corpus_format.bin ..RE.SH SEE ALSO.BR prepare_corpus (1), \ count_wordvec (1), \ svdinterface (1), \ encode_wordvec (1), \ count_artvec (1), \ associate(1)..SH DIAGNOSTICSReturns 0 to indicate success, number of errors in case of error..SH BUGSProbably this program should not exist, as we would most likely bebetter off using textual formats throughout and doing away with thebinary. This shouldn't cause much of a performance hit, but would require some text-parsing code.Please report bugs to .BR infomap-nlp-users@lists.sourceforge.net ..SH AUTHORThis program and manual page were written by Scott Cederberg. Please directinquiries and bug reports to .BR infomap-nlp-users@lists.sourceforge.net .
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -