⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 feature_index.h

📁 用于汉字识别和分类的支持向量机SVMTEST测试算法,很好用啊
💻 H
字号:
/* YamCha -- Yet Another Multipurpose CHunk Annotator $Id: feature_index.h,v 1.6 2002/10/14 12:12:15 taku-ku Exp $; Copyright (C) 2001  Taku Kudoh <taku-ku.aist-nara.ac.jp> All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later verjsion. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.*/#ifndef _YAMCHA_FEATUREINDEX_H#define _YAMCHA_FEATUREINDEX_H#pragma warning(disable: 4786)//CCR 2004.04.05#include <vector>#include <string>namespace YamCha {  class FeatureIndex  {  private:    bool parse_start_end (const std::string &, int &, int &, int);  public:    bool setFeature (const std::string&, const std::string&);    bool setFeature (const std::string&, int);    unsigned int getColumnSize ();    std::vector < std::pair <int, int> > features;    std::vector <int> tags;  };}#endif

⌨️ 快捷键说明

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