stringtowordvector.html
来自「由java开发的软件包」· HTML 代码 · 共 1,386 行 · 第 1/4 页
HTML
1,386 行
format or if there was a problem with the filtering.</DL></DD></DL><HR><A NAME="batchFinished()"><!-- --></A><H3>batchFinished</H3><PRE>public boolean <B>batchFinished</B>() throws java.lang.Exception</PRE><DL><DD>Signify that this batch of input to the filter is finished. If the filter requires all instances prior to filtering, output() may now be called to retrieve the filtered instances.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../weka/filters/Filter.html#batchFinished()">batchFinished</A></CODE> in class <CODE><A HREF="../../../../weka/filters/Filter.html" title="class in weka.filters">Filter</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if there are instances pending output.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if no input structure has been defined.<DD><CODE>java.lang.Exception</CODE> - if there was a problem finishing the batch.</DL></DD></DL><HR><A NAME="globalInfo()"><!-- --></A><H3>globalInfo</H3><PRE>public java.lang.String <B>globalInfo</B>()</PRE><DL><DD>Returns a string describing this filter<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a description of the filter suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="getOutputWordCounts()"><!-- --></A><H3>getOutputWordCounts</H3><PRE>public boolean <B>getOutputWordCounts</B>()</PRE><DL><DD>Gets whether output instances contain 0 or 1 indicating word presence, or word counts.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if word counts should be output.</DL></DD></DL><HR><A NAME="setOutputWordCounts(boolean)"><!-- --></A><H3>setOutputWordCounts</H3><PRE>public void <B>setOutputWordCounts</B>(boolean outputWordCounts)</PRE><DL><DD>Sets whether output instances contain 0 or 1 indicating word presence, or word counts.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>outputWordCounts</CODE> - true if word counts should be output.</DL></DD></DL><HR><A NAME="outputWordCountsTipText()"><!-- --></A><H3>outputWordCountsTipText</H3><PRE>public java.lang.String <B>outputWordCountsTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="getDelimiters()"><!-- --></A><H3>getDelimiters</H3><PRE>public java.lang.String <B>getDelimiters</B>()</PRE><DL><DD>Get the value of delimiters.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of delimiters.</DL></DD></DL><HR><A NAME="setDelimiters(java.lang.String)"><!-- --></A><H3>setDelimiters</H3><PRE>public void <B>setDelimiters</B>(java.lang.String newDelimiters)</PRE><DL><DD>Set the value of delimiters.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="delimitersTipText()"><!-- --></A><H3>delimitersTipText</H3><PRE>public java.lang.String <B>delimitersTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="getSelectedRange()"><!-- --></A><H3>getSelectedRange</H3><PRE>public <A HREF="../../../../weka/core/Range.html" title="class in weka.core">Range</A> <B>getSelectedRange</B>()</PRE><DL><DD>Get the value of m_SelectedRange.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of m_SelectedRange.</DL></DD></DL><HR><A NAME="setSelectedRange(java.lang.String)"><!-- --></A><H3>setSelectedRange</H3><PRE>public void <B>setSelectedRange</B>(java.lang.String newSelectedRange)</PRE><DL><DD>Set the value of m_SelectedRange.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newSelectedRange</CODE> - Value to assign to m_SelectedRange.</DL></DD></DL><HR><A NAME="getAttributeNamePrefix()"><!-- --></A><H3>getAttributeNamePrefix</H3><PRE>public java.lang.String <B>getAttributeNamePrefix</B>()</PRE><DL><DD>Get the attribute name prefix.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The current attribute name prefix.</DL></DD></DL><HR><A NAME="setAttributeNamePrefix(java.lang.String)"><!-- --></A><H3>setAttributeNamePrefix</H3><PRE>public void <B>setAttributeNamePrefix</B>(java.lang.String newPrefix)</PRE><DL><DD>Set the attribute name prefix.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newPrefix</CODE> - String to use as the attribute name prefix.</DL></DD></DL><HR><A NAME="attributeNamePrefixTipText()"><!-- --></A><H3>attributeNamePrefixTipText</H3><PRE>public java.lang.String <B>attributeNamePrefixTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="getWordsToKeep()"><!-- --></A><H3>getWordsToKeep</H3><PRE>public int <B>getWordsToKeep</B>()</PRE><DL><DD>Gets the number of words (per class if there is a class attribute assigned) to attempt to keep.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the target number of words in the output vector (per class if assigned).</DL></DD></DL><HR><A NAME="setWordsToKeep(int)"><!-- --></A><H3>setWordsToKeep</H3><PRE>public void <B>setWordsToKeep</B>(int newWordsToKeep)</PRE><DL><DD>Sets the number of words (per class if there is a class attribute assigned) to attempt to keep.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newWordsToKeep</CODE> - the target number of words in the output vector (per class if assigned).</DL></DD></DL><HR><A NAME="wordsToKeepTipText()"><!-- --></A><H3>wordsToKeepTipText</H3><PRE>public java.lang.String <B>wordsToKeepTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="getTFTransform()"><!-- --></A><H3>getTFTransform</H3><PRE>public boolean <B>getTFTransform</B>()</PRE><DL><DD>Gets whether if the word frequencies should be transformed into log(1+fij) where fij is the frequency of word i in document(instance) j.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if word frequencies are to be transformed.</DL></DD></DL><HR><A NAME="setTFTransform(boolean)"><!-- --></A><H3>setTFTransform</H3><PRE>public void <B>setTFTransform</B>(boolean TFTransform)</PRE><DL><DD>Sets whether if the word frequencies should be transformed into log(1+fij) where fij is the frequency of word i in document(instance) j.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="TFTransformTipText()"><!-- --></A><H3>TFTransformTipText</H3><PRE>public java.lang.String <B>TFTransformTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="getIDFTransform()"><!-- --></A><H3>getIDFTransform</H3><PRE>public boolean <B>getIDFTransform</B>()</PRE><DL>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?