Home
last modified time | relevance | path

Searched refs:vocab (Results 1 – 25 of 1400) sorted by relevance

12345678910>>...56

/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/googleapis/gnostic/metrics/vocabulary/
H A Ddiscovery.go24 vocab.operationID[operation.Id]++
28 vocab.parameters[pair.Name]++
37 vocab.properties[pair.Name]++
46 vocab.properties[pair.Name]++
55 vocab.properties[pair.Name]++
68 var vocab Vocabulary
69 vocab.schemas = make(map[string]int)
71 vocab.parameters = make(map[string]int)
72 vocab.properties = make(map[string]int)
76 vocab.parameters[pair.Name]++
[all …]
H A Dopenapiv3.go56 vocab.processSchemasV3(components)
57 vocab.processResponsesV3(components)
77 vocab.schemas[pair.Name]++
78 vocab.processSchemaV3(pair.Value)
92 vocab.properties[pair.Name]++
103 vocab.schemas[pair.Name]++
108 var vocab Vocabulary
121 vocab.processOperationV3(v.Get)
124 vocab.processOperationV3(v.Post)
127 vocab.processOperationV3(v.Put)
[all …]
H A Dopenapiv2.go58 vocab.properties[pair.Name]++
63 var vocab Vocabulary
64 vocab.schemas = make(map[string]int)
66 vocab.parameters = make(map[string]int)
71 vocab.schemas[pair.Name]++
72 vocab.processSchemaV2(pair.Value)
79 vocab.processOperationV2(v.Get)
82 vocab.processOperationV2(v.Post)
85 vocab.processOperationV2(v.Put)
88 vocab.processOperationV2(v.Patch)
[all …]
H A Ddifference.go28 _, ok := vocab.schemas[s.Word]
30 delete(vocab.schemas, s.Word)
34 _, ok := vocab.operationID[op.Word]
36 delete(vocab.operationID, op.Word)
40 _, ok := vocab.parameters[param.Word]
42 delete(vocab.parameters, param.Word)
46 _, ok := vocab.properties[prop.Word]
48 delete(vocab.properties, prop.Word)
57 var vocab Vocabulary
58 vocab.schemas = make(map[string]int)
[all …]
H A Dintersection.go32 value, ok := vocab.schemas[s.Word]
38 value, ok := vocab.operationID[op.Word]
55 vocab.schemas = schemastemp
56 vocab.operationID = operationIDTemp
57 vocab.parameters = parametersTemp
58 vocab.properties = propertiesTemp
65 var vocab Vocabulary
66 vocab.schemas = make(map[string]int)
68 vocab.parameters = make(map[string]int)
69 vocab.properties = make(map[string]int)
[all …]
H A Dvocabulary.go115 var vocab Vocabulary
116 vocab.schemas = make(map[string]int)
117 vocab.operationID = make(map[string]int)
118 vocab.parameters = make(map[string]int)
119 vocab.properties = make(map[string]int)
121 vocab.unpackageVocabulary(v)
123 return len(vocab.schemas) + len(vocab.operationID) + len(vocab.parameters) + len(vocab.properties)
150 vocab.schemas[s.Word] += int(s.Count)
153 vocab.operationID[op.Word] += int(op.Count)
159 vocab.properties[prop.Word] += int(prop.Count)
[all …]
H A Dunion.go25 var vocab Vocabulary
26 vocab.schemas = make(map[string]int)
27 vocab.operationID = make(map[string]int)
28 vocab.parameters = make(map[string]int)
29 vocab.properties = make(map[string]int)
32 vocab.unpackageVocabulary(v)
36 Properties: fillProtoStructure(vocab.properties),
37 Schemas: fillProtoStructure(vocab.schemas),
38 Operations: fillProtoStructure(vocab.operationID),
39 Parameters: fillProtoStructure(vocab.parameters),
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/linkeddata/gojsonld/test_files/
H A Dnormalize-0044-out.nq1 _:c14n0 <http://example.org/vocab#p> _:c14n1 .
2 _:c14n0 <http://example.org/vocab#p> _:c14n2 .
3 _:c14n0 <http://example.org/vocab#p> _:c14n3 .
4 _:c14n1 <http://example.org/vocab#p> _:c14n0 .
5 _:c14n1 <http://example.org/vocab#p> _:c14n4 .
6 _:c14n1 <http://example.org/vocab#p> _:c14n5 .
7 _:c14n10 <http://example.org/vocab#p> _:c14n11 .
8 _:c14n10 <http://example.org/vocab#p> _:c14n7 .
9 _:c14n10 <http://example.org/vocab#p> _:c14n9 .
13 _:c14n2 <http://example.org/vocab#p> _:c14n0 .
[all …]
H A Dnormalize-0045-out.nq1 _:c14n0 <http://example.org/vocab#p> _:c14n1 .
2 _:c14n0 <http://example.org/vocab#p> _:c14n2 .
3 _:c14n0 <http://example.org/vocab#p> _:c14n3 .
4 _:c14n1 <http://example.org/vocab#p> _:c14n0 .
5 _:c14n1 <http://example.org/vocab#p> _:c14n4 .
6 _:c14n1 <http://example.org/vocab#p> _:c14n5 .
7 _:c14n10 <http://example.org/vocab#p> _:c14n11 .
8 _:c14n10 <http://example.org/vocab#p> _:c14n7 .
9 _:c14n10 <http://example.org/vocab#p> _:c14n9 .
13 _:c14n2 <http://example.org/vocab#p> _:c14n0 .
[all …]
H A Dnormalize-0046-out.nq1 _:c14n0 <http://example.org/vocab#p> _:c14n1 .
2 _:c14n0 <http://example.org/vocab#p> _:c14n2 .
3 _:c14n0 <http://example.org/vocab#p> _:c14n3 .
4 _:c14n1 <http://example.org/vocab#p> _:c14n0 .
5 _:c14n1 <http://example.org/vocab#p> _:c14n4 .
6 _:c14n1 <http://example.org/vocab#p> _:c14n5 .
7 _:c14n10 <http://example.org/vocab#p> _:c14n11 .
8 _:c14n10 <http://example.org/vocab#p> _:c14n7 .
9 _:c14n10 <http://example.org/vocab#p> _:c14n9 .
13 _:c14n2 <http://example.org/vocab#p> _:c14n0 .
[all …]
H A Dnormalize-0054-out.nq1 _:c14n0 <http://example.org/vocab#p> _:c14n14 .
2 _:c14n0 <http://example.org/vocab#p> _:c14n7 .
3 _:c14n1 <http://example.org/vocab#p> _:c14n15 .
4 _:c14n10 <http://example.org/vocab#p> _:c14n9 .
5 _:c14n11 <http://example.org/vocab#p> _:c14n10 .
6 _:c14n12 <http://example.org/vocab#p> _:c14n11 .
7 _:c14n13 <http://example.org/vocab#p> _:c14n12 .
9 _:c14n15 <http://example.org/vocab#p> _:c14n0 .
10 _:c14n3 <http://example.org/vocab#p> _:c14n2 .
11 _:c14n4 <http://example.org/vocab#p> _:c14n3 .
[all …]
/dports/textproc/py-nltk/nltk-3.4.1/nltk/test/unit/lm/
H A Dtest_vocabulary.py21 cls.vocab = Vocabulary(
27 self.assertTrue(self.vocab)
30 self.assertEqual(self.vocab.cutoff, 2)
34 self.vocab.cutoff = 3
49 self.assertTrue("a" in self.vocab)
51 self.assertFalse("c" in self.vocab)
53 self.assertFalse("z" in self.vocab)
103 self.vocab.lookup(None)
109 self.vocab.lookup(1)
128 str(self.vocab),
[all …]
/dports/deskutils/presage/presage-0.9.1/resources/arpa/
H A DMakefile.am27 arpa_en.vocab \
29 arpa_it.vocab \
36 $(TEXT2IDNGRAM) -n 3 -vocab arpa_en.vocab -temp . < $< > $@
38 arpa_en.arpa: arpa_en.idngram arpa_en.vocab
39 $(IDNGRAM2LM) -idngram arpa_en.idngram -vocab arpa_en.vocab -arpa arpa_en.arpa
45 $(TEXT2IDNGRAM) -n 3 -vocab arpa_it.vocab -temp . < $< > $@
47 arpa_it.arpa: arpa_it.idngram arpa_it.vocab
48 $(IDNGRAM2LM) -idngram arpa_it.idngram -vocab arpa_it.vocab -arpa arpa_it.arpa
52 arpa_en.vocab \
54 arpa_it.vocab
[all …]
/dports/www/writefreely/writefreely-0.13.1/vendor/github.com/writeas/activity/streams/
H A Dgen_streams.go772 v := &vocab.Link{}
1159 v := &vocab.Add{}
1417 v := &vocab.Join{}
1503 v := &vocab.Like{}
1761 v := &vocab.Undo{}
1847 v := &vocab.View{}
1933 v := &vocab.Read{}
1976 v := &vocab.Move{}
2148 v := &vocab.Flag{}
2750 v := &vocab.Note{}
[all …]
/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/scripts/sentiment_analysis/
H A Dprocess_data.py91 vocab = nlp.Vocab(nlp.data.count_tokens(all_token))
95 vocab.set_embedding(emb)
99 for word in vocab.embedding._idx_to_token:
103 vocab.embedding['<pad>'] = nd.zeros(300)
104 vocab.embedding['<bos>'] = nd.zeros(300)
105 vocab.embedding['<eos>'] = nd.zeros(300)
107 return vocab, max_len
111 def _preprocess(x, vocab, max_len): argument
113 data = vocab[data.split()]
118 def _preprocess_dataset(dataset, vocab, max_len): argument
[all …]
/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/tests/unittest/
H A Dtest_elmo.py128 vocab = nlp.vocab.ELMoCharVocab()
129 …expected_bos_ids = [vocab.bow_id, vocab.bos_id, vocab.eow_id]+[vocab.pad_id]*(vocab.max_word_lengt…
130 …expected_eos_ids = [vocab.bow_id, vocab.eos_id, vocab.eow_id]+[vocab.pad_id]*(vocab.max_word_lengt…
131 …expected_hello_ids = [vocab.bow_id, 104, 101, 108, 108, 111, vocab.eow_id]+[vocab.pad_id]*(vocab.m…
132 assert vocab['<bos>'] == expected_bos_ids
133 assert vocab['<eos>'] == expected_eos_ids
134 assert vocab['hello'] == expected_hello_ids
135 …assert vocab[['<bos>', 'hello', '<eos>']] == [expected_bos_ids, expected_hello_ids, expected_eos_i…
H A Dtest_bertvocab.py67 nlp.vocab.bert.CLS_TOKEN
71 nlp.vocab.bert.SEP_TOKEN
75 nlp.vocab.bert.MASK_TOKEN
79 nlp.vocab.bert.PADDING_TOKEN
83 nlp.vocab.bert.UNKNOWN_TOKEN
114 def check(vocab): argument
121 vocab['hello']
123 vocab['hello']
125 vocab = nlp.vocab.BERTVocab(unknown_token=unknown_token)
126 check(vocab)
[all …]
/dports/textproc/raptor2/raptor2-2.0.15/tests/rdfa11/
H A D0260.out1 …t-suite/test-cases/xhtml1/rdfa1.0/0260.xml> <http://www.w3.org/1999/xhtml/vocab#alternate> "altern…
2 …t-suite/test-cases/xhtml1/rdfa1.0/0260.xml> <http://www.w3.org/1999/xhtml/vocab#appendix> "appendi…
3 …o/test-suite/test-cases/xhtml1/rdfa1.0/0260.xml> <http://www.w3.org/1999/xhtml/vocab#cite> "cite" .
8 …test-suite/test-cases/xhtml1/rdfa1.0/0260.xml> <http://www.w3.org/1999/xhtml/vocab#first> "first" .
10 …o/test-suite/test-cases/xhtml1/rdfa1.0/0260.xml> <http://www.w3.org/1999/xhtml/vocab#help> "help" .
11 …o/test-suite/test-cases/xhtml1/rdfa1.0/0260.xml> <http://www.w3.org/1999/xhtml/vocab#icon> "icon" .
13 …o/test-suite/test-cases/xhtml1/rdfa1.0/0260.xml> <http://www.w3.org/1999/xhtml/vocab#last> "last" .
15 …o/test-suite/test-cases/xhtml1/rdfa1.0/0260.xml> <http://www.w3.org/1999/xhtml/vocab#meta> "meta" .
16 …o/test-suite/test-cases/xhtml1/rdfa1.0/0260.xml> <http://www.w3.org/1999/xhtml/vocab#next> "next" .
23 …nfo/test-suite/test-cases/xhtml1/rdfa1.0/0260.xml> <http://www.w3.org/1999/xhtml/vocab#top> "top" .
[all …]
H A D0076.out1 …t-suite/test-cases/xhtml1/rdfa1.0/0076.xml> <http://www.w3.org/1999/xhtml/vocab#alternate> <http:/…
2 …t-suite/test-cases/xhtml1/rdfa1.0/0076.xml> <http://www.w3.org/1999/xhtml/vocab#appendix> <http://…
3 …t-suite/test-cases/xhtml1/rdfa1.0/0076.xml> <http://www.w3.org/1999/xhtml/vocab#bookmark> <http://…
4 …t-suite/test-cases/xhtml1/rdfa1.0/0076.xml> <http://www.w3.org/1999/xhtml/vocab#cite> <http://exam…
9 …t-suite/test-cases/xhtml1/rdfa1.0/0076.xml> <http://www.w3.org/1999/xhtml/vocab#help> <http://exam…
10 …t-suite/test-cases/xhtml1/rdfa1.0/0076.xml> <http://www.w3.org/1999/xhtml/vocab#icon> <http://exam…
12 …t-suite/test-cases/xhtml1/rdfa1.0/0076.xml> <http://www.w3.org/1999/xhtml/vocab#meta> <http://exam…
13 …t-suite/test-cases/xhtml1/rdfa1.0/0076.xml> <http://www.w3.org/1999/xhtml/vocab#next> <http://exam…
15 …t-suite/test-cases/xhtml1/rdfa1.0/0076.xml> <http://www.w3.org/1999/xhtml/vocab#prev> <http://exam…
16 …t-suite/test-cases/xhtml1/rdfa1.0/0076.xml> <http://www.w3.org/1999/xhtml/vocab#role> <http://exam…
[all …]
/dports/devel/py-zope.app.renderer/zope.app.renderer-3.5.1/src/zope/app/renderer/tests/
H A Dtest_vocabulary.py48 self.vocab = SourceTypeVocabulary(None)
51 self.failUnless(IVocabulary.providedBy(self.vocab))
52 self.failUnless(IVocabularyTokenized.providedBy(self.vocab))
55 self.failUnless('zope.source.Foo' in self.vocab)
56 self.failIf('zope.source.Foo3' in self.vocab)
60 'zope.source.Foo' in [term.value for term in self.vocab])
62 'zope.source.Foo3' in [term.value for term in iter(self.vocab)])
65 self.assertEqual(len(self.vocab), 2)
70 LookupError, self.vocab.getTerm, ('zope.source.Foo3',))
73 vocab = self.vocab
[all …]
/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/tests/unittest/batchify/
H A Dtest_batchify_language_model.py32 vocab = nlp.Vocab(counter)
60 assert vocab[list(data)] == coded[:len(data)]
61 assert all(pad == vocab[vocab.padding_token] for pad in coded[len(data):])
77 vocab = nlp.Vocab(
85 vocab, seq_len, batch_size, last_batch='discard')
89 vocab, seq_len, batch_size, last_batch='keep')
94 vocab, seq_len, batch_size, last_batch='keep')
97 vocab, seq_len, batch_size, last_batch='discard')
108 vocab = nlp.vocab.Vocab(counter, bos_token=None)
111 vocab, seq_len, batch_size, last_batch='keep')
[all …]
/dports/textproc/py-gensim/gensim-4.0.1/gensim/models/
H A Dphrases.py415 vocab = {}
418 model.vocab = vocab
584 vocab = {}
595 vocab[word] = vocab.get(word, 0) + 1
599 vocab[joined_phrase_token] = vocab.get(joined_phrase_token, 0) + 1
605 if len(vocab) > max_vocab_size:
613 return min_reduce, vocab, total_words
656 if self.vocab:
659 for word, count in vocab.items():
660 self.vocab[word] = self.vocab.get(word, 0) + count
[all …]
/dports/www/writefreely/writefreely-0.13.1/vendor/github.com/writeas/activity/pub/
H A Dinterfaces.go111 CanAdd(c context.Context, o vocab.ObjectType, t vocab.ObjectType) bool
115 CanRemove(c context.Context, o vocab.ObjectType, t vocab.ObjectType) bool
299 vocab.Serializer
310 vocab.Typer
329 var _ actor = &vocab.Object{}
349 GetActorLink(index int) (v vocab.LinkType)
360 GetToObject(index int) (v vocab.ObjectType)
362 GetToLink(index int) (v vocab.LinkType)
370 GetBtoLink(index int) (v vocab.LinkType)
379 GetCcLink(index int) (v vocab.LinkType)
[all …]
/dports/textproc/raptor2/raptor2-2.0.15/tests/rdfa/
H A D0076.out1 …t-suite/test-cases/xhtml1/rdfa1.0/0076.xml> <http://www.w3.org/1999/xhtml/vocab#alternate> <http:/…
2 …t-suite/test-cases/xhtml1/rdfa1.0/0076.xml> <http://www.w3.org/1999/xhtml/vocab#appendix> <http://…
3 …t-suite/test-cases/xhtml1/rdfa1.0/0076.xml> <http://www.w3.org/1999/xhtml/vocab#bookmark> <http://…
4 …t-suite/test-cases/xhtml1/rdfa1.0/0076.xml> <http://www.w3.org/1999/xhtml/vocab#cite> <http://exam…
9 …t-suite/test-cases/xhtml1/rdfa1.0/0076.xml> <http://www.w3.org/1999/xhtml/vocab#help> <http://exam…
10 …t-suite/test-cases/xhtml1/rdfa1.0/0076.xml> <http://www.w3.org/1999/xhtml/vocab#icon> <http://exam…
12 …t-suite/test-cases/xhtml1/rdfa1.0/0076.xml> <http://www.w3.org/1999/xhtml/vocab#meta> <http://exam…
13 …t-suite/test-cases/xhtml1/rdfa1.0/0076.xml> <http://www.w3.org/1999/xhtml/vocab#next> <http://exam…
15 …t-suite/test-cases/xhtml1/rdfa1.0/0076.xml> <http://www.w3.org/1999/xhtml/vocab#prev> <http://exam…
16 …t-suite/test-cases/xhtml1/rdfa1.0/0076.xml> <http://www.w3.org/1999/xhtml/vocab#role> <http://exam…
[all …]
/dports/textproc/raptor/raptor-1.4.21/tests/rdfa/
H A D0077.out1 …RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#alternate> <http:/…
2 …RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#appendix> <http://…
3 …RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#bookmark> <http://…
4 …RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#cite> <http://exam…
9 …RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#help> <http://exam…
10 …RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#icon> <http://exam…
12 …RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#meta> <http://exam…
13 …RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#next> <http://exam…
15 …RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#prev> <http://exam…
16 …RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#role> <http://exam…
[all …]

12345678910>>...56