search for: snipper

Displaying 7 results from an estimated 7 matches for "snipper".

Did you mean: snippet
2015 Jul 26
1
Get term from document by position
..."\n\n\n"; // Find the top 10 results for the query. enquire.set_query(query); Xapian::MSet matches = enquire.get_mset(0, 10); // Display the results. std::cout << matches.get_matches_estimated() << " results found.\n"; Xapian::Snipper snippet_generator; snippet_generator.set_stemmer(stemmer); snippet_generator.set_mset(matches); std::string snippet=snippet_generator.generate_snippet(text_to_index.text_str); std::cout << "\n###################################################\n"; std::cout <&...
2015 Jul 26
1
Get term from document by position
...does the following: 1)First, it indexes text from the "text.txt" file (see attachment) (actually, this is the text of the following book: "Abbas, Lichtman. Basic immunology"). 2)Next, it searches for the "extracellular microbe" string and generates snippet. Xapian::Snipper generates the following snippet: "? ? 1 I * I I Andre , Lichtma SECOND EDITION B Q ? If1 Immun logy Functions and Disorders of the Immune System NOT FOR SALE C1q ? lymphocyte Antibody-secreting (plasma) cell Ant..."...
2005 Dec 31
0
:prompt not working?
Hi all, I''m trying to use the { :prompt => true } option in an erb form. However, not extra option-tag is prepended to the select list. Am I doing something wrong? (Code snipper follows.) <%= select :user, ''person_id'', Person.find(:all, :order => ''last_name, first_name'').collect {|p| [ p.fullname, p.id ] }, {:prompt => true} %> Thanks, EJC
2004 Jun 10
0
TFTP: error code 2 received - Only absolute filenames allowed
...router to my linux box. my in.tftpd.conf file looks like this: INTFTPD_PATH="/usr/tftp" INTFTPD_OPTS="-l ${INTFTPD_PATH}" and ive done a chmod 777 on the above path just to be 100% sure there are no permission problems even though the tftp is running as root. Heres the full snipper from cisco when i try and tftp it: gw0#cop flash:1:c820-k9osy6-mz.122-15.T5.bin tftp Address or name of remote host []? 10.100.0.1 Destination filename [c820-k9osy6-mz.122-15.T5.bin]? TFTP: error code 2 received - Only absolute filenames allowed %Error opening tftp://10.100.0.1/c820-k9osy6-mz.122...
2003 Oct 31
1
Problems with SIP
...uniqueBoundary', not 'application/sdp' -- Executing Dial("SIP/-080e8b58", "SIP/0@cisco1|20|Ttr") in new stack -- Called 0@cisco1 -- SIP/cisco1-071e is ringing == Spawn extension (default, 9342199, 1) exited non-zero on 'SIP/-080e8b58' This is a snipper of what it does when it goes to voice mail.. NOTICE[5126]: File chan_sip.c, Line 759 (auto_congest): Auto-congesting SIP/cisco1-6f8b -- SIP/cisco1-6f8b is circuit-busy == Everyone is busy at this time -- Executing VoiceMail("SIP/-0810f210", "u1234") in new stack =...
2009 Jun 29
2
[LLVMdev] Instruction Combining Pass *Breaking* Struct Reads?
...ee function to write its output. This is part of my calling mechanism. Once the call is terminated, the caller will read from the output struct. The twist is that I am not allocating the structs directly, I am allocating buffers of bytes and casting the pointers into struct pointers. The following snipper is without instruction combining being run: %2 = alloca i8, i32 16 ; <i8*> [#uses=1] %3 = alloca i8, i32 12 ; <i8*> [#uses=1] %4 = call i8* @"Environment::extend"(i8* inttoptr (i32 173374432 to i8*)) ; <i8*> [#uses=3] %5 = call i8* @"ArrayObj::create"(i...
2004 May 12
8
How do fix a good solution against spam..
Heya folks First of all, sorry if this isn't the correct list, but yet, I think spam is a kind of network attack and should be treated as a security issue.. I run a working mail server using Postfix, MySQL, Courier-IMAP, SpamAssassin and ClamAV (amavisd-new) .. I've checked the configuration file for SpamAssassin, but yet I havn't find any good solution for spam.. Sure, spam will