Go to the SVN repository for this file.
45 static const char*
Words[] = {
"hypothetical",
"protein",
"hemoglobin",
"Colleen",
"Bollin"};
53 void next() {
Y++;
if(
Y> 53 || (
Y== 53 &&
X==
S.length() - 1)) {
X++;
Y= 0; } }
62 strings =
S.substr(0,
X+ 1) +
S.substr(
X);
63s[
X] =
'A'+
Y- 26;
67 strings =
S.substr(0,
X) +
S.substr(
X+ 1);
97(*Scrumbled)[u].push_back(s);
104 string t= Scr.str();
108vector<string>& v = (*Scrumbled)[
t];
110 for(
n= 0;
n< v.size();
n++) {
115 if(
n== v.size()) {
125 for(
size_t n= 0;
n< v.size();
n++) {
136 for(
size_t n= 0;
n< w.size();
n++) {
152 string str= *
prot.GetName().begin();
154vector<string> words;
156 for(
size_t i= 0;
i< words.size();
i++) {
166 string t= Scr.str();
172 string msg= s +
" - should it be";
173 for(
size_t n= 0;
n< w.size();
n++) {
174 msg+=
" "+ w[
n] +
"?";
CScrumble(const string &s)
#define DISCREPANCY_CASE(name, type, group, descr)
static const char * str(char *buf, int n)
constexpr size_t ArraySize(const Element(&)[Size])
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
static list< string > & Split(const CTempString str, const CTempString delim, list< string > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL)
Split a string using specified delimiters.
static string & ToUpper(string &str)
Convert string to upper case â string& version.
static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
DISCREPANCY_MODULE(spell_check)
static void InitSpellChecker()
static void insert_unique(vector< string > &v, const string &s)
static CSafeStatic< map< string, string > > Dictionary
static CSafeStatic< map< string, vector< string > > > Scrumbled
static const char * Words[]
static CS_CONTEXT * context
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4