Skip to content

Commit e4ea30c

Browse files
committed
docs(Discovery v2): Add sdk examples
1 parent a2cd70f commit e4ea30c

File tree

7 files changed

+1786
-0
lines changed

7 files changed

+1786
-0
lines changed

IBM.Watson.sln

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IBM.Watson.TextToSpeech.v1.
147147
EndProject
148148
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IBM.Watson.VisualRecognition.v3.UnitTests", "test\VisualRecognition.v3.UnitTests\IBM.Watson.VisualRecognition.v3.UnitTests.csproj", "{6BFCB413-77F6-494D-9381-08CB39D79316}"
149149
EndProject
150+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IBM.Watson.Discovery.v2.Examples", "examples\IBM.Watson.Discovery.v2.Examples\IBM.Watson.Discovery.v2.Examples.csproj", "{2197FF1E-EE63-4CA0-9742-140B49EBC0AF}"
151+
EndProject
150152
Global
151153
GlobalSection(SolutionConfigurationPlatforms) = preSolution
152154
Debug|Any CPU = Debug|Any CPU
@@ -381,6 +383,10 @@ Global
381383
{6BFCB413-77F6-494D-9381-08CB39D79316}.Debug|Any CPU.Build.0 = Debug|Any CPU
382384
{6BFCB413-77F6-494D-9381-08CB39D79316}.Release|Any CPU.ActiveCfg = Release|Any CPU
383385
{6BFCB413-77F6-494D-9381-08CB39D79316}.Release|Any CPU.Build.0 = Release|Any CPU
386+
{2197FF1E-EE63-4CA0-9742-140B49EBC0AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
387+
{2197FF1E-EE63-4CA0-9742-140B49EBC0AF}.Debug|Any CPU.Build.0 = Debug|Any CPU
388+
{2197FF1E-EE63-4CA0-9742-140B49EBC0AF}.Release|Any CPU.ActiveCfg = Release|Any CPU
389+
{2197FF1E-EE63-4CA0-9742-140B49EBC0AF}.Release|Any CPU.Build.0 = Release|Any CPU
384390
EndGlobalSection
385391
GlobalSection(SolutionProperties) = preSolution
386392
HideSolutionNode = FALSE
@@ -442,6 +448,7 @@ Global
442448
{087B907E-951F-460B-A4A5-FCE3C5E017C2} = {254924C9-64CD-4902-97C4-5F9E48DCDF7F}
443449
{12108388-6DAD-492F-80BC-080163F4FAAB} = {A86D4D5B-AECE-49F2-A2BC-F6897B3EB2E8}
444450
{6BFCB413-77F6-494D-9381-08CB39D79316} = {A1BC3262-1837-40D9-A530-DCFE679927C2}
451+
{2197FF1E-EE63-4CA0-9742-140B49EBC0AF} = {9A62662C-AB8A-4683-B251-B9B8B95B5F49}
445452
EndGlobalSection
446453
GlobalSection(ExtensibilityGlobals) = postSolution
447454
SolutionGuid = {B9D9D17B-1C17-402F-B701-DC671528690A}
Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
{
2+
"name": "give the configuration a human-readable name",
3+
"description": "describe how you intend to use this configuration",
4+
"conversions": {
5+
"word": {
6+
"heading": {
7+
"fonts": [
8+
{
9+
"level": 1,
10+
"min_size": 24,
11+
"bold": false,
12+
"italic": false
13+
},
14+
{
15+
"level": 2,
16+
"min_size": 18,
17+
"max_size": 23,
18+
"bold": true,
19+
"italic": false
20+
},
21+
{
22+
"level": 3,
23+
"min_size": 14,
24+
"max_size": 17,
25+
"bold": false,
26+
"italic": false
27+
},
28+
{
29+
"level": 4,
30+
"min_size": 13,
31+
"max_size": 13,
32+
"bold": true,
33+
"italic": false
34+
}
35+
],
36+
"styles": [
37+
{
38+
"level": 1,
39+
"names": [
40+
"pullout heading",
41+
"pulloutheading",
42+
"header"
43+
]
44+
},
45+
{
46+
"level": 2,
47+
"names": [
48+
"subtitle"
49+
]
50+
}
51+
]
52+
}
53+
},
54+
"pdf": {
55+
"heading": {
56+
"fonts": [
57+
{
58+
"level": 1,
59+
"min_size": 24,
60+
"max_size": 80
61+
},
62+
{
63+
"level": 2,
64+
"min_size": 18,
65+
"max_size": 24,
66+
"bold": false,
67+
"italic": false
68+
},
69+
{
70+
"level": 2,
71+
"min_size": 18,
72+
"max_size": 24,
73+
"bold": true
74+
},
75+
{
76+
"level": 3,
77+
"min_size": 13,
78+
"max_size": 18,
79+
"bold": false,
80+
"italic": false
81+
},
82+
{
83+
"level": 3,
84+
"min_size": 13,
85+
"max_size": 18,
86+
"bold": true
87+
},
88+
{
89+
"level": 4,
90+
"min_size": 11,
91+
"max_size": 13,
92+
"bold": false,
93+
"italic": false
94+
}
95+
]
96+
}
97+
},
98+
"html": {
99+
"exclude_tags_completely": [
100+
"script",
101+
"sup"
102+
],
103+
"exclude_tags_keep_content": [
104+
"font",
105+
"em",
106+
"span"
107+
],
108+
"exclude_content": {
109+
"xpaths": []
110+
},
111+
"keep_content": {
112+
"xpaths": []
113+
},
114+
"exclude_tag_attributes": [
115+
"EVENT_ACTIONS"
116+
]
117+
},
118+
"json_normalizations": []
119+
},
120+
"enrichments": [
121+
{
122+
"destination_field": "enriched_text",
123+
"source_field": "text",
124+
"enrichment": "alchemy_language",
125+
"options": {
126+
"extract": "keyword, entity, doc-sentiment, taxonomy, concept, relation",
127+
"sentiment": true,
128+
"quotations": true
129+
}
130+
}
131+
],
132+
"normalizations": []
133+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
| US English default stopword list
2+
3+
a
4+
an
5+
and
6+
are
7+
as
8+
at
9+
be
10+
but
11+
by
12+
for
13+
if
14+
in
15+
into
16+
is
17+
it
18+
no
19+
not
20+
of
21+
on
22+
or
23+
such
24+
that
25+
the
26+
their
27+
then
28+
there
29+
these
30+
they
31+
this
32+
to
33+
was
34+
will
35+
with

0 commit comments

Comments
 (0)