Skip to content

Commit

Permalink
Rename articles to content items (#9)
Browse files Browse the repository at this point in the history
* renamed articles to content items

* renamed article to content item in the api and regenerated code

* version bump
  • Loading branch information
theorm authored Oct 22, 2024
1 parent e90bab4 commit 8b4cd1c
Show file tree
Hide file tree
Showing 24 changed files with 336 additions and 341 deletions.
97 changes: 43 additions & 54 deletions examples/notebooks/basic.ipynb

Large diffs are not rendered by default.

60 changes: 30 additions & 30 deletions examples/notebooks/search.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"source": [
"# Search\n",
"\n",
"Find articles in Impresso using a variety of different filters."
"Find content items in Impresso using a variety of different filters."
]
},
{
Expand Down Expand Up @@ -406,7 +406,7 @@
"source": [
"## With text content only\n",
"\n",
"Limit to articles that have text."
"Limit to content items that have text."
]
},
{
Expand Down Expand Up @@ -1459,7 +1459,7 @@
"source": [
"Find items that have either one term or the other.\n",
"\n",
"Here we find all articles that contain either \"homme\" or \"femme\" in the title."
"Here we find all content items that contain either \"homme\" or \"femme\" in the title."
]
},
{
Expand Down Expand Up @@ -1833,7 +1833,7 @@
"source": [
"## Inverted search (everything excluding term A __OR__ term B).\n",
"\n",
"We want to find all articles with the word \"luddite\" in the title that do not mention neither \"textile\" nor \"machine\""
"We want to find all content items with the word \"luddite\" in the title that do not mention neither \"textile\" nor \"machine\""
]
},
{
Expand Down Expand Up @@ -2081,7 +2081,7 @@
"source": [
"### Complex combintation of terms\n",
"\n",
"The following cell searches all articles with all of the the following condition:\n",
"The following cell searches all content items with all of the the following condition:\n",
"\n",
"* mentioning \"hitler\" and \"stalin\"\n",
"* also mentioning one of: \"molotow\" or \"ribbentrop\"\n",
Expand Down Expand Up @@ -2459,7 +2459,7 @@
"source": [
"## Front page\n",
"\n",
"Find articles published on the front page only"
"Find content items published on the front page only"
]
},
{
Expand Down Expand Up @@ -3075,7 +3075,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Find all articles that mention Switzerland and Albert Einstein."
"Find all content items that mention Switzerland and Albert Einstein."
]
},
{
Expand Down Expand Up @@ -3445,7 +3445,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Find all articles that mention either Switzerland or Albert Einstein."
"Find all content items that mention either Switzerland or Albert Einstein."
]
},
{
Expand Down Expand Up @@ -4561,7 +4561,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Articles published at any time excluding the range (not the `~` that negates the range)."
"Content items published at any time excluding the range (not the `~` that negates the range)."
]
},
{
Expand Down Expand Up @@ -5677,7 +5677,7 @@
"source": [
"## Entity mention\n",
"\n",
"Find articles that mention two entities."
"Find content items that mention two entities."
]
},
{
Expand Down Expand Up @@ -6049,7 +6049,7 @@
"source": [
"## Topic\n",
"\n",
"Find articles that match either of the two topics."
"Find content items that match either of the two topics."
]
},
{
Expand Down Expand Up @@ -6421,7 +6421,7 @@
"source": [
"## Collection\n",
"\n",
"Find all articles in a collection."
"Find all content items in a collection."
]
},
{
Expand Down Expand Up @@ -6481,7 +6481,7 @@
"source": [
"## Country\n",
"\n",
"Find all articles published in either of the two specified countries."
"Find all content items published in either of the two specified countries."
]
},
{
Expand Down Expand Up @@ -6853,7 +6853,7 @@
"source": [
"## Access rights\n",
"\n",
"Limit search to articles with specific access rights."
"Limit search to content items with specific access rights."
]
},
{
Expand Down Expand Up @@ -7225,7 +7225,7 @@
"source": [
"## Partner\n",
"\n",
"Limit search to articles provided by a specific partner of the Impresso project."
"Limit search to content items provided by a specific partner of the Impresso project."
]
},
{
Expand Down Expand Up @@ -7597,7 +7597,7 @@
"source": [
"## Text reuse cluster\n",
"\n",
"Find all articles that are part of a specific text reuse cluster."
"Find all content items that are part of a specific text reuse cluster."
]
},
{
Expand Down Expand Up @@ -7981,7 +7981,7 @@
"source": [
"## Date range\n",
"\n",
"Get the number of articles that mention \"Impresso\", published on ever particular date."
"Get the number of content items that mention \"Impresso\", published on ever particular date."
]
},
{
Expand Down Expand Up @@ -8059,7 +8059,7 @@
"source": [
"## Year\n",
"\n",
"Get the number of articles that mention \"impresso\", published during every particular year."
"Get the number of content items that mention \"impresso\", published during every particular year."
]
},
{
Expand Down Expand Up @@ -8157,7 +8157,7 @@
"source": [
"## Content length\n",
"\n",
"Get the number of articles that mention \"impresso\", grouped by content length."
"Get the number of content items that mention \"impresso\", grouped by content length."
]
},
{
Expand Down Expand Up @@ -8235,7 +8235,7 @@
"source": [
"## Month\n",
"\n",
"Get the number of articles that mention \"impresso\", published during every particular month."
"Get the number of content items that mention \"impresso\", published during every particular month."
]
},
{
Expand Down Expand Up @@ -8313,7 +8313,7 @@
"source": [
"## Country\n",
"\n",
"Get the number of articles that mention \"impresso\", grouped by country they were published in."
"Get the number of content items that mention \"impresso\", grouped by country they were published in."
]
},
{
Expand Down Expand Up @@ -8465,7 +8465,7 @@
"source": [
"## Topic\n",
"\n",
"Find topics that the articles mentioning \"impresso\" are related to."
"Find topics that the content items mentioning \"impresso\" are related to."
]
},
{
Expand Down Expand Up @@ -8608,7 +8608,7 @@
"source": [
"## Collection\n",
"\n",
"Find collections the articles mentioning \"pomme\" are part of."
"Find collections the content items mentioning \"pomme\" are part of."
]
},
{
Expand Down Expand Up @@ -8726,7 +8726,7 @@
"source": [
"## Newspaper\n",
"\n",
"Find newspapers that the articles mentioning \"Schengen\" were published in."
"Find newspapers that the content items mentioning \"Schengen\" were published in."
]
},
{
Expand Down Expand Up @@ -8949,7 +8949,7 @@
"source": [
"## Language\n",
"\n",
"Find all languages the articles mentioning \"impresso\" were published in."
"Find all languages the content items mentioning \"impresso\" were published in."
]
},
{
Expand Down Expand Up @@ -9032,7 +9032,7 @@
"source": [
"## Person\n",
"\n",
"Find all persons mentioned in articles that mention \"Schengen\". Get only the last page."
"Find all persons mentioned in content items that mention \"Schengen\". Get only the last page."
]
},
{
Expand Down Expand Up @@ -9120,7 +9120,7 @@
"source": [
"## Location\n",
"\n",
"Find all locations mentioned in articles that mention \"Schengen\". Get only the last page."
"Find all locations mentioned in content items that mention \"Schengen\". Get only the last page."
]
},
{
Expand Down Expand Up @@ -9208,7 +9208,7 @@
"source": [
"## NAG\n",
"\n",
"Find all entities without a known type mentioned in articles that mention \"homme\" and \"femme\"."
"Find all entities without a known type mentioned in content items that mention \"homme\" and \"femme\"."
]
},
{
Expand Down Expand Up @@ -9269,7 +9269,7 @@
"source": [
"## Access rights\n",
"\n",
"Get access rights of articles mentioning \"pomme\"."
"Get access rights of content items mentioning \"pomme\"."
]
},
{
Expand Down Expand Up @@ -9347,7 +9347,7 @@
"source": [
"## Partner\n",
"\n",
"Get Impresso partners that provided articles mentioning \"pomme\"."
"Get Impresso partners that provided content items mentioning \"pomme\"."
]
},
{
Expand Down
Loading

0 comments on commit 8b4cd1c

Please sign in to comment.