stringtowordvector.html

来自「由java开发的软件包」· HTML 代码 · 共 1,386 行 · 第 1/4 页

HTML
1,386
字号
<DD>Sets whether if the word frequencies in a document should be transformed into: <br> fij*log(num of Docs/num of Docs with word i) <br>      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 the word frequencies are to be transformed.</DL></DD></DL><HR><A NAME="setIDFTransform(boolean)"><!-- --></A><H3>setIDFTransform</H3><PRE>public void <B>setIDFTransform</B>(boolean&nbsp;IDFTransform)</PRE><DL><DD>Sets whether if the word frequencies in a document should be transformed into: <br> fij*log(num of Docs/num of Docs with word i) <br>      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="IDFTransformTipText()"><!-- --></A><H3>IDFTransformTipText</H3><PRE>public java.lang.String <B>IDFTransformTipText</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="getNormalizeDocLength()"><!-- --></A><H3>getNormalizeDocLength</H3><PRE>public boolean <B>getNormalizeDocLength</B>()</PRE><DL><DD>Gets whether if the word frequencies for a document (instance) should  be normalized or not.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if word frequencies are to be normalized.</DL></DD></DL><HR><A NAME="setNormalizeDocLength(boolean)"><!-- --></A><H3>setNormalizeDocLength</H3><PRE>public void <B>setNormalizeDocLength</B>(boolean&nbsp;normalizeDocLength)</PRE><DL><DD>Sets whether if the word frequencies for a document (instance) should  be normalized or not.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="normalizeDocLengthTipText()"><!-- --></A><H3>normalizeDocLengthTipText</H3><PRE>public java.lang.String <B>normalizeDocLengthTipText</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="getOnlyAlphabeticTokens()"><!-- --></A><H3>getOnlyAlphabeticTokens</H3><PRE>public boolean <B>getOnlyAlphabeticTokens</B>()</PRE><DL><DD>Gets whether if the tokens are to be formed only from contiguous   alphabetic sequences. The delimiter string is ignored if this is true.<P><DD><DL></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&nbsp;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></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&nbsp;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="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&nbsp;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="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(java.lang.String[]&nbsp;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=3 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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../Tutorial.pdf"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/index.html"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../weka/filters/unsupervised/attribute/StringToNominal.html" title="class in weka.filters.unsupervised.attribute"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../weka/filters/unsupervised/attribute/SwapValues.html" title="class in weka.filters.unsupervised.attribute"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="StringToWordVector.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?