Skip to content

Commit deb19fc

Browse files
authored
Merge pull request #368 from watson-developer-cloud/6670-discovery-v1-examples
Add Discovery V1 examples
2 parents eb9907d + 82b20bd commit deb19fc

File tree

19 files changed

+2942
-429
lines changed

19 files changed

+2942
-429
lines changed

IBM.Watson.sln

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IBM.Watson.Assistant.v1.Exa
101101
EndProject
102102
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IBM.Watson.CompareComply.v1.Examples", "examples\IBM.Watson.CompareComply.v1.Examples\IBM.Watson.CompareComply.v1.Examples.csproj", "{58A819F6-2F99-4A79-95ED-2DED2F9D5DB4}"
103103
EndProject
104+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IBM.Watson.Discovery.v1.Examples", "examples\IBM.Watson.Discovery.v1.Examples\IBM.Watson.Discovery.v1.Examples.csproj", "{D3FBC964-AF1B-4416-9FE8-8F0A511908D5}"
105+
EndProject
104106
Global
105107
GlobalSection(SolutionConfigurationPlatforms) = preSolution
106108
Debug|Any CPU = Debug|Any CPU
@@ -251,6 +253,10 @@ Global
251253
{58A819F6-2F99-4A79-95ED-2DED2F9D5DB4}.Debug|Any CPU.Build.0 = Debug|Any CPU
252254
{58A819F6-2F99-4A79-95ED-2DED2F9D5DB4}.Release|Any CPU.ActiveCfg = Release|Any CPU
253255
{58A819F6-2F99-4A79-95ED-2DED2F9D5DB4}.Release|Any CPU.Build.0 = Release|Any CPU
256+
{D3FBC964-AF1B-4416-9FE8-8F0A511908D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
257+
{D3FBC964-AF1B-4416-9FE8-8F0A511908D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
258+
{D3FBC964-AF1B-4416-9FE8-8F0A511908D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
259+
{D3FBC964-AF1B-4416-9FE8-8F0A511908D5}.Release|Any CPU.Build.0 = Release|Any CPU
254260
EndGlobalSection
255261
GlobalSection(SolutionProperties) = preSolution
256262
HideSolutionNode = FALSE
@@ -291,6 +297,7 @@ Global
291297
{4CFF70FE-F96E-46EE-B7FC-E06AEE4EE2AC} = {90E09BF8-A647-43B8-B721-05CAECFADD72}
292298
{AE7F758A-A6FA-49E7-AD3C-52B784BEBA3F} = {E3D238D7-7A09-4447-B836-8D6ABF4BFF80}
293299
{58A819F6-2F99-4A79-95ED-2DED2F9D5DB4} = {B368DCF7-FB57-4302-8467-4EB142394A29}
300+
{D3FBC964-AF1B-4416-9FE8-8F0A511908D5} = {BE946662-3884-45E9-A3B1-B28F3081AD1B}
294301
EndGlobalSection
295302
GlobalSection(ExtensibilityGlobals) = postSolution
296303
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)