Home
last modified time | relevance | path

Searched refs:termid (Results 1 – 25 of 64) sorted by relevance

123

/dports/devel/p5-Test-Parser/Test-Parser-1.9/lib/Test/Parser/
H A Dltp.pm128 my ($termtype, $termid);
136 $termid = $2;
141 if (! defined $termtype or ! defined $termid) {
144 if ($termid == 0) {
148 $self->{_current_test}->{result} = "FAIL (exit=$termid)";
151 $termid = undef;
153 $self->{_current_test}->{result} = "BROK (signal=$termid)";
155 $termid = undef;
157 $self->{_current_test}->{result} = "$termtype ($termid)";
159 $termid = undef;
/dports/textproc/py-gensim/gensim-4.0.1/gensim/models/
H A Dtfidfmodel.py153 return {termid: wglobal(df, total_docs) for termid, df in dfs.items()}
387 self.term_lens = {termid: len(term) for termid, term in dictionary.items()}
413 self.cfs[termid] * (self.term_lens[termid] + 1.0) for termid in dictionary.keys()
457 for termid, _ in bow:
458 dfs[termid] = dfs.get(termid, 0) + 1
503 for termid, tf in bow:
504 termid_array.append(termid)
510 (termid, tf * self.idfs.get(termid))
511 … for termid, tf in zip(termid_array, tf_array) if abs(self.idfs.get(termid, 0.0)) > self.eps
530 old_norm = sum(freq * (self.term_lens[termid] + 1.0) for termid, freq in bow)
[all …]
/dports/net/zebra-server/idzebra-2.0.55/index/
H A Drset_isam.c34 int scope, ISAM_P pos, TERMID termid) in zebra_create_rset_isam() argument
40 zh->reg->isamb, pos, termid); in zebra_create_rset_isam()
43 zh->reg->isams, pos, termid); in zebra_create_rset_isam()
46 zh->reg->isamc, pos, termid); in zebra_create_rset_isam()
48 return rset_create_null(rset_nmem, kctrl, termid); in zebra_create_rset_isam()
H A Dtrunc.c131 TERMID termid) in rset_trunc_r() argument
138 res_get(zi->res, "setTmpDir"), termid); in rset_trunc_r()
410 TERMID termid; in rset_trunc() local
415 termid = rset_term_create(term, length, flags, term_type, rset_nmem, ol, in rset_trunc()
419 return rset_create_null(rset_nmem, kctrl, termid); in rset_trunc()
422 scope, *isam_p, termid); in rset_trunc()
433 termid, no, rsets); in rset_trunc()
444 scope, termid); in rset_trunc()
H A Dzsets.c884 TERMID termid; in resultSetSortSingle() local
1014 while (rset_read(rfd, &key, &termid)) in resultSetSortSingle()
1036 if (numbases > 1 && termid->ol) in resultSetSortSingle()
1050 ord_list_print(termid->ol); in resultSetSortSingle()
1088 TERMID termid; in resultSetRank() local
1130 while (rset_read(rfd, &key, &termid)) in resultSetRank()
1357 TERMID termid; in zebra_snippets_hit_vector() local
1375 while (rset_read(rsfd, &key, &termid)) in zebra_snippets_hit_vector()
1377 if (termid) in zebra_snippets_hit_vector()
1380 for (ol = termid->ol; ol; ol = ol->next) in zebra_snippets_hit_vector()
[all …]
H A Drpnscan.c102 TERMID termid; in get_first_snippet_from_rset() local
112 while (rset_read(rfd, &key, &termid)) in get_first_snippet_from_rset()
120 if (termid) in get_first_snippet_from_rset()
123 for (ol = termid->ol; ol; ol = ol->next) in get_first_snippet_from_rset()
126 ol->ord, termid->name); in get_first_snippet_from_rset()
/dports/textproc/py-gensim/gensim-4.0.1/gensim/corpora/
H A D_mmreader.pyx118 cdef long long docid, termid, previd
127 if (sscanf(line, "%lld %lld %lg", &docid, &termid, &val) != 3):
131 termid, docid = docid, termid
135 termid -= 1
152 document.append((termid, val,)) # add another field to the current document
179 cdef long long docid, termid, previd
192 if (sscanf(line, "%lld %lld %lg", &docid, &termid, &val) != 3):
196 termid, docid = docid, termid
200 termid -= 1
208 document.append((termid, val,)) # add another field to the current document
H A Dsvmlightcorpus.py188 …pairs = ' '.join("%i:%s" % (termid + 1, termval) for termid, termval in doc) # +1 to convert 0-ba…
/dports/textproc/py-gensim/gensim-4.0.1/gensim/test/
H A Dtest_tfidfmodel.py366 [(termid, weight / vector_norms[0]) for termid, weight in docs[0]],
367 [(termid, weight / vector_norms[1]) for termid, weight in docs[1]],
383 [(termid, weight / vector_norms[0]) for termid, weight in docs[0]],
384 [(termid, weight / vector_norms[1]) for termid, weight in docs[1]],
431 [(termid, weight + 1) for termid, weight in docs[0]],
432 [(termid, weight + 1) for termid, weight in docs[1]],
/dports/audio/julius/julius-4.1.2/gramtools/mkdfa/
H A Dmkdfa.pl.in101 $termid = 0;
116 printf(GTERM "%d\t%s\r\n",$termid, $1);
118 printf(GTERM "%d\t%s\n",$termid, $1);
120 $termid++;
/dports/biology/p5-BioPerl/BioPerl-1.7.7/lib/Bio/OntologyIO/
H A Ddagflat.pm694 my ( $self, $line, $termid ) = @_;
696 if ( $line =~ /([^;<%~]+);\s*$termid/ ) {
796 my $termid = "";
815 $termid = $1;
829 return $self->_create_ont_entry( $next_term, $termid, $def,
850 my ( $self, $name, $termid, $def, $cmt, $dbxrefs, $obsolete ) = @_;
857 -identifier => $termid,
/dports/biology/p5-BioPerl/BioPerl-1.7.7/lib/Bio/Ontology/
H A DOBOEngine.pm471 my $termid;
473 $termid = $self->_get_id( $term );
475 if ( ! $g->has_vertex( $termid ) ) {
476 $self->throw( "no term with identifier \"$termid\" in ontology" );
484 my @edges = $termid ? $g->edges_at( $termid ) : $g->edges(); # NG 05-02-13
/dports/devel/libvirt/libvirt-7.10.0/src/util/
H A Dvirpolkit.c237 const char *termid = ctermid(NULL); in virPolkitAgentAvailable() local
243 if (!termid) in virPolkitAgentAvailable()
256 fd = open(termid, O_RDWR | O_NOCTTY); in virPolkitAgentAvailable()
/dports/biology/py-orange3-bioinformatics/Orange3-Bioinformatics-4.3.1/orangecontrib/bioinformatics/go/
H A D__init__.py427 def __getitem__(self, termid): argument
435 if termid in self.terms:
436 return self.terms[termid]
437 elif termid in self.alias_mapper:
438 return self.terms[self.alias_mapper[termid]]
440 raise KeyError(termid)
454 def __contains__(self, termid): argument
458 return termid in self.terms or termid in self.alias_mapper
/dports/lang/scheme48/scheme48-1.9.2/c/posix/
H A Dproc-env.c239 char termid[L_ctermid]; in posix_get_terminal_pathname() local
240 char *status = ctermid(termid); in posix_get_terminal_pathname()
242 return (*status == '\0') ? s48_false_2(call) : s48_enter_byte_string_2(call, termid); in posix_get_terminal_pathname()
/dports/editors/encryptpad/EncryptPad-0.5.0.1/src/cli/
H A Dget_passphrase.cpp157 const char *termid = ctermid(nullptr); in GetPassphrase() local
158 FileHndl term_file(fopen(termid, "r+")); in GetPassphrase()
/dports/net/h323plus/h323plus-1_27_2/include/h230/
H A Dh230.h157 PBoolean ChairTokenResponse(int termid,const PString & termname);
158 PBoolean ChairAssignResponse(int termid,const PString & termname);
159 PBoolean FloorAssignResponse(int termid,const PString & termname);
/dports/net/wireshark-lite/wireshark-3.6.1/plugins/epan/unistim/
H A Dpacket-unistim.h21 guint32 termid; /* termid if available */ member
/dports/net/wireshark/wireshark-3.6.1/plugins/epan/unistim/
H A Dpacket-unistim.h21 guint32 termid; /* termid if available */ member
/dports/net/tshark-lite/wireshark-3.6.1/plugins/epan/unistim/
H A Dpacket-unistim.h21 guint32 termid; /* termid if available */ member
/dports/net/tshark/wireshark-3.6.1/plugins/epan/unistim/
H A Dpacket-unistim.h21 guint32 termid; /* termid if available */ member
/dports/net/wireshark/wireshark-3.6.1/plugins/epan/mate/matelib/
H A Dmegaco.mate3 …o_ctx=megaco.context; megaco_trx=megaco.transid; megaco_msg=megaco.transaction; term=megaco.termid;
/dports/net/wireshark-lite/wireshark-3.6.1/plugins/epan/mate/matelib/
H A Dmegaco.mate3 …o_ctx=megaco.context; megaco_trx=megaco.transid; megaco_msg=megaco.transaction; term=megaco.termid;
/dports/net/tshark-lite/wireshark-3.6.1/plugins/epan/mate/matelib/
H A Dmegaco.mate3 …o_ctx=megaco.context; megaco_trx=megaco.transid; megaco_msg=megaco.transaction; term=megaco.termid;
/dports/net/tshark/wireshark-3.6.1/plugins/epan/mate/matelib/
H A Dmegaco.mate3 …o_ctx=megaco.context; megaco_trx=megaco.transid; megaco_msg=megaco.transaction; term=megaco.termid;

123