flavour: ${{ matrix.flavour }}
lua: ${{ matrix.lua }}
- - name: Install test prerequsites (behave from apt)
+ - name: Install test prerequisites (behave from apt)
run: sudo apt-get install -y -qq python3-behave
if: matrix.flavour == 'ubuntu-20'
- - name: Install test prerequsites (behave from pip)
+ - name: Install test prerequisites (behave from pip)
run: pip3 install behave==1.2.6
if: (matrix.flavour == 'oldstuff') || (matrix.flavour == 'ubuntu-22')
- - name: Install test prerequsites (from apt for Ununtu 2x)
+ - name: Install test prerequisites (from apt for Ununtu 2x)
run: sudo apt-get install -y -qq python3-pytest python3-pytest-asyncio uvicorn
if: matrix.flavour != 'oldstuff'
run: pip3 install -U pytest-asyncio
if: matrix.flavour == 'ubuntu-20'
- - name: Install test prerequsites (from pip for Ubuntu 18)
+ - name: Install test prerequisites (from pip for Ubuntu 18)
run: pip3 install pytest pytest-asyncio uvicorn
if: matrix.flavour == 'oldstuff'
with:
cmake-args: -DBUILD_MODULE=on
- - name: Install test prerequsites
+ - name: Install test prerequisites
run: sudo apt-get install -y -qq python3-behave
- name: BDD tests (legacy tokenizer)
with:
flavour: 'ubuntu-22'
- - name: Install test prerequsites
+ - name: Install test prerequisites
run: sudo apt-get install -y -qq python3-behave
- name: BDD tests (php)
results when using Nominatim in the browser versus in a command-line tool
like wget or curl. The command-line tools
usually don't send any Accept-Language header, prompting Nominatim
- to show results in the local language. Browsers on the contratry always
+ to show results in the local language. Browsers on the contrary always
send the currently chosen browser language.
results when using Nominatim in the browser versus in a command-line tool
like wget or curl. The command-line tools
usually don't send any Accept-Language header, prompting Nominatim
- to show results in the local language. Browsers on the contratry always
+ to show results in the local language. Browsers on the contrary always
send the currently chosen browser language.
results when using Nominatim in the browser versus in a command-line tool
like wget or curl. The command-line tools
usually don't send any Accept-Language header, prompting Nominatim
- to show results in the local language. Browsers on the contratry always
+ to show results in the local language. Browsers on the contrary always
send the currently chosen browser language.
### Result restriction
and for [secondary importance](https://nominatim.org/data/wikimedia-secondary-importance.sql.gz)
based on Wikipedia importance of the administrative areas.
-The source code for creating these files is avaible in the Github projects
+The source code for creating these files is available in the Github projects
[osm-search/wikipedia-wikidata](https://github.com/osm-search/wikipedia-wikidata)
and
[osm-search/secondary-importance](https://github.com/osm-search/secondary-importance).
use_lookup: bool) -> List[dbf.FieldLookup]:
""" Create a ranking expression with full name terms and
additional address lookup. When 'use_lookup' is true, then
- address lookups will use the index, when the occurences are not
+ address lookups will use the index, when the occurrences are not
too many.
"""
# At this point drop unindexed partials from the address.
if not data_file.exists():
return 1
- # Only import the first occurance of a wikidata ID.
+ # Only import the first occurence of a wikidata ID.
# This keeps indexes and table small.
wd_done = set()