📄 stringtowordvector.html
字号:
</DL></DD><DD><DL><DT><B>Returns:</B><DD>true if tokens are to be formed from contiguous alphabetic characters.</DL></DD></DL><HR><A NAME="setOnlyAlphabeticTokens(boolean)"><!-- --></A><H3>setOnlyAlphabeticTokens</H3><PRE>public void <B>setOnlyAlphabeticTokens</B>(boolean tokenizeOnlyAlphabeticSequences)</PRE><DL><DD>Sets whether if tokens are to be formed only from contiguous alphabetic character sequences. The delimiter string is ignored if this option is set to true.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tokenizeOnlyAlphabeticSequences</CODE> - should be set to true if only alphabetic tokens should be formed.</DL></DD></DL><HR><A NAME="onlyAlphabeticTokensTipText()"><!-- --></A><H3>onlyAlphabeticTokensTipText</H3><PRE>public java.lang.String <B>onlyAlphabeticTokensTipText</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="getLowerCaseTokens()"><!-- --></A><H3>getLowerCaseTokens</H3><PRE>public boolean <B>getLowerCaseTokens</B>()</PRE><DL><DD>Gets whether if the tokens are to be downcased or not.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the tokens are to be downcased.</DL></DD></DL><HR><A NAME="setLowerCaseTokens(boolean)"><!-- --></A><H3>setLowerCaseTokens</H3><PRE>public void <B>setLowerCaseTokens</B>(boolean downCaseTokens)</PRE><DL><DD>Sets whether if the tokens are to be downcased or not. (Doesn't affect non-alphabetic characters in tokens).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>downCaseTokens</CODE> - should be true if only lower case tokens are to be formed.</DL></DD></DL><HR><A NAME="doNotOperateOnPerClassBasisTipText()"><!-- --></A><H3>doNotOperateOnPerClassBasisTipText</H3><PRE>public java.lang.String <B>doNotOperateOnPerClassBasisTipText</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="getDoNotOperateOnPerClassBasis()"><!-- --></A><H3>getDoNotOperateOnPerClassBasis</H3><PRE>public boolean <B>getDoNotOperateOnPerClassBasis</B>()</PRE><DL><DD>Get the DoNotOperateOnPerClassBasis value.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the DoNotOperateOnPerClassBasis value.</DL></DD></DL><HR><A NAME="setDoNotOperateOnPerClassBasis(boolean)"><!-- --></A><H3>setDoNotOperateOnPerClassBasis</H3><PRE>public void <B>setDoNotOperateOnPerClassBasis</B>(boolean newDoNotOperateOnPerClassBasis)</PRE><DL><DD>Set the DoNotOperateOnPerClassBasis value.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newDoNotOperateOnPerClassBasis</CODE> - The new DoNotOperateOnPerClassBasis value.</DL></DD></DL><HR><A NAME="minTermFreqTipText()"><!-- --></A><H3>minTermFreqTipText</H3><PRE>public java.lang.String <B>minTermFreqTipText</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="getMinTermFreq()"><!-- --></A><H3>getMinTermFreq</H3><PRE>public int <B>getMinTermFreq</B>()</PRE><DL><DD>Get the MinTermFreq value.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the MinTermFreq value.</DL></DD></DL><HR><A NAME="setMinTermFreq(int)"><!-- --></A><H3>setMinTermFreq</H3><PRE>public void <B>setMinTermFreq</B>(int newMinTermFreq)</PRE><DL><DD>Set the MinTermFreq value.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newMinTermFreq</CODE> - The new MinTermFreq value.</DL></DD></DL><HR><A NAME="lowerCaseTokensTipText()"><!-- --></A><H3>lowerCaseTokensTipText</H3><PRE>public java.lang.String <B>lowerCaseTokensTipText</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="getUseStoplist()"><!-- --></A><H3>getUseStoplist</H3><PRE>public boolean <B>getUseStoplist</B>()</PRE><DL><DD>Gets whether if the words on the stoplist are to be ignored (The stoplist is in weka.core.StopWords).<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the words on the stoplist are to be ignored.</DL></DD></DL><HR><A NAME="setUseStoplist(boolean)"><!-- --></A><H3>setUseStoplist</H3><PRE>public void <B>setUseStoplist</B>(boolean useStoplist)</PRE><DL><DD>Sets whether if the words that are on a stoplist are to be ignored (The stop list is in weka.core.StopWords).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>useStoplist</CODE> - true if the tokens that are on a stoplist are to be ignored.</DL></DD></DL><HR><A NAME="useStoplistTipText()"><!-- --></A><H3>useStoplistTipText</H3><PRE>public java.lang.String <B>useStoplistTipText</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="setStemmer(weka.core.stemmers.Stemmer)"><!-- --></A><H3>setStemmer</H3><PRE>public void <B>setStemmer</B>(<A HREF="../../../../weka/core/stemmers/Stemmer.html" title="interface in weka.core.stemmers">Stemmer</A> value)</PRE><DL><DD>the stemming algorithm to use, null means no stemming at all (i.e., the NullStemmer is used)<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the configured stemming algorithm, or null<DT><B>See Also:</B><DD><A HREF="../../../../weka/core/stemmers/NullStemmer.html" title="class in weka.core.stemmers"><CODE>NullStemmer</CODE></A></DL></DD></DL><HR><A NAME="getStemmer()"><!-- --></A><H3>getStemmer</H3><PRE>public <A HREF="../../../../weka/core/stemmers/Stemmer.html" title="interface in weka.core.stemmers">Stemmer</A> <B>getStemmer</B>()</PRE><DL><DD>Returns the current stemming algorithm, null if none is used.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current stemming algorithm, null if none set</DL></DD></DL><HR><A NAME="stemmerTipText()"><!-- --></A><H3>stemmerTipText</H3><PRE>public java.lang.String <B>stemmerTipText</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="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(java.lang.String[] argv)</PRE><DL><DD>Main method for testing this class.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>argv</CODE> - should contain arguments to the filter: use -h for help</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../weka/filters/unsupervised/attribute/StringToNominal.html" title="class in weka.filters.unsupervised.attribute"><B>PREV CLASS</B></A> <A HREF="../../../../weka/filters/unsupervised/attribute/S
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -