similarity.h
来自「这是一个识别两句话之间的相似度的程序」· C头文件 代码 · 共 25 行
H
25 行
#include <io.h>
#include "string.h"
#include <iostream>
#include <fstream>
#include <string>
#include <stdio.h>
#include <vector>
#include <map>
using namespace std;
#include "ssps.h"
typedef struct SWORD {
int wnum;
double weight;
} SWORD;
double sprod_ns(double *, double *,int);
int loadbiaodian(string Filename);
int loadStopword(string Filename);
double Compute_sim(string text1,string text2);
int find(vector<string> OArray,string word);
int find(vector<SWORD> textarray,int pos);
int caltf(string text);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?