Initial fork commit
This commit is contained in:
55
.appveyor.yml
Normal file
55
.appveyor.yml
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
version: 1.0.{build}
|
||||||
|
image: Visual Studio 2015
|
||||||
|
skip_branch_with_pr: true
|
||||||
|
|
||||||
|
environment:
|
||||||
|
matrix:
|
||||||
|
- COMPILER: msys2
|
||||||
|
PLATFORM: x86
|
||||||
|
MSYS2_ARCH: x86
|
||||||
|
MSYS2_DIR: msys64
|
||||||
|
MSYSTEM: MINGW32
|
||||||
|
BIT: 32
|
||||||
|
- COMPILER: msys2
|
||||||
|
PLATFORM: x64
|
||||||
|
MSYS2_ARCH: x86_64
|
||||||
|
MSYS2_DIR: msys64
|
||||||
|
MSYSTEM: MINGW64
|
||||||
|
BIT: 64
|
||||||
|
|
||||||
|
build_script:
|
||||||
|
- cmd: cd %APPVEYOR_BUILD_FOLDER%
|
||||||
|
- ps: |
|
||||||
|
Write-Host "Compiler: $Env:COMPILER"
|
||||||
|
Write-Host "Architecture: $Env:MSYS2_ARCH"
|
||||||
|
Write-Host "Platform: $Env:PLATFORM"
|
||||||
|
Write-Host "MSYS2 Directory: $Env:MSYS2_DIR"
|
||||||
|
Write-Host "MSYS2 System: $Env:MSYSTEM"
|
||||||
|
|
||||||
|
if ($Env:COMPILER -eq "msys2") {
|
||||||
|
$Env:Path = "C:\$Env:MSYS2_DIR\$Env:MSYSTEM\bin;C:\$Env:MSYS2_DIR\usr\bin;$Env:Path"
|
||||||
|
$Env:WDIR = $Env:APPVEYOR_BUILD_FOLDER -replace "\\", "/"
|
||||||
|
bash -lc "cd $Env:WDIR && cp -rf ./windows/* ./"
|
||||||
|
bash -lc "cd $Env:WDIR && ./bootstrap.sh"
|
||||||
|
bash -lc "cd $Env:WDIR && ./configure --datadir=/c"
|
||||||
|
bash -lc "cd $Env:WDIR && make -j4"
|
||||||
|
bash -lc "cd $Env:WDIR && make check"
|
||||||
|
bash -lc "cd $Env:WDIR && cp src/.libs/libpostal-*.dll libpostal.dll"
|
||||||
|
& 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\lib.exe' /def:libpostal.def /out:libpostal.lib /machine:$Env:PLATFORM
|
||||||
|
if ($Env:BIT -eq "32") {
|
||||||
|
$Paths = @(
|
||||||
|
(Join-Path $Env:APPVEYOR_BUILD_FOLDER "src"),
|
||||||
|
(Join-Path $Env:APPVEYOR_BUILD_FOLDER "src\.libs"),
|
||||||
|
(Join-Path $Env:APPVEYOR_BUILD_FOLDER "test"),
|
||||||
|
(Join-Path $Env:APPVEYOR_BUILD_FOLDER "test\.libs"))
|
||||||
|
Get-ChildItem -Path $Paths | ?{ $_.Name -Match '\.(exe|dll)$' } | % { & 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\editbin.exe' /NOLOGO /LARGEADDRESSAWARE $_.FullName }
|
||||||
|
}
|
||||||
|
7z a libpostal.zip $Env:APPVEYOR_BUILD_FOLDER\libpostal.dll $Env:APPVEYOR_BUILD_FOLDER\libpostal.def $Env:APPVEYOR_BUILD_FOLDER\libpostal.exp $Env:APPVEYOR_BUILD_FOLDER\libpostal.lib $Env:APPVEYOR_BUILD_FOLDER\src\libpostal.h
|
||||||
|
}
|
||||||
|
|
||||||
|
test_script:
|
||||||
|
- '%APPVEYOR_BUILD_FOLDER%\test\test_libpostal.exe'
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
- path: libpostal.zip
|
||||||
|
name: libpostal
|
||||||
7
.bumpversion.cfg
Normal file
7
.bumpversion.cfg
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
[bumpversion]
|
||||||
|
current_version = 1.1.1
|
||||||
|
commit = True
|
||||||
|
tag = True
|
||||||
|
allow_dirty = True
|
||||||
|
|
||||||
|
[bumpversion:file:configure.ac]
|
||||||
56
CODE_OF_CONDUCT.md
Normal file
56
CODE_OF_CONDUCT.md
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
# The libpostal Code of Conduct
|
||||||
|
|
||||||
|
libpostal is all about addresses, and addresses are all about how people communicate. The philosophy of this project has always been one of multiculturalism, of acknowledging and embracing the specifics of our experiences, the nuances of our cultures, languages, identities, and intersections thereof. This code of conduct expresses the values we hope our contributors will emulate and adopt. We further acknowledge that machine learning models like the ones used in libpostal can reflect and sometimes reinforce the defaults, biases, and injustices that are encoded in the underlying training data and it is urgent and necessary that we stay vigilant in ensuring that open mapping data sets are representative of the under-represented.
|
||||||
|
|
||||||
|
> "Maps are an abstraction of reality, but whose reality are we talking about?"
|
||||||
|
>
|
||||||
|
> -- Kate Chapman of the Humanitarian OpenStreetMap Team
|
||||||
|
|
||||||
|
## Our Pledge
|
||||||
|
|
||||||
|
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, primary language(s), race, religion, or sexual identity and orientation.
|
||||||
|
|
||||||
|
It's a core tenet of this project to represent different cultures, languages, and realities. This can only be accomplished through creating an inclusive community that goes beyond simply tolerating differences, and instead intrinsically values and seeks out the diverse experiences of people around the world. We pledge to encourage and support people who are directly and/or indirectly marginalized in the open source community and in our societies.
|
||||||
|
|
||||||
|
## Our Standards
|
||||||
|
|
||||||
|
Examples of behavior that contributes to creating a positive environment include:
|
||||||
|
|
||||||
|
- Using welcoming and inclusive language
|
||||||
|
- Being respectful of differing viewpoints and experiences
|
||||||
|
- Gracefully accepting constructive criticism
|
||||||
|
- Acknowledging the privilege that one holds in a conversation
|
||||||
|
- Focusing on what is best for the community
|
||||||
|
- Showing empathy towards other community members
|
||||||
|
|
||||||
|
Examples of unacceptable behavior by participants include:
|
||||||
|
|
||||||
|
- Hate speech, overt or coded racism, use or promotion of hate symbols or imagery
|
||||||
|
- The use of sexualized language or imagery and unwelcome sexual attention or advances
|
||||||
|
- Trolling, insulting/derogatory comments, and personal or political attacks
|
||||||
|
- Public or private harassment
|
||||||
|
- Use of condescending language
|
||||||
|
- Making assumptions about technical knowledge based on personal characteristics
|
||||||
|
- "Othering" of languages, cultures, or groups of people and their lived experiences
|
||||||
|
- Publishing others' private information, such as a physical or electronic address, without explicit permission
|
||||||
|
- Other conduct which could reasonably be considered inappropriate in a professional setting
|
||||||
|
|
||||||
|
## Our Responsibilities
|
||||||
|
|
||||||
|
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
|
||||||
|
|
||||||
|
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
|
||||||
|
|
||||||
|
## Scope
|
||||||
|
|
||||||
|
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
|
||||||
|
|
||||||
|
## Enforcement
|
||||||
|
|
||||||
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at Contact email address. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
|
||||||
|
|
||||||
|
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
|
||||||
|
|
||||||
|
## Attribution
|
||||||
|
|
||||||
|
This Code of Conduct is adapted from the Contributor Covenant, version 1.4, available at http://contributor-covenant.org/version/1/4
|
||||||
36
CONTRIBUTING.md
Normal file
36
CONTRIBUTING.md
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
## Submitting Issues
|
||||||
|
|
||||||
|
When submitting issues to libpostal, please respect these guidelines:
|
||||||
|
|
||||||
|
- Be constructive. Try to help solve the problem.
|
||||||
|
- Always search for existing issues before submitting one.
|
||||||
|
- If you've written your own address parsing library/service, whether open-source or proprietary, don't raise issues simply to advertise for your project/solution. Write about it elsewhere, and save the issues page for people who are actually using libpostal.
|
||||||
|
|
||||||
|
### Bad parses
|
||||||
|
|
||||||
|
Libpostal's parser uses machine learning. It improves as the data improves, but contrary to the hype, that doesn't mean it can do everything a human brain can do. Addresses have many edge cases, and while we cover a substantial number of them, we may not be able to handle every bizarre edge case that comes up.
|
||||||
|
|
||||||
|
When reporting a parser issue, only submit one issue per problematic *pattern* of address, preferably with multiple addresses attached. For each address, please include at minimum:
|
||||||
|
|
||||||
|
- Input address
|
||||||
|
- Expected result
|
||||||
|
- Can you find the address in [OpenStreetMap](https://openstreetmap.org)?
|
||||||
|
- If libpostal is getting a place name like a city, suburb, or state wrong, can the admin component(s) name be found in OSM?
|
||||||
|
- What's the minimum form of the address that will parse correctly. For instance, if "123 Main St New York, NY" is the problem address, will "123 Main St" work? Does it work without abbreviations, using local language names, without sub-building information like units?
|
||||||
|
|
||||||
|
Note: we don't claim to handle all of the formatting mistakes that abound in address data sets, so sometimes the input needs to be preprocessed in some way before sending to libpostal. Sometimes there simply is no immediate solution, and many times the solution is simply to add your address or some part of it to OSM.
|
||||||
|
|
||||||
|
However, if there's a specific place or style of address that libpostal gets wrong, often we can do something to help libpostal train for and understand that address.
|
||||||
|
|
||||||
|
|
||||||
|
### Bugs
|
||||||
|
|
||||||
|
When submitting bug reports, please be sure to give us as much context as possible so that we can reproduce the error you encountered. Be sure to include:
|
||||||
|
|
||||||
|
- System conditons (OS, etc.)
|
||||||
|
- Steps to reproduce
|
||||||
|
- Expected outcome
|
||||||
|
- Actual outcome
|
||||||
|
- Screenshots or traceback
|
||||||
|
- Input or code that exposes the bug, if possible
|
||||||
|
|
||||||
42
ISSUE_TEMPLATE.md
Normal file
42
ISSUE_TEMPLATE.md
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
Hi!
|
||||||
|
|
||||||
|
I was checking out libpostal, and saw something that could be improved.
|
||||||
|
|
||||||
|
---
|
||||||
|
#### My country is
|
||||||
|
<!-- If you were Carmen Sandiego, where in the world would you be? -->
|
||||||
|
|
||||||
|
---
|
||||||
|
#### Here's how I'm using libpostal
|
||||||
|
<!-- Always interested to know how people use the library! What are you working on? Which organization? What's your use case? -->
|
||||||
|
|
||||||
|
---
|
||||||
|
#### Here's what I did
|
||||||
|
<!-- the input you used in the case of issues with results, your system configuration for compilation issues/bugs, etc. -->
|
||||||
|
|
||||||
|
---
|
||||||
|
#### Here's what I got
|
||||||
|
<!-- the output from the parser, normalization, deduping, make, etc. Try to paste the exact result/output. -->
|
||||||
|
|
||||||
|
---
|
||||||
|
#### Here's what I was expecting
|
||||||
|
<!-- what should the correct parse/output have been? Try to be specific. -->
|
||||||
|
|
||||||
|
---
|
||||||
|
#### For parsing issues, please answer "yes" or "no" to all that apply.
|
||||||
|
|
||||||
|
- Does the input address exist in [OpenStreetMap](https://openstreetmap.org)?
|
||||||
|
<!-- yes/no. Provide a link if possible -->
|
||||||
|
- Do all the toponyms exist in OSM (city, state, region names, etc.)?
|
||||||
|
<!-- yes/no -->
|
||||||
|
- If the address uses a rare/uncommon format, does changing the order of the fields yield the correct result?
|
||||||
|
<!-- yes/no. Providing examples is useful. -->
|
||||||
|
- If the address does not contain city, region, etc., does adding those fields to the input improve the result?
|
||||||
|
<!-- yes/no. Please paste any examples of forms of the address that do work. There might be an inconsistency between your address and libpostal's training addresses. -->
|
||||||
|
- If the address contains apartment/floor/sub-building information or uncommon formatting, does removing that help? Is there any minimum form of the address that gets the right parse?
|
||||||
|
<!-- yes/no. Please paste any examples of forms of the address that do work. Trying to do some of this investigation yourself before asking for help can save time for maintainers and improve your understanding of the project. -->
|
||||||
|
|
||||||
|
---
|
||||||
|
#### Here's what I think could be improved
|
||||||
|
<!-- suggestions for what could be done differently -->
|
||||||
|
|
||||||
22
LICENSE
Normal file
22
LICENSE
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2015 openvenues
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
|
||||||
4
Makefile.am
Normal file
4
Makefile.am
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
SUBDIRS = src test
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = libpostal.pc
|
||||||
896
Makefile.in
Normal file
896
Makefile.in
Normal file
@@ -0,0 +1,896 @@
|
|||||||
|
# Makefile.in generated by automake 1.16.5 from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
|
# Copyright (C) 1994-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||||
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
VPATH = @srcdir@
|
||||||
|
am__is_gnu_make = { \
|
||||||
|
if test -z '$(MAKELEVEL)'; then \
|
||||||
|
false; \
|
||||||
|
elif test -n '$(MAKE_HOST)'; then \
|
||||||
|
true; \
|
||||||
|
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
||||||
|
true; \
|
||||||
|
else \
|
||||||
|
false; \
|
||||||
|
fi; \
|
||||||
|
}
|
||||||
|
am__make_running_with_option = \
|
||||||
|
case $${target_option-} in \
|
||||||
|
?) ;; \
|
||||||
|
*) echo "am__make_running_with_option: internal error: invalid" \
|
||||||
|
"target option '$${target_option-}' specified" >&2; \
|
||||||
|
exit 1;; \
|
||||||
|
esac; \
|
||||||
|
has_opt=no; \
|
||||||
|
sane_makeflags=$$MAKEFLAGS; \
|
||||||
|
if $(am__is_gnu_make); then \
|
||||||
|
sane_makeflags=$$MFLAGS; \
|
||||||
|
else \
|
||||||
|
case $$MAKEFLAGS in \
|
||||||
|
*\\[\ \ ]*) \
|
||||||
|
bs=\\; \
|
||||||
|
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
||||||
|
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
||||||
|
esac; \
|
||||||
|
fi; \
|
||||||
|
skip_next=no; \
|
||||||
|
strip_trailopt () \
|
||||||
|
{ \
|
||||||
|
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
||||||
|
}; \
|
||||||
|
for flg in $$sane_makeflags; do \
|
||||||
|
test $$skip_next = yes && { skip_next=no; continue; }; \
|
||||||
|
case $$flg in \
|
||||||
|
*=*|--*) continue;; \
|
||||||
|
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
||||||
|
-*I?*) strip_trailopt 'I';; \
|
||||||
|
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
||||||
|
-*O?*) strip_trailopt 'O';; \
|
||||||
|
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
||||||
|
-*l?*) strip_trailopt 'l';; \
|
||||||
|
-[dEDm]) skip_next=yes;; \
|
||||||
|
-[JT]) skip_next=yes;; \
|
||||||
|
esac; \
|
||||||
|
case $$flg in \
|
||||||
|
*$$target_option*) has_opt=yes; break;; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
|
test $$has_opt = yes
|
||||||
|
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
||||||
|
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
||||||
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
|
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
|
install_sh_DATA = $(install_sh) -c -m 644
|
||||||
|
install_sh_PROGRAM = $(install_sh) -c
|
||||||
|
install_sh_SCRIPT = $(install_sh) -c
|
||||||
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
|
transform = $(program_transform_name)
|
||||||
|
NORMAL_INSTALL = :
|
||||||
|
PRE_INSTALL = :
|
||||||
|
POST_INSTALL = :
|
||||||
|
NORMAL_UNINSTALL = :
|
||||||
|
PRE_UNINSTALL = :
|
||||||
|
POST_UNINSTALL = :
|
||||||
|
build_triplet = @build@
|
||||||
|
host_triplet = @host@
|
||||||
|
subdir = .
|
||||||
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
|
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cblas.m4 \
|
||||||
|
$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
|
||||||
|
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
|
||||||
|
$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
|
||||||
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||||
|
$(ACLOCAL_M4)
|
||||||
|
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
|
||||||
|
$(am__configure_deps) $(am__DIST_COMMON)
|
||||||
|
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||||
|
configure.lineno config.status.lineno
|
||||||
|
mkinstalldirs = $(install_sh) -d
|
||||||
|
CONFIG_HEADER = config.h
|
||||||
|
CONFIG_CLEAN_FILES = libpostal.pc
|
||||||
|
CONFIG_CLEAN_VPATH_FILES =
|
||||||
|
AM_V_P = $(am__v_P_@AM_V@)
|
||||||
|
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||||
|
am__v_P_0 = false
|
||||||
|
am__v_P_1 = :
|
||||||
|
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
||||||
|
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
||||||
|
am__v_GEN_0 = @echo " GEN " $@;
|
||||||
|
am__v_GEN_1 =
|
||||||
|
AM_V_at = $(am__v_at_@AM_V@)
|
||||||
|
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
||||||
|
am__v_at_0 = @
|
||||||
|
am__v_at_1 =
|
||||||
|
SOURCES =
|
||||||
|
DIST_SOURCES =
|
||||||
|
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
|
||||||
|
ctags-recursive dvi-recursive html-recursive info-recursive \
|
||||||
|
install-data-recursive install-dvi-recursive \
|
||||||
|
install-exec-recursive install-html-recursive \
|
||||||
|
install-info-recursive install-pdf-recursive \
|
||||||
|
install-ps-recursive install-recursive installcheck-recursive \
|
||||||
|
installdirs-recursive pdf-recursive ps-recursive \
|
||||||
|
tags-recursive uninstall-recursive
|
||||||
|
am__can_run_installinfo = \
|
||||||
|
case $$AM_UPDATE_INFO_DIR in \
|
||||||
|
n|no|NO) false;; \
|
||||||
|
*) (install-info --version) >/dev/null 2>&1;; \
|
||||||
|
esac
|
||||||
|
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||||
|
am__vpath_adj = case $$p in \
|
||||||
|
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||||
|
*) f=$$p;; \
|
||||||
|
esac;
|
||||||
|
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
||||||
|
am__install_max = 40
|
||||||
|
am__nobase_strip_setup = \
|
||||||
|
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
||||||
|
am__nobase_strip = \
|
||||||
|
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
||||||
|
am__nobase_list = $(am__nobase_strip_setup); \
|
||||||
|
for p in $$list; do echo "$$p $$p"; done | \
|
||||||
|
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
||||||
|
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
||||||
|
if (++n[$$2] == $(am__install_max)) \
|
||||||
|
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
||||||
|
END { for (dir in files) print dir, files[dir] }'
|
||||||
|
am__base_list = \
|
||||||
|
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
||||||
|
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
||||||
|
am__uninstall_files_from_dir = { \
|
||||||
|
test -z "$$files" \
|
||||||
|
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|
||||||
|
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
|
||||||
|
$(am__cd) "$$dir" && rm -f $$files; }; \
|
||||||
|
}
|
||||||
|
am__installdirs = "$(DESTDIR)$(pkgconfigdir)"
|
||||||
|
DATA = $(pkgconfig_DATA)
|
||||||
|
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
||||||
|
distclean-recursive maintainer-clean-recursive
|
||||||
|
am__recursive_targets = \
|
||||||
|
$(RECURSIVE_TARGETS) \
|
||||||
|
$(RECURSIVE_CLEAN_TARGETS) \
|
||||||
|
$(am__extra_recursive_targets)
|
||||||
|
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
|
||||||
|
cscope distdir distdir-am dist dist-all distcheck
|
||||||
|
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
|
||||||
|
config.h.in
|
||||||
|
# Read a list of newline-separated strings from the standard input,
|
||||||
|
# and print each of them once, without duplicates. Input order is
|
||||||
|
# *not* preserved.
|
||||||
|
am__uniquify_input = $(AWK) '\
|
||||||
|
BEGIN { nonempty = 0; } \
|
||||||
|
{ items[$$0] = 1; nonempty = 1; } \
|
||||||
|
END { if (nonempty) { for (i in items) print i; }; } \
|
||||||
|
'
|
||||||
|
# Make sure the list of sources is unique. This is necessary because,
|
||||||
|
# e.g., the same source file might be shared among _SOURCES variables
|
||||||
|
# for different programs/libraries.
|
||||||
|
am__define_uniq_tagged_files = \
|
||||||
|
list='$(am__tagged_files)'; \
|
||||||
|
unique=`for i in $$list; do \
|
||||||
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||||
|
done | $(am__uniquify_input)`
|
||||||
|
DIST_SUBDIRS = $(SUBDIRS)
|
||||||
|
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
|
||||||
|
$(srcdir)/libpostal.pc.in README.md compile config.guess \
|
||||||
|
config.sub install-sh ltmain.sh missing
|
||||||
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
distdir = $(PACKAGE)-$(VERSION)
|
||||||
|
top_distdir = $(distdir)
|
||||||
|
am__remove_distdir = \
|
||||||
|
if test -d "$(distdir)"; then \
|
||||||
|
find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
|
||||||
|
&& rm -rf "$(distdir)" \
|
||||||
|
|| { sleep 5 && rm -rf "$(distdir)"; }; \
|
||||||
|
else :; fi
|
||||||
|
am__post_remove_distdir = $(am__remove_distdir)
|
||||||
|
am__relativize = \
|
||||||
|
dir0=`pwd`; \
|
||||||
|
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
||||||
|
sed_rest='s,^[^/]*/*,,'; \
|
||||||
|
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
|
||||||
|
sed_butlast='s,/*[^/]*$$,,'; \
|
||||||
|
while test -n "$$dir1"; do \
|
||||||
|
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
|
||||||
|
if test "$$first" != "."; then \
|
||||||
|
if test "$$first" = ".."; then \
|
||||||
|
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
|
||||||
|
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
|
||||||
|
else \
|
||||||
|
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
|
||||||
|
if test "$$first2" = "$$first"; then \
|
||||||
|
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
|
||||||
|
else \
|
||||||
|
dir2="../$$dir2"; \
|
||||||
|
fi; \
|
||||||
|
dir0="$$dir0"/"$$first"; \
|
||||||
|
fi; \
|
||||||
|
fi; \
|
||||||
|
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
||||||
|
done; \
|
||||||
|
reldir="$$dir2"
|
||||||
|
DIST_ARCHIVES = $(distdir).tar.gz
|
||||||
|
GZIP_ENV = --best
|
||||||
|
DIST_TARGETS = dist-gzip
|
||||||
|
# Exists only to be overridden by the user if desired.
|
||||||
|
AM_DISTCHECK_DVI_TARGET = dvi
|
||||||
|
distuninstallcheck_listfiles = find . -type f -print
|
||||||
|
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
|
||||||
|
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
|
||||||
|
distcleancheck_listfiles = find . -type f -print
|
||||||
|
ACLOCAL = @ACLOCAL@
|
||||||
|
AMTAR = @AMTAR@
|
||||||
|
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||||
|
AR = @AR@
|
||||||
|
AUTOCONF = @AUTOCONF@
|
||||||
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
AUTOMAKE = @AUTOMAKE@
|
||||||
|
AWK = @AWK@
|
||||||
|
CBLAS_LIBS = @CBLAS_LIBS@
|
||||||
|
CC = @CC@
|
||||||
|
CCDEPMODE = @CCDEPMODE@
|
||||||
|
CFLAGS = @CFLAGS@
|
||||||
|
CFLAGS_SCANNER_EXTRA = @CFLAGS_SCANNER_EXTRA@
|
||||||
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CSCOPE = @CSCOPE@
|
||||||
|
CTAGS = @CTAGS@
|
||||||
|
CYGPATH_W = @CYGPATH_W@
|
||||||
|
DEFS = @DEFS@
|
||||||
|
DEPDIR = @DEPDIR@
|
||||||
|
DLLTOOL = @DLLTOOL@
|
||||||
|
DSYMUTIL = @DSYMUTIL@
|
||||||
|
DUMPBIN = @DUMPBIN@
|
||||||
|
ECHO_C = @ECHO_C@
|
||||||
|
ECHO_N = @ECHO_N@
|
||||||
|
ECHO_T = @ECHO_T@
|
||||||
|
EGREP = @EGREP@
|
||||||
|
ETAGS = @ETAGS@
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
|
FOUND_GSHUF = @FOUND_GSHUF@
|
||||||
|
FOUND_SHUF = @FOUND_SHUF@
|
||||||
|
GREP = @GREP@
|
||||||
|
INSTALL = @INSTALL@
|
||||||
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
|
LD = @LD@
|
||||||
|
LDFLAGS = @LDFLAGS@
|
||||||
|
LIBOBJS = @LIBOBJS@
|
||||||
|
LIBPOSTAL_DATA_DIR_VERSION_STRING = @LIBPOSTAL_DATA_DIR_VERSION_STRING@
|
||||||
|
LIBPOSTAL_DATA_FILE_LATEST_VERSION = @LIBPOSTAL_DATA_FILE_LATEST_VERSION@
|
||||||
|
LIBPOSTAL_LANG_CLASS_MODEL_LATEST_VERSION = @LIBPOSTAL_LANG_CLASS_MODEL_LATEST_VERSION@
|
||||||
|
LIBPOSTAL_MAJOR_VERSION = @LIBPOSTAL_MAJOR_VERSION@
|
||||||
|
LIBPOSTAL_MINOR_VERSION = @LIBPOSTAL_MINOR_VERSION@
|
||||||
|
LIBPOSTAL_PARSER_MODEL_LATEST_VERSION = @LIBPOSTAL_PARSER_MODEL_LATEST_VERSION@
|
||||||
|
LIBPOSTAL_PATCH_VERSION = @LIBPOSTAL_PATCH_VERSION@
|
||||||
|
LIBPOSTAL_SENZING_DATA_DIR_VERSION_STRING = @LIBPOSTAL_SENZING_DATA_DIR_VERSION_STRING@
|
||||||
|
LIBPOSTAL_SENZING_DATA_FILE_LATEST_VERSION = @LIBPOSTAL_SENZING_DATA_FILE_LATEST_VERSION@
|
||||||
|
LIBPOSTAL_SENZING_LANG_CLASS_MODEL_LATEST_VERSION = @LIBPOSTAL_SENZING_LANG_CLASS_MODEL_LATEST_VERSION@
|
||||||
|
LIBPOSTAL_SENZING_PARSER_MODEL_LATEST_VERSION = @LIBPOSTAL_SENZING_PARSER_MODEL_LATEST_VERSION@
|
||||||
|
LIBPOSTAL_SO_VERSION = @LIBPOSTAL_SO_VERSION@
|
||||||
|
LIBS = @LIBS@
|
||||||
|
LIBTOOL = @LIBTOOL@
|
||||||
|
LIPO = @LIPO@
|
||||||
|
LN_S = @LN_S@
|
||||||
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
|
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
|
||||||
|
MAKEINFO = @MAKEINFO@
|
||||||
|
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||||
|
MKDIR_P = @MKDIR_P@
|
||||||
|
MODEL = @MODEL@
|
||||||
|
NM = @NM@
|
||||||
|
NMEDIT = @NMEDIT@
|
||||||
|
OBJDUMP = @OBJDUMP@
|
||||||
|
OBJEXT = @OBJEXT@
|
||||||
|
OTOOL = @OTOOL@
|
||||||
|
OTOOL64 = @OTOOL64@
|
||||||
|
PACKAGE = @PACKAGE@
|
||||||
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||||
|
PACKAGE_NAME = @PACKAGE_NAME@
|
||||||
|
PACKAGE_STRING = @PACKAGE_STRING@
|
||||||
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||||
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
RANLIB = @RANLIB@
|
||||||
|
SED = @SED@
|
||||||
|
SET_MAKE = @SET_MAKE@
|
||||||
|
SHELL = @SHELL@
|
||||||
|
STRIP = @STRIP@
|
||||||
|
VERSION = @VERSION@
|
||||||
|
abs_builddir = @abs_builddir@
|
||||||
|
abs_srcdir = @abs_srcdir@
|
||||||
|
abs_top_builddir = @abs_top_builddir@
|
||||||
|
abs_top_srcdir = @abs_top_srcdir@
|
||||||
|
ac_ct_AR = @ac_ct_AR@
|
||||||
|
ac_ct_CC = @ac_ct_CC@
|
||||||
|
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__leading_dot = @am__leading_dot@
|
||||||
|
am__quote = @am__quote@
|
||||||
|
am__tar = @am__tar@
|
||||||
|
am__untar = @am__untar@
|
||||||
|
bindir = @bindir@
|
||||||
|
build = @build@
|
||||||
|
build_alias = @build_alias@
|
||||||
|
build_cpu = @build_cpu@
|
||||||
|
build_os = @build_os@
|
||||||
|
build_vendor = @build_vendor@
|
||||||
|
builddir = @builddir@
|
||||||
|
datadir = @datadir@
|
||||||
|
datarootdir = @datarootdir@
|
||||||
|
docdir = @docdir@
|
||||||
|
dvidir = @dvidir@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
host = @host@
|
||||||
|
host_alias = @host_alias@
|
||||||
|
host_cpu = @host_cpu@
|
||||||
|
host_os = @host_os@
|
||||||
|
host_vendor = @host_vendor@
|
||||||
|
htmldir = @htmldir@
|
||||||
|
includedir = @includedir@
|
||||||
|
infodir = @infodir@
|
||||||
|
install_sh = @install_sh@
|
||||||
|
libdir = @libdir@
|
||||||
|
libexecdir = @libexecdir@
|
||||||
|
localedir = @localedir@
|
||||||
|
localstatedir = @localstatedir@
|
||||||
|
mandir = @mandir@
|
||||||
|
mkdir_p = @mkdir_p@
|
||||||
|
oldincludedir = @oldincludedir@
|
||||||
|
pdfdir = @pdfdir@
|
||||||
|
prefix = @prefix@
|
||||||
|
program_transform_name = @program_transform_name@
|
||||||
|
psdir = @psdir@
|
||||||
|
runstatedir = @runstatedir@
|
||||||
|
sbindir = @sbindir@
|
||||||
|
sharedstatedir = @sharedstatedir@
|
||||||
|
srcdir = @srcdir@
|
||||||
|
sysconfdir = @sysconfdir@
|
||||||
|
target_alias = @target_alias@
|
||||||
|
top_build_prefix = @top_build_prefix@
|
||||||
|
top_builddir = @top_builddir@
|
||||||
|
top_srcdir = @top_srcdir@
|
||||||
|
SUBDIRS = src test
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = libpostal.pc
|
||||||
|
all: config.h
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||||
|
|
||||||
|
.SUFFIXES:
|
||||||
|
am--refresh: Makefile
|
||||||
|
@:
|
||||||
|
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||||
|
@for dep in $?; do \
|
||||||
|
case '$(am__configure_deps)' in \
|
||||||
|
*$$dep*) \
|
||||||
|
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
|
||||||
|
$(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
|
||||||
|
&& exit 0; \
|
||||||
|
exit 1;; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
|
||||||
|
$(am__cd) $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
@case '$?' in \
|
||||||
|
*config.status*) \
|
||||||
|
echo ' $(SHELL) ./config.status'; \
|
||||||
|
$(SHELL) ./config.status;; \
|
||||||
|
*) \
|
||||||
|
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
|
||||||
|
esac;
|
||||||
|
|
||||||
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||||
|
$(SHELL) ./config.status --recheck
|
||||||
|
|
||||||
|
$(top_srcdir)/configure: $(am__configure_deps)
|
||||||
|
$(am__cd) $(srcdir) && $(AUTOCONF)
|
||||||
|
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||||
|
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||||
|
$(am__aclocal_m4_deps):
|
||||||
|
|
||||||
|
config.h: stamp-h1
|
||||||
|
@test -f $@ || rm -f stamp-h1
|
||||||
|
@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
|
||||||
|
|
||||||
|
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
|
||||||
|
@rm -f stamp-h1
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status config.h
|
||||||
|
$(srcdir)/config.h.in: $(am__configure_deps)
|
||||||
|
($(am__cd) $(top_srcdir) && $(AUTOHEADER))
|
||||||
|
rm -f stamp-h1
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
distclean-hdr:
|
||||||
|
-rm -f config.h stamp-h1
|
||||||
|
libpostal.pc: $(top_builddir)/config.status $(srcdir)/libpostal.pc.in
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||||
|
|
||||||
|
mostlyclean-libtool:
|
||||||
|
-rm -f *.lo
|
||||||
|
|
||||||
|
clean-libtool:
|
||||||
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
|
distclean-libtool:
|
||||||
|
-rm -f libtool config.lt
|
||||||
|
install-pkgconfigDATA: $(pkgconfig_DATA)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
|
||||||
|
if test -n "$$list"; then \
|
||||||
|
echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
|
||||||
|
$(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
|
||||||
|
fi; \
|
||||||
|
for p in $$list; do \
|
||||||
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||||
|
echo "$$d$$p"; \
|
||||||
|
done | $(am__base_list) | \
|
||||||
|
while read files; do \
|
||||||
|
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
|
||||||
|
$(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
|
||||||
|
done
|
||||||
|
|
||||||
|
uninstall-pkgconfigDATA:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
|
||||||
|
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
||||||
|
dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
|
||||||
|
|
||||||
|
# This directory's subdirectories are mostly independent; you can cd
|
||||||
|
# into them and run 'make' without going through this Makefile.
|
||||||
|
# To change the values of 'make' variables: instead of editing Makefiles,
|
||||||
|
# (1) if the variable is set in 'config.status', edit 'config.status'
|
||||||
|
# (which will cause the Makefiles to be regenerated when you run 'make');
|
||||||
|
# (2) otherwise, pass the desired values on the 'make' command line.
|
||||||
|
$(am__recursive_targets):
|
||||||
|
@fail=; \
|
||||||
|
if $(am__make_keepgoing); then \
|
||||||
|
failcom='fail=yes'; \
|
||||||
|
else \
|
||||||
|
failcom='exit 1'; \
|
||||||
|
fi; \
|
||||||
|
dot_seen=no; \
|
||||||
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
|
case "$@" in \
|
||||||
|
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||||
|
*) list='$(SUBDIRS)' ;; \
|
||||||
|
esac; \
|
||||||
|
for subdir in $$list; do \
|
||||||
|
echo "Making $$target in $$subdir"; \
|
||||||
|
if test "$$subdir" = "."; then \
|
||||||
|
dot_seen=yes; \
|
||||||
|
local_target="$$target-am"; \
|
||||||
|
else \
|
||||||
|
local_target="$$target"; \
|
||||||
|
fi; \
|
||||||
|
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||||
|
|| eval $$failcom; \
|
||||||
|
done; \
|
||||||
|
if test "$$dot_seen" = "no"; then \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||||
|
fi; test -z "$$fail"
|
||||||
|
|
||||||
|
ID: $(am__tagged_files)
|
||||||
|
$(am__define_uniq_tagged_files); mkid -fID $$unique
|
||||||
|
tags: tags-recursive
|
||||||
|
TAGS: tags
|
||||||
|
|
||||||
|
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||||
|
set x; \
|
||||||
|
here=`pwd`; \
|
||||||
|
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||||
|
include_option=--etags-include; \
|
||||||
|
empty_fix=.; \
|
||||||
|
else \
|
||||||
|
include_option=--include; \
|
||||||
|
empty_fix=; \
|
||||||
|
fi; \
|
||||||
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
if test "$$subdir" = .; then :; else \
|
||||||
|
test ! -f $$subdir/TAGS || \
|
||||||
|
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
||||||
|
fi; \
|
||||||
|
done; \
|
||||||
|
$(am__define_uniq_tagged_files); \
|
||||||
|
shift; \
|
||||||
|
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||||
|
test -n "$$unique" || unique=$$empty_fix; \
|
||||||
|
if test $$# -gt 0; then \
|
||||||
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||||
|
"$$@" $$unique; \
|
||||||
|
else \
|
||||||
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||||
|
$$unique; \
|
||||||
|
fi; \
|
||||||
|
fi
|
||||||
|
ctags: ctags-recursive
|
||||||
|
|
||||||
|
CTAGS: ctags
|
||||||
|
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||||
|
$(am__define_uniq_tagged_files); \
|
||||||
|
test -z "$(CTAGS_ARGS)$$unique" \
|
||||||
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||||
|
$$unique
|
||||||
|
|
||||||
|
GTAGS:
|
||||||
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||||
|
&& $(am__cd) $(top_srcdir) \
|
||||||
|
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||||
|
cscope: cscope.files
|
||||||
|
test ! -s cscope.files \
|
||||||
|
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
|
||||||
|
clean-cscope:
|
||||||
|
-rm -f cscope.files
|
||||||
|
cscope.files: clean-cscope cscopelist
|
||||||
|
cscopelist: cscopelist-recursive
|
||||||
|
|
||||||
|
cscopelist-am: $(am__tagged_files)
|
||||||
|
list='$(am__tagged_files)'; \
|
||||||
|
case "$(srcdir)" in \
|
||||||
|
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
|
||||||
|
*) sdir=$(subdir)/$(srcdir) ;; \
|
||||||
|
esac; \
|
||||||
|
for i in $$list; do \
|
||||||
|
if test -f "$$i"; then \
|
||||||
|
echo "$(subdir)/$$i"; \
|
||||||
|
else \
|
||||||
|
echo "$$sdir/$$i"; \
|
||||||
|
fi; \
|
||||||
|
done >> $(top_builddir)/cscope.files
|
||||||
|
|
||||||
|
distclean-tags:
|
||||||
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||||
|
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
|
||||||
|
distdir: $(BUILT_SOURCES)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
||||||
|
|
||||||
|
distdir-am: $(DISTFILES)
|
||||||
|
$(am__remove_distdir)
|
||||||
|
test -d "$(distdir)" || mkdir "$(distdir)"
|
||||||
|
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||||
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||||
|
list='$(DISTFILES)'; \
|
||||||
|
dist_files=`for file in $$list; do echo $$file; done | \
|
||||||
|
sed -e "s|^$$srcdirstrip/||;t" \
|
||||||
|
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||||
|
case $$dist_files in \
|
||||||
|
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||||
|
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||||
|
sort -u` ;; \
|
||||||
|
esac; \
|
||||||
|
for file in $$dist_files; do \
|
||||||
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
if test -d $$d/$$file; then \
|
||||||
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test -d "$(distdir)/$$file"; then \
|
||||||
|
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||||
|
fi; \
|
||||||
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||||
|
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||||
|
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||||
|
fi; \
|
||||||
|
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||||
|
else \
|
||||||
|
test -f "$(distdir)/$$file" \
|
||||||
|
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||||
|
|| exit 1; \
|
||||||
|
fi; \
|
||||||
|
done
|
||||||
|
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
if test "$$subdir" = .; then :; else \
|
||||||
|
$(am__make_dryrun) \
|
||||||
|
|| test -d "$(distdir)/$$subdir" \
|
||||||
|
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
||||||
|
|| exit 1; \
|
||||||
|
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
|
||||||
|
$(am__relativize); \
|
||||||
|
new_distdir=$$reldir; \
|
||||||
|
dir1=$$subdir; dir2="$(top_distdir)"; \
|
||||||
|
$(am__relativize); \
|
||||||
|
new_top_distdir=$$reldir; \
|
||||||
|
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
|
||||||
|
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
|
||||||
|
($(am__cd) $$subdir && \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
|
top_distdir="$$new_top_distdir" \
|
||||||
|
distdir="$$new_distdir" \
|
||||||
|
am__remove_distdir=: \
|
||||||
|
am__skip_length_check=: \
|
||||||
|
am__skip_mode_fix=: \
|
||||||
|
distdir) \
|
||||||
|
|| exit 1; \
|
||||||
|
fi; \
|
||||||
|
done
|
||||||
|
-test -n "$(am__skip_mode_fix)" \
|
||||||
|
|| find "$(distdir)" -type d ! -perm -755 \
|
||||||
|
-exec chmod u+rwx,go+rx {} \; -o \
|
||||||
|
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||||
|
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||||
|
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
||||||
|
|| chmod -R a+r "$(distdir)"
|
||||||
|
dist-gzip: distdir
|
||||||
|
tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
|
||||||
|
$(am__post_remove_distdir)
|
||||||
|
|
||||||
|
dist-bzip2: distdir
|
||||||
|
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
|
||||||
|
$(am__post_remove_distdir)
|
||||||
|
|
||||||
|
dist-lzip: distdir
|
||||||
|
tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
|
||||||
|
$(am__post_remove_distdir)
|
||||||
|
|
||||||
|
dist-xz: distdir
|
||||||
|
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
|
||||||
|
$(am__post_remove_distdir)
|
||||||
|
|
||||||
|
dist-zstd: distdir
|
||||||
|
tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
|
||||||
|
$(am__post_remove_distdir)
|
||||||
|
|
||||||
|
dist-tarZ: distdir
|
||||||
|
@echo WARNING: "Support for distribution archives compressed with" \
|
||||||
|
"legacy program 'compress' is deprecated." >&2
|
||||||
|
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
|
||||||
|
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
||||||
|
$(am__post_remove_distdir)
|
||||||
|
|
||||||
|
dist-shar: distdir
|
||||||
|
@echo WARNING: "Support for shar distribution archives is" \
|
||||||
|
"deprecated." >&2
|
||||||
|
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
|
||||||
|
shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
|
||||||
|
$(am__post_remove_distdir)
|
||||||
|
|
||||||
|
dist-zip: distdir
|
||||||
|
-rm -f $(distdir).zip
|
||||||
|
zip -rq $(distdir).zip $(distdir)
|
||||||
|
$(am__post_remove_distdir)
|
||||||
|
|
||||||
|
dist dist-all:
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
|
||||||
|
$(am__post_remove_distdir)
|
||||||
|
|
||||||
|
# This target untars the dist file and tries a VPATH configuration. Then
|
||||||
|
# it guarantees that the distribution is self-contained by making another
|
||||||
|
# tarfile.
|
||||||
|
distcheck: dist
|
||||||
|
case '$(DIST_ARCHIVES)' in \
|
||||||
|
*.tar.gz*) \
|
||||||
|
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
|
||||||
|
*.tar.bz2*) \
|
||||||
|
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
|
||||||
|
*.tar.lz*) \
|
||||||
|
lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
|
||||||
|
*.tar.xz*) \
|
||||||
|
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
|
||||||
|
*.tar.Z*) \
|
||||||
|
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
||||||
|
*.shar.gz*) \
|
||||||
|
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
|
||||||
|
*.zip*) \
|
||||||
|
unzip $(distdir).zip ;;\
|
||||||
|
*.tar.zst*) \
|
||||||
|
zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
|
||||||
|
esac
|
||||||
|
chmod -R a-w $(distdir)
|
||||||
|
chmod u+w $(distdir)
|
||||||
|
mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
|
||||||
|
chmod a-w $(distdir)
|
||||||
|
test -d $(distdir)/_build || exit 0; \
|
||||||
|
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
||||||
|
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
||||||
|
&& am__cwd=`pwd` \
|
||||||
|
&& $(am__cd) $(distdir)/_build/sub \
|
||||||
|
&& ../../configure \
|
||||||
|
$(AM_DISTCHECK_CONFIGURE_FLAGS) \
|
||||||
|
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||||
|
--srcdir=../.. --prefix="$$dc_install_base" \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
||||||
|
distuninstallcheck \
|
||||||
|
&& chmod -R a-w "$$dc_install_base" \
|
||||||
|
&& ({ \
|
||||||
|
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
||||||
|
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
||||||
|
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
||||||
|
&& rm -rf "$$dc_destdir" \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
||||||
|
&& rm -rf $(DIST_ARCHIVES) \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
|
||||||
|
&& cd "$$am__cwd" \
|
||||||
|
|| exit 1
|
||||||
|
$(am__post_remove_distdir)
|
||||||
|
@(echo "$(distdir) archives ready for distribution: "; \
|
||||||
|
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
||||||
|
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
||||||
|
distuninstallcheck:
|
||||||
|
@test -n '$(distuninstallcheck_dir)' || { \
|
||||||
|
echo 'ERROR: trying to run $@ with an empty' \
|
||||||
|
'$$(distuninstallcheck_dir)' >&2; \
|
||||||
|
exit 1; \
|
||||||
|
}; \
|
||||||
|
$(am__cd) '$(distuninstallcheck_dir)' || { \
|
||||||
|
echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
|
||||||
|
exit 1; \
|
||||||
|
}; \
|
||||||
|
test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
|
||||||
|
|| { echo "ERROR: files left after uninstall:" ; \
|
||||||
|
if test -n "$(DESTDIR)"; then \
|
||||||
|
echo " (check DESTDIR support)"; \
|
||||||
|
fi ; \
|
||||||
|
$(distuninstallcheck_listfiles) ; \
|
||||||
|
exit 1; } >&2
|
||||||
|
distcleancheck: distclean
|
||||||
|
@if test '$(srcdir)' = . ; then \
|
||||||
|
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
||||||
|
exit 1 ; \
|
||||||
|
fi
|
||||||
|
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
||||||
|
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
||||||
|
$(distcleancheck_listfiles) ; \
|
||||||
|
exit 1; } >&2
|
||||||
|
check-am: all-am
|
||||||
|
check: check-recursive
|
||||||
|
all-am: Makefile $(DATA) config.h
|
||||||
|
installdirs: installdirs-recursive
|
||||||
|
installdirs-am:
|
||||||
|
for dir in "$(DESTDIR)$(pkgconfigdir)"; do \
|
||||||
|
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||||
|
done
|
||||||
|
install: install-recursive
|
||||||
|
install-exec: install-exec-recursive
|
||||||
|
install-data: install-data-recursive
|
||||||
|
uninstall: uninstall-recursive
|
||||||
|
|
||||||
|
install-am: all-am
|
||||||
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
|
|
||||||
|
installcheck: installcheck-recursive
|
||||||
|
install-strip:
|
||||||
|
if test -z '$(STRIP)'; then \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||||
|
install; \
|
||||||
|
else \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||||
|
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
||||||
|
fi
|
||||||
|
mostlyclean-generic:
|
||||||
|
|
||||||
|
clean-generic:
|
||||||
|
|
||||||
|
distclean-generic:
|
||||||
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
|
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||||
|
|
||||||
|
maintainer-clean-generic:
|
||||||
|
@echo "This command is intended for maintainers to use"
|
||||||
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
clean: clean-recursive
|
||||||
|
|
||||||
|
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||||
|
|
||||||
|
distclean: distclean-recursive
|
||||||
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||||
|
-rm -f Makefile
|
||||||
|
distclean-am: clean-am distclean-generic distclean-hdr \
|
||||||
|
distclean-libtool distclean-tags
|
||||||
|
|
||||||
|
dvi: dvi-recursive
|
||||||
|
|
||||||
|
dvi-am:
|
||||||
|
|
||||||
|
html: html-recursive
|
||||||
|
|
||||||
|
html-am:
|
||||||
|
|
||||||
|
info: info-recursive
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-pkgconfigDATA
|
||||||
|
|
||||||
|
install-dvi: install-dvi-recursive
|
||||||
|
|
||||||
|
install-dvi-am:
|
||||||
|
|
||||||
|
install-exec-am:
|
||||||
|
|
||||||
|
install-html: install-html-recursive
|
||||||
|
|
||||||
|
install-html-am:
|
||||||
|
|
||||||
|
install-info: install-info-recursive
|
||||||
|
|
||||||
|
install-info-am:
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
install-pdf: install-pdf-recursive
|
||||||
|
|
||||||
|
install-pdf-am:
|
||||||
|
|
||||||
|
install-ps: install-ps-recursive
|
||||||
|
|
||||||
|
install-ps-am:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
|
maintainer-clean: maintainer-clean-recursive
|
||||||
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||||
|
-rm -rf $(top_srcdir)/autom4te.cache
|
||||||
|
-rm -f Makefile
|
||||||
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
|
|
||||||
|
mostlyclean: mostlyclean-recursive
|
||||||
|
|
||||||
|
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||||
|
|
||||||
|
pdf: pdf-recursive
|
||||||
|
|
||||||
|
pdf-am:
|
||||||
|
|
||||||
|
ps: ps-recursive
|
||||||
|
|
||||||
|
ps-am:
|
||||||
|
|
||||||
|
uninstall-am: uninstall-pkgconfigDATA
|
||||||
|
|
||||||
|
.MAKE: $(am__recursive_targets) all install-am install-strip
|
||||||
|
|
||||||
|
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
|
||||||
|
am--refresh check check-am clean clean-cscope clean-generic \
|
||||||
|
clean-libtool cscope cscopelist-am ctags ctags-am dist \
|
||||||
|
dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
|
||||||
|
dist-xz dist-zip dist-zstd distcheck distclean \
|
||||||
|
distclean-generic distclean-hdr distclean-libtool \
|
||||||
|
distclean-tags distcleancheck distdir distuninstallcheck dvi \
|
||||||
|
dvi-am html html-am info info-am install install-am \
|
||||||
|
install-data install-data-am install-dvi install-dvi-am \
|
||||||
|
install-exec install-exec-am install-html install-html-am \
|
||||||
|
install-info install-info-am install-man install-pdf \
|
||||||
|
install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
|
||||||
|
install-strip installcheck installcheck-am installdirs \
|
||||||
|
installdirs-am maintainer-clean maintainer-clean-generic \
|
||||||
|
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
|
||||||
|
ps ps-am tags tags-am uninstall uninstall-am \
|
||||||
|
uninstall-pkgconfigDATA
|
||||||
|
|
||||||
|
.PRECIOUS: Makefile
|
||||||
|
|
||||||
|
|
||||||
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
|
.NOEXPORT:
|
||||||
735
README.md
Normal file
735
README.md
Normal file
@@ -0,0 +1,735 @@
|
|||||||
|
# libpostal: international street address NLP
|
||||||
|
|
||||||
|
[](https://github.com/openvenues/libpostal/actions)
|
||||||
|
[](https://ci.appveyor.com/project/albarrentine/libpostal/branch/master)
|
||||||
|
[](https://github.com/openvenues/libpostal/blob/master/LICENSE)
|
||||||
|
[](#sponsors)
|
||||||
|
[](#backers)
|
||||||
|
|
||||||
|
libpostal is a C library for parsing/normalizing street addresses around the world using statistical NLP and open data. The goal of this project is to understand location-based strings in every language, everywhere. For a more comprehensive overview of the research behind libpostal, be sure to check out the (lengthy) introductory blog posts:
|
||||||
|
|
||||||
|
- **Original post**: [Statistical NLP on OpenStreetMap](https://medium.com/@albarrentine/statistical-nlp-on-openstreetmap-b9d573e6cc86)
|
||||||
|
- **Follow-up for 1.0 release**: [Statistical NLP on OpenStreetMap: Part 2](https://medium.com/@albarrentine/statistical-nlp-on-openstreetmap-part-2-80405b988718)
|
||||||
|
|
||||||
|
<span>🇧🇷</span> <span>🇫🇮</span> <span>🇳🇬</span> :jp: <span>🇽🇰 </span> <span>🇧🇩 </span> <span>🇵🇱 </span> <span>🇻🇳 </span> <span>🇧🇪 </span> <span>🇲🇦 </span> <span>🇺🇦 </span> <span>🇯🇲 </span> :ru: <span>🇮🇳 </span> <span>🇱🇻 </span> <span>🇧🇴 </span> :de: <span>🇸🇳 </span> <span>🇦🇲 </span> :kr: <span>🇳🇴 </span> <span>🇲🇽 </span> <span>🇨🇿 </span> <span>🇹🇷 </span> :es: <span>🇸🇸 </span> <span>🇪🇪 </span> <span>🇧🇭 </span> <span>🇳🇱 </span> :cn: <span>🇵🇹 </span> <span>🇵🇷 </span> :gb: <span>🇵🇸 </span>
|
||||||
|
|
||||||
|
Addresses and the locations they represent are essential for any application dealing with maps (place search, transportation, on-demand/delivery services, check-ins, reviews). Yet even the simplest addresses are packed with local conventions, abbreviations and context, making them difficult to index/query effectively with traditional full-text search engines. This library helps convert the free-form addresses that humans use into clean normalized forms suitable for machine comparison and full-text indexing. Though libpostal is not itself a full geocoder, it can be used as a preprocessing step to make any geocoding application smarter, simpler, and more consistent internationally.
|
||||||
|
|
||||||
|
<span>🇷🇴 </span> <span>🇬🇭 </span> <span>🇦🇺 </span> <span>🇲🇾 </span> <span>🇭🇷 </span> <span>🇭🇹 </span> :us: <span>🇿🇦 </span> <span>🇷🇸 </span> <span>🇨🇱 </span> :it: <span>🇰🇪 <span>🇨🇭 </span> <span>🇨🇺 </span> <span>🇸🇰 </span> <span>🇦🇴 </span> <span>🇩🇰 </span> <span>🇹🇿 </span> <span>🇦🇱 </span> <span>🇨🇴 </span> <span>🇮🇱 </span> <span>🇬🇹 </span> :fr: <span>🇵🇭 </span> <span>🇦🇹 </span> <span>🇱🇨 </span> <span>🇮🇸 <span>🇮🇩 </span> </span> <span>🇦🇪 </span> </span> <span>🇸🇰 </span> <span>🇹🇳 </span> <span>🇰🇭 </span> <span>🇦🇷 </span> <span>🇭🇰 </span>
|
||||||
|
|
||||||
|
The core library is written in pure C. Language bindings for [Python](https://github.com/openvenues/pypostal), [Ruby](https://github.com/openvenues/ruby_postal), [Go](https://github.com/openvenues/gopostal), [Java](https://github.com/openvenues/jpostal), [PHP](https://github.com/openvenues/php-postal), and [NodeJS](https://github.com/openvenues/node-postal) are officially supported and it's easy to write bindings in other languages.
|
||||||
|
|
||||||
|
Sponsors
|
||||||
|
--------
|
||||||
|
|
||||||
|
If your company is using libpostal, consider asking your organization to sponsor the project. Interpreting what humans mean when they refer to locations is far from a solved problem, and sponsorships help us pursue new frontiers in geospatial NLP. As a sponsor, your company logo will appear prominently on the Github repo page along with a link to your site. [Sponsorship info](https://opencollective.com/libpostal#sponsor)
|
||||||
|
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/0/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/0/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/1/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/1/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/2/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/2/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/3/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/3/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/4/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/4/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/5/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/5/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/6/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/6/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/7/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/7/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/8/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/8/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/9/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/9/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/10/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/10/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/11/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/11/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/12/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/12/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/13/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/13/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/14/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/14/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/15/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/15/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/16/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/16/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/17/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/17/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/18/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/18/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/19/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/19/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/20/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/20/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/21/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/21/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/22/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/22/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/23/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/23/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/24/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/24/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/25/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/25/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/26/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/26/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/27/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/27/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/28/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/28/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/sponsor/29/website" target="_blank"><img src="https://opencollective.com/libpostal/sponsor/29/avatar.svg"></a>
|
||||||
|
|
||||||
|
Backers
|
||||||
|
------------
|
||||||
|
|
||||||
|
Individual users can also help support open geo NLP research by making a monthly donation:
|
||||||
|
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/0/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/0/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/1/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/1/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/2/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/2/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/3/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/3/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/4/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/4/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/5/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/5/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/6/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/6/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/7/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/7/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/8/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/8/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/9/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/9/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/10/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/10/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/11/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/11/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/12/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/12/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/13/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/13/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/14/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/14/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/15/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/15/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/16/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/16/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/17/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/17/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/18/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/18/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/19/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/19/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/20/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/20/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/21/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/21/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/22/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/22/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/23/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/23/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/24/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/24/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/25/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/25/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/26/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/26/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/27/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/27/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/28/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/28/avatar.svg"></a>
|
||||||
|
<a href="https://opencollective.com/libpostal/backer/29/website" target="_blank"><img src="https://opencollective.com/libpostal/backer/29/avatar.svg"></a>
|
||||||
|
|
||||||
|
Installation (Mac/Linux)
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
Before you install, make sure you have the following prerequisites:
|
||||||
|
|
||||||
|
**On Ubuntu/Debian**
|
||||||
|
```
|
||||||
|
sudo apt-get install -y curl build-essential autoconf automake libtool pkg-config
|
||||||
|
```
|
||||||
|
|
||||||
|
**On CentOS/RHEL**
|
||||||
|
```
|
||||||
|
sudo yum install curl autoconf automake libtool pkgconfig
|
||||||
|
```
|
||||||
|
|
||||||
|
**On macOS**
|
||||||
|
|
||||||
|
Install with one command via [MacPorts](https://www.macports.org/):
|
||||||
|
```
|
||||||
|
port install libpostal
|
||||||
|
```
|
||||||
|
|
||||||
|
Or with [Homebrew](https://brew.sh/):
|
||||||
|
|
||||||
|
```
|
||||||
|
brew install libpostal
|
||||||
|
```
|
||||||
|
|
||||||
|
To compile the C library from source:
|
||||||
|
|
||||||
|
If you're using an M1 Mac, add `--disable-sse2` to the `./configure` command. This will result in poorer performance but the build will succeed.
|
||||||
|
|
||||||
|
```
|
||||||
|
git clone https://github.com/openvenues/libpostal
|
||||||
|
cd libpostal
|
||||||
|
|
||||||
|
# skip if installing for the first time
|
||||||
|
make distclean
|
||||||
|
|
||||||
|
./bootstrap.sh
|
||||||
|
|
||||||
|
# omit --datadir flag to install data in current directory
|
||||||
|
./configure --datadir=[...some dir with a few GB of space where a "libpostal" directory exists or can be created/modified...]
|
||||||
|
make -j4
|
||||||
|
|
||||||
|
# For Intel/AMD processors and the default model
|
||||||
|
./configure --datadir=[...some dir with a few GB of space where a "libpostal" directory exists or can be created/modified...]
|
||||||
|
|
||||||
|
# For Apple / ARM cpus and the default model
|
||||||
|
./configure --datadir=[...some dir with a few GB of space where a "libpostal" directory exists or can be created/modified...] --disable-sse2
|
||||||
|
|
||||||
|
# For the improved Senzing model:
|
||||||
|
./configure --datadir=[...some dir with a few GB of space where a "libpostal" directory exists or can be created/modified...] MODEL=senzing
|
||||||
|
|
||||||
|
make -j8
|
||||||
|
sudo make install
|
||||||
|
|
||||||
|
# On Linux it's probably a good idea to run
|
||||||
|
sudo ldconfig
|
||||||
|
```
|
||||||
|
|
||||||
|
libpostal has support for pkg-config, so you can use the pkg-config to print the flags needed to link your program against it:
|
||||||
|
|
||||||
|
```
|
||||||
|
pkg-config --cflags libpostal # print compiler flags
|
||||||
|
pkg-config --libs libpostal # print linker flags
|
||||||
|
pkg-config --cflags --libs libpostal # print both
|
||||||
|
```
|
||||||
|
|
||||||
|
For example, if you write a program called app.c, you can compile it like this:
|
||||||
|
|
||||||
|
```
|
||||||
|
gcc app.c `pkg-config --cflags --libs libpostal`
|
||||||
|
```
|
||||||
|
|
||||||
|
Installation (Windows)
|
||||||
|
----------------------
|
||||||
|
|
||||||
|
**MSys2/MinGW**
|
||||||
|
|
||||||
|
For Windows the build procedure currently requires MSys2 and MinGW. This can be downloaded from http://msys2.org. Please follow the instructions on the MSys2 website for installation.
|
||||||
|
|
||||||
|
Please ensure Msys2 is up-to-date by running:
|
||||||
|
```
|
||||||
|
pacman -Syu
|
||||||
|
```
|
||||||
|
|
||||||
|
Install the following prerequisites:
|
||||||
|
```
|
||||||
|
pacman -S autoconf automake curl git make libtool gcc mingw-w64-x86_64-gcc
|
||||||
|
```
|
||||||
|
|
||||||
|
Then to build the C library:
|
||||||
|
```
|
||||||
|
git clone https://github.com/openvenues/libpostal
|
||||||
|
cd libpostal
|
||||||
|
cp -rf windows/* ./
|
||||||
|
./bootstrap.sh
|
||||||
|
./configure --datadir=[...some dir with a few GB of space...]
|
||||||
|
make -j4
|
||||||
|
make install
|
||||||
|
```
|
||||||
|
Notes: When setting the datadir, the `C:` drive would be entered as `/c`. The libpostal build script automatically add `libpostal` on the end of the path, so '/c' would become `C:\libpostal\` on Windows.
|
||||||
|
|
||||||
|
The compiled .dll will be in the `src/.libs/` directory and should be called `libpostal-1.dll`.
|
||||||
|
|
||||||
|
If you require a .lib import library to link this to your application. You can generate one using the Visual Studio `lib.exe` tool and the `libpostal.def` definition file:
|
||||||
|
```
|
||||||
|
lib.exe /def:libpostal.def /out:libpostal.lib /machine:x64
|
||||||
|
```
|
||||||
|
|
||||||
|
Installation with an alternative data model
|
||||||
|
-------------------------------------------
|
||||||
|
|
||||||
|
An alternative data model is available for libpostal. It is created by Senzing Inc. for improved parsing on US, UK and Singapore addresses and improved US rural route address handling.
|
||||||
|
To enable this add `MODEL=senzing` to the configure line during installation:
|
||||||
|
```
|
||||||
|
./configure --datadir=[...some dir with a few GB of space...] MODEL=senzing
|
||||||
|
```
|
||||||
|
|
||||||
|
The data for this model is gotten from [OpenAddress](https://openaddresses.io/), [OpenStreetMap](https://www.openstreetmap.org/) and data generated by Senzing based on customer feedback (a few hundred records), a total of about 1.2 billion records of data from over 230 countries, in 100+ languages. The data from OpenStreetMap and OpenAddress is good but not perfect so the data set was modified by filtering out badly formed addresses, correcting misclassified address tokens and removing tokens that didn't belong in the addresses, whenever these conditions were encountered.
|
||||||
|
|
||||||
|
Senzing created a data set of 12950 addresses from 89 countries that it uses to test and verify the quality of its models. The data set was generated using random addresses from OSM, minimally 50 per country. Hard-to-parse addresses were gotten from Senzing support team and customers and from the libpostal github page and added to this set. The Senzing model got 4.3% better parsing results than the default model, using this test set.
|
||||||
|
|
||||||
|
The size of this model is about 2.2GB compared to 1.8GB for the default model so keep that in mind if storages space is important.
|
||||||
|
|
||||||
|
Further information about this data model can be found at: https://github.com/Senzing/libpostal-data
|
||||||
|
If you run into any issues with this model, whether they have to do with parses, installation or any other problems, then please report them at https://github.com/Senzing/libpostal-data
|
||||||
|
|
||||||
|
Examples of parsing
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
libpostal's international address parser uses machine learning (Conditional Random Fields) and is trained on over 1 billion addresses in every inhabited country on Earth. We use [OpenStreetMap](https://openstreetmap.org) and [OpenAddresses](https://openaddresses.io) as sources of structured addresses, and the OpenCage address format templates at: https://github.com/OpenCageData/address-formatting to construct the training data, supplementing with containing polygons, and generating sub-building components like apartment/floor numbers and PO boxes. We also add abbreviations, drop out components at random, etc. to make the parser as robust as possible to messy real-world input.
|
||||||
|
|
||||||
|
These example parse results are taken from the interactive address_parser program
|
||||||
|
that builds with libpostal when you run ```make```. Note that the parser can handle
|
||||||
|
commas vs. no commas as well as various casings and permutations of components (if the input
|
||||||
|
is e.g. just city or just city/postcode).
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
The parser achieves very high accuracy on held-out data, currently 99.45%
|
||||||
|
correct full parses (meaning a 1 in the numerator for getting *every* token
|
||||||
|
in the address correct).
|
||||||
|
|
||||||
|
Usage (parser)
|
||||||
|
--------------
|
||||||
|
|
||||||
|
Here's an example of the parser API using the Python bindings:
|
||||||
|
|
||||||
|
```python
|
||||||
|
|
||||||
|
from postal.parser import parse_address
|
||||||
|
parse_address('The Book Club 100-106 Leonard St Shoreditch London EC2A 4RH, United Kingdom')
|
||||||
|
```
|
||||||
|
|
||||||
|
And an example with the C API:
|
||||||
|
|
||||||
|
```c
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <libpostal/libpostal.h>
|
||||||
|
|
||||||
|
int main(int argc, char **argv) {
|
||||||
|
// Setup (only called once at the beginning of your program)
|
||||||
|
if (!libpostal_setup() || !libpostal_setup_parser()) {
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
|
}
|
||||||
|
|
||||||
|
libpostal_address_parser_options_t options = libpostal_get_address_parser_default_options();
|
||||||
|
libpostal_address_parser_response_t *parsed = libpostal_parse_address("781 Franklin Ave Crown Heights Brooklyn NYC NY 11216 USA", options);
|
||||||
|
|
||||||
|
for (size_t i = 0; i < parsed->num_components; i++) {
|
||||||
|
printf("%s: %s\n", parsed->labels[i], parsed->components[i]);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Free parse result
|
||||||
|
libpostal_address_parser_response_destroy(parsed);
|
||||||
|
|
||||||
|
// Teardown (only called once at the end of your program)
|
||||||
|
libpostal_teardown();
|
||||||
|
libpostal_teardown_parser();
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Parser labels
|
||||||
|
-------------
|
||||||
|
|
||||||
|
The address parser can technically use any string labels that are defined in the training data, but these are the ones currently defined, based on the fields defined in [OpenCage's address-formatting library](https://github.com/OpenCageData/address-formatting), as well as a few added by libpostal to handle specific patterns:
|
||||||
|
|
||||||
|
- **house**: venue name e.g. "Brooklyn Academy of Music", and building names e.g. "Empire State Building"
|
||||||
|
- **category**: for category queries like "restaurants", etc.
|
||||||
|
- **near**: phrases like "in", "near", etc. used after a category phrase to help with parsing queries like "restaurants in Brooklyn"
|
||||||
|
- **house_number**: usually refers to the external (street-facing) building number. In some countries this may be a compount, hyphenated number which also includes an apartment number, or a block number (a la Japan), but libpostal will just call it the house_number for simplicity.
|
||||||
|
- **road**: street name(s)
|
||||||
|
- **unit**: an apartment, unit, office, lot, or other secondary unit designator
|
||||||
|
- **level**: expressions indicating a floor number e.g. "3rd Floor", "Ground Floor", etc.
|
||||||
|
- **staircase**: numbered/lettered staircase
|
||||||
|
- **entrance**: numbered/lettered entrance
|
||||||
|
- **po_box**: post office box: typically found in non-physical (mail-only) addresses
|
||||||
|
- **postcode**: postal codes used for mail sorting
|
||||||
|
- **suburb**: usually an unofficial neighborhood name like "Harlem", "South Bronx", or "Crown Heights"
|
||||||
|
- **city_district**: these are usually boroughs or districts within a city that serve some official purpose e.g. "Brooklyn" or "Hackney" or "Bratislava IV"
|
||||||
|
- **city**: any human settlement including cities, towns, villages, hamlets, localities, etc.
|
||||||
|
- **island**: named islands e.g. "Maui"
|
||||||
|
- **state_district**: usually a second-level administrative division or county.
|
||||||
|
- **state**: a first-level administrative division. Scotland, Northern Ireland, Wales, and England in the UK are mapped to "state" as well (convention used in OSM, GeoPlanet, etc.)
|
||||||
|
- **country_region**: informal subdivision of a country without any political status
|
||||||
|
- **country**: sovereign nations and their dependent territories, anything with an [ISO-3166 code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
|
||||||
|
- **world_region**: currently only used for appending “West Indies” after the country name, a pattern frequently used in the English-speaking Caribbean e.g. “Jamaica, West Indies”
|
||||||
|
|
||||||
|
Examples of normalization
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
The expand_address API converts messy real-world addresses into normalized
|
||||||
|
equivalents suitable for search indexing, hashing, etc.
|
||||||
|
|
||||||
|
Here's an interactive example using the Python binding:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
libpostal contains an OSM-trained language classifier to detect which language(s) are used in a given
|
||||||
|
address so it can apply the appropriate normalizations. The only input needed is the raw address string.
|
||||||
|
Here's a short list of some less straightforward normalizations in various languages.
|
||||||
|
|
||||||
|
| Input | Output (may be multiple in libpostal) |
|
||||||
|
| ----------------------------------- |-----------------------------------------|
|
||||||
|
| One-hundred twenty E 96th St | 120 east 96th street |
|
||||||
|
| C/ Ocho, P.I. 4 | calle 8 polígono industrial 4 |
|
||||||
|
| V XX Settembre, 20 | via 20 settembre 20 |
|
||||||
|
| Quatre vingt douze R. de l'Église | 92 rue de l eglise |
|
||||||
|
| ул Каретный Ряд, д 4, строение 7 | улица каретныи ряд дом 4 строение 7 |
|
||||||
|
| ул Каретный Ряд, д 4, строение 7 | ulitsa karetnyy ryad dom 4 stroyeniye 7 |
|
||||||
|
| Marktstraße 14 | markt strasse 14 |
|
||||||
|
|
||||||
|
libpostal currently supports these types of normalizations in *60+ languages*,
|
||||||
|
and you can [add more](https://github.com/openvenues/libpostal/tree/master/resources/dictionaries) (without having to write any C).
|
||||||
|
|
||||||
|
For further reading and some bizarre address edge-cases, see:
|
||||||
|
[Falsehoods Programmers Believe About Addresses](https://www.mjt.me.uk/posts/falsehoods-programmers-believe-about-addresses/).
|
||||||
|
|
||||||
|
Usage (normalization)
|
||||||
|
---------------------
|
||||||
|
|
||||||
|
Here's an example using the Python bindings for succinctness (most of the higher-level language bindings are similar):
|
||||||
|
|
||||||
|
```python
|
||||||
|
from postal.expand import expand_address
|
||||||
|
expansions = expand_address('Quatre-vingt-douze Ave des Champs-Élysées')
|
||||||
|
|
||||||
|
assert '92 avenue des champs-elysees' in set(expansions)
|
||||||
|
```
|
||||||
|
|
||||||
|
The C API equivalent is a few more lines, but still fairly simple:
|
||||||
|
|
||||||
|
```c
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <libpostal/libpostal.h>
|
||||||
|
|
||||||
|
int main(int argc, char **argv) {
|
||||||
|
// Setup (only called once at the beginning of your program)
|
||||||
|
if (!libpostal_setup() || !libpostal_setup_language_classifier()) {
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
|
}
|
||||||
|
|
||||||
|
size_t num_expansions;
|
||||||
|
libpostal_normalize_options_t options = libpostal_get_default_options();
|
||||||
|
char **expansions = libpostal_expand_address("Quatre-vingt-douze Ave des Champs-Élysées", options, &num_expansions);
|
||||||
|
|
||||||
|
for (size_t i = 0; i < num_expansions; i++) {
|
||||||
|
printf("%s\n", expansions[i]);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Free expansions
|
||||||
|
libpostal_expansion_array_destroy(expansions, num_expansions);
|
||||||
|
|
||||||
|
// Teardown (only called once at the end of your program)
|
||||||
|
libpostal_teardown();
|
||||||
|
libpostal_teardown_language_classifier();
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Command-line usage (expand)
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
After building libpostal:
|
||||||
|
|
||||||
|
```
|
||||||
|
cd src/
|
||||||
|
|
||||||
|
./libpostal "Quatre vingt douze Ave des Champs-Élysées"
|
||||||
|
```
|
||||||
|
|
||||||
|
If you have a text file or stream with one address per line, the command-line interface also accepts input from stdin:
|
||||||
|
|
||||||
|
```
|
||||||
|
cat some_file | ./libpostal --json
|
||||||
|
```
|
||||||
|
|
||||||
|
Command-line usage (parser)
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
After building libpostal:
|
||||||
|
|
||||||
|
```
|
||||||
|
cd src/
|
||||||
|
|
||||||
|
./address_parser
|
||||||
|
```
|
||||||
|
|
||||||
|
address_parser is an interactive shell. Just type addresses and libpostal will
|
||||||
|
parse them and print the result.
|
||||||
|
|
||||||
|
|
||||||
|
Bindings
|
||||||
|
--------
|
||||||
|
|
||||||
|
Libpostal is designed to be used by higher-level languages. If you don't see your language of choice, or if you're writing a language binding, please let us know!
|
||||||
|
|
||||||
|
**Officially supported language bindings**
|
||||||
|
|
||||||
|
- Python: [pypostal](https://github.com/openvenues/pypostal)
|
||||||
|
- Ruby: [ruby_postal](https://github.com/openvenues/ruby_postal)
|
||||||
|
- Go: [gopostal](https://github.com/openvenues/gopostal)
|
||||||
|
- Java/JVM: [jpostal](https://github.com/openvenues/jpostal)
|
||||||
|
- PHP: [php-postal](https://github.com/openvenues/php-postal)
|
||||||
|
- NodeJS: [node-postal](https://github.com/openvenues/node-postal)
|
||||||
|
- R: [poster](https://github.com/ironholds/poster)
|
||||||
|
|
||||||
|
**Unofficial language bindings**
|
||||||
|
|
||||||
|
- Java: [javacpp-presets-libpostal](https://github.com/bytedeco/javacpp-presets/tree/master/libpostal)
|
||||||
|
- LuaJIT: [lua-resty-postal](https://github.com/bungle/lua-resty-postal)
|
||||||
|
- Perl: [Geo::libpostal](https://metacpan.org/pod/Geo::libpostal)
|
||||||
|
- Elixir: [Expostal](https://github.com/SweetIQ/expostal)
|
||||||
|
- Haskell: [haskell-postal](http://github.com/netom/haskell-postal)
|
||||||
|
- Rust: [rust-postal](https://github.com/pnordahl/rust-postal)
|
||||||
|
- Rust: [rustpostal](https://crates.io/crates/rustpostal)
|
||||||
|
|
||||||
|
**Unofficial database extensions**
|
||||||
|
|
||||||
|
- PostgreSQL: [pgsql-postal](https://github.com/pramsey/pgsql-postal)
|
||||||
|
|
||||||
|
**Unofficial servers**
|
||||||
|
|
||||||
|
- Libpostal REST GO Server (need ~4Gb memory) with basic security: [postal_server](https://github.com/le0pard/postal_server)
|
||||||
|
- Libpostal REST Go Docker: [libpostal-rest-docker](https://github.com/johnlonganecker/libpostal-rest-docker)
|
||||||
|
- Libpostal REST FastAPI Docker: [libpostal-fastapi](https://github.com/alpha-affinity/libpostal-fastapi)
|
||||||
|
- Libpostal ZeroMQ Docker: [libpostal-zeromq](https://github.com/pasupulaphani/libpostal-docker)
|
||||||
|
|
||||||
|
|
||||||
|
Tests
|
||||||
|
-----
|
||||||
|
|
||||||
|
libpostal uses [greatest](https://github.com/silentbicycle/greatest) for automated testing. To run the tests, use:
|
||||||
|
|
||||||
|
```
|
||||||
|
make check
|
||||||
|
```
|
||||||
|
|
||||||
|
Adding [test cases](https://github.com/openvenues/libpostal/tree/master/test) is easy, even if your C is rusty/non-existent, and we'd love contributions. We use mostly functional tests checking string input against string output.
|
||||||
|
|
||||||
|
libpostal also gets periodically battle-tested on millions of addresses from OSM (clean) as well as anonymized queries from a production geocoder (not so clean). During this process we use valgrind to check for memory leaks and other errors.
|
||||||
|
|
||||||
|
Data files
|
||||||
|
----------
|
||||||
|
|
||||||
|
libpostal needs to download some data files from S3. The basic files are on-disk
|
||||||
|
representations of the data structures necessary to perform expansion. For address
|
||||||
|
parsing, since model training takes a few days, we publish the fully trained model
|
||||||
|
to S3 and will update it automatically as new addresses get added to OSM, OpenAddresses, etc. Same goes for the language classifier model.
|
||||||
|
|
||||||
|
Data files are automatically downloaded when you run make. To check for and download
|
||||||
|
any new data files, you can either run ```make```, or run:
|
||||||
|
|
||||||
|
```
|
||||||
|
libpostal_data download all $YOUR_DATA_DIR/libpostal
|
||||||
|
```
|
||||||
|
|
||||||
|
And replace $YOUR_DATA_DIR with whatever you passed to configure during install.
|
||||||
|
|
||||||
|
Language dictionaries
|
||||||
|
---------------------
|
||||||
|
|
||||||
|
libpostal contains a number of per-language dictionaries that influence expansion, the language classifier, and the parser. To explore the dictionaries or contribute abbreviations/phrases in your language, see [resources/dictionaries](https://github.com/openvenues/libpostal/tree/master/resources/dictionaries).
|
||||||
|
|
||||||
|
Training data
|
||||||
|
-------------
|
||||||
|
|
||||||
|
In machine learning, large amounts of training data are often essential for getting good results. Many open-source machine learning projects either release only the model code (results reproducible if and only if you're Google), or a pre-baked model where the training conditions are unknown.
|
||||||
|
|
||||||
|
Libpostal is a bit different because it's trained on open data that's available to everyone, so we've released the entire training pipeline (the [geodata](https://github.com/openvenues/libpostal/tree/master/scripts/geodata) package in this repo), as well as the resulting training data itself on the Internet Archive. It's over 100GB unzipped.
|
||||||
|
|
||||||
|
Training data are stored on archive.org by the date they were created. There's also a file stored in the main directory of this repo called `current_parser_training_set` which stores the date of the most recently created training set. To always point to the latest data, try something like: ```latest=$(cat current_parser_training_set)``` and use that variable in place of the date.
|
||||||
|
|
||||||
|
### Parser training sets ###
|
||||||
|
All files can be found at https://archive.org/download/libpostal-parser-training-data-YYYYMMDD/$FILE as gzip'd tab-separated values (TSV) files formatted like:```language\tcountry\taddress```.
|
||||||
|
|
||||||
|
- **formatted_addresses_tagged.random.tsv.gz** (ODBL): OSM addresses. Apartments, PO boxes, categories, etc. are added primarily to these examples
|
||||||
|
- **formatted_places_tagged.random.tsv.gz** (ODBL): every toponym in OSM (even cities represented as points, etc.), reverse-geocoded to its parent admins, possibly including postal codes if they're listed on the point/polygon. Every place gets a base level of representation and places with higher populations get proportionally more.
|
||||||
|
- **formatted_ways_tagged.random.tsv.gz** (ODBL): every street in OSM (ways with highway=*, with a few conditions), reverse-geocoded to its admins
|
||||||
|
- **geoplanet_formatted_addresses_tagged.random.tsv.gz** (CC-BY): every postal code in Yahoo GeoPlanet (includes almost every postcode in the UK, Canada, etc.) and their parent admins. The GeoPlanet admins have been cleaned up and mapped to libpostal's tagset
|
||||||
|
- **openaddresses_formatted_addresses_tagged.random.tsv.gz** (various licenses, mostly CC-BY): most of the address data sets from [OpenAddresses](https://openaddresses.io/), which in turn come directly from government sources
|
||||||
|
- **uk_openaddresses_formatted_addresses_tagged.random.tsv.gz** (CC-BY): addresses from [OpenAddresses UK](https://alpha.openaddressesuk.org/)
|
||||||
|
|
||||||
|
If the parser doesn't perform as well as you'd hoped on a particular type of address, the best recourse is to use grep/awk to look through the training data and try to determine if there's some pattern/style of address that's not being captured.
|
||||||
|
|
||||||
|
Features
|
||||||
|
--------
|
||||||
|
|
||||||
|
- **Abbreviation expansion**: e.g. expanding "rd" => "road" but for almost any
|
||||||
|
language. libpostal supports > 50 languages and it's easy to add new languages
|
||||||
|
or expand the current dictionaries. Ideographic languages (not separated by
|
||||||
|
whitespace e.g. Chinese) are supported, as are Germanic languages where
|
||||||
|
thoroughfare types are concatenated onto the end of the string, and may
|
||||||
|
optionally be separated so Rosenstraße and Rosen Straße are equivalent.
|
||||||
|
|
||||||
|
- **International address parsing**: [Conditional Random Field](https://web.archive.org/web/20240104172655/http://blog.echen.me/2012/01/03/introduction-to-conditional-random-fields/) which parses
|
||||||
|
"123 Main Street New York New York" into {"house_number": 123, "road":
|
||||||
|
"Main Street", "city": "New York", "state": "New York"}. The parser works
|
||||||
|
for a wide variety of countries and languages, not just US/English.
|
||||||
|
The model is trained on over 1 billion addresses and address-like strings, using the
|
||||||
|
templates in the [OpenCage address formatting repo](https://github.com/OpenCageData/address-formatting) to construct formatted,
|
||||||
|
tagged training examples for every inhabited country in the world. Many types of [normalizations](https://github.com/openvenues/libpostal/blob/master/scripts/geodata/addresses/components.py)
|
||||||
|
are performed to make the training data resemble real messy geocoder input as closely as possible.
|
||||||
|
|
||||||
|
- **Language classification**: multinomial logistic regression
|
||||||
|
trained (using the [FTRL-Proximal](https://research.google.com/pubs/archive/41159.pdf) method to induce sparsity) on all of OpenStreetMap ways, addr:* tags, toponyms and formatted
|
||||||
|
addresses. Labels are derived using point-in-polygon tests for both OSM countries
|
||||||
|
and official/regional languages for countries and admin 1 boundaries
|
||||||
|
respectively. So, for example, Spanish is the default language in Spain but
|
||||||
|
in different regions e.g. Catalunya, Galicia, the Basque region, the respective
|
||||||
|
regional languages are the default. Dictionary-based disambiguation is employed in
|
||||||
|
cases where the regional language is non-default e.g. Welsh, Breton, Occitan.
|
||||||
|
The dictionaries are also used to abbreviate canonical phrases like "Calle" => "C/"
|
||||||
|
(performed on both the language classifier and the address parser training sets)
|
||||||
|
|
||||||
|
- **Numeric expression parsing** ("twenty first" => 21st,
|
||||||
|
"quatre-vingt-douze" => 92, again using data provided in CLDR), supports > 30
|
||||||
|
languages. Handles languages with concatenated expressions e.g.
|
||||||
|
milleottocento => 1800. Optionally normalizes Roman numerals regardless of the
|
||||||
|
language (IX => 9) which occur in the names of many monarchs, popes, etc.
|
||||||
|
|
||||||
|
- **Fast, accurate tokenization/lexing**: clocked at > 1M tokens / sec,
|
||||||
|
implements the TR-29 spec for UTF8 word segmentation, tokenizes East Asian
|
||||||
|
languages character by character instead of on whitespace.
|
||||||
|
|
||||||
|
- **UTF8 normalization**: optionally decompose UTF8 to NFD normalization form,
|
||||||
|
strips accent marks e.g. à => a and/or applies Latin-ASCII transliteration.
|
||||||
|
|
||||||
|
- **Transliteration**: e.g. улица => ulica or ulitsa. Uses all
|
||||||
|
[CLDR transforms](http://www.unicode.org/repos/cldr/trunk/common/transforms/), the exact same source data as used by [ICU](http://site.icu-project.org/),
|
||||||
|
though libpostal doesn't require pulling in all of ICU (might conflict
|
||||||
|
with your system's version). Note: some languages, particularly Hebrew, Arabic
|
||||||
|
and Thai may not include vowels and thus will not often match a transliteration
|
||||||
|
done by a human. It may be possible to implement statistical transliterators
|
||||||
|
for some of these languages.
|
||||||
|
|
||||||
|
- **Script detection**: Detects which script a given string uses (can be
|
||||||
|
multiple e.g. a free-form Hong Kong or Macau address may use both Han and
|
||||||
|
Latin scripts in the same address). In transliteration we can use all
|
||||||
|
applicable transliterators for a given Unicode script (Greek can for instance
|
||||||
|
be transliterated with Greek-Latin, Greek-Latin-BGN and Greek-Latin-UNGEGN).
|
||||||
|
|
||||||
|
Non-goals
|
||||||
|
---------
|
||||||
|
|
||||||
|
- Verifying that a location is a valid address
|
||||||
|
- Actually geocoding addresses to a lat/lon (that requires a database/search index)
|
||||||
|
- Extracting addresses from free text
|
||||||
|
|
||||||
|
Raison d'être
|
||||||
|
-------------
|
||||||
|
|
||||||
|
libpostal was originally created as part of the [OpenVenues](https://github.com/openvenues/openvenues) project to solve the problem of venue deduping. In OpenVenues, we have a data set of millions of
|
||||||
|
places derived from terabytes of web pages from the [Common Crawl](http://commoncrawl.org/).
|
||||||
|
The Common Crawl is published monthly, and so even merging the results of
|
||||||
|
two crawls produces significant duplicates.
|
||||||
|
|
||||||
|
Deduping is a relatively well-studied field, and for text documents
|
||||||
|
like web pages, academic papers, etc. there exist pretty decent approximate
|
||||||
|
similarity methods such as [MinHash](https://en.wikipedia.org/wiki/MinHash).
|
||||||
|
|
||||||
|
However, for physical addresses, the frequent use of conventional abbreviations
|
||||||
|
such as Road == Rd, California == CA, or New York City == NYC complicates
|
||||||
|
matters a bit. Even using a technique like MinHash, which is well suited for
|
||||||
|
approximate matches and is equivalent to the Jaccard similarity of two sets, we
|
||||||
|
have to work with very short texts and it's often the case that two equivalent
|
||||||
|
addresses, one abbreviated and one fully specified, will not match very closely
|
||||||
|
in terms of n-gram set overlap. In non-Latin scripts, say a Russian address and
|
||||||
|
its transliterated equivalent, it's conceivable that two addresses referring to
|
||||||
|
the same place may not match even a single character.
|
||||||
|
|
||||||
|
As a motivating example, consider the following two equivalent ways to write a
|
||||||
|
particular Manhattan street address with varying conventions and degrees
|
||||||
|
of verbosity:
|
||||||
|
|
||||||
|
- 30 W 26th St Fl #7
|
||||||
|
- 30 West Twenty-sixth Street Floor Number 7
|
||||||
|
|
||||||
|
Obviously '30 W 26th St Fl #7 != '30 West Twenty-sixth Street Floor Number 7'
|
||||||
|
in a string comparison sense, but a human can grok that these two addresses
|
||||||
|
refer to the same physical location.
|
||||||
|
|
||||||
|
libpostal aims to create normalized geographic strings, parsed into components,
|
||||||
|
such that we can more effectively reason about how well two addresses
|
||||||
|
actually match and make automated server-side decisions about dupes.
|
||||||
|
|
||||||
|
So it's not a geocoder?
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
If the above sounds a lot like geocoding, that's because it is in a way,
|
||||||
|
only in the OpenVenues case, we have to geocode without a UI or a user
|
||||||
|
to select the correct address in an autocomplete dropdown. Given a database
|
||||||
|
of source addresses such as OpenAddresses or OpenStreetMap (or all of the above),
|
||||||
|
libpostal can be used to implement things like address deduping and server-side
|
||||||
|
batch geocoding in settings like MapReduce or stream processing.
|
||||||
|
|
||||||
|
Now, instead of trying to bake address-specific conventions into traditional
|
||||||
|
document search engines like Elasticsearch using giant synonyms files, scripting,
|
||||||
|
custom analyzers, tokenizers, and the like, geocoding can look like this:
|
||||||
|
|
||||||
|
1. Run the addresses in your database through libpostal's expand_address
|
||||||
|
2. Store the normalized string(s) in your favorite search engine, DB,
|
||||||
|
hashtable, etc.
|
||||||
|
3. Run your user queries or fresh imports through libpostal and search
|
||||||
|
the existing database using those strings
|
||||||
|
|
||||||
|
In this way, libpostal can perform fuzzy address matching in constant time
|
||||||
|
relative to the size of the data set.
|
||||||
|
|
||||||
|
Why C?
|
||||||
|
------
|
||||||
|
|
||||||
|
libpostal is written in C for three reasons (in order of importance):
|
||||||
|
|
||||||
|
1. **Portability/ubiquity**: libpostal targets higher-level languages that
|
||||||
|
people actually use day-to-day: Python, Go, Ruby, NodeJS, etc. The beauty of C
|
||||||
|
is that just about any programming language can bind to it and C compilers are
|
||||||
|
everywhere, so pick your favorite, write a binding, and you can use libpostal
|
||||||
|
directly in your application without having to stand up a separate server. We
|
||||||
|
support Mac/Linux (Windows is not a priority but happy to accept patches), have
|
||||||
|
a standard autotools build and an endianness-agnostic file format for the data
|
||||||
|
files. The Python bindings, are maintained as part of this repo since they're
|
||||||
|
needed to construct the training data.
|
||||||
|
|
||||||
|
2. **Memory-efficiency**: libpostal is designed to run in a MapReduce setting
|
||||||
|
where we may be limited to < 1GB of RAM per process depending on the machine
|
||||||
|
configuration. As much as possible libpostal uses contiguous arrays, tries
|
||||||
|
(built on contiguous arrays), bloom filters and compressed sparse matrices to
|
||||||
|
keep memory usage low. It's possible to use libpostal on a mobile device with
|
||||||
|
models trained on a single country or a handful of countries.
|
||||||
|
|
||||||
|
3. **Performance**: this is last on the list for a reason. Most of the
|
||||||
|
optimizations in libpostal are for memory usage rather than performance.
|
||||||
|
libpostal is quite fast given the amount of work it does. It can process
|
||||||
|
10-30k addresses / second in a single thread/process on the platforms we've
|
||||||
|
tested (that means processing every address in OSM planet in a little over
|
||||||
|
an hour). Check out the simple benchmark program to test on your environment
|
||||||
|
and various types of input. In the MapReduce setting, per-core performance
|
||||||
|
isn't as important because everything's being done in parallel, but there are
|
||||||
|
some streaming ingestion applications at Mapzen where this needs to
|
||||||
|
run in-process.
|
||||||
|
|
||||||
|
C conventions
|
||||||
|
-------------
|
||||||
|
|
||||||
|
libpostal is written in modern, legible, C99 and uses the following conventions:
|
||||||
|
|
||||||
|
- Roughly object-oriented, as much as allowed by C
|
||||||
|
- Almost no pointer-based data structures, arrays all the way down
|
||||||
|
- Uses dynamic character arrays (inspired by [sds](https://github.com/antirez/sds)) for safer string handling
|
||||||
|
- Confines almost all mallocs to *name*_new and all frees to *name*_destroy
|
||||||
|
- Efficient existing implementations for simple things like hashtables
|
||||||
|
- Generic containers (via [klib](https://github.com/attractivechaos/klib)) whenever possible
|
||||||
|
- Data structures take advantage of sparsity as much as possible
|
||||||
|
- Efficient double-array trie implementation for most string dictionaries
|
||||||
|
- Cross-platform as much as possible, particularly for *nix
|
||||||
|
|
||||||
|
Preprocessing (Python)
|
||||||
|
----------------------
|
||||||
|
|
||||||
|
The [geodata](https://github.com/openvenues/libpostal/tree/master/scripts/geodata) Python package in the libpostal repo contains the pipeline for preprocessing the various geo
|
||||||
|
data sets and building training data for the C models to use.
|
||||||
|
This package shouldn't be needed for most users, but for those interested in generating new types of addresses or improving libpostal's training data, this is where to look.
|
||||||
|
|
||||||
|
Address parser accuracy
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
On held-out test data (meaning labeled parses that the model has _not_ seen
|
||||||
|
before), the address parser achieves 99.45% full parse accuracy.
|
||||||
|
|
||||||
|
For some tasks like named entity recognition it's preferable to use something
|
||||||
|
like an F1 score or variants, mostly because there's a class bias problem (most
|
||||||
|
words are non-entities, and a system that simply predicted non-entity for
|
||||||
|
every token would actually do fairly well in terms of accuracy). That is not
|
||||||
|
the case for address parsing. Every token has a label and there are millions
|
||||||
|
of examples of each class in the training data, so accuracy is preferable as it's
|
||||||
|
a clean, simple and intuitive measure of performance.
|
||||||
|
|
||||||
|
Here we use full parse accuracy, meaning we only give the parser one "point" in
|
||||||
|
the numerator if it gets every single token in the address correct. That should
|
||||||
|
be a better measure than simply looking at whether each token was correct.
|
||||||
|
|
||||||
|
Improving the address parser
|
||||||
|
----------------------------
|
||||||
|
|
||||||
|
Though the current parser works quite well for most standard addresses, there
|
||||||
|
is still room for improvement, particularly in making sure the training data
|
||||||
|
we use is as close as possible to addresses in the wild. There are two primary
|
||||||
|
ways the address parser can be improved even further (in order of difficulty):
|
||||||
|
|
||||||
|
1. Contribute addresses to OSM. Anything with an addr:housenumber tag will be
|
||||||
|
incorporated automatically into the parser next time it's trained.
|
||||||
|
2. If the address parser isn't working well for a particular country, language
|
||||||
|
or style of address, chances are that some name variations or places being
|
||||||
|
missed/mislabeled during training data creation. Sometimes the fix is to
|
||||||
|
update the formats at: https://github.com/OpenCageData/address-formatting,
|
||||||
|
and in many other cases there are relatively simple tweaks we can make
|
||||||
|
when creating the training data that will ensure the model is trained to
|
||||||
|
handle your use case without you having to do any manual data entry.
|
||||||
|
If you see a pattern of obviously bad address parses, the best thing to
|
||||||
|
do is post an issue to Github.
|
||||||
|
|
||||||
|
Contributing
|
||||||
|
------------
|
||||||
|
|
||||||
|
Bug reports, issues and pull requests are welcome. Please read the [contributing guide](CONTRIBUTING.md) before submitting your issue, bug report, or pull request.
|
||||||
|
|
||||||
|
Submit issues at: https://github.com/openvenues/libpostal/issues.
|
||||||
|
|
||||||
|
|
||||||
|
Shoutouts
|
||||||
|
---------
|
||||||
|
|
||||||
|
Special thanks to @BenK10 for the initial Windows build and @AeroXuk for integrating it seamlessly into the project and setting up an Appveyor build.
|
||||||
|
|
||||||
|
License
|
||||||
|
-------
|
||||||
|
|
||||||
|
The software is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||||
1156
aclocal.m4
vendored
Normal file
1156
aclocal.m4
vendored
Normal file
File diff suppressed because it is too large
Load Diff
16122
autom4te.cache/output.0
Normal file
16122
autom4te.cache/output.0
Normal file
File diff suppressed because it is too large
Load Diff
16779
autom4te.cache/output.1
Normal file
16779
autom4te.cache/output.1
Normal file
File diff suppressed because it is too large
Load Diff
16779
autom4te.cache/output.2
Normal file
16779
autom4te.cache/output.2
Normal file
File diff suppressed because it is too large
Load Diff
16779
autom4te.cache/output.3
Normal file
16779
autom4te.cache/output.3
Normal file
File diff suppressed because it is too large
Load Diff
16780
autom4te.cache/output.4
Normal file
16780
autom4te.cache/output.4
Normal file
File diff suppressed because it is too large
Load Diff
820
autom4te.cache/requests
Normal file
820
autom4te.cache/requests
Normal file
@@ -0,0 +1,820 @@
|
|||||||
|
# This file was generated by Autom4te 2.71.
|
||||||
|
# It contains the lists of macros which have been traced.
|
||||||
|
# It can be safely removed.
|
||||||
|
|
||||||
|
@request = (
|
||||||
|
bless( [
|
||||||
|
'0',
|
||||||
|
1,
|
||||||
|
[
|
||||||
|
'/usr/share/autoconf'
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
||||||
|
'/usr/share/aclocal-1.16/internal/ac-config-macro-dirs.m4',
|
||||||
|
'/usr/share/aclocal/libtool.m4',
|
||||||
|
'/usr/share/aclocal/ltargz.m4',
|
||||||
|
'/usr/share/aclocal/ltdl.m4',
|
||||||
|
'/usr/share/aclocal/ltoptions.m4',
|
||||||
|
'/usr/share/aclocal/ltsugar.m4',
|
||||||
|
'/usr/share/aclocal/ltversion.m4',
|
||||||
|
'/usr/share/aclocal/lt~obsolete.m4',
|
||||||
|
'/usr/share/aclocal-1.16/amversion.m4',
|
||||||
|
'/usr/share/aclocal-1.16/auxdir.m4',
|
||||||
|
'/usr/share/aclocal-1.16/cond.m4',
|
||||||
|
'/usr/share/aclocal-1.16/depend.m4',
|
||||||
|
'/usr/share/aclocal-1.16/depout.m4',
|
||||||
|
'/usr/share/aclocal-1.16/init.m4',
|
||||||
|
'/usr/share/aclocal-1.16/install-sh.m4',
|
||||||
|
'/usr/share/aclocal-1.16/lead-dot.m4',
|
||||||
|
'/usr/share/aclocal-1.16/make.m4',
|
||||||
|
'/usr/share/aclocal-1.16/missing.m4',
|
||||||
|
'/usr/share/aclocal-1.16/options.m4',
|
||||||
|
'/usr/share/aclocal-1.16/prog-cc-c-o.m4',
|
||||||
|
'/usr/share/aclocal-1.16/runlog.m4',
|
||||||
|
'/usr/share/aclocal-1.16/sanity.m4',
|
||||||
|
'/usr/share/aclocal-1.16/silent.m4',
|
||||||
|
'/usr/share/aclocal-1.16/strip.m4',
|
||||||
|
'/usr/share/aclocal-1.16/substnot.m4',
|
||||||
|
'/usr/share/aclocal-1.16/tar.m4',
|
||||||
|
'configure.ac'
|
||||||
|
],
|
||||||
|
{
|
||||||
|
'AC_PROG_EGREP' => 1,
|
||||||
|
'AC_LIBTOOL_F77' => 1,
|
||||||
|
'AM_SET_LEADING_DOT' => 1,
|
||||||
|
'_AM_MANGLE_OPTION' => 1,
|
||||||
|
'_LT_WITH_SYSROOT' => 1,
|
||||||
|
'AC_ENABLE_STATIC' => 1,
|
||||||
|
'_LT_AC_LANG_CXX' => 1,
|
||||||
|
'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
|
||||||
|
'LT_SYS_SYMBOL_USCORE' => 1,
|
||||||
|
'AM_SANITY_CHECK' => 1,
|
||||||
|
'AM_SET_DEPDIR' => 1,
|
||||||
|
'AC_DISABLE_SHARED' => 1,
|
||||||
|
'LTSUGAR_VERSION' => 1,
|
||||||
|
'AM_INIT_AUTOMAKE' => 1,
|
||||||
|
'AC_LIB_LTDL' => 1,
|
||||||
|
'AC_PROG_NM' => 1,
|
||||||
|
'LT_SUPPORTED_TAG' => 1,
|
||||||
|
'LT_LIB_DLLOAD' => 1,
|
||||||
|
'_AC_PROG_LIBTOOL' => 1,
|
||||||
|
'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
|
||||||
|
'LT_PATH_NM' => 1,
|
||||||
|
'AM_PROG_INSTALL_STRIP' => 1,
|
||||||
|
'AM_MISSING_HAS_RUN' => 1,
|
||||||
|
'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
|
||||||
|
'LT_CONFIG_LTDL_DIR' => 1,
|
||||||
|
'_LT_AC_FILE_LTDLL_C' => 1,
|
||||||
|
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||||
|
'_AM_CONFIG_MACRO_DIRS' => 1,
|
||||||
|
'_AM_IF_OPTION' => 1,
|
||||||
|
'_LT_AC_PROG_CXXCPP' => 1,
|
||||||
|
'LT_SYS_DLOPEN_DEPLIBS' => 1,
|
||||||
|
'AM_DISABLE_SHARED' => 1,
|
||||||
|
'AC_PATH_MAGIC' => 1,
|
||||||
|
'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
|
||||||
|
'AM_PROG_NM' => 1,
|
||||||
|
'_LT_PROG_CXX' => 1,
|
||||||
|
'_LT_COMPILER_OPTION' => 1,
|
||||||
|
'AM_RUN_LOG' => 1,
|
||||||
|
'AM_ENABLE_STATIC' => 1,
|
||||||
|
'_LT_PATH_TOOL_PREFIX' => 1,
|
||||||
|
'AU_DEFUN' => 1,
|
||||||
|
'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
|
||||||
|
'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
|
||||||
|
'AC_LIBTOOL_PICMODE' => 1,
|
||||||
|
'_AM_PROG_TAR' => 1,
|
||||||
|
'_LT_CC_BASENAME' => 1,
|
||||||
|
'_LT_AC_LANG_F77' => 1,
|
||||||
|
'_AC_AM_CONFIG_HEADER_HOOK' => 1,
|
||||||
|
'AC_PATH_TOOL_PREFIX' => 1,
|
||||||
|
'AM_AUX_DIR_EXPAND' => 1,
|
||||||
|
'AM_SILENT_RULES' => 1,
|
||||||
|
'AC_CONFIG_MACRO_DIR' => 1,
|
||||||
|
'AC_DISABLE_STATIC' => 1,
|
||||||
|
'AC_DEFUN' => 1,
|
||||||
|
'AC_LIBTOOL_LANG_C_CONFIG' => 1,
|
||||||
|
'AC_DEFUN_ONCE' => 1,
|
||||||
|
'LT_LIB_M' => 1,
|
||||||
|
'LT_LANG' => 1,
|
||||||
|
'LT_OUTPUT' => 1,
|
||||||
|
'_LTDL_SETUP' => 1,
|
||||||
|
'LT_FUNC_DLSYM_USCORE' => 1,
|
||||||
|
'_LT_AC_LANG_RC_CONFIG' => 1,
|
||||||
|
'AC_LIBTOOL_GCJ' => 1,
|
||||||
|
'AC_LIBTOOL_COMPILER_OPTION' => 1,
|
||||||
|
'LTDL_CONVENIENCE' => 1,
|
||||||
|
'AC_LIBTOOL_LINKER_OPTION' => 1,
|
||||||
|
'AM_DEP_TRACK' => 1,
|
||||||
|
'AC_LIBLTDL_CONVENIENCE' => 1,
|
||||||
|
'AM_PROG_LD' => 1,
|
||||||
|
'_LT_PROG_F77' => 1,
|
||||||
|
'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
|
||||||
|
'AC_LIBTOOL_CXX' => 1,
|
||||||
|
'AM_ENABLE_SHARED' => 1,
|
||||||
|
'm4_pattern_allow' => 1,
|
||||||
|
'LTDL_INSTALLABLE' => 1,
|
||||||
|
'AC_DEPLIBS_CHECK_METHOD' => 1,
|
||||||
|
'AC_CHECK_LIBM' => 1,
|
||||||
|
'_LT_PREPARE_SED_QUOTE_VARS' => 1,
|
||||||
|
'AC_LTDL_ENABLE_INSTALL' => 1,
|
||||||
|
'_m4_warn' => 1,
|
||||||
|
'AM_DISABLE_STATIC' => 1,
|
||||||
|
'LT_PATH_LD' => 1,
|
||||||
|
'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
|
||||||
|
'AC_PROG_LD_GNU' => 1,
|
||||||
|
'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
|
||||||
|
'_AM_SUBST_NOTMAKE' => 1,
|
||||||
|
'AC_LIBTOOL_SETUP' => 1,
|
||||||
|
'LT_INIT' => 1,
|
||||||
|
'LT_PROG_GO' => 1,
|
||||||
|
'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
|
||||||
|
'AC_PROG_LD_RELOAD_FLAG' => 1,
|
||||||
|
'AC_PROG_LD' => 1,
|
||||||
|
'AC_LIBTOOL_CONFIG' => 1,
|
||||||
|
'_LT_AC_SYS_LIBPATH_AIX' => 1,
|
||||||
|
'_AM_SET_OPTION' => 1,
|
||||||
|
'_LT_COMPILER_BOILERPLATE' => 1,
|
||||||
|
'_LT_DLL_DEF_P' => 1,
|
||||||
|
'AC_ENABLE_SHARED' => 1,
|
||||||
|
'_LT_AC_LANG_GCJ_CONFIG' => 1,
|
||||||
|
'AC_LIBTOOL_RC' => 1,
|
||||||
|
'AC_LTDL_SYSSEARCHPATH' => 1,
|
||||||
|
'_LT_PROG_ECHO_BACKSLASH' => 1,
|
||||||
|
'LT_CMD_MAX_LEN' => 1,
|
||||||
|
'm4_include' => 1,
|
||||||
|
'AC_LIBTOOL_DLOPEN_SELF' => 1,
|
||||||
|
'LT_AC_PROG_SED' => 1,
|
||||||
|
'LTVERSION_VERSION' => 1,
|
||||||
|
'_LT_AC_LANG_CXX_CONFIG' => 1,
|
||||||
|
'AC_LIBTOOL_WIN32_DLL' => 1,
|
||||||
|
'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
|
||||||
|
'AC_CONFIG_MACRO_DIR_TRACE' => 1,
|
||||||
|
'AC_DISABLE_FAST_INSTALL' => 1,
|
||||||
|
'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
|
||||||
|
'_LT_REQUIRED_DARWIN_CHECKS' => 1,
|
||||||
|
'_LT_LINKER_BOILERPLATE' => 1,
|
||||||
|
'LT_SYS_MODULE_PATH' => 1,
|
||||||
|
'_LT_AC_SHELL_INIT' => 1,
|
||||||
|
'include' => 1,
|
||||||
|
'AM_PROG_CC_C_O' => 1,
|
||||||
|
'LT_AC_PROG_EGREP' => 1,
|
||||||
|
'LTOBSOLETE_VERSION' => 1,
|
||||||
|
'AC_LTDL_PREOPEN' => 1,
|
||||||
|
'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
|
||||||
|
'LT_SYS_DLOPEN_SELF' => 1,
|
||||||
|
'AM_MAKE_INCLUDE' => 1,
|
||||||
|
'AM_PROG_INSTALL_SH' => 1,
|
||||||
|
'AC_LIBTOOL_PROG_CC_C_O' => 1,
|
||||||
|
'_LT_AC_LOCK' => 1,
|
||||||
|
'LT_WITH_LTDL' => 1,
|
||||||
|
'_LT_AC_LANG_F77_CONFIG' => 1,
|
||||||
|
'LTDL_INIT' => 1,
|
||||||
|
'LT_PROG_GCJ' => 1,
|
||||||
|
'_LT_AC_TRY_DLOPEN_SELF' => 1,
|
||||||
|
'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
|
||||||
|
'_LT_LINKER_OPTION' => 1,
|
||||||
|
'_LT_AC_TAGVAR' => 1,
|
||||||
|
'AM_MISSING_PROG' => 1,
|
||||||
|
'_LT_AC_LANG_C_CONFIG' => 1,
|
||||||
|
'LT_AC_PROG_GCJ' => 1,
|
||||||
|
'_AM_PROG_CC_C_O' => 1,
|
||||||
|
'AC_LIBTOOL_OBJDIR' => 1,
|
||||||
|
'_LT_PROG_FC' => 1,
|
||||||
|
'AC_LTDL_SHLIBPATH' => 1,
|
||||||
|
'AC_PROG_LIBTOOL' => 1,
|
||||||
|
'_LT_PROG_LTMAIN' => 1,
|
||||||
|
'AC_LTDL_DLSYM_USCORE' => 1,
|
||||||
|
'AC_LIBTOOL_FC' => 1,
|
||||||
|
'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
|
||||||
|
'AM_AUTOMAKE_VERSION' => 1,
|
||||||
|
'AC_LTDL_DLLIB' => 1,
|
||||||
|
'_AM_SET_OPTIONS' => 1,
|
||||||
|
'AC_LIBTOOL_DLOPEN' => 1,
|
||||||
|
'AM_CONDITIONAL' => 1,
|
||||||
|
'_LT_AC_SYS_COMPILER' => 1,
|
||||||
|
'_LT_AC_CHECK_DLFCN' => 1,
|
||||||
|
'AC_WITH_LTDL' => 1,
|
||||||
|
'LT_SYS_DLSEARCH_PATH' => 1,
|
||||||
|
'_AM_AUTOCONF_VERSION' => 1,
|
||||||
|
'AM_PROG_LIBTOOL' => 1,
|
||||||
|
'_LT_AC_TAGCONFIG' => 1,
|
||||||
|
'_AM_DEPENDENCIES' => 1,
|
||||||
|
'AC_ENABLE_FAST_INSTALL' => 1,
|
||||||
|
'AC_LTDL_SYMBOL_USCORE' => 1,
|
||||||
|
'LT_SYS_MODULE_EXT' => 1,
|
||||||
|
'LT_FUNC_ARGZ' => 1,
|
||||||
|
'm4_pattern_forbid' => 1,
|
||||||
|
'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
|
||||||
|
'LT_PROG_RC' => 1,
|
||||||
|
'LTOPTIONS_VERSION' => 1,
|
||||||
|
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||||
|
'AC_LTDL_OBJDIR' => 1,
|
||||||
|
'LT_AC_PROG_RC' => 1,
|
||||||
|
'AM_SUBST_NOTMAKE' => 1,
|
||||||
|
'_LT_AC_PROG_ECHO_BACKSLASH' => 1,
|
||||||
|
'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
|
||||||
|
'AC_LIBLTDL_INSTALLABLE' => 1,
|
||||||
|
'_LT_LIBOBJ' => 1,
|
||||||
|
'_LT_AC_LANG_GCJ' => 1,
|
||||||
|
'AC_LTDL_SHLIBEXT' => 1
|
||||||
|
}
|
||||||
|
], 'Autom4te::Request' ),
|
||||||
|
bless( [
|
||||||
|
'1',
|
||||||
|
1,
|
||||||
|
[
|
||||||
|
'/usr/share/autoconf'
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
||||||
|
'/usr/share/aclocal-1.16/internal/ac-config-macro-dirs.m4',
|
||||||
|
'/usr/share/aclocal/libtool.m4',
|
||||||
|
'/usr/share/aclocal/ltargz.m4',
|
||||||
|
'/usr/share/aclocal/ltdl.m4',
|
||||||
|
'/usr/share/aclocal/ltoptions.m4',
|
||||||
|
'/usr/share/aclocal/ltsugar.m4',
|
||||||
|
'/usr/share/aclocal/ltversion.m4',
|
||||||
|
'/usr/share/aclocal/lt~obsolete.m4',
|
||||||
|
'/usr/share/aclocal-1.16/amversion.m4',
|
||||||
|
'/usr/share/aclocal-1.16/auxdir.m4',
|
||||||
|
'/usr/share/aclocal-1.16/cond.m4',
|
||||||
|
'/usr/share/aclocal-1.16/depend.m4',
|
||||||
|
'/usr/share/aclocal-1.16/depout.m4',
|
||||||
|
'/usr/share/aclocal-1.16/init.m4',
|
||||||
|
'/usr/share/aclocal-1.16/install-sh.m4',
|
||||||
|
'/usr/share/aclocal-1.16/lead-dot.m4',
|
||||||
|
'/usr/share/aclocal-1.16/make.m4',
|
||||||
|
'/usr/share/aclocal-1.16/missing.m4',
|
||||||
|
'/usr/share/aclocal-1.16/options.m4',
|
||||||
|
'/usr/share/aclocal-1.16/prog-cc-c-o.m4',
|
||||||
|
'/usr/share/aclocal-1.16/runlog.m4',
|
||||||
|
'/usr/share/aclocal-1.16/sanity.m4',
|
||||||
|
'/usr/share/aclocal-1.16/silent.m4',
|
||||||
|
'/usr/share/aclocal-1.16/strip.m4',
|
||||||
|
'/usr/share/aclocal-1.16/substnot.m4',
|
||||||
|
'/usr/share/aclocal-1.16/tar.m4',
|
||||||
|
'm4/ax_cblas.m4',
|
||||||
|
'configure.ac'
|
||||||
|
],
|
||||||
|
{
|
||||||
|
'AC_LIBTOOL_WIN32_DLL' => 1,
|
||||||
|
'LT_AC_PROG_SED' => 1,
|
||||||
|
'LTVERSION_VERSION' => 1,
|
||||||
|
'_LT_AC_LANG_CXX_CONFIG' => 1,
|
||||||
|
'm4_include' => 1,
|
||||||
|
'AC_LIBTOOL_DLOPEN_SELF' => 1,
|
||||||
|
'_LT_PROG_ECHO_BACKSLASH' => 1,
|
||||||
|
'LT_CMD_MAX_LEN' => 1,
|
||||||
|
'_LT_LINKER_BOILERPLATE' => 1,
|
||||||
|
'LT_SYS_MODULE_PATH' => 1,
|
||||||
|
'_LT_REQUIRED_DARWIN_CHECKS' => 1,
|
||||||
|
'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
|
||||||
|
'AC_DISABLE_FAST_INSTALL' => 1,
|
||||||
|
'AX_CBLAS' => 1,
|
||||||
|
'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
|
||||||
|
'AC_CONFIG_MACRO_DIR_TRACE' => 1,
|
||||||
|
'AC_LTDL_PREOPEN' => 1,
|
||||||
|
'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
|
||||||
|
'LTOBSOLETE_VERSION' => 1,
|
||||||
|
'LT_AC_PROG_EGREP' => 1,
|
||||||
|
'_LT_AC_SHELL_INIT' => 1,
|
||||||
|
'include' => 1,
|
||||||
|
'AM_PROG_CC_C_O' => 1,
|
||||||
|
'_LT_AC_LANG_F77_CONFIG' => 1,
|
||||||
|
'LT_WITH_LTDL' => 1,
|
||||||
|
'_LT_AC_TRY_DLOPEN_SELF' => 1,
|
||||||
|
'LTDL_INIT' => 1,
|
||||||
|
'LT_PROG_GCJ' => 1,
|
||||||
|
'_LT_AC_LOCK' => 1,
|
||||||
|
'AC_LIBTOOL_PROG_CC_C_O' => 1,
|
||||||
|
'AM_PROG_INSTALL_SH' => 1,
|
||||||
|
'LT_SYS_DLOPEN_SELF' => 1,
|
||||||
|
'AM_MAKE_INCLUDE' => 1,
|
||||||
|
'AC_PROG_LIBTOOL' => 1,
|
||||||
|
'_LT_PROG_LTMAIN' => 1,
|
||||||
|
'_LT_AC_LANG_C_CONFIG' => 1,
|
||||||
|
'LT_AC_PROG_GCJ' => 1,
|
||||||
|
'_LT_PROG_FC' => 1,
|
||||||
|
'AC_LTDL_SHLIBPATH' => 1,
|
||||||
|
'_AM_PROG_CC_C_O' => 1,
|
||||||
|
'AC_LIBTOOL_OBJDIR' => 1,
|
||||||
|
'_LT_LINKER_OPTION' => 1,
|
||||||
|
'_LT_AC_TAGVAR' => 1,
|
||||||
|
'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
|
||||||
|
'AM_MISSING_PROG' => 1,
|
||||||
|
'AC_LTDL_DLLIB' => 1,
|
||||||
|
'AM_AUTOMAKE_VERSION' => 1,
|
||||||
|
'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
|
||||||
|
'AC_LIBTOOL_FC' => 1,
|
||||||
|
'AC_LTDL_DLSYM_USCORE' => 1,
|
||||||
|
'_AM_AUTOCONF_VERSION' => 1,
|
||||||
|
'AM_PROG_LIBTOOL' => 1,
|
||||||
|
'AC_LTDL_SYMBOL_USCORE' => 1,
|
||||||
|
'LT_SYS_MODULE_EXT' => 1,
|
||||||
|
'LT_FUNC_ARGZ' => 1,
|
||||||
|
'_LT_AC_TAGCONFIG' => 1,
|
||||||
|
'AC_ENABLE_FAST_INSTALL' => 1,
|
||||||
|
'_AM_DEPENDENCIES' => 1,
|
||||||
|
'AC_WITH_LTDL' => 1,
|
||||||
|
'LT_SYS_DLSEARCH_PATH' => 1,
|
||||||
|
'_LT_AC_SYS_COMPILER' => 1,
|
||||||
|
'AM_CONDITIONAL' => 1,
|
||||||
|
'_LT_AC_CHECK_DLFCN' => 1,
|
||||||
|
'_AM_SET_OPTIONS' => 1,
|
||||||
|
'AC_LIBTOOL_DLOPEN' => 1,
|
||||||
|
'_LT_AC_LANG_GCJ' => 1,
|
||||||
|
'_LT_LIBOBJ' => 1,
|
||||||
|
'AC_LTDL_SHLIBEXT' => 1,
|
||||||
|
'AC_LIBLTDL_INSTALLABLE' => 1,
|
||||||
|
'AM_SUBST_NOTMAKE' => 1,
|
||||||
|
'LTOPTIONS_VERSION' => 1,
|
||||||
|
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||||
|
'AC_LTDL_OBJDIR' => 1,
|
||||||
|
'LT_AC_PROG_RC' => 1,
|
||||||
|
'_LT_AC_PROG_ECHO_BACKSLASH' => 1,
|
||||||
|
'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
|
||||||
|
'm4_pattern_forbid' => 1,
|
||||||
|
'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
|
||||||
|
'LT_PROG_RC' => 1,
|
||||||
|
'AC_DISABLE_SHARED' => 1,
|
||||||
|
'AM_SET_DEPDIR' => 1,
|
||||||
|
'AM_SANITY_CHECK' => 1,
|
||||||
|
'AC_PROG_NM' => 1,
|
||||||
|
'AM_INIT_AUTOMAKE' => 1,
|
||||||
|
'AC_LIB_LTDL' => 1,
|
||||||
|
'LTSUGAR_VERSION' => 1,
|
||||||
|
'AC_ENABLE_STATIC' => 1,
|
||||||
|
'LT_SYS_SYMBOL_USCORE' => 1,
|
||||||
|
'_LT_AC_LANG_CXX' => 1,
|
||||||
|
'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
|
||||||
|
'AM_SET_LEADING_DOT' => 1,
|
||||||
|
'_AM_MANGLE_OPTION' => 1,
|
||||||
|
'_LT_WITH_SYSROOT' => 1,
|
||||||
|
'AC_PROG_EGREP' => 1,
|
||||||
|
'AC_LIBTOOL_F77' => 1,
|
||||||
|
'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
|
||||||
|
'AM_MISSING_HAS_RUN' => 1,
|
||||||
|
'LT_PATH_NM' => 1,
|
||||||
|
'_AC_PROG_LIBTOOL' => 1,
|
||||||
|
'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
|
||||||
|
'AM_PROG_INSTALL_STRIP' => 1,
|
||||||
|
'LT_LIB_DLLOAD' => 1,
|
||||||
|
'LT_SUPPORTED_TAG' => 1,
|
||||||
|
'_LT_PATH_TOOL_PREFIX' => 1,
|
||||||
|
'AM_RUN_LOG' => 1,
|
||||||
|
'AM_ENABLE_STATIC' => 1,
|
||||||
|
'_LT_COMPILER_OPTION' => 1,
|
||||||
|
'AC_PATH_MAGIC' => 1,
|
||||||
|
'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
|
||||||
|
'AM_DISABLE_SHARED' => 1,
|
||||||
|
'_LT_AC_PROG_CXXCPP' => 1,
|
||||||
|
'LT_SYS_DLOPEN_DEPLIBS' => 1,
|
||||||
|
'_LT_PROG_CXX' => 1,
|
||||||
|
'AM_PROG_NM' => 1,
|
||||||
|
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||||
|
'_AM_IF_OPTION' => 1,
|
||||||
|
'_AM_CONFIG_MACRO_DIRS' => 1,
|
||||||
|
'LT_CONFIG_LTDL_DIR' => 1,
|
||||||
|
'_LT_AC_FILE_LTDLL_C' => 1,
|
||||||
|
'_LT_AC_LANG_F77' => 1,
|
||||||
|
'_AC_AM_CONFIG_HEADER_HOOK' => 1,
|
||||||
|
'_LT_CC_BASENAME' => 1,
|
||||||
|
'AC_PATH_TOOL_PREFIX' => 1,
|
||||||
|
'AC_LIBTOOL_PICMODE' => 1,
|
||||||
|
'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
|
||||||
|
'_AM_PROG_TAR' => 1,
|
||||||
|
'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
|
||||||
|
'AU_DEFUN' => 1,
|
||||||
|
'AC_LIBTOOL_GCJ' => 1,
|
||||||
|
'AC_LIBTOOL_COMPILER_OPTION' => 1,
|
||||||
|
'_LTDL_SETUP' => 1,
|
||||||
|
'_LT_AC_LANG_RC_CONFIG' => 1,
|
||||||
|
'LT_FUNC_DLSYM_USCORE' => 1,
|
||||||
|
'LT_OUTPUT' => 1,
|
||||||
|
'LT_LIB_M' => 1,
|
||||||
|
'LT_LANG' => 1,
|
||||||
|
'AC_CONFIG_MACRO_DIR' => 1,
|
||||||
|
'AM_SILENT_RULES' => 1,
|
||||||
|
'AC_DISABLE_STATIC' => 1,
|
||||||
|
'AM_AUX_DIR_EXPAND' => 1,
|
||||||
|
'AC_DEFUN_ONCE' => 1,
|
||||||
|
'AC_DEFUN' => 1,
|
||||||
|
'AC_LIBTOOL_LANG_C_CONFIG' => 1,
|
||||||
|
'AC_LIBTOOL_CXX' => 1,
|
||||||
|
'm4_pattern_allow' => 1,
|
||||||
|
'AM_ENABLE_SHARED' => 1,
|
||||||
|
'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
|
||||||
|
'AM_PROG_LD' => 1,
|
||||||
|
'_LT_PROG_F77' => 1,
|
||||||
|
'LTDL_CONVENIENCE' => 1,
|
||||||
|
'AM_DEP_TRACK' => 1,
|
||||||
|
'AC_LIBTOOL_LINKER_OPTION' => 1,
|
||||||
|
'AC_LIBLTDL_CONVENIENCE' => 1,
|
||||||
|
'LT_PROG_GO' => 1,
|
||||||
|
'LT_INIT' => 1,
|
||||||
|
'AC_PROG_LD_RELOAD_FLAG' => 1,
|
||||||
|
'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
|
||||||
|
'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
|
||||||
|
'AC_PROG_LD_GNU' => 1,
|
||||||
|
'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
|
||||||
|
'AC_LIBTOOL_SETUP' => 1,
|
||||||
|
'_AM_SUBST_NOTMAKE' => 1,
|
||||||
|
'AM_DISABLE_STATIC' => 1,
|
||||||
|
'LT_PATH_LD' => 1,
|
||||||
|
'_LT_PREPARE_SED_QUOTE_VARS' => 1,
|
||||||
|
'AC_CHECK_LIBM' => 1,
|
||||||
|
'AC_LTDL_ENABLE_INSTALL' => 1,
|
||||||
|
'LTDL_INSTALLABLE' => 1,
|
||||||
|
'AC_DEPLIBS_CHECK_METHOD' => 1,
|
||||||
|
'_m4_warn' => 1,
|
||||||
|
'AC_LIBTOOL_RC' => 1,
|
||||||
|
'_LT_AC_LANG_GCJ_CONFIG' => 1,
|
||||||
|
'AC_LTDL_SYSSEARCHPATH' => 1,
|
||||||
|
'AC_ENABLE_SHARED' => 1,
|
||||||
|
'_LT_DLL_DEF_P' => 1,
|
||||||
|
'_LT_AC_SYS_LIBPATH_AIX' => 1,
|
||||||
|
'_AM_SET_OPTION' => 1,
|
||||||
|
'_LT_COMPILER_BOILERPLATE' => 1,
|
||||||
|
'AC_PROG_LD' => 1,
|
||||||
|
'AC_LIBTOOL_CONFIG' => 1
|
||||||
|
}
|
||||||
|
], 'Autom4te::Request' ),
|
||||||
|
bless( [
|
||||||
|
'2',
|
||||||
|
1,
|
||||||
|
[
|
||||||
|
'/usr/share/autoconf'
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
||||||
|
'aclocal.m4',
|
||||||
|
'configure.ac'
|
||||||
|
],
|
||||||
|
{
|
||||||
|
'm4_include' => 1,
|
||||||
|
'AM_NLS' => 1,
|
||||||
|
'AM_MAINTAINER_MODE' => 1,
|
||||||
|
'AM_MAKEFILE_INCLUDE' => 1,
|
||||||
|
'AC_CANONICAL_TARGET' => 1,
|
||||||
|
'AC_CONFIG_LIBOBJ_DIR' => 1,
|
||||||
|
'_AM_COND_ENDIF' => 1,
|
||||||
|
'AM_SILENT_RULES' => 1,
|
||||||
|
'AM_GNU_GETTEXT' => 1,
|
||||||
|
'AM_XGETTEXT_OPTION' => 1,
|
||||||
|
'AM_INIT_AUTOMAKE' => 1,
|
||||||
|
'AC_FC_PP_DEFINE' => 1,
|
||||||
|
'AM_EXTRA_RECURSIVE_TARGETS' => 1,
|
||||||
|
'AC_PROG_LIBTOOL' => 1,
|
||||||
|
'AC_REQUIRE_AUX_FILE' => 1,
|
||||||
|
'AM_ENABLE_MULTILIB' => 1,
|
||||||
|
'AM_POT_TOOLS' => 1,
|
||||||
|
'AC_DEFINE_TRACE_LITERAL' => 1,
|
||||||
|
'AC_CONFIG_MACRO_DIR_TRACE' => 1,
|
||||||
|
'LT_SUPPORTED_TAG' => 1,
|
||||||
|
'AH_OUTPUT' => 1,
|
||||||
|
'AC_CANONICAL_BUILD' => 1,
|
||||||
|
'AM_AUTOMAKE_VERSION' => 1,
|
||||||
|
'_AM_MAKEFILE_INCLUDE' => 1,
|
||||||
|
'AM_PROG_AR' => 1,
|
||||||
|
'GTK_DOC_CHECK' => 1,
|
||||||
|
'm4_pattern_allow' => 1,
|
||||||
|
'AM_PROG_FC_C_O' => 1,
|
||||||
|
'AC_CANONICAL_SYSTEM' => 1,
|
||||||
|
'AC_CONFIG_LINKS' => 1,
|
||||||
|
'AM_PROG_F77_C_O' => 1,
|
||||||
|
'AC_CONFIG_HEADERS' => 1,
|
||||||
|
'AM_CONDITIONAL' => 1,
|
||||||
|
'AC_FC_PP_SRCEXT' => 1,
|
||||||
|
'AC_FC_SRCEXT' => 1,
|
||||||
|
'AC_LIBSOURCE' => 1,
|
||||||
|
'AM_PROG_MKDIR_P' => 1,
|
||||||
|
'LT_CONFIG_LTDL_DIR' => 1,
|
||||||
|
'AC_SUBST' => 1,
|
||||||
|
'AM_PROG_CC_C_O' => 1,
|
||||||
|
'_m4_warn' => 1,
|
||||||
|
'include' => 1,
|
||||||
|
'AM_PATH_GUILE' => 1,
|
||||||
|
'AM_PROG_LIBTOOL' => 1,
|
||||||
|
'AM_PROG_MOC' => 1,
|
||||||
|
'AC_FC_FREEFORM' => 1,
|
||||||
|
'LT_INIT' => 1,
|
||||||
|
'sinclude' => 1,
|
||||||
|
'_LT_AC_TAGCONFIG' => 1,
|
||||||
|
'm4_sinclude' => 1,
|
||||||
|
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
|
||||||
|
'AC_CONFIG_AUX_DIR' => 1,
|
||||||
|
'_AM_SUBST_NOTMAKE' => 1,
|
||||||
|
'AC_CONFIG_SUBDIRS' => 1,
|
||||||
|
'AC_SUBST_TRACE' => 1,
|
||||||
|
'AC_CONFIG_FILES' => 1,
|
||||||
|
'_AM_COND_ELSE' => 1,
|
||||||
|
'_AM_COND_IF' => 1,
|
||||||
|
'm4_pattern_forbid' => 1,
|
||||||
|
'AC_CANONICAL_HOST' => 1,
|
||||||
|
'AM_PROG_CXX_C_O' => 1,
|
||||||
|
'IT_PROG_INTLTOOL' => 1,
|
||||||
|
'AC_INIT' => 1
|
||||||
|
}
|
||||||
|
], 'Autom4te::Request' ),
|
||||||
|
bless( [
|
||||||
|
'3',
|
||||||
|
1,
|
||||||
|
[
|
||||||
|
'/usr/share/autoconf'
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
||||||
|
'/usr/share/aclocal-1.16/internal/ac-config-macro-dirs.m4',
|
||||||
|
'/usr/share/aclocal/ltargz.m4',
|
||||||
|
'/usr/share/aclocal/ltdl.m4',
|
||||||
|
'/usr/share/aclocal-1.16/amversion.m4',
|
||||||
|
'/usr/share/aclocal-1.16/auxdir.m4',
|
||||||
|
'/usr/share/aclocal-1.16/cond.m4',
|
||||||
|
'/usr/share/aclocal-1.16/depend.m4',
|
||||||
|
'/usr/share/aclocal-1.16/depout.m4',
|
||||||
|
'/usr/share/aclocal-1.16/init.m4',
|
||||||
|
'/usr/share/aclocal-1.16/install-sh.m4',
|
||||||
|
'/usr/share/aclocal-1.16/lead-dot.m4',
|
||||||
|
'/usr/share/aclocal-1.16/make.m4',
|
||||||
|
'/usr/share/aclocal-1.16/missing.m4',
|
||||||
|
'/usr/share/aclocal-1.16/options.m4',
|
||||||
|
'/usr/share/aclocal-1.16/prog-cc-c-o.m4',
|
||||||
|
'/usr/share/aclocal-1.16/runlog.m4',
|
||||||
|
'/usr/share/aclocal-1.16/sanity.m4',
|
||||||
|
'/usr/share/aclocal-1.16/silent.m4',
|
||||||
|
'/usr/share/aclocal-1.16/strip.m4',
|
||||||
|
'/usr/share/aclocal-1.16/substnot.m4',
|
||||||
|
'/usr/share/aclocal-1.16/tar.m4',
|
||||||
|
'm4/ax_cblas.m4',
|
||||||
|
'm4/libtool.m4',
|
||||||
|
'm4/ltoptions.m4',
|
||||||
|
'm4/ltsugar.m4',
|
||||||
|
'm4/ltversion.m4',
|
||||||
|
'm4/lt~obsolete.m4',
|
||||||
|
'configure.ac'
|
||||||
|
],
|
||||||
|
{
|
||||||
|
'LT_SYS_MODULE_PATH' => 1,
|
||||||
|
'_LT_LINKER_BOILERPLATE' => 1,
|
||||||
|
'_LT_REQUIRED_DARWIN_CHECKS' => 1,
|
||||||
|
'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
|
||||||
|
'AX_CBLAS' => 1,
|
||||||
|
'AC_DISABLE_FAST_INSTALL' => 1,
|
||||||
|
'AC_CONFIG_MACRO_DIR_TRACE' => 1,
|
||||||
|
'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
|
||||||
|
'AC_LIBTOOL_WIN32_DLL' => 1,
|
||||||
|
'LT_AC_PROG_SED' => 1,
|
||||||
|
'LTVERSION_VERSION' => 1,
|
||||||
|
'_LT_AC_LANG_CXX_CONFIG' => 1,
|
||||||
|
'm4_include' => 1,
|
||||||
|
'AC_LIBTOOL_DLOPEN_SELF' => 1,
|
||||||
|
'LT_CMD_MAX_LEN' => 1,
|
||||||
|
'_LT_PROG_ECHO_BACKSLASH' => 1,
|
||||||
|
'_LT_AC_LANG_F77_CONFIG' => 1,
|
||||||
|
'LT_WITH_LTDL' => 1,
|
||||||
|
'_LT_AC_TRY_DLOPEN_SELF' => 1,
|
||||||
|
'LT_PROG_GCJ' => 1,
|
||||||
|
'LTDL_INIT' => 1,
|
||||||
|
'_LT_AC_LOCK' => 1,
|
||||||
|
'AC_LIBTOOL_PROG_CC_C_O' => 1,
|
||||||
|
'AM_PROG_INSTALL_SH' => 1,
|
||||||
|
'LT_SYS_DLOPEN_SELF' => 1,
|
||||||
|
'AM_MAKE_INCLUDE' => 1,
|
||||||
|
'AC_LTDL_PREOPEN' => 1,
|
||||||
|
'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
|
||||||
|
'LTOBSOLETE_VERSION' => 1,
|
||||||
|
'LT_AC_PROG_EGREP' => 1,
|
||||||
|
'_LT_AC_SHELL_INIT' => 1,
|
||||||
|
'AM_PROG_CC_C_O' => 1,
|
||||||
|
'include' => 1,
|
||||||
|
'AM_AUTOMAKE_VERSION' => 1,
|
||||||
|
'AC_LTDL_DLLIB' => 1,
|
||||||
|
'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
|
||||||
|
'AC_LIBTOOL_FC' => 1,
|
||||||
|
'AC_LTDL_DLSYM_USCORE' => 1,
|
||||||
|
'AC_PROG_LIBTOOL' => 1,
|
||||||
|
'_LT_PROG_LTMAIN' => 1,
|
||||||
|
'LT_AC_PROG_GCJ' => 1,
|
||||||
|
'_LT_AC_LANG_C_CONFIG' => 1,
|
||||||
|
'AC_LTDL_SHLIBPATH' => 1,
|
||||||
|
'_LT_PROG_FC' => 1,
|
||||||
|
'AC_LIBTOOL_OBJDIR' => 1,
|
||||||
|
'_AM_PROG_CC_C_O' => 1,
|
||||||
|
'_LT_AC_TAGVAR' => 1,
|
||||||
|
'_LT_LINKER_OPTION' => 1,
|
||||||
|
'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
|
||||||
|
'AM_MISSING_PROG' => 1,
|
||||||
|
'_LT_AC_LANG_GCJ' => 1,
|
||||||
|
'_LT_LIBOBJ' => 1,
|
||||||
|
'AC_LTDL_SHLIBEXT' => 1,
|
||||||
|
'AC_LIBLTDL_INSTALLABLE' => 1,
|
||||||
|
'AM_SUBST_NOTMAKE' => 1,
|
||||||
|
'AC_LTDL_OBJDIR' => 1,
|
||||||
|
'LT_AC_PROG_RC' => 1,
|
||||||
|
'LTOPTIONS_VERSION' => 1,
|
||||||
|
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||||
|
'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
|
||||||
|
'_LT_AC_PROG_ECHO_BACKSLASH' => 1,
|
||||||
|
'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
|
||||||
|
'm4_pattern_forbid' => 1,
|
||||||
|
'LT_PROG_RC' => 1,
|
||||||
|
'AM_PROG_LIBTOOL' => 1,
|
||||||
|
'_AM_AUTOCONF_VERSION' => 1,
|
||||||
|
'LT_SYS_MODULE_EXT' => 1,
|
||||||
|
'LT_FUNC_ARGZ' => 1,
|
||||||
|
'AC_LTDL_SYMBOL_USCORE' => 1,
|
||||||
|
'AC_ENABLE_FAST_INSTALL' => 1,
|
||||||
|
'_AM_DEPENDENCIES' => 1,
|
||||||
|
'_LT_AC_TAGCONFIG' => 1,
|
||||||
|
'AC_WITH_LTDL' => 1,
|
||||||
|
'LT_SYS_DLSEARCH_PATH' => 1,
|
||||||
|
'_LT_AC_SYS_COMPILER' => 1,
|
||||||
|
'AM_CONDITIONAL' => 1,
|
||||||
|
'_LT_AC_CHECK_DLFCN' => 1,
|
||||||
|
'_AM_SET_OPTIONS' => 1,
|
||||||
|
'AC_LIBTOOL_DLOPEN' => 1,
|
||||||
|
'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
|
||||||
|
'AM_MISSING_HAS_RUN' => 1,
|
||||||
|
'LT_PATH_NM' => 1,
|
||||||
|
'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
|
||||||
|
'_AC_PROG_LIBTOOL' => 1,
|
||||||
|
'AM_PROG_INSTALL_STRIP' => 1,
|
||||||
|
'LT_LIB_DLLOAD' => 1,
|
||||||
|
'LT_SUPPORTED_TAG' => 1,
|
||||||
|
'AC_DISABLE_SHARED' => 1,
|
||||||
|
'AM_SANITY_CHECK' => 1,
|
||||||
|
'AM_SET_DEPDIR' => 1,
|
||||||
|
'AC_PROG_NM' => 1,
|
||||||
|
'LTSUGAR_VERSION' => 1,
|
||||||
|
'AM_INIT_AUTOMAKE' => 1,
|
||||||
|
'AC_LIB_LTDL' => 1,
|
||||||
|
'AC_ENABLE_STATIC' => 1,
|
||||||
|
'LT_SYS_SYMBOL_USCORE' => 1,
|
||||||
|
'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
|
||||||
|
'_LT_AC_LANG_CXX' => 1,
|
||||||
|
'AM_SET_LEADING_DOT' => 1,
|
||||||
|
'_LT_WITH_SYSROOT' => 1,
|
||||||
|
'_AM_MANGLE_OPTION' => 1,
|
||||||
|
'AC_LIBTOOL_F77' => 1,
|
||||||
|
'AC_PROG_EGREP' => 1,
|
||||||
|
'_AC_AM_CONFIG_HEADER_HOOK' => 1,
|
||||||
|
'_LT_AC_LANG_F77' => 1,
|
||||||
|
'_LT_CC_BASENAME' => 1,
|
||||||
|
'AC_PATH_TOOL_PREFIX' => 1,
|
||||||
|
'AC_LIBTOOL_PICMODE' => 1,
|
||||||
|
'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
|
||||||
|
'_AM_PROG_TAR' => 1,
|
||||||
|
'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
|
||||||
|
'AU_DEFUN' => 1,
|
||||||
|
'AM_ENABLE_STATIC' => 1,
|
||||||
|
'AM_RUN_LOG' => 1,
|
||||||
|
'_LT_PATH_TOOL_PREFIX' => 1,
|
||||||
|
'_LT_COMPILER_OPTION' => 1,
|
||||||
|
'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
|
||||||
|
'AC_PATH_MAGIC' => 1,
|
||||||
|
'_LT_AC_PROG_CXXCPP' => 1,
|
||||||
|
'LT_SYS_DLOPEN_DEPLIBS' => 1,
|
||||||
|
'AM_DISABLE_SHARED' => 1,
|
||||||
|
'_LT_PROG_CXX' => 1,
|
||||||
|
'AM_PROG_NM' => 1,
|
||||||
|
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||||
|
'_AM_IF_OPTION' => 1,
|
||||||
|
'_AM_CONFIG_MACRO_DIRS' => 1,
|
||||||
|
'_LT_AC_FILE_LTDLL_C' => 1,
|
||||||
|
'LT_CONFIG_LTDL_DIR' => 1,
|
||||||
|
'AC_LIBTOOL_CXX' => 1,
|
||||||
|
'm4_pattern_allow' => 1,
|
||||||
|
'AM_ENABLE_SHARED' => 1,
|
||||||
|
'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
|
||||||
|
'AM_PROG_LD' => 1,
|
||||||
|
'_LT_PROG_F77' => 1,
|
||||||
|
'AM_DEP_TRACK' => 1,
|
||||||
|
'AC_LIBTOOL_LINKER_OPTION' => 1,
|
||||||
|
'LTDL_CONVENIENCE' => 1,
|
||||||
|
'AC_LIBLTDL_CONVENIENCE' => 1,
|
||||||
|
'AC_LIBTOOL_GCJ' => 1,
|
||||||
|
'AC_LIBTOOL_COMPILER_OPTION' => 1,
|
||||||
|
'_LTDL_SETUP' => 1,
|
||||||
|
'_LT_AC_LANG_RC_CONFIG' => 1,
|
||||||
|
'LT_FUNC_DLSYM_USCORE' => 1,
|
||||||
|
'LT_OUTPUT' => 1,
|
||||||
|
'LT_LANG' => 1,
|
||||||
|
'LT_LIB_M' => 1,
|
||||||
|
'AC_DISABLE_STATIC' => 1,
|
||||||
|
'AC_CONFIG_MACRO_DIR' => 1,
|
||||||
|
'AM_SILENT_RULES' => 1,
|
||||||
|
'AM_AUX_DIR_EXPAND' => 1,
|
||||||
|
'AC_DEFUN_ONCE' => 1,
|
||||||
|
'AC_LIBTOOL_LANG_C_CONFIG' => 1,
|
||||||
|
'AC_DEFUN' => 1,
|
||||||
|
'AC_LIBTOOL_RC' => 1,
|
||||||
|
'_LT_AC_LANG_GCJ_CONFIG' => 1,
|
||||||
|
'AC_LTDL_SYSSEARCHPATH' => 1,
|
||||||
|
'AC_ENABLE_SHARED' => 1,
|
||||||
|
'_LT_DLL_DEF_P' => 1,
|
||||||
|
'_AM_SET_OPTION' => 1,
|
||||||
|
'_LT_AC_SYS_LIBPATH_AIX' => 1,
|
||||||
|
'_LT_COMPILER_BOILERPLATE' => 1,
|
||||||
|
'AC_PROG_LD' => 1,
|
||||||
|
'AC_LIBTOOL_CONFIG' => 1,
|
||||||
|
'LT_PROG_GO' => 1,
|
||||||
|
'LT_INIT' => 1,
|
||||||
|
'AC_PROG_LD_RELOAD_FLAG' => 1,
|
||||||
|
'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
|
||||||
|
'AC_PROG_LD_GNU' => 1,
|
||||||
|
'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
|
||||||
|
'_AM_SUBST_NOTMAKE' => 1,
|
||||||
|
'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
|
||||||
|
'AC_LIBTOOL_SETUP' => 1,
|
||||||
|
'AM_DISABLE_STATIC' => 1,
|
||||||
|
'LT_PATH_LD' => 1,
|
||||||
|
'AC_LTDL_ENABLE_INSTALL' => 1,
|
||||||
|
'AC_CHECK_LIBM' => 1,
|
||||||
|
'_LT_PREPARE_SED_QUOTE_VARS' => 1,
|
||||||
|
'LTDL_INSTALLABLE' => 1,
|
||||||
|
'AC_DEPLIBS_CHECK_METHOD' => 1,
|
||||||
|
'_m4_warn' => 1
|
||||||
|
}
|
||||||
|
], 'Autom4te::Request' ),
|
||||||
|
bless( [
|
||||||
|
'4',
|
||||||
|
1,
|
||||||
|
[
|
||||||
|
'/usr/share/autoconf'
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
||||||
|
'aclocal.m4',
|
||||||
|
'/usr/share/autoconf/autoconf/trailer.m4',
|
||||||
|
'configure.ac'
|
||||||
|
],
|
||||||
|
{
|
||||||
|
'AC_CONFIG_LINKS' => 1,
|
||||||
|
'AM_PROG_F77_C_O' => 1,
|
||||||
|
'AC_CANONICAL_SYSTEM' => 1,
|
||||||
|
'AM_PROG_FC_C_O' => 1,
|
||||||
|
'm4_pattern_allow' => 1,
|
||||||
|
'GTK_DOC_CHECK' => 1,
|
||||||
|
'_AM_MAKEFILE_INCLUDE' => 1,
|
||||||
|
'AM_PROG_AR' => 1,
|
||||||
|
'AM_AUTOMAKE_VERSION' => 1,
|
||||||
|
'AC_CANONICAL_BUILD' => 1,
|
||||||
|
'AH_OUTPUT' => 1,
|
||||||
|
'LT_SUPPORTED_TAG' => 1,
|
||||||
|
'AC_CONFIG_MACRO_DIR_TRACE' => 1,
|
||||||
|
'AC_DEFINE_TRACE_LITERAL' => 1,
|
||||||
|
'AM_POT_TOOLS' => 1,
|
||||||
|
'AM_ENABLE_MULTILIB' => 1,
|
||||||
|
'AC_REQUIRE_AUX_FILE' => 1,
|
||||||
|
'AC_PROG_LIBTOOL' => 1,
|
||||||
|
'AM_INIT_AUTOMAKE' => 1,
|
||||||
|
'AC_FC_PP_DEFINE' => 1,
|
||||||
|
'AM_EXTRA_RECURSIVE_TARGETS' => 1,
|
||||||
|
'AM_XGETTEXT_OPTION' => 1,
|
||||||
|
'AM_GNU_GETTEXT' => 1,
|
||||||
|
'AM_SILENT_RULES' => 1,
|
||||||
|
'_AM_COND_ENDIF' => 1,
|
||||||
|
'AC_CONFIG_LIBOBJ_DIR' => 1,
|
||||||
|
'AC_CANONICAL_TARGET' => 1,
|
||||||
|
'AM_MAKEFILE_INCLUDE' => 1,
|
||||||
|
'AM_MAINTAINER_MODE' => 1,
|
||||||
|
'm4_include' => 1,
|
||||||
|
'AM_NLS' => 1,
|
||||||
|
'AC_INIT' => 1,
|
||||||
|
'IT_PROG_INTLTOOL' => 1,
|
||||||
|
'AM_PROG_CXX_C_O' => 1,
|
||||||
|
'AC_CANONICAL_HOST' => 1,
|
||||||
|
'm4_pattern_forbid' => 1,
|
||||||
|
'_AM_COND_ELSE' => 1,
|
||||||
|
'_AM_COND_IF' => 1,
|
||||||
|
'AC_SUBST_TRACE' => 1,
|
||||||
|
'AC_CONFIG_FILES' => 1,
|
||||||
|
'AC_CONFIG_SUBDIRS' => 1,
|
||||||
|
'_AM_SUBST_NOTMAKE' => 1,
|
||||||
|
'AC_CONFIG_AUX_DIR' => 1,
|
||||||
|
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
|
||||||
|
'sinclude' => 1,
|
||||||
|
'm4_sinclude' => 1,
|
||||||
|
'_LT_AC_TAGCONFIG' => 1,
|
||||||
|
'AM_PROG_LIBTOOL' => 1,
|
||||||
|
'AC_FC_FREEFORM' => 1,
|
||||||
|
'LT_INIT' => 1,
|
||||||
|
'AM_PROG_MOC' => 1,
|
||||||
|
'AM_PROG_CC_C_O' => 1,
|
||||||
|
'_m4_warn' => 1,
|
||||||
|
'include' => 1,
|
||||||
|
'AM_PATH_GUILE' => 1,
|
||||||
|
'AC_SUBST' => 1,
|
||||||
|
'LT_CONFIG_LTDL_DIR' => 1,
|
||||||
|
'AC_LIBSOURCE' => 1,
|
||||||
|
'AM_PROG_MKDIR_P' => 1,
|
||||||
|
'AC_FC_PP_SRCEXT' => 1,
|
||||||
|
'AC_FC_SRCEXT' => 1,
|
||||||
|
'AC_CONFIG_HEADERS' => 1,
|
||||||
|
'AM_CONDITIONAL' => 1
|
||||||
|
}
|
||||||
|
], 'Autom4te::Request' )
|
||||||
|
);
|
||||||
|
|
||||||
2815
autom4te.cache/traces.0
Normal file
2815
autom4te.cache/traces.0
Normal file
File diff suppressed because it is too large
Load Diff
2942
autom4te.cache/traces.1
Normal file
2942
autom4te.cache/traces.1
Normal file
File diff suppressed because it is too large
Load Diff
835
autom4te.cache/traces.2
Normal file
835
autom4te.cache/traces.2
Normal file
@@ -0,0 +1,835 @@
|
|||||||
|
m4trace:aclocal.m4:699: -1- AC_SUBST([am__quote])
|
||||||
|
m4trace:aclocal.m4:699: -1- AC_SUBST_TRACE([am__quote])
|
||||||
|
m4trace:aclocal.m4:699: -1- m4_pattern_allow([^am__quote$])
|
||||||
|
m4trace:aclocal.m4:1151: -1- m4_include([m4/ax_cblas.m4])
|
||||||
|
m4trace:aclocal.m4:1152: -1- m4_include([m4/libtool.m4])
|
||||||
|
m4trace:aclocal.m4:1153: -1- m4_include([m4/ltoptions.m4])
|
||||||
|
m4trace:aclocal.m4:1154: -1- m4_include([m4/ltsugar.m4])
|
||||||
|
m4trace:aclocal.m4:1155: -1- m4_include([m4/ltversion.m4])
|
||||||
|
m4trace:aclocal.m4:1156: -1- m4_include([m4/lt~obsolete.m4])
|
||||||
|
m4trace:configure.ac:6: -1- AC_INIT([libpostal], [1.1.1])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_forbid([^_?A[CHUM]_])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_forbid([_AC_])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^AS_FLAGS$])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_forbid([^_?m4_])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_forbid([^dnl$])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_forbid([^_?AS_])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([SHELL])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([SHELL])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^SHELL$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([PATH_SEPARATOR])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PATH_SEPARATOR$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([PACKAGE_NAME])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_NAME$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_VERSION$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([PACKAGE_STRING])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_STRING$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([PACKAGE_URL])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_URL$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([exec_prefix], [NONE])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([exec_prefix])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^exec_prefix$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([prefix], [NONE])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([prefix])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^prefix$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([program_transform_name], [s,x,x,])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([program_transform_name])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^program_transform_name$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([bindir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^bindir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([sbindir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^sbindir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([libexecdir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^libexecdir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([datarootdir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^datarootdir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([datadir], ['${datarootdir}'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([datadir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^datadir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([sysconfdir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^sysconfdir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([sharedstatedir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^sharedstatedir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([localstatedir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^localstatedir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([runstatedir], ['${localstatedir}/run'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([runstatedir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^runstatedir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([includedir], ['${prefix}/include'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([includedir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^includedir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([oldincludedir], ['/usr/include'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([oldincludedir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^oldincludedir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
|
||||||
|
['${datarootdir}/doc/${PACKAGE_TARNAME}'],
|
||||||
|
['${datarootdir}/doc/${PACKAGE}'])])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([docdir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^docdir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([infodir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^infodir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([htmldir], ['${docdir}'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([htmldir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^htmldir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([dvidir], ['${docdir}'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([dvidir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^dvidir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([pdfdir], ['${docdir}'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([pdfdir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^pdfdir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([psdir], ['${docdir}'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([psdir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^psdir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([libdir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^libdir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([localedir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^localedir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([mandir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^mandir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_NAME$])
|
||||||
|
m4trace:configure.ac:6: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
|
||||||
|
@%:@undef PACKAGE_NAME])
|
||||||
|
m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
|
||||||
|
m4trace:configure.ac:6: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
|
||||||
|
@%:@undef PACKAGE_TARNAME])
|
||||||
|
m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_VERSION$])
|
||||||
|
m4trace:configure.ac:6: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
|
||||||
|
@%:@undef PACKAGE_VERSION])
|
||||||
|
m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_STRING$])
|
||||||
|
m4trace:configure.ac:6: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
|
||||||
|
@%:@undef PACKAGE_STRING])
|
||||||
|
m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
|
||||||
|
m4trace:configure.ac:6: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
|
||||||
|
@%:@undef PACKAGE_BUGREPORT])
|
||||||
|
m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_URL$])
|
||||||
|
m4trace:configure.ac:6: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
|
||||||
|
@%:@undef PACKAGE_URL])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([DEFS])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([DEFS])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^DEFS$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([ECHO_C])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([ECHO_C])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^ECHO_C$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([ECHO_N])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([ECHO_N])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^ECHO_N$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([ECHO_T])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([ECHO_T])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^ECHO_T$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([LIBS])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([LIBS])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^LIBS$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([build_alias])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([build_alias])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^build_alias$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([host_alias])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([host_alias])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^host_alias$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([target_alias])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([target_alias])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^target_alias$])
|
||||||
|
m4trace:configure.ac:8: -1- AC_CONFIG_MACRO_DIR_TRACE([m4])
|
||||||
|
m4trace:configure.ac:10: -1- AM_INIT_AUTOMAKE([foreign subdir-objects])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
|
||||||
|
m4trace:configure.ac:10: -1- AM_AUTOMAKE_VERSION([1.16.5])
|
||||||
|
m4trace:configure.ac:10: -1- AC_REQUIRE_AUX_FILE([install-sh])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([INSTALL_PROGRAM])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([INSTALL_SCRIPT])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([INSTALL_DATA])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([INSTALL_DATA])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^INSTALL_DATA$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([am__isrc])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^am__isrc$])
|
||||||
|
m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([am__isrc])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([CYGPATH_W])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([CYGPATH_W])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^CYGPATH_W$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([PACKAGE])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^PACKAGE$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([VERSION])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^VERSION$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^PACKAGE$])
|
||||||
|
m4trace:configure.ac:10: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
|
||||||
|
@%:@undef PACKAGE])
|
||||||
|
m4trace:configure.ac:10: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^VERSION$])
|
||||||
|
m4trace:configure.ac:10: -1- AH_OUTPUT([VERSION], [/* Version number of package */
|
||||||
|
@%:@undef VERSION])
|
||||||
|
m4trace:configure.ac:10: -1- AC_REQUIRE_AUX_FILE([missing])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([ACLOCAL])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([ACLOCAL])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^ACLOCAL$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([AUTOCONF])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([AUTOCONF])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^AUTOCONF$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([AUTOMAKE])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([AUTOMAKE])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^AUTOMAKE$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([AUTOHEADER])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([AUTOHEADER])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^AUTOHEADER$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([MAKEINFO])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([MAKEINFO])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^MAKEINFO$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([install_sh])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([install_sh])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^install_sh$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([STRIP])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([STRIP])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^STRIP$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_REQUIRE_AUX_FILE([install-sh])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([MKDIR_P])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([MKDIR_P])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^MKDIR_P$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([mkdir_p])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^mkdir_p$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([AWK])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([AWK])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^AWK$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([SET_MAKE])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([SET_MAKE])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^SET_MAKE$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([am__leading_dot])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([am__leading_dot])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^am__leading_dot$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([AMTAR], ['$${TAR-tar}'])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([AMTAR])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^AMTAR$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([am__tar])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([am__tar])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^am__tar$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([am__untar])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([am__untar])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^am__untar$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([CTAGS])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([CTAGS])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^CTAGS$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([ETAGS])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([ETAGS])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^ETAGS$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([CSCOPE])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([CSCOPE])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^CSCOPE$])
|
||||||
|
m4trace:configure.ac:10: -1- AM_SILENT_RULES
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([AM_V])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([AM_V])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^AM_V$])
|
||||||
|
m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([AM_V])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([AM_DEFAULT_V])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([AM_DEFAULT_V])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^AM_DEFAULT_V$])
|
||||||
|
m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([AM_DEFAULT_VERBOSITY])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([AM_DEFAULT_VERBOSITY])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([AM_BACKSLASH])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([AM_BACKSLASH])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^AM_BACKSLASH$])
|
||||||
|
m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
|
||||||
|
m4trace:configure.ac:12: -1- LT_INIT([shared])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([LIBTOOL])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LIBTOOL])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^LIBTOOL$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_CANONICAL_HOST
|
||||||
|
m4trace:configure.ac:12: -1- AC_CANONICAL_BUILD
|
||||||
|
m4trace:configure.ac:12: -1- AC_REQUIRE_AUX_FILE([config.sub])
|
||||||
|
m4trace:configure.ac:12: -1- AC_REQUIRE_AUX_FILE([config.guess])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([build], [$ac_cv_build])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([build])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^build$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([build_cpu], [$[1]])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([build_cpu])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^build_cpu$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([build_vendor], [$[2]])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([build_vendor])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^build_vendor$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([build_os])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([build_os])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^build_os$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([host], [$ac_cv_host])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([host])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^host$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([host_cpu], [$[1]])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([host_cpu])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^host_cpu$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([host_vendor], [$[2]])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([host_vendor])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^host_vendor$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([host_os])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([host_os])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^host_os$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([CC])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([CFLAGS])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CFLAGS])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^CFLAGS$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([LDFLAGS])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LDFLAGS])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^LDFLAGS$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([LIBS])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LIBS])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^LIBS$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([CPPFLAGS])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([CC])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([CC])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([CC])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([CC])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([ac_ct_CC])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([ac_ct_CC])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^ac_ct_CC$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([CC])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([EXEEXT])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^EXEEXT$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([OBJEXT])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^OBJEXT$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_REQUIRE_AUX_FILE([compile])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([DEPDIR])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^DEPDIR$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([am__include])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__include])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__include$])
|
||||||
|
m4trace:configure.ac:12: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([AMDEP_TRUE])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AMDEP_TRUE])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^AMDEP_TRUE$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([AMDEP_FALSE])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AMDEP_FALSE])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^AMDEP_FALSE$])
|
||||||
|
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
|
||||||
|
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([AMDEPBACKSLASH])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
|
||||||
|
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([am__nodep])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__nodep])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__nodep$])
|
||||||
|
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__nodep])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CCDEPMODE])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^CCDEPMODE$])
|
||||||
|
m4trace:configure.ac:12: -1- AM_CONDITIONAL([am__fastdepCC], [
|
||||||
|
test "x$enable_dependency_tracking" != xno \
|
||||||
|
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([am__fastdepCC_TRUE])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([am__fastdepCC_FALSE])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
|
||||||
|
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
|
||||||
|
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([SED])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([SED])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^SED$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([GREP])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([GREP])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^GREP$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([EGREP])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([EGREP])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^EGREP$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([FGREP])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([FGREP])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^FGREP$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([GREP])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([GREP])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^GREP$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([LD])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LD])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^LD$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([DUMPBIN])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([DUMPBIN])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^DUMPBIN$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([ac_ct_DUMPBIN])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([DUMPBIN])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([DUMPBIN])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^DUMPBIN$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([NM])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([NM])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^NM$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([LN_S], [$as_ln_s])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LN_S])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^LN_S$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([FILECMD])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([FILECMD])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^FILECMD$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([OBJDUMP])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([OBJDUMP])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^OBJDUMP$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([OBJDUMP])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([OBJDUMP])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^OBJDUMP$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([DLLTOOL])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([DLLTOOL])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^DLLTOOL$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([DLLTOOL])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([DLLTOOL])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^DLLTOOL$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([AR])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AR])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^AR$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([ac_ct_AR])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([ac_ct_AR])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^ac_ct_AR$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([STRIP])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([STRIP])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^STRIP$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([RANLIB])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([RANLIB])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^RANLIB$])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([LT_OBJDIR])
|
||||||
|
m4trace:configure.ac:12: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^LT_OBJDIR$])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory where libtool stores uninstalled libraries. */
|
||||||
|
@%:@undef LT_OBJDIR])
|
||||||
|
m4trace:configure.ac:12: -1- LT_SUPPORTED_TAG([CC])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([MANIFEST_TOOL])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([MANIFEST_TOOL])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^MANIFEST_TOOL$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([DSYMUTIL])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([DSYMUTIL])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^DSYMUTIL$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([NMEDIT])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([NMEDIT])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^NMEDIT$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([LIPO])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LIPO])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^LIPO$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([OTOOL])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([OTOOL])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^OTOOL$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([OTOOL64])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([OTOOL64])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^OTOOL64$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([LT_SYS_LIBRARY_PATH])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LT_SYS_LIBRARY_PATH])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||||
|
@%:@undef HAVE_DLFCN_H])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_STDIO_H], [/* Define to 1 if you have the <stdio.h> header file. */
|
||||||
|
@%:@undef HAVE_STDIO_H])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
|
@%:@undef HAVE_STDLIB_H])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
|
||||||
|
@%:@undef HAVE_STRING_H])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
|
@%:@undef HAVE_INTTYPES_H])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
|
@%:@undef HAVE_STDINT_H])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
|
||||||
|
@%:@undef HAVE_STRINGS_H])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||||
|
@%:@undef HAVE_SYS_STAT_H])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
|
||||||
|
@%:@undef HAVE_SYS_TYPES_H])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
|
||||||
|
@%:@undef HAVE_UNISTD_H])
|
||||||
|
m4trace:configure.ac:12: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^STDC_HEADERS$])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if all of the C90 standard headers exist (not just the ones
|
||||||
|
required in a freestanding environment). This macro is provided for
|
||||||
|
backward compatibility; new code need not use it. */
|
||||||
|
@%:@undef STDC_HEADERS])
|
||||||
|
m4trace:configure.ac:12: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
|
||||||
|
m4trace:configure.ac:14: -1- AC_CONFIG_HEADERS([config.h])
|
||||||
|
m4trace:configure.ac:17: -1- _m4_warn([obsolete], [The macro `AC_PROG_CC_C99' is obsolete.
|
||||||
|
You should run autoupdate.], [./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
|
||||||
|
configure.ac:17: the top level])
|
||||||
|
m4trace:configure.ac:27: -1- _m4_warn([obsolete], [The macro `AC_HEADER_STDC' is obsolete.
|
||||||
|
You should run autoupdate.], [./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
|
||||||
|
configure.ac:27: the top level])
|
||||||
|
m4trace:configure.ac:27: -1- AC_SUBST([EGREP])
|
||||||
|
m4trace:configure.ac:27: -1- AC_SUBST_TRACE([EGREP])
|
||||||
|
m4trace:configure.ac:27: -1- m4_pattern_allow([^EGREP$])
|
||||||
|
m4trace:configure.ac:28: -1- _m4_warn([obsolete], [The macro `AC_HEADER_TIME' is obsolete.
|
||||||
|
You should run autoupdate.], [./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
|
||||||
|
configure.ac:28: the top level])
|
||||||
|
m4trace:configure.ac:28: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
|
||||||
|
@%:@undef HAVE_SYS_TIME_H])
|
||||||
|
m4trace:configure.ac:28: -1- AC_DEFINE_TRACE_LITERAL([TIME_WITH_SYS_TIME])
|
||||||
|
m4trace:configure.ac:28: -1- m4_pattern_allow([^TIME_WITH_SYS_TIME$])
|
||||||
|
m4trace:configure.ac:28: -1- AH_OUTPUT([TIME_WITH_SYS_TIME], [/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. This
|
||||||
|
macro is obsolete. */
|
||||||
|
@%:@undef TIME_WITH_SYS_TIME])
|
||||||
|
m4trace:configure.ac:29: -1- AH_OUTPUT([HAVE_DIRENT_H], [/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR\'.
|
||||||
|
*/
|
||||||
|
@%:@undef HAVE_DIRENT_H])
|
||||||
|
m4trace:configure.ac:29: -1- AH_OUTPUT([HAVE_SYS_NDIR_H], [/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR\'.
|
||||||
|
*/
|
||||||
|
@%:@undef HAVE_SYS_NDIR_H])
|
||||||
|
m4trace:configure.ac:29: -1- AH_OUTPUT([HAVE_SYS_DIR_H], [/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR\'.
|
||||||
|
*/
|
||||||
|
@%:@undef HAVE_SYS_DIR_H])
|
||||||
|
m4trace:configure.ac:29: -1- AH_OUTPUT([HAVE_NDIR_H], [/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR\'. */
|
||||||
|
@%:@undef HAVE_NDIR_H])
|
||||||
|
m4trace:configure.ac:30: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL])
|
||||||
|
m4trace:configure.ac:30: -1- m4_pattern_allow([^HAVE__BOOL$])
|
||||||
|
m4trace:configure.ac:30: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */
|
||||||
|
@%:@undef HAVE__BOOL])
|
||||||
|
m4trace:configure.ac:30: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H])
|
||||||
|
m4trace:configure.ac:30: -1- m4_pattern_allow([^HAVE_STDBOOL_H$])
|
||||||
|
m4trace:configure.ac:30: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if stdbool.h conforms to C99. */
|
||||||
|
@%:@undef HAVE_STDBOOL_H])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
|
||||||
|
@%:@undef HAVE_FCNTL_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCNTL_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_FCNTL_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_FLOAT_H], [/* Define to 1 if you have the <float.h> header file. */
|
||||||
|
@%:@undef HAVE_FLOAT_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FLOAT_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_FLOAT_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
|
@%:@undef HAVE_INTTYPES_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTTYPES_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_INTTYPES_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */
|
||||||
|
@%:@undef HAVE_LIMITS_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIMITS_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_LIMITS_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_LOCALE_H], [/* Define to 1 if you have the <locale.h> header file. */
|
||||||
|
@%:@undef HAVE_LOCALE_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LOCALE_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_LOCALE_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_MALLOC_H], [/* Define to 1 if you have the <malloc.h> header file. */
|
||||||
|
@%:@undef HAVE_MALLOC_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_MALLOC_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
|
||||||
|
@%:@undef HAVE_MEMORY_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MEMORY_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_MEMORY_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_STDDEF_H], [/* Define to 1 if you have the <stddef.h> header file. */
|
||||||
|
@%:@undef HAVE_STDDEF_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDDEF_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_STDDEF_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
|
@%:@undef HAVE_STDINT_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDINT_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_STDINT_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
|
@%:@undef HAVE_STDLIB_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
|
||||||
|
@%:@undef HAVE_STRING_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRING_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_STRING_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
|
||||||
|
@%:@undef HAVE_UNISTD_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNISTD_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_UNISTD_H$])
|
||||||
|
m4trace:configure.ac:34: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
|
||||||
|
calls it, or to nothing if \'inline\' is not supported under any name. */
|
||||||
|
#ifndef __cplusplus
|
||||||
|
#undef inline
|
||||||
|
#endif])
|
||||||
|
m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([int16_t])
|
||||||
|
m4trace:configure.ac:35: -1- m4_pattern_allow([^int16_t$])
|
||||||
|
m4trace:configure.ac:35: -1- AH_OUTPUT([int16_t], [/* Define to the type of a signed integer type of width exactly 16 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
@%:@undef int16_t])
|
||||||
|
m4trace:configure.ac:36: -1- AC_DEFINE_TRACE_LITERAL([int32_t])
|
||||||
|
m4trace:configure.ac:36: -1- m4_pattern_allow([^int32_t$])
|
||||||
|
m4trace:configure.ac:36: -1- AH_OUTPUT([int32_t], [/* Define to the type of a signed integer type of width exactly 32 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
@%:@undef int32_t])
|
||||||
|
m4trace:configure.ac:37: -1- AC_DEFINE_TRACE_LITERAL([int64_t])
|
||||||
|
m4trace:configure.ac:37: -1- m4_pattern_allow([^int64_t$])
|
||||||
|
m4trace:configure.ac:37: -1- AH_OUTPUT([int64_t], [/* Define to the type of a signed integer type of width exactly 64 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
@%:@undef int64_t])
|
||||||
|
m4trace:configure.ac:38: -1- AC_DEFINE_TRACE_LITERAL([int8_t])
|
||||||
|
m4trace:configure.ac:38: -1- m4_pattern_allow([^int8_t$])
|
||||||
|
m4trace:configure.ac:38: -1- AH_OUTPUT([int8_t], [/* Define to the type of a signed integer type of width exactly 8 bits if such
|
||||||
|
a type exists and the standard includes do not define it. */
|
||||||
|
@%:@undef int8_t])
|
||||||
|
m4trace:configure.ac:39: -1- AC_DEFINE_TRACE_LITERAL([off_t])
|
||||||
|
m4trace:configure.ac:39: -1- m4_pattern_allow([^off_t$])
|
||||||
|
m4trace:configure.ac:39: -1- AH_OUTPUT([off_t], [/* Define to `long int\' if <sys/types.h> does not define. */
|
||||||
|
@%:@undef off_t])
|
||||||
|
m4trace:configure.ac:40: -1- AC_DEFINE_TRACE_LITERAL([size_t])
|
||||||
|
m4trace:configure.ac:40: -1- m4_pattern_allow([^size_t$])
|
||||||
|
m4trace:configure.ac:40: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
|
||||||
|
@%:@undef size_t])
|
||||||
|
m4trace:configure.ac:41: -1- AC_DEFINE_TRACE_LITERAL([ssize_t])
|
||||||
|
m4trace:configure.ac:41: -1- m4_pattern_allow([^ssize_t$])
|
||||||
|
m4trace:configure.ac:41: -1- AH_OUTPUT([ssize_t], [/* Define to `int\' if <sys/types.h> does not define. */
|
||||||
|
@%:@undef ssize_t])
|
||||||
|
m4trace:configure.ac:42: -1- AC_DEFINE_TRACE_LITERAL([uint16_t])
|
||||||
|
m4trace:configure.ac:42: -1- m4_pattern_allow([^uint16_t$])
|
||||||
|
m4trace:configure.ac:42: -1- AH_OUTPUT([uint16_t], [/* Define to the type of an unsigned integer type of width exactly 16 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
@%:@undef uint16_t])
|
||||||
|
m4trace:configure.ac:43: -1- AC_DEFINE_TRACE_LITERAL([_UINT32_T])
|
||||||
|
m4trace:configure.ac:43: -1- m4_pattern_allow([^_UINT32_T$])
|
||||||
|
m4trace:configure.ac:43: -1- AH_OUTPUT([_UINT32_T], [/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
|
||||||
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
||||||
|
@%:@define below would cause a syntax error. */
|
||||||
|
@%:@undef _UINT32_T])
|
||||||
|
m4trace:configure.ac:43: -1- AC_DEFINE_TRACE_LITERAL([uint32_t])
|
||||||
|
m4trace:configure.ac:43: -1- m4_pattern_allow([^uint32_t$])
|
||||||
|
m4trace:configure.ac:43: -1- AH_OUTPUT([uint32_t], [/* Define to the type of an unsigned integer type of width exactly 32 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
@%:@undef uint32_t])
|
||||||
|
m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([_UINT64_T])
|
||||||
|
m4trace:configure.ac:44: -1- m4_pattern_allow([^_UINT64_T$])
|
||||||
|
m4trace:configure.ac:44: -1- AH_OUTPUT([_UINT64_T], [/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
|
||||||
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
||||||
|
@%:@define below would cause a syntax error. */
|
||||||
|
@%:@undef _UINT64_T])
|
||||||
|
m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([uint64_t])
|
||||||
|
m4trace:configure.ac:44: -1- m4_pattern_allow([^uint64_t$])
|
||||||
|
m4trace:configure.ac:44: -1- AH_OUTPUT([uint64_t], [/* Define to the type of an unsigned integer type of width exactly 64 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
@%:@undef uint64_t])
|
||||||
|
m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([_UINT8_T])
|
||||||
|
m4trace:configure.ac:45: -1- m4_pattern_allow([^_UINT8_T$])
|
||||||
|
m4trace:configure.ac:45: -1- AH_OUTPUT([_UINT8_T], [/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
|
||||||
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
||||||
|
@%:@define below would cause a syntax error. */
|
||||||
|
@%:@undef _UINT8_T])
|
||||||
|
m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([uint8_t])
|
||||||
|
m4trace:configure.ac:45: -1- m4_pattern_allow([^uint8_t$])
|
||||||
|
m4trace:configure.ac:45: -1- AH_OUTPUT([uint8_t], [/* Define to the type of an unsigned integer type of width exactly 8 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
@%:@undef uint8_t])
|
||||||
|
m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PTRDIFF_T])
|
||||||
|
m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_PTRDIFF_T$])
|
||||||
|
m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_PTRDIFF_T], [/* Define to 1 if the system has the type `ptrdiff_t\'. */
|
||||||
|
@%:@undef HAVE_PTRDIFF_T])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_MALLOC], [/* Define to 1 if you have the `malloc\' function. */
|
||||||
|
@%:@undef HAVE_MALLOC])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_MALLOC$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_REALLOC], [/* Define to 1 if you have the `realloc\' function. */
|
||||||
|
@%:@undef HAVE_REALLOC])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_REALLOC$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_DRAND48], [/* Define to 1 if you have the `drand48\' function. */
|
||||||
|
@%:@undef HAVE_DRAND48])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DRAND48])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_DRAND48$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_GETCWD], [/* Define to 1 if you have the `getcwd\' function. */
|
||||||
|
@%:@undef HAVE_GETCWD])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETCWD])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_GETCWD$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define to 1 if you have the `gettimeofday\' function. */
|
||||||
|
@%:@undef HAVE_GETTIMEOFDAY])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETTIMEOFDAY])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_GETTIMEOFDAY$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define to 1 if you have the `memmove\' function. */
|
||||||
|
@%:@undef HAVE_MEMMOVE])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MEMMOVE])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_MEMMOVE$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */
|
||||||
|
@%:@undef HAVE_MEMSET])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MEMSET])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_MEMSET$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_REGCOMP], [/* Define to 1 if you have the `regcomp\' function. */
|
||||||
|
@%:@undef HAVE_REGCOMP])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REGCOMP])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_REGCOMP$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_SETLOCALE], [/* Define to 1 if you have the `setlocale\' function. */
|
||||||
|
@%:@undef HAVE_SETLOCALE])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETLOCALE])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_SETLOCALE$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_SQRT], [/* Define to 1 if you have the `sqrt\' function. */
|
||||||
|
@%:@undef HAVE_SQRT])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SQRT])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_SQRT$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the `strdup\' function. */
|
||||||
|
@%:@undef HAVE_STRDUP])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRDUP])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_STRDUP$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_STRNDUP], [/* Define to 1 if you have the `strndup\' function. */
|
||||||
|
@%:@undef HAVE_STRNDUP])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRNDUP])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_STRNDUP$])
|
||||||
|
m4trace:configure.ac:51: -1- AC_SUBST([LIBPOSTAL_MAJOR_VERSION], [$major])
|
||||||
|
m4trace:configure.ac:51: -1- AC_SUBST_TRACE([LIBPOSTAL_MAJOR_VERSION])
|
||||||
|
m4trace:configure.ac:51: -1- m4_pattern_allow([^LIBPOSTAL_MAJOR_VERSION$])
|
||||||
|
m4trace:configure.ac:51: -1- AC_SUBST([LIBPOSTAL_MINOR_VERSION], [$minor])
|
||||||
|
m4trace:configure.ac:51: -1- AC_SUBST_TRACE([LIBPOSTAL_MINOR_VERSION])
|
||||||
|
m4trace:configure.ac:51: -1- m4_pattern_allow([^LIBPOSTAL_MINOR_VERSION$])
|
||||||
|
m4trace:configure.ac:51: -1- AC_SUBST([LIBPOSTAL_PATCH_VERSION], [$patch])
|
||||||
|
m4trace:configure.ac:51: -1- AC_SUBST_TRACE([LIBPOSTAL_PATCH_VERSION])
|
||||||
|
m4trace:configure.ac:51: -1- m4_pattern_allow([^LIBPOSTAL_PATCH_VERSION$])
|
||||||
|
m4trace:configure.ac:51: -1- AC_DEFINE_TRACE_LITERAL([LIBPOSTAL_MAJOR_VERSION])
|
||||||
|
m4trace:configure.ac:51: -1- m4_pattern_allow([^LIBPOSTAL_MAJOR_VERSION$])
|
||||||
|
m4trace:configure.ac:51: -1- AH_OUTPUT([LIBPOSTAL_MAJOR_VERSION], [/* Major version */
|
||||||
|
@%:@undef LIBPOSTAL_MAJOR_VERSION])
|
||||||
|
m4trace:configure.ac:51: -1- AC_DEFINE_TRACE_LITERAL([LIBPOSTAL_MINOR_VERSION])
|
||||||
|
m4trace:configure.ac:51: -1- m4_pattern_allow([^LIBPOSTAL_MINOR_VERSION$])
|
||||||
|
m4trace:configure.ac:51: -1- AH_OUTPUT([LIBPOSTAL_MINOR_VERSION], [/* Minor version */
|
||||||
|
@%:@undef LIBPOSTAL_MINOR_VERSION])
|
||||||
|
m4trace:configure.ac:51: -1- AC_DEFINE_TRACE_LITERAL([LIBPOSTAL_PATCH_VERSION])
|
||||||
|
m4trace:configure.ac:51: -1- m4_pattern_allow([^LIBPOSTAL_PATCH_VERSION$])
|
||||||
|
m4trace:configure.ac:51: -1- AH_OUTPUT([LIBPOSTAL_PATCH_VERSION], [/* Patch version */
|
||||||
|
@%:@undef LIBPOSTAL_PATCH_VERSION])
|
||||||
|
m4trace:configure.ac:73: -1- AC_SUBST([LIBPOSTAL_DATA_DIR_VERSION_STRING], [v1])
|
||||||
|
m4trace:configure.ac:73: -1- AC_SUBST_TRACE([LIBPOSTAL_DATA_DIR_VERSION_STRING])
|
||||||
|
m4trace:configure.ac:73: -1- m4_pattern_allow([^LIBPOSTAL_DATA_DIR_VERSION_STRING$])
|
||||||
|
m4trace:configure.ac:79: -1- AC_SUBST([LIBPOSTAL_DATA_FILE_LATEST_VERSION], [$DATA_FILE_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([LIBPOSTAL_DATA_FILE_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:79: -1- m4_pattern_allow([^LIBPOSTAL_DATA_FILE_LATEST_VERSION$])
|
||||||
|
m4trace:configure.ac:80: -1- AC_SUBST([LIBPOSTAL_PARSER_MODEL_LATEST_VERSION], [$PARSER_MODEL_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:80: -1- AC_SUBST_TRACE([LIBPOSTAL_PARSER_MODEL_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:80: -1- m4_pattern_allow([^LIBPOSTAL_PARSER_MODEL_LATEST_VERSION$])
|
||||||
|
m4trace:configure.ac:81: -1- AC_SUBST([LIBPOSTAL_LANG_CLASS_MODEL_LATEST_VERSION], [$LANG_CLASS_MODEL_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:81: -1- AC_SUBST_TRACE([LIBPOSTAL_LANG_CLASS_MODEL_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:81: -1- m4_pattern_allow([^LIBPOSTAL_LANG_CLASS_MODEL_LATEST_VERSION$])
|
||||||
|
m4trace:configure.ac:84: -1- AC_SUBST([LIBPOSTAL_SENZING_DATA_DIR_VERSION_STRING], [v1])
|
||||||
|
m4trace:configure.ac:84: -1- AC_SUBST_TRACE([LIBPOSTAL_SENZING_DATA_DIR_VERSION_STRING])
|
||||||
|
m4trace:configure.ac:84: -1- m4_pattern_allow([^LIBPOSTAL_SENZING_DATA_DIR_VERSION_STRING$])
|
||||||
|
m4trace:configure.ac:90: -1- AC_SUBST([LIBPOSTAL_SENZING_DATA_FILE_LATEST_VERSION], [$SENZING_DATA_FILE_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:90: -1- AC_SUBST_TRACE([LIBPOSTAL_SENZING_DATA_FILE_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:90: -1- m4_pattern_allow([^LIBPOSTAL_SENZING_DATA_FILE_LATEST_VERSION$])
|
||||||
|
m4trace:configure.ac:91: -1- AC_SUBST([LIBPOSTAL_SENZING_PARSER_MODEL_LATEST_VERSION], [$SENZING_PARSER_MODEL_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:91: -1- AC_SUBST_TRACE([LIBPOSTAL_SENZING_PARSER_MODEL_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:91: -1- m4_pattern_allow([^LIBPOSTAL_SENZING_PARSER_MODEL_LATEST_VERSION$])
|
||||||
|
m4trace:configure.ac:92: -1- AC_SUBST([LIBPOSTAL_SENZING_LANG_CLASS_MODEL_LATEST_VERSION], [$SENZING_LANG_CLASS_MODEL_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:92: -1- AC_SUBST_TRACE([LIBPOSTAL_SENZING_LANG_CLASS_MODEL_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:92: -1- m4_pattern_allow([^LIBPOSTAL_SENZING_LANG_CLASS_MODEL_LATEST_VERSION$])
|
||||||
|
m4trace:configure.ac:94: -1- AC_CONFIG_FILES([Makefile
|
||||||
|
libpostal.pc
|
||||||
|
src/Makefile
|
||||||
|
src/libpostal_data
|
||||||
|
test/Makefile], [chmod +x src/libpostal_data])
|
||||||
|
m4trace:configure.ac:100: -1- AC_SUBST([FOUND_SHUF])
|
||||||
|
m4trace:configure.ac:100: -1- AC_SUBST_TRACE([FOUND_SHUF])
|
||||||
|
m4trace:configure.ac:100: -1- m4_pattern_allow([^FOUND_SHUF$])
|
||||||
|
m4trace:configure.ac:101: -1- AC_SUBST([FOUND_GSHUF])
|
||||||
|
m4trace:configure.ac:101: -1- AC_SUBST_TRACE([FOUND_GSHUF])
|
||||||
|
m4trace:configure.ac:101: -1- m4_pattern_allow([^FOUND_GSHUF$])
|
||||||
|
m4trace:configure.ac:103: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SHUF])
|
||||||
|
m4trace:configure.ac:103: -1- m4_pattern_allow([^HAVE_SHUF$])
|
||||||
|
m4trace:configure.ac:103: -1- AH_OUTPUT([HAVE_SHUF], [/* shuf available */
|
||||||
|
@%:@undef HAVE_SHUF])
|
||||||
|
m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GSHUF])
|
||||||
|
m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GSHUF$])
|
||||||
|
m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_GSHUF], [/* gshuf available */
|
||||||
|
@%:@undef HAVE_GSHUF])
|
||||||
|
m4trace:configure.ac:121: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
|
||||||
|
You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
|
||||||
|
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
|
||||||
|
m4/ax_cblas.m4:67: AX_CBLAS is expanded from...
|
||||||
|
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
|
||||||
|
./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from...
|
||||||
|
./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
|
||||||
|
configure.ac:121: the top level])
|
||||||
|
m4trace:configure.ac:121: -1- AC_SUBST([CBLAS_LIBS])
|
||||||
|
m4trace:configure.ac:121: -1- AC_SUBST_TRACE([CBLAS_LIBS])
|
||||||
|
m4trace:configure.ac:121: -1- m4_pattern_allow([^CBLAS_LIBS$])
|
||||||
|
m4trace:configure.ac:121: -2- AC_DEFINE_TRACE_LITERAL([HAVE_CBLAS])
|
||||||
|
m4trace:configure.ac:121: -2- m4_pattern_allow([^HAVE_CBLAS$])
|
||||||
|
m4trace:configure.ac:121: -2- AH_OUTPUT([HAVE_CBLAS], [/* Define if you have a CBLAS library. */
|
||||||
|
@%:@undef HAVE_CBLAS])
|
||||||
|
m4trace:configure.ac:131: -1- AC_SUBST([MODEL])
|
||||||
|
m4trace:configure.ac:131: -1- AC_SUBST_TRACE([MODEL])
|
||||||
|
m4trace:configure.ac:131: -1- m4_pattern_allow([^MODEL$])
|
||||||
|
m4trace:configure.ac:135: -1- AM_CONDITIONAL([DOWNLOAD_DATA], [test "x$DOWNLOAD_DATA" = "xtrue"])
|
||||||
|
m4trace:configure.ac:135: -1- AC_SUBST([DOWNLOAD_DATA_TRUE])
|
||||||
|
m4trace:configure.ac:135: -1- AC_SUBST_TRACE([DOWNLOAD_DATA_TRUE])
|
||||||
|
m4trace:configure.ac:135: -1- m4_pattern_allow([^DOWNLOAD_DATA_TRUE$])
|
||||||
|
m4trace:configure.ac:135: -1- AC_SUBST([DOWNLOAD_DATA_FALSE])
|
||||||
|
m4trace:configure.ac:135: -1- AC_SUBST_TRACE([DOWNLOAD_DATA_FALSE])
|
||||||
|
m4trace:configure.ac:135: -1- m4_pattern_allow([^DOWNLOAD_DATA_FALSE$])
|
||||||
|
m4trace:configure.ac:135: -1- _AM_SUBST_NOTMAKE([DOWNLOAD_DATA_TRUE])
|
||||||
|
m4trace:configure.ac:135: -1- _AM_SUBST_NOTMAKE([DOWNLOAD_DATA_FALSE])
|
||||||
|
m4trace:configure.ac:149: -1- AC_SUBST([CFLAGS_SCANNER_EXTRA])
|
||||||
|
m4trace:configure.ac:149: -1- AC_SUBST_TRACE([CFLAGS_SCANNER_EXTRA])
|
||||||
|
m4trace:configure.ac:149: -1- m4_pattern_allow([^CFLAGS_SCANNER_EXTRA$])
|
||||||
|
m4trace:configure.ac:153: -1- AC_SUBST([LIBPOSTAL_SO_VERSION])
|
||||||
|
m4trace:configure.ac:153: -1- AC_SUBST_TRACE([LIBPOSTAL_SO_VERSION])
|
||||||
|
m4trace:configure.ac:153: -1- m4_pattern_allow([^LIBPOSTAL_SO_VERSION$])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
|
||||||
|
m4trace:configure.ac:155: -1- m4_pattern_allow([^LIB@&t@OBJS$])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([LTLIBOBJS])
|
||||||
|
m4trace:configure.ac:155: -1- m4_pattern_allow([^LTLIBOBJS$])
|
||||||
|
m4trace:configure.ac:155: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST([am__EXEEXT_TRUE])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
|
||||||
|
m4trace:configure.ac:155: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST([am__EXEEXT_FALSE])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
|
||||||
|
m4trace:configure.ac:155: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
|
||||||
|
m4trace:configure.ac:155: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
|
||||||
|
m4trace:configure.ac:155: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([top_builddir])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([top_build_prefix])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([srcdir])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([abs_srcdir])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([top_srcdir])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([abs_top_srcdir])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([builddir])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([abs_builddir])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([abs_top_builddir])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([INSTALL])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([MKDIR_P])
|
||||||
|
m4trace:configure.ac:155: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
|
||||||
2942
autom4te.cache/traces.3
Normal file
2942
autom4te.cache/traces.3
Normal file
File diff suppressed because it is too large
Load Diff
835
autom4te.cache/traces.4
Normal file
835
autom4te.cache/traces.4
Normal file
@@ -0,0 +1,835 @@
|
|||||||
|
m4trace:aclocal.m4:699: -1- AC_SUBST([am__quote])
|
||||||
|
m4trace:aclocal.m4:699: -1- AC_SUBST_TRACE([am__quote])
|
||||||
|
m4trace:aclocal.m4:699: -1- m4_pattern_allow([^am__quote$])
|
||||||
|
m4trace:aclocal.m4:1151: -1- m4_include([m4/ax_cblas.m4])
|
||||||
|
m4trace:aclocal.m4:1152: -1- m4_include([m4/libtool.m4])
|
||||||
|
m4trace:aclocal.m4:1153: -1- m4_include([m4/ltoptions.m4])
|
||||||
|
m4trace:aclocal.m4:1154: -1- m4_include([m4/ltsugar.m4])
|
||||||
|
m4trace:aclocal.m4:1155: -1- m4_include([m4/ltversion.m4])
|
||||||
|
m4trace:aclocal.m4:1156: -1- m4_include([m4/lt~obsolete.m4])
|
||||||
|
m4trace:configure.ac:6: -1- AC_INIT([libpostal], [1.1.1])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_forbid([^_?A[CHUM]_])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_forbid([_AC_])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^AS_FLAGS$])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_forbid([^_?m4_])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_forbid([^dnl$])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_forbid([^_?AS_])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([SHELL])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([SHELL])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^SHELL$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([PATH_SEPARATOR])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PATH_SEPARATOR$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([PACKAGE_NAME])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_NAME$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_VERSION$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([PACKAGE_STRING])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_STRING$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([PACKAGE_URL])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_URL$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([exec_prefix], [NONE])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([exec_prefix])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^exec_prefix$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([prefix], [NONE])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([prefix])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^prefix$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([program_transform_name], [s,x,x,])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([program_transform_name])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^program_transform_name$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([bindir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^bindir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([sbindir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^sbindir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([libexecdir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^libexecdir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([datarootdir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^datarootdir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([datadir], ['${datarootdir}'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([datadir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^datadir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([sysconfdir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^sysconfdir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([sharedstatedir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^sharedstatedir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([localstatedir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^localstatedir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([runstatedir], ['${localstatedir}/run'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([runstatedir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^runstatedir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([includedir], ['${prefix}/include'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([includedir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^includedir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([oldincludedir], ['/usr/include'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([oldincludedir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^oldincludedir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
|
||||||
|
['${datarootdir}/doc/${PACKAGE_TARNAME}'],
|
||||||
|
['${datarootdir}/doc/${PACKAGE}'])])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([docdir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^docdir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([infodir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^infodir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([htmldir], ['${docdir}'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([htmldir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^htmldir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([dvidir], ['${docdir}'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([dvidir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^dvidir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([pdfdir], ['${docdir}'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([pdfdir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^pdfdir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([psdir], ['${docdir}'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([psdir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^psdir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([libdir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^libdir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([localedir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^localedir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([mandir])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^mandir$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_NAME$])
|
||||||
|
m4trace:configure.ac:6: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
|
||||||
|
@%:@undef PACKAGE_NAME])
|
||||||
|
m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
|
||||||
|
m4trace:configure.ac:6: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
|
||||||
|
@%:@undef PACKAGE_TARNAME])
|
||||||
|
m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_VERSION$])
|
||||||
|
m4trace:configure.ac:6: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
|
||||||
|
@%:@undef PACKAGE_VERSION])
|
||||||
|
m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_STRING$])
|
||||||
|
m4trace:configure.ac:6: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
|
||||||
|
@%:@undef PACKAGE_STRING])
|
||||||
|
m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
|
||||||
|
m4trace:configure.ac:6: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
|
||||||
|
@%:@undef PACKAGE_BUGREPORT])
|
||||||
|
m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_URL$])
|
||||||
|
m4trace:configure.ac:6: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
|
||||||
|
@%:@undef PACKAGE_URL])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([DEFS])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([DEFS])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^DEFS$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([ECHO_C])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([ECHO_C])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^ECHO_C$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([ECHO_N])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([ECHO_N])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^ECHO_N$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([ECHO_T])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([ECHO_T])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^ECHO_T$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([LIBS])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([LIBS])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^LIBS$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([build_alias])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([build_alias])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^build_alias$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([host_alias])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([host_alias])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^host_alias$])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST([target_alias])
|
||||||
|
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([target_alias])
|
||||||
|
m4trace:configure.ac:6: -1- m4_pattern_allow([^target_alias$])
|
||||||
|
m4trace:configure.ac:8: -1- AC_CONFIG_MACRO_DIR_TRACE([m4])
|
||||||
|
m4trace:configure.ac:10: -1- AM_INIT_AUTOMAKE([foreign subdir-objects])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
|
||||||
|
m4trace:configure.ac:10: -1- AM_AUTOMAKE_VERSION([1.16.5])
|
||||||
|
m4trace:configure.ac:10: -1- AC_REQUIRE_AUX_FILE([install-sh])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([INSTALL_PROGRAM])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([INSTALL_SCRIPT])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([INSTALL_DATA])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([INSTALL_DATA])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^INSTALL_DATA$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([am__isrc])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^am__isrc$])
|
||||||
|
m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([am__isrc])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([CYGPATH_W])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([CYGPATH_W])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^CYGPATH_W$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([PACKAGE])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^PACKAGE$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([VERSION])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^VERSION$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^PACKAGE$])
|
||||||
|
m4trace:configure.ac:10: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
|
||||||
|
@%:@undef PACKAGE])
|
||||||
|
m4trace:configure.ac:10: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^VERSION$])
|
||||||
|
m4trace:configure.ac:10: -1- AH_OUTPUT([VERSION], [/* Version number of package */
|
||||||
|
@%:@undef VERSION])
|
||||||
|
m4trace:configure.ac:10: -1- AC_REQUIRE_AUX_FILE([missing])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([ACLOCAL])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([ACLOCAL])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^ACLOCAL$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([AUTOCONF])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([AUTOCONF])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^AUTOCONF$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([AUTOMAKE])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([AUTOMAKE])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^AUTOMAKE$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([AUTOHEADER])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([AUTOHEADER])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^AUTOHEADER$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([MAKEINFO])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([MAKEINFO])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^MAKEINFO$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([install_sh])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([install_sh])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^install_sh$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([STRIP])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([STRIP])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^STRIP$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_REQUIRE_AUX_FILE([install-sh])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([MKDIR_P])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([MKDIR_P])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^MKDIR_P$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([mkdir_p])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^mkdir_p$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([AWK])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([AWK])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^AWK$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([SET_MAKE])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([SET_MAKE])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^SET_MAKE$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([am__leading_dot])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([am__leading_dot])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^am__leading_dot$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([AMTAR], ['$${TAR-tar}'])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([AMTAR])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^AMTAR$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([am__tar])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([am__tar])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^am__tar$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([am__untar])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([am__untar])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^am__untar$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([CTAGS])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([CTAGS])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^CTAGS$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([ETAGS])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([ETAGS])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^ETAGS$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([CSCOPE])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([CSCOPE])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^CSCOPE$])
|
||||||
|
m4trace:configure.ac:10: -1- AM_SILENT_RULES
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([AM_V])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([AM_V])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^AM_V$])
|
||||||
|
m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([AM_V])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([AM_DEFAULT_V])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([AM_DEFAULT_V])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^AM_DEFAULT_V$])
|
||||||
|
m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([AM_DEFAULT_VERBOSITY])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([AM_DEFAULT_VERBOSITY])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST([AM_BACKSLASH])
|
||||||
|
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([AM_BACKSLASH])
|
||||||
|
m4trace:configure.ac:10: -1- m4_pattern_allow([^AM_BACKSLASH$])
|
||||||
|
m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
|
||||||
|
m4trace:configure.ac:12: -1- LT_INIT([shared])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([LIBTOOL])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LIBTOOL])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^LIBTOOL$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_CANONICAL_HOST
|
||||||
|
m4trace:configure.ac:12: -1- AC_CANONICAL_BUILD
|
||||||
|
m4trace:configure.ac:12: -1- AC_REQUIRE_AUX_FILE([config.sub])
|
||||||
|
m4trace:configure.ac:12: -1- AC_REQUIRE_AUX_FILE([config.guess])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([build], [$ac_cv_build])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([build])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^build$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([build_cpu], [$[1]])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([build_cpu])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^build_cpu$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([build_vendor], [$[2]])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([build_vendor])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^build_vendor$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([build_os])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([build_os])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^build_os$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([host], [$ac_cv_host])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([host])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^host$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([host_cpu], [$[1]])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([host_cpu])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^host_cpu$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([host_vendor], [$[2]])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([host_vendor])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^host_vendor$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([host_os])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([host_os])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^host_os$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([CC])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([CFLAGS])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CFLAGS])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^CFLAGS$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([LDFLAGS])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LDFLAGS])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^LDFLAGS$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([LIBS])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LIBS])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^LIBS$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([CPPFLAGS])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([CC])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([CC])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([CC])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([CC])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([ac_ct_CC])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([ac_ct_CC])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^ac_ct_CC$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([CC])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([EXEEXT])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^EXEEXT$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([OBJEXT])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^OBJEXT$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_REQUIRE_AUX_FILE([compile])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([DEPDIR])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^DEPDIR$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([am__include])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__include])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__include$])
|
||||||
|
m4trace:configure.ac:12: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([AMDEP_TRUE])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AMDEP_TRUE])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^AMDEP_TRUE$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([AMDEP_FALSE])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AMDEP_FALSE])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^AMDEP_FALSE$])
|
||||||
|
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
|
||||||
|
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([AMDEPBACKSLASH])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
|
||||||
|
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([am__nodep])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__nodep])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__nodep$])
|
||||||
|
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__nodep])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CCDEPMODE])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^CCDEPMODE$])
|
||||||
|
m4trace:configure.ac:12: -1- AM_CONDITIONAL([am__fastdepCC], [
|
||||||
|
test "x$enable_dependency_tracking" != xno \
|
||||||
|
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([am__fastdepCC_TRUE])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([am__fastdepCC_FALSE])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
|
||||||
|
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
|
||||||
|
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([SED])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([SED])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^SED$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([GREP])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([GREP])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^GREP$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([EGREP])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([EGREP])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^EGREP$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([FGREP])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([FGREP])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^FGREP$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([GREP])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([GREP])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^GREP$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([LD])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LD])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^LD$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([DUMPBIN])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([DUMPBIN])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^DUMPBIN$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([ac_ct_DUMPBIN])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([DUMPBIN])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([DUMPBIN])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^DUMPBIN$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([NM])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([NM])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^NM$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([LN_S], [$as_ln_s])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LN_S])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^LN_S$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([FILECMD])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([FILECMD])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^FILECMD$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([OBJDUMP])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([OBJDUMP])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^OBJDUMP$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([OBJDUMP])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([OBJDUMP])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^OBJDUMP$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([DLLTOOL])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([DLLTOOL])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^DLLTOOL$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([DLLTOOL])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([DLLTOOL])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^DLLTOOL$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([AR])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AR])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^AR$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([ac_ct_AR])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([ac_ct_AR])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^ac_ct_AR$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([STRIP])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([STRIP])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^STRIP$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([RANLIB])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([RANLIB])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^RANLIB$])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([LT_OBJDIR])
|
||||||
|
m4trace:configure.ac:12: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^LT_OBJDIR$])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory where libtool stores uninstalled libraries. */
|
||||||
|
@%:@undef LT_OBJDIR])
|
||||||
|
m4trace:configure.ac:12: -1- LT_SUPPORTED_TAG([CC])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([MANIFEST_TOOL])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([MANIFEST_TOOL])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^MANIFEST_TOOL$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([DSYMUTIL])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([DSYMUTIL])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^DSYMUTIL$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([NMEDIT])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([NMEDIT])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^NMEDIT$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([LIPO])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LIPO])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^LIPO$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([OTOOL])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([OTOOL])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^OTOOL$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([OTOOL64])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([OTOOL64])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^OTOOL64$])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST([LT_SYS_LIBRARY_PATH])
|
||||||
|
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LT_SYS_LIBRARY_PATH])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||||
|
@%:@undef HAVE_DLFCN_H])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_STDIO_H], [/* Define to 1 if you have the <stdio.h> header file. */
|
||||||
|
@%:@undef HAVE_STDIO_H])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
|
@%:@undef HAVE_STDLIB_H])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
|
||||||
|
@%:@undef HAVE_STRING_H])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
|
@%:@undef HAVE_INTTYPES_H])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
|
@%:@undef HAVE_STDINT_H])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
|
||||||
|
@%:@undef HAVE_STRINGS_H])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||||
|
@%:@undef HAVE_SYS_STAT_H])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
|
||||||
|
@%:@undef HAVE_SYS_TYPES_H])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
|
||||||
|
@%:@undef HAVE_UNISTD_H])
|
||||||
|
m4trace:configure.ac:12: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^STDC_HEADERS$])
|
||||||
|
m4trace:configure.ac:12: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if all of the C90 standard headers exist (not just the ones
|
||||||
|
required in a freestanding environment). This macro is provided for
|
||||||
|
backward compatibility; new code need not use it. */
|
||||||
|
@%:@undef STDC_HEADERS])
|
||||||
|
m4trace:configure.ac:12: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H])
|
||||||
|
m4trace:configure.ac:12: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
|
||||||
|
m4trace:configure.ac:14: -1- AC_CONFIG_HEADERS([config.h])
|
||||||
|
m4trace:configure.ac:17: -1- _m4_warn([obsolete], [The macro `AC_PROG_CC_C99' is obsolete.
|
||||||
|
You should run autoupdate.], [./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
|
||||||
|
configure.ac:17: the top level])
|
||||||
|
m4trace:configure.ac:27: -1- _m4_warn([obsolete], [The macro `AC_HEADER_STDC' is obsolete.
|
||||||
|
You should run autoupdate.], [./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
|
||||||
|
configure.ac:27: the top level])
|
||||||
|
m4trace:configure.ac:27: -1- AC_SUBST([EGREP])
|
||||||
|
m4trace:configure.ac:27: -1- AC_SUBST_TRACE([EGREP])
|
||||||
|
m4trace:configure.ac:27: -1- m4_pattern_allow([^EGREP$])
|
||||||
|
m4trace:configure.ac:28: -1- _m4_warn([obsolete], [The macro `AC_HEADER_TIME' is obsolete.
|
||||||
|
You should run autoupdate.], [./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
|
||||||
|
configure.ac:28: the top level])
|
||||||
|
m4trace:configure.ac:28: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
|
||||||
|
@%:@undef HAVE_SYS_TIME_H])
|
||||||
|
m4trace:configure.ac:28: -1- AC_DEFINE_TRACE_LITERAL([TIME_WITH_SYS_TIME])
|
||||||
|
m4trace:configure.ac:28: -1- m4_pattern_allow([^TIME_WITH_SYS_TIME$])
|
||||||
|
m4trace:configure.ac:28: -1- AH_OUTPUT([TIME_WITH_SYS_TIME], [/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. This
|
||||||
|
macro is obsolete. */
|
||||||
|
@%:@undef TIME_WITH_SYS_TIME])
|
||||||
|
m4trace:configure.ac:29: -1- AH_OUTPUT([HAVE_DIRENT_H], [/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR\'.
|
||||||
|
*/
|
||||||
|
@%:@undef HAVE_DIRENT_H])
|
||||||
|
m4trace:configure.ac:29: -1- AH_OUTPUT([HAVE_SYS_NDIR_H], [/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR\'.
|
||||||
|
*/
|
||||||
|
@%:@undef HAVE_SYS_NDIR_H])
|
||||||
|
m4trace:configure.ac:29: -1- AH_OUTPUT([HAVE_SYS_DIR_H], [/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR\'.
|
||||||
|
*/
|
||||||
|
@%:@undef HAVE_SYS_DIR_H])
|
||||||
|
m4trace:configure.ac:29: -1- AH_OUTPUT([HAVE_NDIR_H], [/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR\'. */
|
||||||
|
@%:@undef HAVE_NDIR_H])
|
||||||
|
m4trace:configure.ac:30: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL])
|
||||||
|
m4trace:configure.ac:30: -1- m4_pattern_allow([^HAVE__BOOL$])
|
||||||
|
m4trace:configure.ac:30: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */
|
||||||
|
@%:@undef HAVE__BOOL])
|
||||||
|
m4trace:configure.ac:30: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H])
|
||||||
|
m4trace:configure.ac:30: -1- m4_pattern_allow([^HAVE_STDBOOL_H$])
|
||||||
|
m4trace:configure.ac:30: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if stdbool.h conforms to C99. */
|
||||||
|
@%:@undef HAVE_STDBOOL_H])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
|
||||||
|
@%:@undef HAVE_FCNTL_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCNTL_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_FCNTL_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_FLOAT_H], [/* Define to 1 if you have the <float.h> header file. */
|
||||||
|
@%:@undef HAVE_FLOAT_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FLOAT_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_FLOAT_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
|
@%:@undef HAVE_INTTYPES_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTTYPES_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_INTTYPES_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */
|
||||||
|
@%:@undef HAVE_LIMITS_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIMITS_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_LIMITS_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_LOCALE_H], [/* Define to 1 if you have the <locale.h> header file. */
|
||||||
|
@%:@undef HAVE_LOCALE_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LOCALE_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_LOCALE_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_MALLOC_H], [/* Define to 1 if you have the <malloc.h> header file. */
|
||||||
|
@%:@undef HAVE_MALLOC_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_MALLOC_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
|
||||||
|
@%:@undef HAVE_MEMORY_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MEMORY_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_MEMORY_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_STDDEF_H], [/* Define to 1 if you have the <stddef.h> header file. */
|
||||||
|
@%:@undef HAVE_STDDEF_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDDEF_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_STDDEF_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
|
@%:@undef HAVE_STDINT_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDINT_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_STDINT_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
|
@%:@undef HAVE_STDLIB_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
|
||||||
|
@%:@undef HAVE_STRING_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRING_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_STRING_H$])
|
||||||
|
m4trace:configure.ac:31: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
|
||||||
|
@%:@undef HAVE_UNISTD_H])
|
||||||
|
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNISTD_H])
|
||||||
|
m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_UNISTD_H$])
|
||||||
|
m4trace:configure.ac:34: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
|
||||||
|
calls it, or to nothing if \'inline\' is not supported under any name. */
|
||||||
|
#ifndef __cplusplus
|
||||||
|
#undef inline
|
||||||
|
#endif])
|
||||||
|
m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([int16_t])
|
||||||
|
m4trace:configure.ac:35: -1- m4_pattern_allow([^int16_t$])
|
||||||
|
m4trace:configure.ac:35: -1- AH_OUTPUT([int16_t], [/* Define to the type of a signed integer type of width exactly 16 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
@%:@undef int16_t])
|
||||||
|
m4trace:configure.ac:36: -1- AC_DEFINE_TRACE_LITERAL([int32_t])
|
||||||
|
m4trace:configure.ac:36: -1- m4_pattern_allow([^int32_t$])
|
||||||
|
m4trace:configure.ac:36: -1- AH_OUTPUT([int32_t], [/* Define to the type of a signed integer type of width exactly 32 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
@%:@undef int32_t])
|
||||||
|
m4trace:configure.ac:37: -1- AC_DEFINE_TRACE_LITERAL([int64_t])
|
||||||
|
m4trace:configure.ac:37: -1- m4_pattern_allow([^int64_t$])
|
||||||
|
m4trace:configure.ac:37: -1- AH_OUTPUT([int64_t], [/* Define to the type of a signed integer type of width exactly 64 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
@%:@undef int64_t])
|
||||||
|
m4trace:configure.ac:38: -1- AC_DEFINE_TRACE_LITERAL([int8_t])
|
||||||
|
m4trace:configure.ac:38: -1- m4_pattern_allow([^int8_t$])
|
||||||
|
m4trace:configure.ac:38: -1- AH_OUTPUT([int8_t], [/* Define to the type of a signed integer type of width exactly 8 bits if such
|
||||||
|
a type exists and the standard includes do not define it. */
|
||||||
|
@%:@undef int8_t])
|
||||||
|
m4trace:configure.ac:39: -1- AC_DEFINE_TRACE_LITERAL([off_t])
|
||||||
|
m4trace:configure.ac:39: -1- m4_pattern_allow([^off_t$])
|
||||||
|
m4trace:configure.ac:39: -1- AH_OUTPUT([off_t], [/* Define to `long int\' if <sys/types.h> does not define. */
|
||||||
|
@%:@undef off_t])
|
||||||
|
m4trace:configure.ac:40: -1- AC_DEFINE_TRACE_LITERAL([size_t])
|
||||||
|
m4trace:configure.ac:40: -1- m4_pattern_allow([^size_t$])
|
||||||
|
m4trace:configure.ac:40: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
|
||||||
|
@%:@undef size_t])
|
||||||
|
m4trace:configure.ac:41: -1- AC_DEFINE_TRACE_LITERAL([ssize_t])
|
||||||
|
m4trace:configure.ac:41: -1- m4_pattern_allow([^ssize_t$])
|
||||||
|
m4trace:configure.ac:41: -1- AH_OUTPUT([ssize_t], [/* Define to `int\' if <sys/types.h> does not define. */
|
||||||
|
@%:@undef ssize_t])
|
||||||
|
m4trace:configure.ac:42: -1- AC_DEFINE_TRACE_LITERAL([uint16_t])
|
||||||
|
m4trace:configure.ac:42: -1- m4_pattern_allow([^uint16_t$])
|
||||||
|
m4trace:configure.ac:42: -1- AH_OUTPUT([uint16_t], [/* Define to the type of an unsigned integer type of width exactly 16 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
@%:@undef uint16_t])
|
||||||
|
m4trace:configure.ac:43: -1- AC_DEFINE_TRACE_LITERAL([_UINT32_T])
|
||||||
|
m4trace:configure.ac:43: -1- m4_pattern_allow([^_UINT32_T$])
|
||||||
|
m4trace:configure.ac:43: -1- AH_OUTPUT([_UINT32_T], [/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
|
||||||
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
||||||
|
@%:@define below would cause a syntax error. */
|
||||||
|
@%:@undef _UINT32_T])
|
||||||
|
m4trace:configure.ac:43: -1- AC_DEFINE_TRACE_LITERAL([uint32_t])
|
||||||
|
m4trace:configure.ac:43: -1- m4_pattern_allow([^uint32_t$])
|
||||||
|
m4trace:configure.ac:43: -1- AH_OUTPUT([uint32_t], [/* Define to the type of an unsigned integer type of width exactly 32 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
@%:@undef uint32_t])
|
||||||
|
m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([_UINT64_T])
|
||||||
|
m4trace:configure.ac:44: -1- m4_pattern_allow([^_UINT64_T$])
|
||||||
|
m4trace:configure.ac:44: -1- AH_OUTPUT([_UINT64_T], [/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
|
||||||
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
||||||
|
@%:@define below would cause a syntax error. */
|
||||||
|
@%:@undef _UINT64_T])
|
||||||
|
m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([uint64_t])
|
||||||
|
m4trace:configure.ac:44: -1- m4_pattern_allow([^uint64_t$])
|
||||||
|
m4trace:configure.ac:44: -1- AH_OUTPUT([uint64_t], [/* Define to the type of an unsigned integer type of width exactly 64 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
@%:@undef uint64_t])
|
||||||
|
m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([_UINT8_T])
|
||||||
|
m4trace:configure.ac:45: -1- m4_pattern_allow([^_UINT8_T$])
|
||||||
|
m4trace:configure.ac:45: -1- AH_OUTPUT([_UINT8_T], [/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
|
||||||
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
||||||
|
@%:@define below would cause a syntax error. */
|
||||||
|
@%:@undef _UINT8_T])
|
||||||
|
m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([uint8_t])
|
||||||
|
m4trace:configure.ac:45: -1- m4_pattern_allow([^uint8_t$])
|
||||||
|
m4trace:configure.ac:45: -1- AH_OUTPUT([uint8_t], [/* Define to the type of an unsigned integer type of width exactly 8 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
@%:@undef uint8_t])
|
||||||
|
m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PTRDIFF_T])
|
||||||
|
m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_PTRDIFF_T$])
|
||||||
|
m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_PTRDIFF_T], [/* Define to 1 if the system has the type `ptrdiff_t\'. */
|
||||||
|
@%:@undef HAVE_PTRDIFF_T])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_MALLOC], [/* Define to 1 if you have the `malloc\' function. */
|
||||||
|
@%:@undef HAVE_MALLOC])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_MALLOC$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_REALLOC], [/* Define to 1 if you have the `realloc\' function. */
|
||||||
|
@%:@undef HAVE_REALLOC])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_REALLOC$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_DRAND48], [/* Define to 1 if you have the `drand48\' function. */
|
||||||
|
@%:@undef HAVE_DRAND48])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DRAND48])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_DRAND48$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_GETCWD], [/* Define to 1 if you have the `getcwd\' function. */
|
||||||
|
@%:@undef HAVE_GETCWD])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETCWD])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_GETCWD$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define to 1 if you have the `gettimeofday\' function. */
|
||||||
|
@%:@undef HAVE_GETTIMEOFDAY])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETTIMEOFDAY])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_GETTIMEOFDAY$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define to 1 if you have the `memmove\' function. */
|
||||||
|
@%:@undef HAVE_MEMMOVE])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MEMMOVE])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_MEMMOVE$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */
|
||||||
|
@%:@undef HAVE_MEMSET])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MEMSET])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_MEMSET$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_REGCOMP], [/* Define to 1 if you have the `regcomp\' function. */
|
||||||
|
@%:@undef HAVE_REGCOMP])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REGCOMP])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_REGCOMP$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_SETLOCALE], [/* Define to 1 if you have the `setlocale\' function. */
|
||||||
|
@%:@undef HAVE_SETLOCALE])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETLOCALE])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_SETLOCALE$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_SQRT], [/* Define to 1 if you have the `sqrt\' function. */
|
||||||
|
@%:@undef HAVE_SQRT])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SQRT])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_SQRT$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the `strdup\' function. */
|
||||||
|
@%:@undef HAVE_STRDUP])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRDUP])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_STRDUP$])
|
||||||
|
m4trace:configure.ac:49: -1- AH_OUTPUT([HAVE_STRNDUP], [/* Define to 1 if you have the `strndup\' function. */
|
||||||
|
@%:@undef HAVE_STRNDUP])
|
||||||
|
m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRNDUP])
|
||||||
|
m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_STRNDUP$])
|
||||||
|
m4trace:configure.ac:51: -1- AC_SUBST([LIBPOSTAL_MAJOR_VERSION], [$major])
|
||||||
|
m4trace:configure.ac:51: -1- AC_SUBST_TRACE([LIBPOSTAL_MAJOR_VERSION])
|
||||||
|
m4trace:configure.ac:51: -1- m4_pattern_allow([^LIBPOSTAL_MAJOR_VERSION$])
|
||||||
|
m4trace:configure.ac:51: -1- AC_SUBST([LIBPOSTAL_MINOR_VERSION], [$minor])
|
||||||
|
m4trace:configure.ac:51: -1- AC_SUBST_TRACE([LIBPOSTAL_MINOR_VERSION])
|
||||||
|
m4trace:configure.ac:51: -1- m4_pattern_allow([^LIBPOSTAL_MINOR_VERSION$])
|
||||||
|
m4trace:configure.ac:51: -1- AC_SUBST([LIBPOSTAL_PATCH_VERSION], [$patch])
|
||||||
|
m4trace:configure.ac:51: -1- AC_SUBST_TRACE([LIBPOSTAL_PATCH_VERSION])
|
||||||
|
m4trace:configure.ac:51: -1- m4_pattern_allow([^LIBPOSTAL_PATCH_VERSION$])
|
||||||
|
m4trace:configure.ac:51: -1- AC_DEFINE_TRACE_LITERAL([LIBPOSTAL_MAJOR_VERSION])
|
||||||
|
m4trace:configure.ac:51: -1- m4_pattern_allow([^LIBPOSTAL_MAJOR_VERSION$])
|
||||||
|
m4trace:configure.ac:51: -1- AH_OUTPUT([LIBPOSTAL_MAJOR_VERSION], [/* Major version */
|
||||||
|
@%:@undef LIBPOSTAL_MAJOR_VERSION])
|
||||||
|
m4trace:configure.ac:51: -1- AC_DEFINE_TRACE_LITERAL([LIBPOSTAL_MINOR_VERSION])
|
||||||
|
m4trace:configure.ac:51: -1- m4_pattern_allow([^LIBPOSTAL_MINOR_VERSION$])
|
||||||
|
m4trace:configure.ac:51: -1- AH_OUTPUT([LIBPOSTAL_MINOR_VERSION], [/* Minor version */
|
||||||
|
@%:@undef LIBPOSTAL_MINOR_VERSION])
|
||||||
|
m4trace:configure.ac:51: -1- AC_DEFINE_TRACE_LITERAL([LIBPOSTAL_PATCH_VERSION])
|
||||||
|
m4trace:configure.ac:51: -1- m4_pattern_allow([^LIBPOSTAL_PATCH_VERSION$])
|
||||||
|
m4trace:configure.ac:51: -1- AH_OUTPUT([LIBPOSTAL_PATCH_VERSION], [/* Patch version */
|
||||||
|
@%:@undef LIBPOSTAL_PATCH_VERSION])
|
||||||
|
m4trace:configure.ac:73: -1- AC_SUBST([LIBPOSTAL_DATA_DIR_VERSION_STRING], [v1])
|
||||||
|
m4trace:configure.ac:73: -1- AC_SUBST_TRACE([LIBPOSTAL_DATA_DIR_VERSION_STRING])
|
||||||
|
m4trace:configure.ac:73: -1- m4_pattern_allow([^LIBPOSTAL_DATA_DIR_VERSION_STRING$])
|
||||||
|
m4trace:configure.ac:79: -1- AC_SUBST([LIBPOSTAL_DATA_FILE_LATEST_VERSION], [$DATA_FILE_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([LIBPOSTAL_DATA_FILE_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:79: -1- m4_pattern_allow([^LIBPOSTAL_DATA_FILE_LATEST_VERSION$])
|
||||||
|
m4trace:configure.ac:80: -1- AC_SUBST([LIBPOSTAL_PARSER_MODEL_LATEST_VERSION], [$PARSER_MODEL_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:80: -1- AC_SUBST_TRACE([LIBPOSTAL_PARSER_MODEL_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:80: -1- m4_pattern_allow([^LIBPOSTAL_PARSER_MODEL_LATEST_VERSION$])
|
||||||
|
m4trace:configure.ac:81: -1- AC_SUBST([LIBPOSTAL_LANG_CLASS_MODEL_LATEST_VERSION], [$LANG_CLASS_MODEL_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:81: -1- AC_SUBST_TRACE([LIBPOSTAL_LANG_CLASS_MODEL_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:81: -1- m4_pattern_allow([^LIBPOSTAL_LANG_CLASS_MODEL_LATEST_VERSION$])
|
||||||
|
m4trace:configure.ac:84: -1- AC_SUBST([LIBPOSTAL_SENZING_DATA_DIR_VERSION_STRING], [v1])
|
||||||
|
m4trace:configure.ac:84: -1- AC_SUBST_TRACE([LIBPOSTAL_SENZING_DATA_DIR_VERSION_STRING])
|
||||||
|
m4trace:configure.ac:84: -1- m4_pattern_allow([^LIBPOSTAL_SENZING_DATA_DIR_VERSION_STRING$])
|
||||||
|
m4trace:configure.ac:90: -1- AC_SUBST([LIBPOSTAL_SENZING_DATA_FILE_LATEST_VERSION], [$SENZING_DATA_FILE_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:90: -1- AC_SUBST_TRACE([LIBPOSTAL_SENZING_DATA_FILE_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:90: -1- m4_pattern_allow([^LIBPOSTAL_SENZING_DATA_FILE_LATEST_VERSION$])
|
||||||
|
m4trace:configure.ac:91: -1- AC_SUBST([LIBPOSTAL_SENZING_PARSER_MODEL_LATEST_VERSION], [$SENZING_PARSER_MODEL_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:91: -1- AC_SUBST_TRACE([LIBPOSTAL_SENZING_PARSER_MODEL_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:91: -1- m4_pattern_allow([^LIBPOSTAL_SENZING_PARSER_MODEL_LATEST_VERSION$])
|
||||||
|
m4trace:configure.ac:92: -1- AC_SUBST([LIBPOSTAL_SENZING_LANG_CLASS_MODEL_LATEST_VERSION], [$SENZING_LANG_CLASS_MODEL_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:92: -1- AC_SUBST_TRACE([LIBPOSTAL_SENZING_LANG_CLASS_MODEL_LATEST_VERSION])
|
||||||
|
m4trace:configure.ac:92: -1- m4_pattern_allow([^LIBPOSTAL_SENZING_LANG_CLASS_MODEL_LATEST_VERSION$])
|
||||||
|
m4trace:configure.ac:94: -1- AC_CONFIG_FILES([Makefile
|
||||||
|
libpostal.pc
|
||||||
|
src/Makefile
|
||||||
|
src/libpostal_data
|
||||||
|
test/Makefile], [chmod +x src/libpostal_data])
|
||||||
|
m4trace:configure.ac:100: -1- AC_SUBST([FOUND_SHUF])
|
||||||
|
m4trace:configure.ac:100: -1- AC_SUBST_TRACE([FOUND_SHUF])
|
||||||
|
m4trace:configure.ac:100: -1- m4_pattern_allow([^FOUND_SHUF$])
|
||||||
|
m4trace:configure.ac:101: -1- AC_SUBST([FOUND_GSHUF])
|
||||||
|
m4trace:configure.ac:101: -1- AC_SUBST_TRACE([FOUND_GSHUF])
|
||||||
|
m4trace:configure.ac:101: -1- m4_pattern_allow([^FOUND_GSHUF$])
|
||||||
|
m4trace:configure.ac:103: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SHUF])
|
||||||
|
m4trace:configure.ac:103: -1- m4_pattern_allow([^HAVE_SHUF$])
|
||||||
|
m4trace:configure.ac:103: -1- AH_OUTPUT([HAVE_SHUF], [/* shuf available */
|
||||||
|
@%:@undef HAVE_SHUF])
|
||||||
|
m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GSHUF])
|
||||||
|
m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GSHUF$])
|
||||||
|
m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_GSHUF], [/* gshuf available */
|
||||||
|
@%:@undef HAVE_GSHUF])
|
||||||
|
m4trace:configure.ac:121: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
|
||||||
|
You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
|
||||||
|
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
|
||||||
|
m4/ax_cblas.m4:67: AX_CBLAS is expanded from...
|
||||||
|
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
|
||||||
|
./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from...
|
||||||
|
./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
|
||||||
|
configure.ac:121: the top level])
|
||||||
|
m4trace:configure.ac:121: -1- AC_SUBST([CBLAS_LIBS])
|
||||||
|
m4trace:configure.ac:121: -1- AC_SUBST_TRACE([CBLAS_LIBS])
|
||||||
|
m4trace:configure.ac:121: -1- m4_pattern_allow([^CBLAS_LIBS$])
|
||||||
|
m4trace:configure.ac:121: -2- AC_DEFINE_TRACE_LITERAL([HAVE_CBLAS])
|
||||||
|
m4trace:configure.ac:121: -2- m4_pattern_allow([^HAVE_CBLAS$])
|
||||||
|
m4trace:configure.ac:121: -2- AH_OUTPUT([HAVE_CBLAS], [/* Define if you have a CBLAS library. */
|
||||||
|
@%:@undef HAVE_CBLAS])
|
||||||
|
m4trace:configure.ac:131: -1- AC_SUBST([MODEL])
|
||||||
|
m4trace:configure.ac:131: -1- AC_SUBST_TRACE([MODEL])
|
||||||
|
m4trace:configure.ac:131: -1- m4_pattern_allow([^MODEL$])
|
||||||
|
m4trace:configure.ac:135: -1- AM_CONDITIONAL([DOWNLOAD_DATA], [test "x$DOWNLOAD_DATA" = "xtrue"])
|
||||||
|
m4trace:configure.ac:135: -1- AC_SUBST([DOWNLOAD_DATA_TRUE])
|
||||||
|
m4trace:configure.ac:135: -1- AC_SUBST_TRACE([DOWNLOAD_DATA_TRUE])
|
||||||
|
m4trace:configure.ac:135: -1- m4_pattern_allow([^DOWNLOAD_DATA_TRUE$])
|
||||||
|
m4trace:configure.ac:135: -1- AC_SUBST([DOWNLOAD_DATA_FALSE])
|
||||||
|
m4trace:configure.ac:135: -1- AC_SUBST_TRACE([DOWNLOAD_DATA_FALSE])
|
||||||
|
m4trace:configure.ac:135: -1- m4_pattern_allow([^DOWNLOAD_DATA_FALSE$])
|
||||||
|
m4trace:configure.ac:135: -1- _AM_SUBST_NOTMAKE([DOWNLOAD_DATA_TRUE])
|
||||||
|
m4trace:configure.ac:135: -1- _AM_SUBST_NOTMAKE([DOWNLOAD_DATA_FALSE])
|
||||||
|
m4trace:configure.ac:149: -1- AC_SUBST([CFLAGS_SCANNER_EXTRA])
|
||||||
|
m4trace:configure.ac:149: -1- AC_SUBST_TRACE([CFLAGS_SCANNER_EXTRA])
|
||||||
|
m4trace:configure.ac:149: -1- m4_pattern_allow([^CFLAGS_SCANNER_EXTRA$])
|
||||||
|
m4trace:configure.ac:153: -1- AC_SUBST([LIBPOSTAL_SO_VERSION])
|
||||||
|
m4trace:configure.ac:153: -1- AC_SUBST_TRACE([LIBPOSTAL_SO_VERSION])
|
||||||
|
m4trace:configure.ac:153: -1- m4_pattern_allow([^LIBPOSTAL_SO_VERSION$])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
|
||||||
|
m4trace:configure.ac:155: -1- m4_pattern_allow([^LIB@&t@OBJS$])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([LTLIBOBJS])
|
||||||
|
m4trace:configure.ac:155: -1- m4_pattern_allow([^LTLIBOBJS$])
|
||||||
|
m4trace:configure.ac:155: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST([am__EXEEXT_TRUE])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
|
||||||
|
m4trace:configure.ac:155: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST([am__EXEEXT_FALSE])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
|
||||||
|
m4trace:configure.ac:155: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
|
||||||
|
m4trace:configure.ac:155: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
|
||||||
|
m4trace:configure.ac:155: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([top_builddir])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([top_build_prefix])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([srcdir])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([abs_srcdir])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([top_srcdir])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([abs_top_srcdir])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([builddir])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([abs_builddir])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([abs_top_builddir])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([INSTALL])
|
||||||
|
m4trace:configure.ac:155: -1- AC_SUBST_TRACE([MKDIR_P])
|
||||||
|
m4trace:configure.ac:155: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
|
||||||
2
bootstrap.sh
Executable file
2
bootstrap.sh
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
autoreconf -fi --warning=no-portability
|
||||||
348
compile
Executable file
348
compile
Executable file
@@ -0,0 +1,348 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
# Wrapper for compilers which do not understand '-c -o'.
|
||||||
|
|
||||||
|
scriptversion=2018-03-07.03; # UTC
|
||||||
|
|
||||||
|
# Copyright (C) 1999-2021 Free Software Foundation, Inc.
|
||||||
|
# Written by Tom Tromey <tromey@cygnus.com>.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
|
# This file is maintained in Automake, please report
|
||||||
|
# bugs to <bug-automake@gnu.org> or send patches to
|
||||||
|
# <automake-patches@gnu.org>.
|
||||||
|
|
||||||
|
nl='
|
||||||
|
'
|
||||||
|
|
||||||
|
# We need space, tab and new line, in precisely that order. Quoting is
|
||||||
|
# there to prevent tools from complaining about whitespace usage.
|
||||||
|
IFS=" "" $nl"
|
||||||
|
|
||||||
|
file_conv=
|
||||||
|
|
||||||
|
# func_file_conv build_file lazy
|
||||||
|
# Convert a $build file to $host form and store it in $file
|
||||||
|
# Currently only supports Windows hosts. If the determined conversion
|
||||||
|
# type is listed in (the comma separated) LAZY, no conversion will
|
||||||
|
# take place.
|
||||||
|
func_file_conv ()
|
||||||
|
{
|
||||||
|
file=$1
|
||||||
|
case $file in
|
||||||
|
/ | /[!/]*) # absolute file, and not a UNC file
|
||||||
|
if test -z "$file_conv"; then
|
||||||
|
# lazily determine how to convert abs files
|
||||||
|
case `uname -s` in
|
||||||
|
MINGW*)
|
||||||
|
file_conv=mingw
|
||||||
|
;;
|
||||||
|
CYGWIN* | MSYS*)
|
||||||
|
file_conv=cygwin
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
file_conv=wine
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
case $file_conv/,$2, in
|
||||||
|
*,$file_conv,*)
|
||||||
|
;;
|
||||||
|
mingw/*)
|
||||||
|
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
|
||||||
|
;;
|
||||||
|
cygwin/* | msys/*)
|
||||||
|
file=`cygpath -m "$file" || echo "$file"`
|
||||||
|
;;
|
||||||
|
wine/*)
|
||||||
|
file=`winepath -w "$file" || echo "$file"`
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
# func_cl_dashL linkdir
|
||||||
|
# Make cl look for libraries in LINKDIR
|
||||||
|
func_cl_dashL ()
|
||||||
|
{
|
||||||
|
func_file_conv "$1"
|
||||||
|
if test -z "$lib_path"; then
|
||||||
|
lib_path=$file
|
||||||
|
else
|
||||||
|
lib_path="$lib_path;$file"
|
||||||
|
fi
|
||||||
|
linker_opts="$linker_opts -LIBPATH:$file"
|
||||||
|
}
|
||||||
|
|
||||||
|
# func_cl_dashl library
|
||||||
|
# Do a library search-path lookup for cl
|
||||||
|
func_cl_dashl ()
|
||||||
|
{
|
||||||
|
lib=$1
|
||||||
|
found=no
|
||||||
|
save_IFS=$IFS
|
||||||
|
IFS=';'
|
||||||
|
for dir in $lib_path $LIB
|
||||||
|
do
|
||||||
|
IFS=$save_IFS
|
||||||
|
if $shared && test -f "$dir/$lib.dll.lib"; then
|
||||||
|
found=yes
|
||||||
|
lib=$dir/$lib.dll.lib
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
if test -f "$dir/$lib.lib"; then
|
||||||
|
found=yes
|
||||||
|
lib=$dir/$lib.lib
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
if test -f "$dir/lib$lib.a"; then
|
||||||
|
found=yes
|
||||||
|
lib=$dir/lib$lib.a
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
IFS=$save_IFS
|
||||||
|
|
||||||
|
if test "$found" != yes; then
|
||||||
|
lib=$lib.lib
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# func_cl_wrapper cl arg...
|
||||||
|
# Adjust compile command to suit cl
|
||||||
|
func_cl_wrapper ()
|
||||||
|
{
|
||||||
|
# Assume a capable shell
|
||||||
|
lib_path=
|
||||||
|
shared=:
|
||||||
|
linker_opts=
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
if test -n "$eat"; then
|
||||||
|
eat=
|
||||||
|
else
|
||||||
|
case $1 in
|
||||||
|
-o)
|
||||||
|
# configure might choose to run compile as 'compile cc -o foo foo.c'.
|
||||||
|
eat=1
|
||||||
|
case $2 in
|
||||||
|
*.o | *.[oO][bB][jJ])
|
||||||
|
func_file_conv "$2"
|
||||||
|
set x "$@" -Fo"$file"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
func_file_conv "$2"
|
||||||
|
set x "$@" -Fe"$file"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
-I)
|
||||||
|
eat=1
|
||||||
|
func_file_conv "$2" mingw
|
||||||
|
set x "$@" -I"$file"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
-I*)
|
||||||
|
func_file_conv "${1#-I}" mingw
|
||||||
|
set x "$@" -I"$file"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
-l)
|
||||||
|
eat=1
|
||||||
|
func_cl_dashl "$2"
|
||||||
|
set x "$@" "$lib"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
-l*)
|
||||||
|
func_cl_dashl "${1#-l}"
|
||||||
|
set x "$@" "$lib"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
-L)
|
||||||
|
eat=1
|
||||||
|
func_cl_dashL "$2"
|
||||||
|
;;
|
||||||
|
-L*)
|
||||||
|
func_cl_dashL "${1#-L}"
|
||||||
|
;;
|
||||||
|
-static)
|
||||||
|
shared=false
|
||||||
|
;;
|
||||||
|
-Wl,*)
|
||||||
|
arg=${1#-Wl,}
|
||||||
|
save_ifs="$IFS"; IFS=','
|
||||||
|
for flag in $arg; do
|
||||||
|
IFS="$save_ifs"
|
||||||
|
linker_opts="$linker_opts $flag"
|
||||||
|
done
|
||||||
|
IFS="$save_ifs"
|
||||||
|
;;
|
||||||
|
-Xlinker)
|
||||||
|
eat=1
|
||||||
|
linker_opts="$linker_opts $2"
|
||||||
|
;;
|
||||||
|
-*)
|
||||||
|
set x "$@" "$1"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
|
||||||
|
func_file_conv "$1"
|
||||||
|
set x "$@" -Tp"$file"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
|
||||||
|
func_file_conv "$1" mingw
|
||||||
|
set x "$@" "$file"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set x "$@" "$1"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
if test -n "$linker_opts"; then
|
||||||
|
linker_opts="-link$linker_opts"
|
||||||
|
fi
|
||||||
|
exec "$@" $linker_opts
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
eat=
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
'')
|
||||||
|
echo "$0: No command. Try '$0 --help' for more information." 1>&2
|
||||||
|
exit 1;
|
||||||
|
;;
|
||||||
|
-h | --h*)
|
||||||
|
cat <<\EOF
|
||||||
|
Usage: compile [--help] [--version] PROGRAM [ARGS]
|
||||||
|
|
||||||
|
Wrapper for compilers which do not understand '-c -o'.
|
||||||
|
Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
|
||||||
|
arguments, and rename the output as expected.
|
||||||
|
|
||||||
|
If you are trying to build a whole package this is not the
|
||||||
|
right script to run: please start by reading the file 'INSTALL'.
|
||||||
|
|
||||||
|
Report bugs to <bug-automake@gnu.org>.
|
||||||
|
EOF
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
|
-v | --v*)
|
||||||
|
echo "compile $scriptversion"
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
|
cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
|
||||||
|
icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
|
||||||
|
func_cl_wrapper "$@" # Doesn't return...
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
ofile=
|
||||||
|
cfile=
|
||||||
|
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
if test -n "$eat"; then
|
||||||
|
eat=
|
||||||
|
else
|
||||||
|
case $1 in
|
||||||
|
-o)
|
||||||
|
# configure might choose to run compile as 'compile cc -o foo foo.c'.
|
||||||
|
# So we strip '-o arg' only if arg is an object.
|
||||||
|
eat=1
|
||||||
|
case $2 in
|
||||||
|
*.o | *.obj)
|
||||||
|
ofile=$2
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set x "$@" -o "$2"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
*.c)
|
||||||
|
cfile=$1
|
||||||
|
set x "$@" "$1"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set x "$@" "$1"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
|
||||||
|
if test -z "$ofile" || test -z "$cfile"; then
|
||||||
|
# If no '-o' option was seen then we might have been invoked from a
|
||||||
|
# pattern rule where we don't need one. That is ok -- this is a
|
||||||
|
# normal compilation that the losing compiler can handle. If no
|
||||||
|
# '.c' file was seen then we are probably linking. That is also
|
||||||
|
# ok.
|
||||||
|
exec "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Name of file we expect compiler to create.
|
||||||
|
cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
|
||||||
|
|
||||||
|
# Create the lock directory.
|
||||||
|
# Note: use '[/\\:.-]' here to ensure that we don't use the same name
|
||||||
|
# that we are using for the .o file. Also, base the name on the expected
|
||||||
|
# object file name, since that is what matters with a parallel build.
|
||||||
|
lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
|
||||||
|
while true; do
|
||||||
|
if mkdir "$lockdir" >/dev/null 2>&1; then
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
# FIXME: race condition here if user kills between mkdir and trap.
|
||||||
|
trap "rmdir '$lockdir'; exit 1" 1 2 15
|
||||||
|
|
||||||
|
# Run the compile.
|
||||||
|
"$@"
|
||||||
|
ret=$?
|
||||||
|
|
||||||
|
if test -f "$cofile"; then
|
||||||
|
test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
|
||||||
|
elif test -f "${cofile}bj"; then
|
||||||
|
test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
|
||||||
|
fi
|
||||||
|
|
||||||
|
rmdir "$lockdir"
|
||||||
|
exit $ret
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: shell-script
|
||||||
|
# sh-indentation: 2
|
||||||
|
# eval: (add-hook 'before-save-hook 'time-stamp)
|
||||||
|
# time-stamp-start: "scriptversion="
|
||||||
|
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||||
|
# time-stamp-time-zone: "UTC0"
|
||||||
|
# time-stamp-end: "; # UTC"
|
||||||
|
# End:
|
||||||
1754
config.guess
vendored
Executable file
1754
config.guess
vendored
Executable file
File diff suppressed because it is too large
Load Diff
231
config.h.in
Normal file
231
config.h.in
Normal file
@@ -0,0 +1,231 @@
|
|||||||
|
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||||
|
|
||||||
|
/* Define if you have a CBLAS library. */
|
||||||
|
#undef HAVE_CBLAS
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
|
||||||
|
*/
|
||||||
|
#undef HAVE_DIRENT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||||
|
#undef HAVE_DLFCN_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `drand48' function. */
|
||||||
|
#undef HAVE_DRAND48
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||||
|
#undef HAVE_FCNTL_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <float.h> header file. */
|
||||||
|
#undef HAVE_FLOAT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `getcwd' function. */
|
||||||
|
#undef HAVE_GETCWD
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `gettimeofday' function. */
|
||||||
|
#undef HAVE_GETTIMEOFDAY
|
||||||
|
|
||||||
|
/* gshuf available */
|
||||||
|
#undef HAVE_GSHUF
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
|
#undef HAVE_INTTYPES_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <limits.h> header file. */
|
||||||
|
#undef HAVE_LIMITS_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <locale.h> header file. */
|
||||||
|
#undef HAVE_LOCALE_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `malloc' function. */
|
||||||
|
#undef HAVE_MALLOC
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <malloc.h> header file. */
|
||||||
|
#undef HAVE_MALLOC_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `memmove' function. */
|
||||||
|
#undef HAVE_MEMMOVE
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <memory.h> header file. */
|
||||||
|
#undef HAVE_MEMORY_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `memset' function. */
|
||||||
|
#undef HAVE_MEMSET
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
||||||
|
#undef HAVE_NDIR_H
|
||||||
|
|
||||||
|
/* Define to 1 if the system has the type `ptrdiff_t'. */
|
||||||
|
#undef HAVE_PTRDIFF_T
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `realloc' function. */
|
||||||
|
#undef HAVE_REALLOC
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `regcomp' function. */
|
||||||
|
#undef HAVE_REGCOMP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `setlocale' function. */
|
||||||
|
#undef HAVE_SETLOCALE
|
||||||
|
|
||||||
|
/* shuf available */
|
||||||
|
#undef HAVE_SHUF
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `sqrt' function. */
|
||||||
|
#undef HAVE_SQRT
|
||||||
|
|
||||||
|
/* Define to 1 if stdbool.h conforms to C99. */
|
||||||
|
#undef HAVE_STDBOOL_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stddef.h> header file. */
|
||||||
|
#undef HAVE_STDDEF_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
|
#undef HAVE_STDINT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdio.h> header file. */
|
||||||
|
#undef HAVE_STDIO_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
|
#undef HAVE_STDLIB_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `strdup' function. */
|
||||||
|
#undef HAVE_STRDUP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <strings.h> header file. */
|
||||||
|
#undef HAVE_STRINGS_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <string.h> header file. */
|
||||||
|
#undef HAVE_STRING_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `strndup' function. */
|
||||||
|
#undef HAVE_STRNDUP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
|
||||||
|
*/
|
||||||
|
#undef HAVE_SYS_DIR_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
|
||||||
|
*/
|
||||||
|
#undef HAVE_SYS_NDIR_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||||
|
#undef HAVE_SYS_STAT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
||||||
|
#undef HAVE_SYS_TIME_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||||
|
#undef HAVE_SYS_TYPES_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <unistd.h> header file. */
|
||||||
|
#undef HAVE_UNISTD_H
|
||||||
|
|
||||||
|
/* Define to 1 if the system has the type `_Bool'. */
|
||||||
|
#undef HAVE__BOOL
|
||||||
|
|
||||||
|
/* Major version */
|
||||||
|
#undef LIBPOSTAL_MAJOR_VERSION
|
||||||
|
|
||||||
|
/* Minor version */
|
||||||
|
#undef LIBPOSTAL_MINOR_VERSION
|
||||||
|
|
||||||
|
/* Patch version */
|
||||||
|
#undef LIBPOSTAL_PATCH_VERSION
|
||||||
|
|
||||||
|
/* Define to the sub-directory where libtool stores uninstalled libraries. */
|
||||||
|
#undef LT_OBJDIR
|
||||||
|
|
||||||
|
/* Name of package */
|
||||||
|
#undef PACKAGE
|
||||||
|
|
||||||
|
/* Define to the address where bug reports for this package should be sent. */
|
||||||
|
#undef PACKAGE_BUGREPORT
|
||||||
|
|
||||||
|
/* Define to the full name of this package. */
|
||||||
|
#undef PACKAGE_NAME
|
||||||
|
|
||||||
|
/* Define to the full name and version of this package. */
|
||||||
|
#undef PACKAGE_STRING
|
||||||
|
|
||||||
|
/* Define to the one symbol short name of this package. */
|
||||||
|
#undef PACKAGE_TARNAME
|
||||||
|
|
||||||
|
/* Define to the home page for this package. */
|
||||||
|
#undef PACKAGE_URL
|
||||||
|
|
||||||
|
/* Define to the version of this package. */
|
||||||
|
#undef PACKAGE_VERSION
|
||||||
|
|
||||||
|
/* Define to 1 if all of the C90 standard headers exist (not just the ones
|
||||||
|
required in a freestanding environment). This macro is provided for
|
||||||
|
backward compatibility; new code need not use it. */
|
||||||
|
#undef STDC_HEADERS
|
||||||
|
|
||||||
|
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. This
|
||||||
|
macro is obsolete. */
|
||||||
|
#undef TIME_WITH_SYS_TIME
|
||||||
|
|
||||||
|
/* Version number of package */
|
||||||
|
#undef VERSION
|
||||||
|
|
||||||
|
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
|
||||||
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
||||||
|
#define below would cause a syntax error. */
|
||||||
|
#undef _UINT32_T
|
||||||
|
|
||||||
|
/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
|
||||||
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
||||||
|
#define below would cause a syntax error. */
|
||||||
|
#undef _UINT64_T
|
||||||
|
|
||||||
|
/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
|
||||||
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
||||||
|
#define below would cause a syntax error. */
|
||||||
|
#undef _UINT8_T
|
||||||
|
|
||||||
|
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||||
|
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||||
|
#ifndef __cplusplus
|
||||||
|
#undef inline
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Define to the type of a signed integer type of width exactly 16 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
#undef int16_t
|
||||||
|
|
||||||
|
/* Define to the type of a signed integer type of width exactly 32 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
#undef int32_t
|
||||||
|
|
||||||
|
/* Define to the type of a signed integer type of width exactly 64 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
#undef int64_t
|
||||||
|
|
||||||
|
/* Define to the type of a signed integer type of width exactly 8 bits if such
|
||||||
|
a type exists and the standard includes do not define it. */
|
||||||
|
#undef int8_t
|
||||||
|
|
||||||
|
/* Define to `long int' if <sys/types.h> does not define. */
|
||||||
|
#undef off_t
|
||||||
|
|
||||||
|
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||||
|
#undef size_t
|
||||||
|
|
||||||
|
/* Define to `int' if <sys/types.h> does not define. */
|
||||||
|
#undef ssize_t
|
||||||
|
|
||||||
|
/* Define to the type of an unsigned integer type of width exactly 16 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
#undef uint16_t
|
||||||
|
|
||||||
|
/* Define to the type of an unsigned integer type of width exactly 32 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
#undef uint32_t
|
||||||
|
|
||||||
|
/* Define to the type of an unsigned integer type of width exactly 64 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
#undef uint64_t
|
||||||
|
|
||||||
|
/* Define to the type of an unsigned integer type of width exactly 8 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
#undef uint8_t
|
||||||
231
config.h.in~
Normal file
231
config.h.in~
Normal file
@@ -0,0 +1,231 @@
|
|||||||
|
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||||
|
|
||||||
|
/* Define if you have a CBLAS library. */
|
||||||
|
#undef HAVE_CBLAS
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
|
||||||
|
*/
|
||||||
|
#undef HAVE_DIRENT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||||
|
#undef HAVE_DLFCN_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `drand48' function. */
|
||||||
|
#undef HAVE_DRAND48
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||||
|
#undef HAVE_FCNTL_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <float.h> header file. */
|
||||||
|
#undef HAVE_FLOAT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `getcwd' function. */
|
||||||
|
#undef HAVE_GETCWD
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `gettimeofday' function. */
|
||||||
|
#undef HAVE_GETTIMEOFDAY
|
||||||
|
|
||||||
|
/* gshuf available */
|
||||||
|
#undef HAVE_GSHUF
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
|
#undef HAVE_INTTYPES_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <limits.h> header file. */
|
||||||
|
#undef HAVE_LIMITS_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <locale.h> header file. */
|
||||||
|
#undef HAVE_LOCALE_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `malloc' function. */
|
||||||
|
#undef HAVE_MALLOC
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <malloc.h> header file. */
|
||||||
|
#undef HAVE_MALLOC_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `memmove' function. */
|
||||||
|
#undef HAVE_MEMMOVE
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <memory.h> header file. */
|
||||||
|
#undef HAVE_MEMORY_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `memset' function. */
|
||||||
|
#undef HAVE_MEMSET
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
||||||
|
#undef HAVE_NDIR_H
|
||||||
|
|
||||||
|
/* Define to 1 if the system has the type `ptrdiff_t'. */
|
||||||
|
#undef HAVE_PTRDIFF_T
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `realloc' function. */
|
||||||
|
#undef HAVE_REALLOC
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `regcomp' function. */
|
||||||
|
#undef HAVE_REGCOMP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `setlocale' function. */
|
||||||
|
#undef HAVE_SETLOCALE
|
||||||
|
|
||||||
|
/* shuf available */
|
||||||
|
#undef HAVE_SHUF
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `sqrt' function. */
|
||||||
|
#undef HAVE_SQRT
|
||||||
|
|
||||||
|
/* Define to 1 if stdbool.h conforms to C99. */
|
||||||
|
#undef HAVE_STDBOOL_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stddef.h> header file. */
|
||||||
|
#undef HAVE_STDDEF_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
|
#undef HAVE_STDINT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdio.h> header file. */
|
||||||
|
#undef HAVE_STDIO_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
|
#undef HAVE_STDLIB_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `strdup' function. */
|
||||||
|
#undef HAVE_STRDUP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <strings.h> header file. */
|
||||||
|
#undef HAVE_STRINGS_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <string.h> header file. */
|
||||||
|
#undef HAVE_STRING_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `strndup' function. */
|
||||||
|
#undef HAVE_STRNDUP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
|
||||||
|
*/
|
||||||
|
#undef HAVE_SYS_DIR_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
|
||||||
|
*/
|
||||||
|
#undef HAVE_SYS_NDIR_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||||
|
#undef HAVE_SYS_STAT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
||||||
|
#undef HAVE_SYS_TIME_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||||
|
#undef HAVE_SYS_TYPES_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <unistd.h> header file. */
|
||||||
|
#undef HAVE_UNISTD_H
|
||||||
|
|
||||||
|
/* Define to 1 if the system has the type `_Bool'. */
|
||||||
|
#undef HAVE__BOOL
|
||||||
|
|
||||||
|
/* Major version */
|
||||||
|
#undef LIBPOSTAL_MAJOR_VERSION
|
||||||
|
|
||||||
|
/* Minor version */
|
||||||
|
#undef LIBPOSTAL_MINOR_VERSION
|
||||||
|
|
||||||
|
/* Patch version */
|
||||||
|
#undef LIBPOSTAL_PATCH_VERSION
|
||||||
|
|
||||||
|
/* Define to the sub-directory where libtool stores uninstalled libraries. */
|
||||||
|
#undef LT_OBJDIR
|
||||||
|
|
||||||
|
/* Name of package */
|
||||||
|
#undef PACKAGE
|
||||||
|
|
||||||
|
/* Define to the address where bug reports for this package should be sent. */
|
||||||
|
#undef PACKAGE_BUGREPORT
|
||||||
|
|
||||||
|
/* Define to the full name of this package. */
|
||||||
|
#undef PACKAGE_NAME
|
||||||
|
|
||||||
|
/* Define to the full name and version of this package. */
|
||||||
|
#undef PACKAGE_STRING
|
||||||
|
|
||||||
|
/* Define to the one symbol short name of this package. */
|
||||||
|
#undef PACKAGE_TARNAME
|
||||||
|
|
||||||
|
/* Define to the home page for this package. */
|
||||||
|
#undef PACKAGE_URL
|
||||||
|
|
||||||
|
/* Define to the version of this package. */
|
||||||
|
#undef PACKAGE_VERSION
|
||||||
|
|
||||||
|
/* Define to 1 if all of the C90 standard headers exist (not just the ones
|
||||||
|
required in a freestanding environment). This macro is provided for
|
||||||
|
backward compatibility; new code need not use it. */
|
||||||
|
#undef STDC_HEADERS
|
||||||
|
|
||||||
|
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. This
|
||||||
|
macro is obsolete. */
|
||||||
|
#undef TIME_WITH_SYS_TIME
|
||||||
|
|
||||||
|
/* Version number of package */
|
||||||
|
#undef VERSION
|
||||||
|
|
||||||
|
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
|
||||||
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
||||||
|
#define below would cause a syntax error. */
|
||||||
|
#undef _UINT32_T
|
||||||
|
|
||||||
|
/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
|
||||||
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
||||||
|
#define below would cause a syntax error. */
|
||||||
|
#undef _UINT64_T
|
||||||
|
|
||||||
|
/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
|
||||||
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
||||||
|
#define below would cause a syntax error. */
|
||||||
|
#undef _UINT8_T
|
||||||
|
|
||||||
|
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||||
|
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||||
|
#ifndef __cplusplus
|
||||||
|
#undef inline
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Define to the type of a signed integer type of width exactly 16 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
#undef int16_t
|
||||||
|
|
||||||
|
/* Define to the type of a signed integer type of width exactly 32 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
#undef int32_t
|
||||||
|
|
||||||
|
/* Define to the type of a signed integer type of width exactly 64 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
#undef int64_t
|
||||||
|
|
||||||
|
/* Define to the type of a signed integer type of width exactly 8 bits if such
|
||||||
|
a type exists and the standard includes do not define it. */
|
||||||
|
#undef int8_t
|
||||||
|
|
||||||
|
/* Define to `long int' if <sys/types.h> does not define. */
|
||||||
|
#undef off_t
|
||||||
|
|
||||||
|
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||||
|
#undef size_t
|
||||||
|
|
||||||
|
/* Define to `int' if <sys/types.h> does not define. */
|
||||||
|
#undef ssize_t
|
||||||
|
|
||||||
|
/* Define to the type of an unsigned integer type of width exactly 16 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
#undef uint16_t
|
||||||
|
|
||||||
|
/* Define to the type of an unsigned integer type of width exactly 32 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
#undef uint32_t
|
||||||
|
|
||||||
|
/* Define to the type of an unsigned integer type of width exactly 64 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
#undef uint64_t
|
||||||
|
|
||||||
|
/* Define to the type of an unsigned integer type of width exactly 8 bits if
|
||||||
|
such a type exists and the standard includes do not define it. */
|
||||||
|
#undef uint8_t
|
||||||
1890
config.sub
vendored
Executable file
1890
config.sub
vendored
Executable file
File diff suppressed because it is too large
Load Diff
155
configure.ac
Normal file
155
configure.ac
Normal file
@@ -0,0 +1,155 @@
|
|||||||
|
# -*- Autoconf -*-
|
||||||
|
# Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
|
m4_define([LIBPOSTAL_VERSION], [1.1.1])
|
||||||
|
|
||||||
|
AC_INIT([libpostal], LIBPOSTAL_VERSION)
|
||||||
|
|
||||||
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
|
||||||
|
AM_INIT_AUTOMAKE([foreign subdir-objects])
|
||||||
|
AC_CONFIG_SRCDIR([src])
|
||||||
|
LT_INIT([shared])
|
||||||
|
|
||||||
|
AC_CONFIG_HEADERS([config.h])
|
||||||
|
|
||||||
|
# Checks for programs.
|
||||||
|
AC_PROG_CC_C99
|
||||||
|
AC_PROG_INSTALL
|
||||||
|
|
||||||
|
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||||
|
|
||||||
|
# Checks for libraries.
|
||||||
|
AC_SEARCH_LIBS([log],
|
||||||
|
[m],,[AC_MSG_ERROR([Could not find math library])])
|
||||||
|
|
||||||
|
# Checks for header files.
|
||||||
|
AC_HEADER_STDC
|
||||||
|
AC_HEADER_TIME
|
||||||
|
AC_HEADER_DIRENT
|
||||||
|
AC_HEADER_STDBOOL
|
||||||
|
AC_CHECK_HEADERS([fcntl.h float.h inttypes.h limits.h locale.h malloc.h memory.h stddef.h stdint.h stdlib.h string.h unistd.h])
|
||||||
|
|
||||||
|
# Checks for typedefs, structures, and compiler characteristics.
|
||||||
|
AC_C_INLINE
|
||||||
|
AC_TYPE_INT16_T
|
||||||
|
AC_TYPE_INT32_T
|
||||||
|
AC_TYPE_INT64_T
|
||||||
|
AC_TYPE_INT8_T
|
||||||
|
AC_TYPE_OFF_T
|
||||||
|
AC_TYPE_SIZE_T
|
||||||
|
AC_TYPE_SSIZE_T
|
||||||
|
AC_TYPE_UINT16_T
|
||||||
|
AC_TYPE_UINT32_T
|
||||||
|
AC_TYPE_UINT64_T
|
||||||
|
AC_TYPE_UINT8_T
|
||||||
|
AC_CHECK_TYPES([ptrdiff_t])
|
||||||
|
|
||||||
|
# Checks for library functions.
|
||||||
|
AC_CHECK_FUNCS([malloc realloc drand48 getcwd gettimeofday memmove memset regcomp setlocale sqrt strdup strndup])
|
||||||
|
|
||||||
|
AS_IF([:], [
|
||||||
|
vers='LIBPOSTAL_VERSION'
|
||||||
|
|
||||||
|
major=${vers%%.*}
|
||||||
|
rest=${vers#*.}
|
||||||
|
minor=${rest%%.*}
|
||||||
|
patch=${rest#*.}
|
||||||
|
|
||||||
|
case $major in (*[!0-9]*|'') AC_MSG_ERROR([Non-numeric major version in LIBPOSTAL_VERSION ('$major')]);; esac
|
||||||
|
case $minor in (*[!0-9]*|'') AC_MSG_ERROR([Non-numeric minor version in LIBPOSTAL_VERSION ('$minor')]);; esac
|
||||||
|
case $patch in (*[!0-9]*|'') AC_MSG_ERROR([Non-numeric patch version in LIBPOSTAL_VERSION ('$patch')]);; esac
|
||||||
|
|
||||||
|
AC_SUBST([LIBPOSTAL_MAJOR_VERSION], [$major])
|
||||||
|
AC_SUBST([LIBPOSTAL_MINOR_VERSION], [$minor])
|
||||||
|
AC_SUBST([LIBPOSTAL_PATCH_VERSION], [$patch])
|
||||||
|
|
||||||
|
AC_DEFINE_UNQUOTED([LIBPOSTAL_MAJOR_VERSION], [$major], [Major version])
|
||||||
|
AC_DEFINE_UNQUOTED([LIBPOSTAL_MINOR_VERSION], [$minor], [Minor version])
|
||||||
|
AC_DEFINE_UNQUOTED([LIBPOSTAL_PATCH_VERSION], [$patch], [Patch version])
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
AC_SUBST([LIBPOSTAL_DATA_DIR_VERSION_STRING], [v1])
|
||||||
|
|
||||||
|
DATA_FILE_LATEST_VERSION=$(cat $srcdir/versions/base_data)
|
||||||
|
PARSER_MODEL_LATEST_VERSION=$(cat $srcdir/versions/parser)
|
||||||
|
LANG_CLASS_MODEL_LATEST_VERSION=$(cat $srcdir/versions/language_classifier)
|
||||||
|
|
||||||
|
AC_SUBST([LIBPOSTAL_DATA_FILE_LATEST_VERSION], [$DATA_FILE_LATEST_VERSION])
|
||||||
|
AC_SUBST([LIBPOSTAL_PARSER_MODEL_LATEST_VERSION], [$PARSER_MODEL_LATEST_VERSION])
|
||||||
|
AC_SUBST([LIBPOSTAL_LANG_CLASS_MODEL_LATEST_VERSION], [$LANG_CLASS_MODEL_LATEST_VERSION])
|
||||||
|
|
||||||
|
# Senzing data
|
||||||
|
AC_SUBST([LIBPOSTAL_SENZING_DATA_DIR_VERSION_STRING], [v1])
|
||||||
|
|
||||||
|
SENZING_DATA_FILE_LATEST_VERSION=$(cat $srcdir/versions/senzing/base_data)
|
||||||
|
SENZING_PARSER_MODEL_LATEST_VERSION=$(cat $srcdir/versions/senzing/parser)
|
||||||
|
SENZING_LANG_CLASS_MODEL_LATEST_VERSION=$(cat $srcdir/versions/senzing/language_classifier)
|
||||||
|
|
||||||
|
AC_SUBST([LIBPOSTAL_SENZING_DATA_FILE_LATEST_VERSION], [$SENZING_DATA_FILE_LATEST_VERSION])
|
||||||
|
AC_SUBST([LIBPOSTAL_SENZING_PARSER_MODEL_LATEST_VERSION], [$SENZING_PARSER_MODEL_LATEST_VERSION])
|
||||||
|
AC_SUBST([LIBPOSTAL_SENZING_LANG_CLASS_MODEL_LATEST_VERSION], [$SENZING_LANG_CLASS_MODEL_LATEST_VERSION])
|
||||||
|
|
||||||
|
AC_CONFIG_FILES([Makefile
|
||||||
|
libpostal.pc
|
||||||
|
src/Makefile
|
||||||
|
src/libpostal_data
|
||||||
|
test/Makefile], [chmod +x src/libpostal_data])
|
||||||
|
|
||||||
|
AC_CHECK_PROG([FOUND_SHUF], [shuf], [yes])
|
||||||
|
AC_CHECK_PROG([FOUND_GSHUF], [gshuf], [yes])
|
||||||
|
|
||||||
|
AS_IF([test "x$FOUND_SHUF" = xyes], [AC_DEFINE([HAVE_SHUF], [1], [shuf available])])
|
||||||
|
AS_IF([test "x$FOUND_GSHUF" = xyes], [AC_DEFINE([HAVE_GSHUF], [1], [gshuf available])])
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------
|
||||||
|
# Checks for SSE2 build
|
||||||
|
# ------------------------------------------------------------------
|
||||||
|
|
||||||
|
AC_ARG_ENABLE([sse2],
|
||||||
|
AS_HELP_STRING(
|
||||||
|
[--disable-sse2],
|
||||||
|
[disable SSE2 optimization routines]
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
AS_IF([test "x$enable_sse2" != "xno" && test "x$(uname -m)" != "xarm64" && test "x$(uname -m)" != "xaarch64"], [
|
||||||
|
CFLAGS="-mfpmath=sse -msse2 -DUSE_SSE ${CFLAGS}"
|
||||||
|
])
|
||||||
|
|
||||||
|
AC_CHECK_HEADER(cblas.h, [AX_CBLAS])
|
||||||
|
|
||||||
|
AC_ARG_ENABLE([data-download],
|
||||||
|
[ --disable-data-download Disable downloading data],
|
||||||
|
[case "${enableval}" in
|
||||||
|
yes) DOWNLOAD_DATA=true ;;
|
||||||
|
no) DOWNLOAD_DATA=false ;;
|
||||||
|
*) AC_MSG_ERROR([bad value ${enableval} for --disable-data-download]) ;;
|
||||||
|
esac], [DOWNLOAD_DATA=true])
|
||||||
|
|
||||||
|
AC_ARG_VAR(MODEL, [Option to use alternative data models. Currently available is "senzing" (MODEL=senzing). If this option is not set the default libpostal data model is used.])
|
||||||
|
AS_VAR_IF([MODEL], [], [],
|
||||||
|
[AS_VAR_IF([MODEL], [senzing], [], [AC_MSG_FAILURE([Invalid MODEL value set])])])
|
||||||
|
|
||||||
|
AM_CONDITIONAL([DOWNLOAD_DATA], [test "x$DOWNLOAD_DATA" = "xtrue"])
|
||||||
|
|
||||||
|
AC_ARG_WITH(cflags-scanner-extra, [AS_HELP_STRING([--with-cflags-scanner-extra@<:@=VALUE@:>@], [Extra compilation options for scanner.c])],
|
||||||
|
[
|
||||||
|
if test "x$withval" = "xno"; then
|
||||||
|
CFLAGS_SCANNER_EXTRA=""
|
||||||
|
else
|
||||||
|
CFLAGS_SCANNER_EXTRA="$withval"
|
||||||
|
fi
|
||||||
|
],
|
||||||
|
[ CFLAGS_SCANNER_EXTRA="" ]
|
||||||
|
)
|
||||||
|
|
||||||
|
AC_MSG_NOTICE([extra cflags for scanner.c: $CFLAGS_SCANNER_EXTRA])
|
||||||
|
AC_SUBST(CFLAGS_SCANNER_EXTRA)
|
||||||
|
|
||||||
|
|
||||||
|
LIBPOSTAL_SO_VERSION="${LIBPOSTAL_MAJOR_VERSION}:${LIBPOSTAL_MINOR_VERSION}:${LIBPOSTAL_PATCH_VERSION}"
|
||||||
|
AC_SUBST(LIBPOSTAL_SO_VERSION)
|
||||||
|
|
||||||
|
AC_OUTPUT
|
||||||
16780
configure~
Executable file
16780
configure~
Executable file
File diff suppressed because it is too large
Load Diff
1
current_parser_training_set
Normal file
1
current_parser_training_set
Normal file
@@ -0,0 +1 @@
|
|||||||
|
20170304
|
||||||
4
data/address_expansions/.gitignore
vendored
Normal file
4
data/address_expansions/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
# Ignore everything in this directory
|
||||||
|
*
|
||||||
|
# Except this file
|
||||||
|
!.gitignore
|
||||||
4
data/address_parser/.gitignore
vendored
Normal file
4
data/address_parser/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
# Ignore everything in this directory
|
||||||
|
*
|
||||||
|
# Except this file
|
||||||
|
!.gitignore
|
||||||
4
data/geodb/.gitignore
vendored
Normal file
4
data/geodb/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
# Ignore everything in this directory
|
||||||
|
*
|
||||||
|
# Except this file
|
||||||
|
!.gitignore
|
||||||
4
data/geonames/.gitignore
vendored
Normal file
4
data/geonames/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
# Ignore everything in this directory
|
||||||
|
*
|
||||||
|
# Except this file
|
||||||
|
!.gitignore
|
||||||
4
data/numex/.gitignore
vendored
Normal file
4
data/numex/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
# Ignore everything in this directory
|
||||||
|
*
|
||||||
|
# Except this file
|
||||||
|
!.gitignore
|
||||||
4
data/transliteration/.gitignore
vendored
Normal file
4
data/transliteration/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
# Ignore everything in this directory
|
||||||
|
*
|
||||||
|
# Except this file
|
||||||
|
!.gitignore
|
||||||
791
depcomp
Executable file
791
depcomp
Executable file
@@ -0,0 +1,791 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
# depcomp - compile a program generating dependencies as side-effects
|
||||||
|
|
||||||
|
scriptversion=2018-03-07.03; # UTC
|
||||||
|
|
||||||
|
# Copyright (C) 1999-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
|
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
'')
|
||||||
|
echo "$0: No command. Try '$0 --help' for more information." 1>&2
|
||||||
|
exit 1;
|
||||||
|
;;
|
||||||
|
-h | --h*)
|
||||||
|
cat <<\EOF
|
||||||
|
Usage: depcomp [--help] [--version] PROGRAM [ARGS]
|
||||||
|
|
||||||
|
Run PROGRAMS ARGS to compile a file, generating dependencies
|
||||||
|
as side-effects.
|
||||||
|
|
||||||
|
Environment variables:
|
||||||
|
depmode Dependency tracking mode.
|
||||||
|
source Source file read by 'PROGRAMS ARGS'.
|
||||||
|
object Object file output by 'PROGRAMS ARGS'.
|
||||||
|
DEPDIR directory where to store dependencies.
|
||||||
|
depfile Dependency file to output.
|
||||||
|
tmpdepfile Temporary file to use when outputting dependencies.
|
||||||
|
libtool Whether libtool is used (yes/no).
|
||||||
|
|
||||||
|
Report bugs to <bug-automake@gnu.org>.
|
||||||
|
EOF
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
|
-v | --v*)
|
||||||
|
echo "depcomp $scriptversion"
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# Get the directory component of the given path, and save it in the
|
||||||
|
# global variables '$dir'. Note that this directory component will
|
||||||
|
# be either empty or ending with a '/' character. This is deliberate.
|
||||||
|
set_dir_from ()
|
||||||
|
{
|
||||||
|
case $1 in
|
||||||
|
*/*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
|
||||||
|
*) dir=;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
# Get the suffix-stripped basename of the given path, and save it the
|
||||||
|
# global variable '$base'.
|
||||||
|
set_base_from ()
|
||||||
|
{
|
||||||
|
base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
|
||||||
|
}
|
||||||
|
|
||||||
|
# If no dependency file was actually created by the compiler invocation,
|
||||||
|
# we still have to create a dummy depfile, to avoid errors with the
|
||||||
|
# Makefile "include basename.Plo" scheme.
|
||||||
|
make_dummy_depfile ()
|
||||||
|
{
|
||||||
|
echo "#dummy" > "$depfile"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Factor out some common post-processing of the generated depfile.
|
||||||
|
# Requires the auxiliary global variable '$tmpdepfile' to be set.
|
||||||
|
aix_post_process_depfile ()
|
||||||
|
{
|
||||||
|
# If the compiler actually managed to produce a dependency file,
|
||||||
|
# post-process it.
|
||||||
|
if test -f "$tmpdepfile"; then
|
||||||
|
# Each line is of the form 'foo.o: dependency.h'.
|
||||||
|
# Do two passes, one to just change these to
|
||||||
|
# $object: dependency.h
|
||||||
|
# and one to simply output
|
||||||
|
# dependency.h:
|
||||||
|
# which is needed to avoid the deleted-header problem.
|
||||||
|
{ sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
|
||||||
|
sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
|
||||||
|
} > "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
else
|
||||||
|
make_dummy_depfile
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# A tabulation character.
|
||||||
|
tab=' '
|
||||||
|
# A newline character.
|
||||||
|
nl='
|
||||||
|
'
|
||||||
|
# Character ranges might be problematic outside the C locale.
|
||||||
|
# These definitions help.
|
||||||
|
upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
||||||
|
lower=abcdefghijklmnopqrstuvwxyz
|
||||||
|
digits=0123456789
|
||||||
|
alpha=${upper}${lower}
|
||||||
|
|
||||||
|
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
|
||||||
|
echo "depcomp: Variables source, object and depmode must be set" 1>&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
|
||||||
|
depfile=${depfile-`echo "$object" |
|
||||||
|
sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
|
||||||
|
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
|
||||||
|
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
|
||||||
|
# Avoid interferences from the environment.
|
||||||
|
gccflag= dashmflag=
|
||||||
|
|
||||||
|
# Some modes work just like other modes, but use different flags. We
|
||||||
|
# parameterize here, but still list the modes in the big case below,
|
||||||
|
# to make depend.m4 easier to write. Note that we *cannot* use a case
|
||||||
|
# here, because this file can only contain one case statement.
|
||||||
|
if test "$depmode" = hp; then
|
||||||
|
# HP compiler uses -M and no extra arg.
|
||||||
|
gccflag=-M
|
||||||
|
depmode=gcc
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$depmode" = dashXmstdout; then
|
||||||
|
# This is just like dashmstdout with a different argument.
|
||||||
|
dashmflag=-xM
|
||||||
|
depmode=dashmstdout
|
||||||
|
fi
|
||||||
|
|
||||||
|
cygpath_u="cygpath -u -f -"
|
||||||
|
if test "$depmode" = msvcmsys; then
|
||||||
|
# This is just like msvisualcpp but w/o cygpath translation.
|
||||||
|
# Just convert the backslash-escaped backslashes to single forward
|
||||||
|
# slashes to satisfy depend.m4
|
||||||
|
cygpath_u='sed s,\\\\,/,g'
|
||||||
|
depmode=msvisualcpp
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$depmode" = msvc7msys; then
|
||||||
|
# This is just like msvc7 but w/o cygpath translation.
|
||||||
|
# Just convert the backslash-escaped backslashes to single forward
|
||||||
|
# slashes to satisfy depend.m4
|
||||||
|
cygpath_u='sed s,\\\\,/,g'
|
||||||
|
depmode=msvc7
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$depmode" = xlc; then
|
||||||
|
# IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
|
||||||
|
gccflag=-qmakedep=gcc,-MF
|
||||||
|
depmode=gcc
|
||||||
|
fi
|
||||||
|
|
||||||
|
case "$depmode" in
|
||||||
|
gcc3)
|
||||||
|
## gcc 3 implements dependency tracking that does exactly what
|
||||||
|
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
|
||||||
|
## it if -MD -MP comes after the -MF stuff. Hmm.
|
||||||
|
## Unfortunately, FreeBSD c89 acceptance of flags depends upon
|
||||||
|
## the command line argument order; so add the flags where they
|
||||||
|
## appear in depend2.am. Note that the slowdown incurred here
|
||||||
|
## affects only configure: in makefiles, %FASTDEP% shortcuts this.
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
case $arg in
|
||||||
|
-c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
|
||||||
|
*) set fnord "$@" "$arg" ;;
|
||||||
|
esac
|
||||||
|
shift # fnord
|
||||||
|
shift # $arg
|
||||||
|
done
|
||||||
|
"$@"
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
mv "$tmpdepfile" "$depfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
gcc)
|
||||||
|
## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
|
||||||
|
## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
|
||||||
|
## (see the conditional assignment to $gccflag above).
|
||||||
|
## There are various ways to get dependency output from gcc. Here's
|
||||||
|
## why we pick this rather obscure method:
|
||||||
|
## - Don't want to use -MD because we'd like the dependencies to end
|
||||||
|
## up in a subdir. Having to rename by hand is ugly.
|
||||||
|
## (We might end up doing this anyway to support other compilers.)
|
||||||
|
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
|
||||||
|
## -MM, not -M (despite what the docs say). Also, it might not be
|
||||||
|
## supported by the other compilers which use the 'gcc' depmode.
|
||||||
|
## - Using -M directly means running the compiler twice (even worse
|
||||||
|
## than renaming).
|
||||||
|
if test -z "$gccflag"; then
|
||||||
|
gccflag=-MD,
|
||||||
|
fi
|
||||||
|
"$@" -Wp,"$gccflag$tmpdepfile"
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
rm -f "$depfile"
|
||||||
|
echo "$object : \\" > "$depfile"
|
||||||
|
# The second -e expression handles DOS-style file names with drive
|
||||||
|
# letters.
|
||||||
|
sed -e 's/^[^:]*: / /' \
|
||||||
|
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
|
||||||
|
## This next piece of magic avoids the "deleted header file" problem.
|
||||||
|
## The problem is that when a header file which appears in a .P file
|
||||||
|
## is deleted, the dependency causes make to die (because there is
|
||||||
|
## typically no way to rebuild the header). We avoid this by adding
|
||||||
|
## dummy dependencies for each header file. Too bad gcc doesn't do
|
||||||
|
## this for us directly.
|
||||||
|
## Some versions of gcc put a space before the ':'. On the theory
|
||||||
|
## that the space means something, we add a space to the output as
|
||||||
|
## well. hp depmode also adds that space, but also prefixes the VPATH
|
||||||
|
## to the object. Take care to not repeat it in the output.
|
||||||
|
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||||
|
## correctly. Breaking it into two sed invocations is a workaround.
|
||||||
|
tr ' ' "$nl" < "$tmpdepfile" \
|
||||||
|
| sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
|
||||||
|
| sed -e 's/$/ :/' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
hp)
|
||||||
|
# This case exists only to let depend.m4 do its work. It works by
|
||||||
|
# looking at the text of this script. This case will never be run,
|
||||||
|
# since it is checked for above.
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
sgi)
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
"$@" "-Wp,-MDupdate,$tmpdepfile"
|
||||||
|
else
|
||||||
|
"$@" -MDupdate "$tmpdepfile"
|
||||||
|
fi
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
rm -f "$depfile"
|
||||||
|
|
||||||
|
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
|
||||||
|
echo "$object : \\" > "$depfile"
|
||||||
|
# Clip off the initial element (the dependent). Don't try to be
|
||||||
|
# clever and replace this with sed code, as IRIX sed won't handle
|
||||||
|
# lines with more than a fixed number of characters (4096 in
|
||||||
|
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
|
||||||
|
# the IRIX cc adds comments like '#:fec' to the end of the
|
||||||
|
# dependency line.
|
||||||
|
tr ' ' "$nl" < "$tmpdepfile" \
|
||||||
|
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
|
||||||
|
| tr "$nl" ' ' >> "$depfile"
|
||||||
|
echo >> "$depfile"
|
||||||
|
# The second pass generates a dummy entry for each header file.
|
||||||
|
tr ' ' "$nl" < "$tmpdepfile" \
|
||||||
|
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
|
||||||
|
>> "$depfile"
|
||||||
|
else
|
||||||
|
make_dummy_depfile
|
||||||
|
fi
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
xlc)
|
||||||
|
# This case exists only to let depend.m4 do its work. It works by
|
||||||
|
# looking at the text of this script. This case will never be run,
|
||||||
|
# since it is checked for above.
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
aix)
|
||||||
|
# The C for AIX Compiler uses -M and outputs the dependencies
|
||||||
|
# in a .u file. In older versions, this file always lives in the
|
||||||
|
# current directory. Also, the AIX compiler puts '$object:' at the
|
||||||
|
# start of each line; $object doesn't have directory information.
|
||||||
|
# Version 6 uses the directory in both cases.
|
||||||
|
set_dir_from "$object"
|
||||||
|
set_base_from "$object"
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
tmpdepfile1=$dir$base.u
|
||||||
|
tmpdepfile2=$base.u
|
||||||
|
tmpdepfile3=$dir.libs/$base.u
|
||||||
|
"$@" -Wc,-M
|
||||||
|
else
|
||||||
|
tmpdepfile1=$dir$base.u
|
||||||
|
tmpdepfile2=$dir$base.u
|
||||||
|
tmpdepfile3=$dir$base.u
|
||||||
|
"$@" -M
|
||||||
|
fi
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
|
||||||
|
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||||
|
do
|
||||||
|
test -f "$tmpdepfile" && break
|
||||||
|
done
|
||||||
|
aix_post_process_depfile
|
||||||
|
;;
|
||||||
|
|
||||||
|
tcc)
|
||||||
|
# tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26
|
||||||
|
# FIXME: That version still under development at the moment of writing.
|
||||||
|
# Make that this statement remains true also for stable, released
|
||||||
|
# versions.
|
||||||
|
# It will wrap lines (doesn't matter whether long or short) with a
|
||||||
|
# trailing '\', as in:
|
||||||
|
#
|
||||||
|
# foo.o : \
|
||||||
|
# foo.c \
|
||||||
|
# foo.h \
|
||||||
|
#
|
||||||
|
# It will put a trailing '\' even on the last line, and will use leading
|
||||||
|
# spaces rather than leading tabs (at least since its commit 0394caf7
|
||||||
|
# "Emit spaces for -MD").
|
||||||
|
"$@" -MD -MF "$tmpdepfile"
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
rm -f "$depfile"
|
||||||
|
# Each non-empty line is of the form 'foo.o : \' or ' dep.h \'.
|
||||||
|
# We have to change lines of the first kind to '$object: \'.
|
||||||
|
sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
|
||||||
|
# And for each line of the second kind, we have to emit a 'dep.h:'
|
||||||
|
# dummy dependency, to avoid the deleted-header problem.
|
||||||
|
sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
## The order of this option in the case statement is important, since the
|
||||||
|
## shell code in configure will try each of these formats in the order
|
||||||
|
## listed in this file. A plain '-MD' option would be understood by many
|
||||||
|
## compilers, so we must ensure this comes after the gcc and icc options.
|
||||||
|
pgcc)
|
||||||
|
# Portland's C compiler understands '-MD'.
|
||||||
|
# Will always output deps to 'file.d' where file is the root name of the
|
||||||
|
# source file under compilation, even if file resides in a subdirectory.
|
||||||
|
# The object file name does not affect the name of the '.d' file.
|
||||||
|
# pgcc 10.2 will output
|
||||||
|
# foo.o: sub/foo.c sub/foo.h
|
||||||
|
# and will wrap long lines using '\' :
|
||||||
|
# foo.o: sub/foo.c ... \
|
||||||
|
# sub/foo.h ... \
|
||||||
|
# ...
|
||||||
|
set_dir_from "$object"
|
||||||
|
# Use the source, not the object, to determine the base name, since
|
||||||
|
# that's sadly what pgcc will do too.
|
||||||
|
set_base_from "$source"
|
||||||
|
tmpdepfile=$base.d
|
||||||
|
|
||||||
|
# For projects that build the same source file twice into different object
|
||||||
|
# files, the pgcc approach of using the *source* file root name can cause
|
||||||
|
# problems in parallel builds. Use a locking strategy to avoid stomping on
|
||||||
|
# the same $tmpdepfile.
|
||||||
|
lockdir=$base.d-lock
|
||||||
|
trap "
|
||||||
|
echo '$0: caught signal, cleaning up...' >&2
|
||||||
|
rmdir '$lockdir'
|
||||||
|
exit 1
|
||||||
|
" 1 2 13 15
|
||||||
|
numtries=100
|
||||||
|
i=$numtries
|
||||||
|
while test $i -gt 0; do
|
||||||
|
# mkdir is a portable test-and-set.
|
||||||
|
if mkdir "$lockdir" 2>/dev/null; then
|
||||||
|
# This process acquired the lock.
|
||||||
|
"$@" -MD
|
||||||
|
stat=$?
|
||||||
|
# Release the lock.
|
||||||
|
rmdir "$lockdir"
|
||||||
|
break
|
||||||
|
else
|
||||||
|
# If the lock is being held by a different process, wait
|
||||||
|
# until the winning process is done or we timeout.
|
||||||
|
while test -d "$lockdir" && test $i -gt 0; do
|
||||||
|
sleep 1
|
||||||
|
i=`expr $i - 1`
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
i=`expr $i - 1`
|
||||||
|
done
|
||||||
|
trap - 1 2 13 15
|
||||||
|
if test $i -le 0; then
|
||||||
|
echo "$0: failed to acquire lock after $numtries attempts" >&2
|
||||||
|
echo "$0: check lockdir '$lockdir'" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
rm -f "$depfile"
|
||||||
|
# Each line is of the form `foo.o: dependent.h',
|
||||||
|
# or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
|
||||||
|
# Do two passes, one to just change these to
|
||||||
|
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||||
|
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
|
||||||
|
# Some versions of the HPUX 10.20 sed can't process this invocation
|
||||||
|
# correctly. Breaking it into two sed invocations is a workaround.
|
||||||
|
sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
|
||||||
|
| sed -e 's/$/ :/' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
hp2)
|
||||||
|
# The "hp" stanza above does not work with aCC (C++) and HP's ia64
|
||||||
|
# compilers, which have integrated preprocessors. The correct option
|
||||||
|
# to use with these is +Maked; it writes dependencies to a file named
|
||||||
|
# 'foo.d', which lands next to the object file, wherever that
|
||||||
|
# happens to be.
|
||||||
|
# Much of this is similar to the tru64 case; see comments there.
|
||||||
|
set_dir_from "$object"
|
||||||
|
set_base_from "$object"
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
tmpdepfile1=$dir$base.d
|
||||||
|
tmpdepfile2=$dir.libs/$base.d
|
||||||
|
"$@" -Wc,+Maked
|
||||||
|
else
|
||||||
|
tmpdepfile1=$dir$base.d
|
||||||
|
tmpdepfile2=$dir$base.d
|
||||||
|
"$@" +Maked
|
||||||
|
fi
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile1" "$tmpdepfile2"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
|
||||||
|
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
|
||||||
|
do
|
||||||
|
test -f "$tmpdepfile" && break
|
||||||
|
done
|
||||||
|
if test -f "$tmpdepfile"; then
|
||||||
|
sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
|
||||||
|
# Add 'dependent.h:' lines.
|
||||||
|
sed -ne '2,${
|
||||||
|
s/^ *//
|
||||||
|
s/ \\*$//
|
||||||
|
s/$/:/
|
||||||
|
p
|
||||||
|
}' "$tmpdepfile" >> "$depfile"
|
||||||
|
else
|
||||||
|
make_dummy_depfile
|
||||||
|
fi
|
||||||
|
rm -f "$tmpdepfile" "$tmpdepfile2"
|
||||||
|
;;
|
||||||
|
|
||||||
|
tru64)
|
||||||
|
# The Tru64 compiler uses -MD to generate dependencies as a side
|
||||||
|
# effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
|
||||||
|
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
|
||||||
|
# dependencies in 'foo.d' instead, so we check for that too.
|
||||||
|
# Subdirectories are respected.
|
||||||
|
set_dir_from "$object"
|
||||||
|
set_base_from "$object"
|
||||||
|
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
# Libtool generates 2 separate objects for the 2 libraries. These
|
||||||
|
# two compilations output dependencies in $dir.libs/$base.o.d and
|
||||||
|
# in $dir$base.o.d. We have to check for both files, because
|
||||||
|
# one of the two compilations can be disabled. We should prefer
|
||||||
|
# $dir$base.o.d over $dir.libs/$base.o.d because the latter is
|
||||||
|
# automatically cleaned when .libs/ is deleted, while ignoring
|
||||||
|
# the former would cause a distcleancheck panic.
|
||||||
|
tmpdepfile1=$dir$base.o.d # libtool 1.5
|
||||||
|
tmpdepfile2=$dir.libs/$base.o.d # Likewise.
|
||||||
|
tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504
|
||||||
|
"$@" -Wc,-MD
|
||||||
|
else
|
||||||
|
tmpdepfile1=$dir$base.d
|
||||||
|
tmpdepfile2=$dir$base.d
|
||||||
|
tmpdepfile3=$dir$base.d
|
||||||
|
"$@" -MD
|
||||||
|
fi
|
||||||
|
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
|
||||||
|
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||||
|
do
|
||||||
|
test -f "$tmpdepfile" && break
|
||||||
|
done
|
||||||
|
# Same post-processing that is required for AIX mode.
|
||||||
|
aix_post_process_depfile
|
||||||
|
;;
|
||||||
|
|
||||||
|
msvc7)
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
showIncludes=-Wc,-showIncludes
|
||||||
|
else
|
||||||
|
showIncludes=-showIncludes
|
||||||
|
fi
|
||||||
|
"$@" $showIncludes > "$tmpdepfile"
|
||||||
|
stat=$?
|
||||||
|
grep -v '^Note: including file: ' "$tmpdepfile"
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
rm -f "$depfile"
|
||||||
|
echo "$object : \\" > "$depfile"
|
||||||
|
# The first sed program below extracts the file names and escapes
|
||||||
|
# backslashes for cygpath. The second sed program outputs the file
|
||||||
|
# name when reading, but also accumulates all include files in the
|
||||||
|
# hold buffer in order to output them again at the end. This only
|
||||||
|
# works with sed implementations that can handle large buffers.
|
||||||
|
sed < "$tmpdepfile" -n '
|
||||||
|
/^Note: including file: *\(.*\)/ {
|
||||||
|
s//\1/
|
||||||
|
s/\\/\\\\/g
|
||||||
|
p
|
||||||
|
}' | $cygpath_u | sort -u | sed -n '
|
||||||
|
s/ /\\ /g
|
||||||
|
s/\(.*\)/'"$tab"'\1 \\/p
|
||||||
|
s/.\(.*\) \\/\1:/
|
||||||
|
H
|
||||||
|
$ {
|
||||||
|
s/.*/'"$tab"'/
|
||||||
|
G
|
||||||
|
p
|
||||||
|
}' >> "$depfile"
|
||||||
|
echo >> "$depfile" # make sure the fragment doesn't end with a backslash
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
msvc7msys)
|
||||||
|
# This case exists only to let depend.m4 do its work. It works by
|
||||||
|
# looking at the text of this script. This case will never be run,
|
||||||
|
# since it is checked for above.
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
#nosideeffect)
|
||||||
|
# This comment above is used by automake to tell side-effect
|
||||||
|
# dependency tracking mechanisms from slower ones.
|
||||||
|
|
||||||
|
dashmstdout)
|
||||||
|
# Important note: in order to support this mode, a compiler *must*
|
||||||
|
# always write the preprocessed file to stdout, regardless of -o.
|
||||||
|
"$@" || exit $?
|
||||||
|
|
||||||
|
# Remove the call to Libtool.
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
while test "X$1" != 'X--mode=compile'; do
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Remove '-o $object'.
|
||||||
|
IFS=" "
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
case $arg in
|
||||||
|
-o)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
$object)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set fnord "$@" "$arg"
|
||||||
|
shift # fnord
|
||||||
|
shift # $arg
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
test -z "$dashmflag" && dashmflag=-M
|
||||||
|
# Require at least two characters before searching for ':'
|
||||||
|
# in the target name. This is to cope with DOS-style filenames:
|
||||||
|
# a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
|
||||||
|
"$@" $dashmflag |
|
||||||
|
sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
|
||||||
|
rm -f "$depfile"
|
||||||
|
cat < "$tmpdepfile" > "$depfile"
|
||||||
|
# Some versions of the HPUX 10.20 sed can't process this sed invocation
|
||||||
|
# correctly. Breaking it into two sed invocations is a workaround.
|
||||||
|
tr ' ' "$nl" < "$tmpdepfile" \
|
||||||
|
| sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
|
||||||
|
| sed -e 's/$/ :/' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
dashXmstdout)
|
||||||
|
# This case only exists to satisfy depend.m4. It is never actually
|
||||||
|
# run, as this mode is specially recognized in the preamble.
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
makedepend)
|
||||||
|
"$@" || exit $?
|
||||||
|
# Remove any Libtool call
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
while test "X$1" != 'X--mode=compile'; do
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
# X makedepend
|
||||||
|
shift
|
||||||
|
cleared=no eat=no
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
case $cleared in
|
||||||
|
no)
|
||||||
|
set ""; shift
|
||||||
|
cleared=yes ;;
|
||||||
|
esac
|
||||||
|
if test $eat = yes; then
|
||||||
|
eat=no
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
case "$arg" in
|
||||||
|
-D*|-I*)
|
||||||
|
set fnord "$@" "$arg"; shift ;;
|
||||||
|
# Strip any option that makedepend may not understand. Remove
|
||||||
|
# the object too, otherwise makedepend will parse it as a source file.
|
||||||
|
-arch)
|
||||||
|
eat=yes ;;
|
||||||
|
-*|$object)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set fnord "$@" "$arg"; shift ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
obj_suffix=`echo "$object" | sed 's/^.*\././'`
|
||||||
|
touch "$tmpdepfile"
|
||||||
|
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
|
||||||
|
rm -f "$depfile"
|
||||||
|
# makedepend may prepend the VPATH from the source file name to the object.
|
||||||
|
# No need to regex-escape $object, excess matching of '.' is harmless.
|
||||||
|
sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
|
||||||
|
# Some versions of the HPUX 10.20 sed can't process the last invocation
|
||||||
|
# correctly. Breaking it into two sed invocations is a workaround.
|
||||||
|
sed '1,2d' "$tmpdepfile" \
|
||||||
|
| tr ' ' "$nl" \
|
||||||
|
| sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
|
||||||
|
| sed -e 's/$/ :/' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile" "$tmpdepfile".bak
|
||||||
|
;;
|
||||||
|
|
||||||
|
cpp)
|
||||||
|
# Important note: in order to support this mode, a compiler *must*
|
||||||
|
# always write the preprocessed file to stdout.
|
||||||
|
"$@" || exit $?
|
||||||
|
|
||||||
|
# Remove the call to Libtool.
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
while test "X$1" != 'X--mode=compile'; do
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Remove '-o $object'.
|
||||||
|
IFS=" "
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
case $arg in
|
||||||
|
-o)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
$object)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set fnord "$@" "$arg"
|
||||||
|
shift # fnord
|
||||||
|
shift # $arg
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
"$@" -E \
|
||||||
|
| sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
|
||||||
|
-e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
|
||||||
|
| sed '$ s: \\$::' > "$tmpdepfile"
|
||||||
|
rm -f "$depfile"
|
||||||
|
echo "$object : \\" > "$depfile"
|
||||||
|
cat < "$tmpdepfile" >> "$depfile"
|
||||||
|
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
msvisualcpp)
|
||||||
|
# Important note: in order to support this mode, a compiler *must*
|
||||||
|
# always write the preprocessed file to stdout.
|
||||||
|
"$@" || exit $?
|
||||||
|
|
||||||
|
# Remove the call to Libtool.
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
while test "X$1" != 'X--mode=compile'; do
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
|
||||||
|
IFS=" "
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
case "$arg" in
|
||||||
|
-o)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
$object)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
|
||||||
|
set fnord "$@"
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set fnord "$@" "$arg"
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
"$@" -E 2>/dev/null |
|
||||||
|
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
|
||||||
|
rm -f "$depfile"
|
||||||
|
echo "$object : \\" > "$depfile"
|
||||||
|
sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
|
||||||
|
echo "$tab" >> "$depfile"
|
||||||
|
sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
msvcmsys)
|
||||||
|
# This case exists only to let depend.m4 do its work. It works by
|
||||||
|
# looking at the text of this script. This case will never be run,
|
||||||
|
# since it is checked for above.
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
none)
|
||||||
|
exec "$@"
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
echo "Unknown depmode $depmode" 1>&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: shell-script
|
||||||
|
# sh-indentation: 2
|
||||||
|
# eval: (add-hook 'before-save-hook 'time-stamp)
|
||||||
|
# time-stamp-start: "scriptversion="
|
||||||
|
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||||
|
# time-stamp-time-zone: "UTC0"
|
||||||
|
# time-stamp-end: "; # UTC"
|
||||||
|
# End:
|
||||||
541
install-sh
Executable file
541
install-sh
Executable file
@@ -0,0 +1,541 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# install - install a program, script, or datafile
|
||||||
|
|
||||||
|
scriptversion=2020-11-14.01; # UTC
|
||||||
|
|
||||||
|
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||||
|
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||||
|
# following copyright and license.
|
||||||
|
#
|
||||||
|
# Copyright (C) 1994 X Consortium
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to
|
||||||
|
# deal in the Software without restriction, including without limitation the
|
||||||
|
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||||
|
# sell copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in
|
||||||
|
# all copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||||
|
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
||||||
|
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
#
|
||||||
|
# Except as contained in this notice, the name of the X Consortium shall not
|
||||||
|
# be used in advertising or otherwise to promote the sale, use or other deal-
|
||||||
|
# ings in this Software without prior written authorization from the X Consor-
|
||||||
|
# tium.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# FSF changes to this file are in the public domain.
|
||||||
|
#
|
||||||
|
# Calling this script install-sh is preferred over install.sh, to prevent
|
||||||
|
# 'make' implicit rules from creating a file called install from it
|
||||||
|
# when there is no Makefile.
|
||||||
|
#
|
||||||
|
# This script is compatible with the BSD install script, but was written
|
||||||
|
# from scratch.
|
||||||
|
|
||||||
|
tab=' '
|
||||||
|
nl='
|
||||||
|
'
|
||||||
|
IFS=" $tab$nl"
|
||||||
|
|
||||||
|
# Set DOITPROG to "echo" to test this script.
|
||||||
|
|
||||||
|
doit=${DOITPROG-}
|
||||||
|
doit_exec=${doit:-exec}
|
||||||
|
|
||||||
|
# Put in absolute file names if you don't have them in your path;
|
||||||
|
# or use environment vars.
|
||||||
|
|
||||||
|
chgrpprog=${CHGRPPROG-chgrp}
|
||||||
|
chmodprog=${CHMODPROG-chmod}
|
||||||
|
chownprog=${CHOWNPROG-chown}
|
||||||
|
cmpprog=${CMPPROG-cmp}
|
||||||
|
cpprog=${CPPROG-cp}
|
||||||
|
mkdirprog=${MKDIRPROG-mkdir}
|
||||||
|
mvprog=${MVPROG-mv}
|
||||||
|
rmprog=${RMPROG-rm}
|
||||||
|
stripprog=${STRIPPROG-strip}
|
||||||
|
|
||||||
|
posix_mkdir=
|
||||||
|
|
||||||
|
# Desired mode of installed file.
|
||||||
|
mode=0755
|
||||||
|
|
||||||
|
# Create dirs (including intermediate dirs) using mode 755.
|
||||||
|
# This is like GNU 'install' as of coreutils 8.32 (2020).
|
||||||
|
mkdir_umask=22
|
||||||
|
|
||||||
|
backupsuffix=
|
||||||
|
chgrpcmd=
|
||||||
|
chmodcmd=$chmodprog
|
||||||
|
chowncmd=
|
||||||
|
mvcmd=$mvprog
|
||||||
|
rmcmd="$rmprog -f"
|
||||||
|
stripcmd=
|
||||||
|
|
||||||
|
src=
|
||||||
|
dst=
|
||||||
|
dir_arg=
|
||||||
|
dst_arg=
|
||||||
|
|
||||||
|
copy_on_change=false
|
||||||
|
is_target_a_directory=possibly
|
||||||
|
|
||||||
|
usage="\
|
||||||
|
Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
||||||
|
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
||||||
|
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
||||||
|
or: $0 [OPTION]... -d DIRECTORIES...
|
||||||
|
|
||||||
|
In the 1st form, copy SRCFILE to DSTFILE.
|
||||||
|
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
||||||
|
In the 4th, create DIRECTORIES.
|
||||||
|
|
||||||
|
Options:
|
||||||
|
--help display this help and exit.
|
||||||
|
--version display version info and exit.
|
||||||
|
|
||||||
|
-c (ignored)
|
||||||
|
-C install only if different (preserve data modification time)
|
||||||
|
-d create directories instead of installing files.
|
||||||
|
-g GROUP $chgrpprog installed files to GROUP.
|
||||||
|
-m MODE $chmodprog installed files to MODE.
|
||||||
|
-o USER $chownprog installed files to USER.
|
||||||
|
-p pass -p to $cpprog.
|
||||||
|
-s $stripprog installed files.
|
||||||
|
-S SUFFIX attempt to back up existing files, with suffix SUFFIX.
|
||||||
|
-t DIRECTORY install into DIRECTORY.
|
||||||
|
-T report an error if DSTFILE is a directory.
|
||||||
|
|
||||||
|
Environment variables override the default commands:
|
||||||
|
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
|
||||||
|
RMPROG STRIPPROG
|
||||||
|
|
||||||
|
By default, rm is invoked with -f; when overridden with RMPROG,
|
||||||
|
it's up to you to specify -f if you want it.
|
||||||
|
|
||||||
|
If -S is not specified, no backups are attempted.
|
||||||
|
|
||||||
|
Email bug reports to bug-automake@gnu.org.
|
||||||
|
Automake home page: https://www.gnu.org/software/automake/
|
||||||
|
"
|
||||||
|
|
||||||
|
while test $# -ne 0; do
|
||||||
|
case $1 in
|
||||||
|
-c) ;;
|
||||||
|
|
||||||
|
-C) copy_on_change=true;;
|
||||||
|
|
||||||
|
-d) dir_arg=true;;
|
||||||
|
|
||||||
|
-g) chgrpcmd="$chgrpprog $2"
|
||||||
|
shift;;
|
||||||
|
|
||||||
|
--help) echo "$usage"; exit $?;;
|
||||||
|
|
||||||
|
-m) mode=$2
|
||||||
|
case $mode in
|
||||||
|
*' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
|
||||||
|
echo "$0: invalid mode: $mode" >&2
|
||||||
|
exit 1;;
|
||||||
|
esac
|
||||||
|
shift;;
|
||||||
|
|
||||||
|
-o) chowncmd="$chownprog $2"
|
||||||
|
shift;;
|
||||||
|
|
||||||
|
-p) cpprog="$cpprog -p";;
|
||||||
|
|
||||||
|
-s) stripcmd=$stripprog;;
|
||||||
|
|
||||||
|
-S) backupsuffix="$2"
|
||||||
|
shift;;
|
||||||
|
|
||||||
|
-t)
|
||||||
|
is_target_a_directory=always
|
||||||
|
dst_arg=$2
|
||||||
|
# Protect names problematic for 'test' and other utilities.
|
||||||
|
case $dst_arg in
|
||||||
|
-* | [=\(\)!]) dst_arg=./$dst_arg;;
|
||||||
|
esac
|
||||||
|
shift;;
|
||||||
|
|
||||||
|
-T) is_target_a_directory=never;;
|
||||||
|
|
||||||
|
--version) echo "$0 $scriptversion"; exit $?;;
|
||||||
|
|
||||||
|
--) shift
|
||||||
|
break;;
|
||||||
|
|
||||||
|
-*) echo "$0: invalid option: $1" >&2
|
||||||
|
exit 1;;
|
||||||
|
|
||||||
|
*) break;;
|
||||||
|
esac
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
|
||||||
|
# We allow the use of options -d and -T together, by making -d
|
||||||
|
# take the precedence; this is for compatibility with GNU install.
|
||||||
|
|
||||||
|
if test -n "$dir_arg"; then
|
||||||
|
if test -n "$dst_arg"; then
|
||||||
|
echo "$0: target directory not allowed when installing a directory." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
|
||||||
|
# When -d is used, all remaining arguments are directories to create.
|
||||||
|
# When -t is used, the destination is already specified.
|
||||||
|
# Otherwise, the last argument is the destination. Remove it from $@.
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
if test -n "$dst_arg"; then
|
||||||
|
# $@ is not empty: it contains at least $arg.
|
||||||
|
set fnord "$@" "$dst_arg"
|
||||||
|
shift # fnord
|
||||||
|
fi
|
||||||
|
shift # arg
|
||||||
|
dst_arg=$arg
|
||||||
|
# Protect names problematic for 'test' and other utilities.
|
||||||
|
case $dst_arg in
|
||||||
|
-* | [=\(\)!]) dst_arg=./$dst_arg;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test $# -eq 0; then
|
||||||
|
if test -z "$dir_arg"; then
|
||||||
|
echo "$0: no input file specified." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
# It's OK to call 'install-sh -d' without argument.
|
||||||
|
# This can happen when creating conditional directories.
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -z "$dir_arg"; then
|
||||||
|
if test $# -gt 1 || test "$is_target_a_directory" = always; then
|
||||||
|
if test ! -d "$dst_arg"; then
|
||||||
|
echo "$0: $dst_arg: Is not a directory." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -z "$dir_arg"; then
|
||||||
|
do_exit='(exit $ret); exit $ret'
|
||||||
|
trap "ret=129; $do_exit" 1
|
||||||
|
trap "ret=130; $do_exit" 2
|
||||||
|
trap "ret=141; $do_exit" 13
|
||||||
|
trap "ret=143; $do_exit" 15
|
||||||
|
|
||||||
|
# Set umask so as not to create temps with too-generous modes.
|
||||||
|
# However, 'strip' requires both read and write access to temps.
|
||||||
|
case $mode in
|
||||||
|
# Optimize common cases.
|
||||||
|
*644) cp_umask=133;;
|
||||||
|
*755) cp_umask=22;;
|
||||||
|
|
||||||
|
*[0-7])
|
||||||
|
if test -z "$stripcmd"; then
|
||||||
|
u_plus_rw=
|
||||||
|
else
|
||||||
|
u_plus_rw='% 200'
|
||||||
|
fi
|
||||||
|
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
|
||||||
|
*)
|
||||||
|
if test -z "$stripcmd"; then
|
||||||
|
u_plus_rw=
|
||||||
|
else
|
||||||
|
u_plus_rw=,u+rw
|
||||||
|
fi
|
||||||
|
cp_umask=$mode$u_plus_rw;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
for src
|
||||||
|
do
|
||||||
|
# Protect names problematic for 'test' and other utilities.
|
||||||
|
case $src in
|
||||||
|
-* | [=\(\)!]) src=./$src;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if test -n "$dir_arg"; then
|
||||||
|
dst=$src
|
||||||
|
dstdir=$dst
|
||||||
|
test -d "$dstdir"
|
||||||
|
dstdir_status=$?
|
||||||
|
# Don't chown directories that already exist.
|
||||||
|
if test $dstdir_status = 0; then
|
||||||
|
chowncmd=""
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
|
||||||
|
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
||||||
|
# might cause directories to be created, which would be especially bad
|
||||||
|
# if $src (and thus $dsttmp) contains '*'.
|
||||||
|
if test ! -f "$src" && test ! -d "$src"; then
|
||||||
|
echo "$0: $src does not exist." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -z "$dst_arg"; then
|
||||||
|
echo "$0: no destination specified." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
dst=$dst_arg
|
||||||
|
|
||||||
|
# If destination is a directory, append the input filename.
|
||||||
|
if test -d "$dst"; then
|
||||||
|
if test "$is_target_a_directory" = never; then
|
||||||
|
echo "$0: $dst_arg: Is a directory" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
dstdir=$dst
|
||||||
|
dstbase=`basename "$src"`
|
||||||
|
case $dst in
|
||||||
|
*/) dst=$dst$dstbase;;
|
||||||
|
*) dst=$dst/$dstbase;;
|
||||||
|
esac
|
||||||
|
dstdir_status=0
|
||||||
|
else
|
||||||
|
dstdir=`dirname "$dst"`
|
||||||
|
test -d "$dstdir"
|
||||||
|
dstdir_status=$?
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
case $dstdir in
|
||||||
|
*/) dstdirslash=$dstdir;;
|
||||||
|
*) dstdirslash=$dstdir/;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
obsolete_mkdir_used=false
|
||||||
|
|
||||||
|
if test $dstdir_status != 0; then
|
||||||
|
case $posix_mkdir in
|
||||||
|
'')
|
||||||
|
# With -d, create the new directory with the user-specified mode.
|
||||||
|
# Otherwise, rely on $mkdir_umask.
|
||||||
|
if test -n "$dir_arg"; then
|
||||||
|
mkdir_mode=-m$mode
|
||||||
|
else
|
||||||
|
mkdir_mode=
|
||||||
|
fi
|
||||||
|
|
||||||
|
posix_mkdir=false
|
||||||
|
# The $RANDOM variable is not portable (e.g., dash). Use it
|
||||||
|
# here however when possible just to lower collision chance.
|
||||||
|
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
||||||
|
|
||||||
|
trap '
|
||||||
|
ret=$?
|
||||||
|
rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null
|
||||||
|
exit $ret
|
||||||
|
' 0
|
||||||
|
|
||||||
|
# Because "mkdir -p" follows existing symlinks and we likely work
|
||||||
|
# directly in world-writeable /tmp, make sure that the '$tmpdir'
|
||||||
|
# directory is successfully created first before we actually test
|
||||||
|
# 'mkdir -p'.
|
||||||
|
if (umask $mkdir_umask &&
|
||||||
|
$mkdirprog $mkdir_mode "$tmpdir" &&
|
||||||
|
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
|
||||||
|
then
|
||||||
|
if test -z "$dir_arg" || {
|
||||||
|
# Check for POSIX incompatibilities with -m.
|
||||||
|
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
|
||||||
|
# other-writable bit of parent directory when it shouldn't.
|
||||||
|
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
|
||||||
|
test_tmpdir="$tmpdir/a"
|
||||||
|
ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
|
||||||
|
case $ls_ld_tmpdir in
|
||||||
|
d????-?r-*) different_mode=700;;
|
||||||
|
d????-?--*) different_mode=755;;
|
||||||
|
*) false;;
|
||||||
|
esac &&
|
||||||
|
$mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
|
||||||
|
ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
|
||||||
|
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
then posix_mkdir=:
|
||||||
|
fi
|
||||||
|
rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
|
||||||
|
else
|
||||||
|
# Remove any dirs left behind by ancient mkdir implementations.
|
||||||
|
rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
|
||||||
|
fi
|
||||||
|
trap '' 0;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if
|
||||||
|
$posix_mkdir && (
|
||||||
|
umask $mkdir_umask &&
|
||||||
|
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
|
||||||
|
)
|
||||||
|
then :
|
||||||
|
else
|
||||||
|
|
||||||
|
# mkdir does not conform to POSIX,
|
||||||
|
# or it failed possibly due to a race condition. Create the
|
||||||
|
# directory the slow way, step by step, checking for races as we go.
|
||||||
|
|
||||||
|
case $dstdir in
|
||||||
|
/*) prefix='/';;
|
||||||
|
[-=\(\)!]*) prefix='./';;
|
||||||
|
*) prefix='';;
|
||||||
|
esac
|
||||||
|
|
||||||
|
oIFS=$IFS
|
||||||
|
IFS=/
|
||||||
|
set -f
|
||||||
|
set fnord $dstdir
|
||||||
|
shift
|
||||||
|
set +f
|
||||||
|
IFS=$oIFS
|
||||||
|
|
||||||
|
prefixes=
|
||||||
|
|
||||||
|
for d
|
||||||
|
do
|
||||||
|
test X"$d" = X && continue
|
||||||
|
|
||||||
|
prefix=$prefix$d
|
||||||
|
if test -d "$prefix"; then
|
||||||
|
prefixes=
|
||||||
|
else
|
||||||
|
if $posix_mkdir; then
|
||||||
|
(umask $mkdir_umask &&
|
||||||
|
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
||||||
|
# Don't fail if two instances are running concurrently.
|
||||||
|
test -d "$prefix" || exit 1
|
||||||
|
else
|
||||||
|
case $prefix in
|
||||||
|
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
|
||||||
|
*) qprefix=$prefix;;
|
||||||
|
esac
|
||||||
|
prefixes="$prefixes '$qprefix'"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
prefix=$prefix/
|
||||||
|
done
|
||||||
|
|
||||||
|
if test -n "$prefixes"; then
|
||||||
|
# Don't fail if two instances are running concurrently.
|
||||||
|
(umask $mkdir_umask &&
|
||||||
|
eval "\$doit_exec \$mkdirprog $prefixes") ||
|
||||||
|
test -d "$dstdir" || exit 1
|
||||||
|
obsolete_mkdir_used=true
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -n "$dir_arg"; then
|
||||||
|
{ test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
|
||||||
|
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
|
||||||
|
{ test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
|
||||||
|
test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
|
||||||
|
else
|
||||||
|
|
||||||
|
# Make a couple of temp file names in the proper directory.
|
||||||
|
dsttmp=${dstdirslash}_inst.$$_
|
||||||
|
rmtmp=${dstdirslash}_rm.$$_
|
||||||
|
|
||||||
|
# Trap to clean up those temp files at exit.
|
||||||
|
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
||||||
|
|
||||||
|
# Copy the file name to the temp name.
|
||||||
|
(umask $cp_umask &&
|
||||||
|
{ test -z "$stripcmd" || {
|
||||||
|
# Create $dsttmp read-write so that cp doesn't create it read-only,
|
||||||
|
# which would cause strip to fail.
|
||||||
|
if test -z "$doit"; then
|
||||||
|
: >"$dsttmp" # No need to fork-exec 'touch'.
|
||||||
|
else
|
||||||
|
$doit touch "$dsttmp"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
} &&
|
||||||
|
$doit_exec $cpprog "$src" "$dsttmp") &&
|
||||||
|
|
||||||
|
# and set any options; do chmod last to preserve setuid bits.
|
||||||
|
#
|
||||||
|
# If any of these fail, we abort the whole thing. If we want to
|
||||||
|
# ignore errors from any of these, just make sure not to ignore
|
||||||
|
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
||||||
|
#
|
||||||
|
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
|
||||||
|
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
|
||||||
|
{ test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
|
||||||
|
{ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
|
||||||
|
|
||||||
|
# If -C, don't bother to copy if it wouldn't change the file.
|
||||||
|
if $copy_on_change &&
|
||||||
|
old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
|
||||||
|
new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
|
||||||
|
set -f &&
|
||||||
|
set X $old && old=:$2:$4:$5:$6 &&
|
||||||
|
set X $new && new=:$2:$4:$5:$6 &&
|
||||||
|
set +f &&
|
||||||
|
test "$old" = "$new" &&
|
||||||
|
$cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
|
||||||
|
then
|
||||||
|
rm -f "$dsttmp"
|
||||||
|
else
|
||||||
|
# If $backupsuffix is set, and the file being installed
|
||||||
|
# already exists, attempt a backup. Don't worry if it fails,
|
||||||
|
# e.g., if mv doesn't support -f.
|
||||||
|
if test -n "$backupsuffix" && test -f "$dst"; then
|
||||||
|
$doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Rename the file to the real destination.
|
||||||
|
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
|
||||||
|
|
||||||
|
# The rename failed, perhaps because mv can't rename something else
|
||||||
|
# to itself, or perhaps because mv is so ancient that it does not
|
||||||
|
# support -f.
|
||||||
|
{
|
||||||
|
# Now remove or move aside any old file at destination location.
|
||||||
|
# We try this two ways since rm can't unlink itself on some
|
||||||
|
# systems and the destination file might be busy for other
|
||||||
|
# reasons. In this case, the final cleanup might fail but the new
|
||||||
|
# file should still install successfully.
|
||||||
|
{
|
||||||
|
test ! -f "$dst" ||
|
||||||
|
$doit $rmcmd "$dst" 2>/dev/null ||
|
||||||
|
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
|
||||||
|
{ $doit $rmcmd "$rmtmp" 2>/dev/null; :; }
|
||||||
|
} ||
|
||||||
|
{ echo "$0: cannot unlink or rename $dst" >&2
|
||||||
|
(exit 1); exit 1
|
||||||
|
}
|
||||||
|
} &&
|
||||||
|
|
||||||
|
# Now rename the file to the real destination.
|
||||||
|
$doit $mvcmd "$dsttmp" "$dst"
|
||||||
|
}
|
||||||
|
fi || exit 1
|
||||||
|
|
||||||
|
trap '' 0
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Local variables:
|
||||||
|
# eval: (add-hook 'before-save-hook 'time-stamp)
|
||||||
|
# time-stamp-start: "scriptversion="
|
||||||
|
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||||
|
# time-stamp-time-zone: "UTC0"
|
||||||
|
# time-stamp-end: "; # UTC"
|
||||||
|
# End:
|
||||||
45
libpostal.def
Normal file
45
libpostal.def
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
EXPORTS
|
||||||
|
libpostal_address_parser_response_destroy
|
||||||
|
libpostal_expand_address
|
||||||
|
libpostal_expand_address_root
|
||||||
|
libpostal_expansion_array_destroy
|
||||||
|
libpostal_address_parser_response_destroy
|
||||||
|
libpostal_language_classifier_response_destroy
|
||||||
|
libpostal_get_address_parser_default_options
|
||||||
|
libpostal_get_default_duplicate_options
|
||||||
|
libpostal_get_default_fuzzy_duplicate_options
|
||||||
|
libpostal_get_default_fuzzy_duplicate_options_with_languages
|
||||||
|
libpostal_get_default_options
|
||||||
|
libpostal_get_duplicate_options_with_languages
|
||||||
|
libpostal_get_near_dupe_hash_default_options
|
||||||
|
libpostal_is_floor_duplicate
|
||||||
|
libpostal_is_house_number_duplicate
|
||||||
|
libpostal_is_name_duplicate
|
||||||
|
libpostal_is_name_duplicate_fuzzy
|
||||||
|
libpostal_is_po_box_duplicate
|
||||||
|
libpostal_is_postal_code_duplicate
|
||||||
|
libpostal_is_street_duplicate
|
||||||
|
libpostal_is_street_duplicate_fuzzy
|
||||||
|
libpostal_is_toponym_duplicate
|
||||||
|
libpostal_is_unit_duplicate
|
||||||
|
libpostal_near_dupe_hashes
|
||||||
|
libpostal_near_dupe_hashes_languages
|
||||||
|
libpostal_near_dupe_name_hashes
|
||||||
|
libpostal_normalize_string
|
||||||
|
libpostal_normalize_string_languages
|
||||||
|
libpostal_normalized_tokens
|
||||||
|
libpostal_normalized_tokens_languages
|
||||||
|
libpostal_parse_address
|
||||||
|
libpostal_parser_print_features
|
||||||
|
libpostal_place_languages
|
||||||
|
libpostal_classify_language
|
||||||
|
libpostal_setup
|
||||||
|
libpostal_setup_datadir
|
||||||
|
libpostal_setup_language_classifier
|
||||||
|
libpostal_setup_language_classifier_datadir
|
||||||
|
libpostal_setup_parser
|
||||||
|
libpostal_setup_parser_datadir
|
||||||
|
libpostal_teardown
|
||||||
|
libpostal_teardown_language_classifier
|
||||||
|
libpostal_teardown_parser
|
||||||
|
libpostal_tokenize
|
||||||
11
libpostal.pc.in
Normal file
11
libpostal.pc.in
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
|
||||||
|
Name: libpostal
|
||||||
|
Description: Fast international street address parsing and normalization using statistical NLP.
|
||||||
|
Version: @PACKAGE_VERSION@
|
||||||
|
Libs: -L${libdir} -lpostal
|
||||||
|
Libs.private: @LIBS@
|
||||||
|
Cflags: -I${includedir}
|
||||||
182
m4/ax_cblas.m4
Normal file
182
m4/ax_cblas.m4
Normal file
@@ -0,0 +1,182 @@
|
|||||||
|
# ===========================================================================
|
||||||
|
# http://autoconf-archive.cryp.to/acx_blas.html
|
||||||
|
# ===========================================================================
|
||||||
|
#
|
||||||
|
# SYNOPSIS
|
||||||
|
#
|
||||||
|
# AX_CBLAS([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
|
||||||
|
#
|
||||||
|
# DESCRIPTION
|
||||||
|
#
|
||||||
|
# This macro looks for a library that implements the CBLAS linear-algebra
|
||||||
|
# interface (see http://www.netlib.org/blas/). On success, it sets the
|
||||||
|
# CBLAS_LIBS output variable to hold the requisite library linkages.
|
||||||
|
#
|
||||||
|
# To link with CBLAS, you should link with:
|
||||||
|
#
|
||||||
|
# $CBLAS_LIBS $LIBS
|
||||||
|
#
|
||||||
|
# in that order.
|
||||||
|
#
|
||||||
|
# Many libraries are searched for, from ATLAS to CXML to ESSL. The user
|
||||||
|
# may also use --with-cblas=<lib> in order to use some specific CBLAS
|
||||||
|
# library <lib>.
|
||||||
|
#
|
||||||
|
# ACTION-IF-FOUND is a list of shell commands to run if a BLAS library is
|
||||||
|
# found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it is
|
||||||
|
# not found. If ACTION-IF-FOUND is not specified, the default action will
|
||||||
|
# define HAVE_BLAS.
|
||||||
|
#
|
||||||
|
# This macro requires autoconf 2.50 or later.
|
||||||
|
#
|
||||||
|
# LAST MODIFICATION
|
||||||
|
#
|
||||||
|
# 2008-12-29
|
||||||
|
#
|
||||||
|
# COPYLEFT
|
||||||
|
#
|
||||||
|
# Copyright (c) 2008 Patrick O. Perry <patperry@stanfordalumni.org>
|
||||||
|
# Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or modify it
|
||||||
|
# under the terms of the GNU General Public License as published by the
|
||||||
|
# Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
# option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful, but
|
||||||
|
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||||
|
# Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License along
|
||||||
|
# with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
# As a special exception, the respective Autoconf Macro's copyright owner
|
||||||
|
# gives unlimited permission to copy, distribute and modify the configure
|
||||||
|
# scripts that are the output of Autoconf when processing the Macro. You
|
||||||
|
# need not follow the terms of the GNU General Public License when using
|
||||||
|
# or distributing such scripts, even though portions of the text of the
|
||||||
|
# Macro appear in them. The GNU General Public License (GPL) does govern
|
||||||
|
# all other use of the material that constitutes the Autoconf Macro.
|
||||||
|
#
|
||||||
|
# This special exception to the GPL applies to versions of the Autoconf
|
||||||
|
# Macro released by the Autoconf Macro Archive. When you make and
|
||||||
|
# distribute a modified version of the Autoconf Macro, you may extend this
|
||||||
|
# special exception to the GPL to apply to your modified version as well.
|
||||||
|
|
||||||
|
AC_DEFUN([AX_CBLAS], [
|
||||||
|
AC_PREREQ(2.50)
|
||||||
|
ax_cblas_ok=no
|
||||||
|
|
||||||
|
AC_ARG_WITH(cblas,
|
||||||
|
[AC_HELP_STRING([--with-cblas=<lib>], [use CBLAS library <lib>])])
|
||||||
|
case $with_cblas in
|
||||||
|
yes | "") ;;
|
||||||
|
no) ax_cblas_ok=disable ;;
|
||||||
|
-* | */* | *.a | *.so | *.so.* | *.o) CBLAS_LIBS="$with_cblas" ;;
|
||||||
|
*) CBLAS_LIBS="-l$with_cblas" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
ax_cblas_save_LIBS="$LIBS"
|
||||||
|
|
||||||
|
# First, check CBLAS_LIBS environment variable
|
||||||
|
if test $ax_cblas_ok = no; then
|
||||||
|
if test "x$CBLAS_LIBS" != x; then
|
||||||
|
save_LIBS="$LIBS"; LIBS="$CBLAS_LIBS $LIBS"
|
||||||
|
AC_MSG_CHECKING([for cblas_dgemm in $CBLAS_LIBS])
|
||||||
|
AC_TRY_LINK_FUNC(cblas_dgemm, [ax_cblas_ok=yes], [CBLAS_LIBS=""])
|
||||||
|
AC_MSG_RESULT($ax_cblas_ok)
|
||||||
|
LIBS="$save_LIBS"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# CBLAS linked to by default? (happens on some supercomputers)
|
||||||
|
if test $ax_cblas_ok = no; then
|
||||||
|
save_LIBS="$LIBS"; LIBS="$LIBS"
|
||||||
|
AC_CHECK_FUNC(cblas_dgemm, [ax_cblas_ok=yes])
|
||||||
|
LIBS="$save_LIBS"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# BLAS in ATLAS library? (http://math-atlas.sourceforge.net/)
|
||||||
|
if test $ax_cblas_ok = no; then
|
||||||
|
AC_CHECK_LIB(atlas, ATL_xerbla,
|
||||||
|
[AC_CHECK_LIB(cblas, cblas_dgemm,
|
||||||
|
[ax_cblas_ok=yes
|
||||||
|
CBLAS_LIBS="-lcblas -latlas"],
|
||||||
|
[], [-latlas])])
|
||||||
|
fi
|
||||||
|
|
||||||
|
# BLAS in Intel MKL library?
|
||||||
|
if test $ax_cblas_ok = no; then
|
||||||
|
AC_CHECK_LIB(mkl, cblas_dgemm, [ax_cblas_ok=yes;CBLAS_LIBS="-lmkl"])
|
||||||
|
fi
|
||||||
|
|
||||||
|
# BLAS in Apple vecLib library?
|
||||||
|
if test $ax_cblas_ok = no; then
|
||||||
|
save_LIBS="$LIBS"; LIBS="-framework vecLib $LIBS"
|
||||||
|
AC_CHECK_FUNC(cblas_dgemm, [ax_cblas_ok=yes;CBLAS_LIBS="-framework vecLib"])
|
||||||
|
LIBS="$save_LIBS"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# BLAS in Alpha DXML library? (now called CXML, see above)
|
||||||
|
if test $ax_cblas_ok = no; then
|
||||||
|
AC_CHECK_LIB(dxml, cblas_dgemm, [ax_cblas_ok=yes;CBLAS_LIBS="-ldxml"])
|
||||||
|
fi
|
||||||
|
|
||||||
|
# BLAS in Sun Performance library?
|
||||||
|
if test $ax_cblas_ok = no; then
|
||||||
|
if test "x$GCC" != xyes; then # only works with Sun CC
|
||||||
|
AC_CHECK_LIB(sunmath, acosp,
|
||||||
|
[AC_CHECK_LIB(sunperf, cblas_dgemm,
|
||||||
|
[CBLAS_LIBS="-xlic_lib=sunperf -lsunmath"
|
||||||
|
ax_cblas_ok=yes],[],[-lsunmath])])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# BLAS in SCSL library? (SGI/Cray Scientific Library)
|
||||||
|
if test $ax_cblas_ok = no; then
|
||||||
|
AC_CHECK_LIB(scs, cblas_dgemm, [ax_cblas_ok=yes; CBLAS_LIBS="-lscs"])
|
||||||
|
fi
|
||||||
|
|
||||||
|
# BLAS in SGIMATH library?
|
||||||
|
if test $ax_cblas_ok = no; then
|
||||||
|
AC_CHECK_LIB(complib.sgimath, cblas_dgemm,
|
||||||
|
[ax_cblas_ok=yes; CBLAS_LIBS="-lcomplib.sgimath"])
|
||||||
|
fi
|
||||||
|
|
||||||
|
# BLAS in IBM ESSL library? (requires generic BLAS lib, too)
|
||||||
|
if test $ax_cblas_ok = no; then
|
||||||
|
AC_CHECK_LIB(blas, cblas_dgemm,
|
||||||
|
[AC_CHECK_LIB(essl, cblas_dgemm,
|
||||||
|
[ax_cblas_ok=yes; CBLAS_LIBS="-lessl -lblas"],
|
||||||
|
[], [-lblas])])
|
||||||
|
fi
|
||||||
|
|
||||||
|
# BLAS in OpenBLAS library?
|
||||||
|
if test $ax_cblas_ok = no; then
|
||||||
|
AC_CHECK_LIB(openblas, cblas_dgemm, [ax_cblas_ok=yes; CBLAS_LIBS="-lopenblas"])
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Generic CBLAS library?
|
||||||
|
if test $ax_cblas_ok = no; then
|
||||||
|
AC_CHECK_LIB(cblas, cblas_dgemm, [ax_cblas_ok=yes; CBLAS_LIBS="-lcblas"])
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Generic BLAS library?
|
||||||
|
if test $ax_cblas_ok = no; then
|
||||||
|
AC_CHECK_LIB(blas, cblas_dgemm, [ax_cblas_ok=yes; CBLAS_LIBS="-lblas"])
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_SUBST(CBLAS_LIBS)
|
||||||
|
|
||||||
|
LIBS="$ax_cblas_save_LIBS"
|
||||||
|
|
||||||
|
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
|
||||||
|
if test x"$ax_cblas_ok" = xyes; then
|
||||||
|
ifelse([$1],,AC_DEFINE(HAVE_CBLAS,1,[Define if you have a CBLAS library.]),[$1])
|
||||||
|
:
|
||||||
|
else
|
||||||
|
ax_cblas_ok=no
|
||||||
|
$2
|
||||||
|
fi
|
||||||
|
])dnl AX_CBLAS
|
||||||
8427
m4/libtool.m4
vendored
Normal file
8427
m4/libtool.m4
vendored
Normal file
File diff suppressed because it is too large
Load Diff
437
m4/ltoptions.m4
vendored
Normal file
437
m4/ltoptions.m4
vendored
Normal file
@@ -0,0 +1,437 @@
|
|||||||
|
# Helper functions for option handling. -*- Autoconf -*-
|
||||||
|
#
|
||||||
|
# Copyright (C) 2004-2005, 2007-2009, 2011-2019, 2021-2022 Free
|
||||||
|
# Software Foundation, Inc.
|
||||||
|
# Written by Gary V. Vaughan, 2004
|
||||||
|
#
|
||||||
|
# This file is free software; the Free Software Foundation gives
|
||||||
|
# unlimited permission to copy and/or distribute it, with or without
|
||||||
|
# modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# serial 8 ltoptions.m4
|
||||||
|
|
||||||
|
# This is to help aclocal find these macros, as it can't see m4_define.
|
||||||
|
AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
|
||||||
|
# ------------------------------------------
|
||||||
|
m4_define([_LT_MANGLE_OPTION],
|
||||||
|
[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
|
||||||
|
# ---------------------------------------
|
||||||
|
# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
|
||||||
|
# matching handler defined, dispatch to it. Other OPTION-NAMEs are
|
||||||
|
# saved as a flag.
|
||||||
|
m4_define([_LT_SET_OPTION],
|
||||||
|
[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
|
||||||
|
m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
|
||||||
|
_LT_MANGLE_DEFUN([$1], [$2]),
|
||||||
|
[m4_warning([Unknown $1 option '$2'])])[]dnl
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
|
||||||
|
# ------------------------------------------------------------
|
||||||
|
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
|
||||||
|
m4_define([_LT_IF_OPTION],
|
||||||
|
[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
|
||||||
|
# -------------------------------------------------------
|
||||||
|
# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
|
||||||
|
# are set.
|
||||||
|
m4_define([_LT_UNLESS_OPTIONS],
|
||||||
|
[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
|
||||||
|
[m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
|
||||||
|
[m4_define([$0_found])])])[]dnl
|
||||||
|
m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
|
||||||
|
])[]dnl
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
|
||||||
|
# ----------------------------------------
|
||||||
|
# OPTION-LIST is a space-separated list of Libtool options associated
|
||||||
|
# with MACRO-NAME. If any OPTION has a matching handler declared with
|
||||||
|
# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
|
||||||
|
# the unknown option and exit.
|
||||||
|
m4_defun([_LT_SET_OPTIONS],
|
||||||
|
[# Set options
|
||||||
|
m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
|
||||||
|
[_LT_SET_OPTION([$1], _LT_Option)])
|
||||||
|
|
||||||
|
m4_if([$1],[LT_INIT],[
|
||||||
|
dnl
|
||||||
|
dnl Simply set some default values (i.e off) if boolean options were not
|
||||||
|
dnl specified:
|
||||||
|
_LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
|
||||||
|
])
|
||||||
|
_LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
|
||||||
|
])
|
||||||
|
dnl
|
||||||
|
dnl If no reference was made to various pairs of opposing options, then
|
||||||
|
dnl we run the default mode handler for the pair. For example, if neither
|
||||||
|
dnl 'shared' nor 'disable-shared' was passed, we enable building of shared
|
||||||
|
dnl archives by default:
|
||||||
|
_LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
|
||||||
|
_LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
|
||||||
|
_LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
|
||||||
|
_LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
|
||||||
|
[_LT_ENABLE_FAST_INSTALL])
|
||||||
|
_LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4],
|
||||||
|
[_LT_WITH_AIX_SONAME([aix])])
|
||||||
|
])
|
||||||
|
])# _LT_SET_OPTIONS
|
||||||
|
|
||||||
|
|
||||||
|
## --------------------------------- ##
|
||||||
|
## Macros to handle LT_INIT options. ##
|
||||||
|
## --------------------------------- ##
|
||||||
|
|
||||||
|
# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
|
||||||
|
# -----------------------------------------
|
||||||
|
m4_define([_LT_MANGLE_DEFUN],
|
||||||
|
[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
|
||||||
|
|
||||||
|
|
||||||
|
# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
|
||||||
|
# -----------------------------------------------
|
||||||
|
m4_define([LT_OPTION_DEFINE],
|
||||||
|
[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
|
||||||
|
])# LT_OPTION_DEFINE
|
||||||
|
|
||||||
|
|
||||||
|
# dlopen
|
||||||
|
# ------
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
|
||||||
|
])
|
||||||
|
|
||||||
|
AU_DEFUN([AC_LIBTOOL_DLOPEN],
|
||||||
|
[_LT_SET_OPTION([LT_INIT], [dlopen])
|
||||||
|
AC_DIAGNOSE([obsolete],
|
||||||
|
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
||||||
|
put the 'dlopen' option into LT_INIT's first parameter.])
|
||||||
|
])
|
||||||
|
|
||||||
|
dnl aclocal-1.4 backwards compatibility:
|
||||||
|
dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
|
||||||
|
|
||||||
|
|
||||||
|
# win32-dll
|
||||||
|
# ---------
|
||||||
|
# Declare package support for building win32 dll's.
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [win32-dll],
|
||||||
|
[enable_win32_dll=yes
|
||||||
|
|
||||||
|
case $host in
|
||||||
|
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
|
||||||
|
AC_CHECK_TOOL(AS, as, false)
|
||||||
|
AC_CHECK_TOOL(DLLTOOL, dlltool, false)
|
||||||
|
AC_CHECK_TOOL(OBJDUMP, objdump, false)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
test -z "$AS" && AS=as
|
||||||
|
_LT_DECL([], [AS], [1], [Assembler program])dnl
|
||||||
|
|
||||||
|
test -z "$DLLTOOL" && DLLTOOL=dlltool
|
||||||
|
_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
|
||||||
|
|
||||||
|
test -z "$OBJDUMP" && OBJDUMP=objdump
|
||||||
|
_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
|
||||||
|
])# win32-dll
|
||||||
|
|
||||||
|
AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
|
||||||
|
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||||
|
_LT_SET_OPTION([LT_INIT], [win32-dll])
|
||||||
|
AC_DIAGNOSE([obsolete],
|
||||||
|
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
||||||
|
put the 'win32-dll' option into LT_INIT's first parameter.])
|
||||||
|
])
|
||||||
|
|
||||||
|
dnl aclocal-1.4 backwards compatibility:
|
||||||
|
dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_ENABLE_SHARED([DEFAULT])
|
||||||
|
# ----------------------------
|
||||||
|
# implement the --enable-shared flag, and supports the 'shared' and
|
||||||
|
# 'disable-shared' LT_INIT options.
|
||||||
|
# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
|
||||||
|
m4_define([_LT_ENABLE_SHARED],
|
||||||
|
[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
|
||||||
|
AC_ARG_ENABLE([shared],
|
||||||
|
[AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
|
||||||
|
[build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
|
||||||
|
[p=${PACKAGE-default}
|
||||||
|
case $enableval in
|
||||||
|
yes) enable_shared=yes ;;
|
||||||
|
no) enable_shared=no ;;
|
||||||
|
*)
|
||||||
|
enable_shared=no
|
||||||
|
# Look at the argument we got. We use all the common list separators.
|
||||||
|
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
|
||||||
|
for pkg in $enableval; do
|
||||||
|
IFS=$lt_save_ifs
|
||||||
|
if test "X$pkg" = "X$p"; then
|
||||||
|
enable_shared=yes
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
IFS=$lt_save_ifs
|
||||||
|
;;
|
||||||
|
esac],
|
||||||
|
[enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
|
||||||
|
|
||||||
|
_LT_DECL([build_libtool_libs], [enable_shared], [0],
|
||||||
|
[Whether or not to build shared libraries])
|
||||||
|
])# _LT_ENABLE_SHARED
|
||||||
|
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
|
||||||
|
|
||||||
|
# Old names:
|
||||||
|
AC_DEFUN([AC_ENABLE_SHARED],
|
||||||
|
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
|
||||||
|
])
|
||||||
|
|
||||||
|
AC_DEFUN([AC_DISABLE_SHARED],
|
||||||
|
[_LT_SET_OPTION([LT_INIT], [disable-shared])
|
||||||
|
])
|
||||||
|
|
||||||
|
AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
|
||||||
|
AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
|
||||||
|
|
||||||
|
dnl aclocal-1.4 backwards compatibility:
|
||||||
|
dnl AC_DEFUN([AM_ENABLE_SHARED], [])
|
||||||
|
dnl AC_DEFUN([AM_DISABLE_SHARED], [])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_ENABLE_STATIC([DEFAULT])
|
||||||
|
# ----------------------------
|
||||||
|
# implement the --enable-static flag, and support the 'static' and
|
||||||
|
# 'disable-static' LT_INIT options.
|
||||||
|
# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
|
||||||
|
m4_define([_LT_ENABLE_STATIC],
|
||||||
|
[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
|
||||||
|
AC_ARG_ENABLE([static],
|
||||||
|
[AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
|
||||||
|
[build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
|
||||||
|
[p=${PACKAGE-default}
|
||||||
|
case $enableval in
|
||||||
|
yes) enable_static=yes ;;
|
||||||
|
no) enable_static=no ;;
|
||||||
|
*)
|
||||||
|
enable_static=no
|
||||||
|
# Look at the argument we got. We use all the common list separators.
|
||||||
|
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
|
||||||
|
for pkg in $enableval; do
|
||||||
|
IFS=$lt_save_ifs
|
||||||
|
if test "X$pkg" = "X$p"; then
|
||||||
|
enable_static=yes
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
IFS=$lt_save_ifs
|
||||||
|
;;
|
||||||
|
esac],
|
||||||
|
[enable_static=]_LT_ENABLE_STATIC_DEFAULT)
|
||||||
|
|
||||||
|
_LT_DECL([build_old_libs], [enable_static], [0],
|
||||||
|
[Whether or not to build static libraries])
|
||||||
|
])# _LT_ENABLE_STATIC
|
||||||
|
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
|
||||||
|
|
||||||
|
# Old names:
|
||||||
|
AC_DEFUN([AC_ENABLE_STATIC],
|
||||||
|
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
|
||||||
|
])
|
||||||
|
|
||||||
|
AC_DEFUN([AC_DISABLE_STATIC],
|
||||||
|
[_LT_SET_OPTION([LT_INIT], [disable-static])
|
||||||
|
])
|
||||||
|
|
||||||
|
AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
|
||||||
|
AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
|
||||||
|
|
||||||
|
dnl aclocal-1.4 backwards compatibility:
|
||||||
|
dnl AC_DEFUN([AM_ENABLE_STATIC], [])
|
||||||
|
dnl AC_DEFUN([AM_DISABLE_STATIC], [])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_ENABLE_FAST_INSTALL([DEFAULT])
|
||||||
|
# ----------------------------------
|
||||||
|
# implement the --enable-fast-install flag, and support the 'fast-install'
|
||||||
|
# and 'disable-fast-install' LT_INIT options.
|
||||||
|
# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
|
||||||
|
m4_define([_LT_ENABLE_FAST_INSTALL],
|
||||||
|
[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
|
||||||
|
AC_ARG_ENABLE([fast-install],
|
||||||
|
[AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
|
||||||
|
[optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
|
||||||
|
[p=${PACKAGE-default}
|
||||||
|
case $enableval in
|
||||||
|
yes) enable_fast_install=yes ;;
|
||||||
|
no) enable_fast_install=no ;;
|
||||||
|
*)
|
||||||
|
enable_fast_install=no
|
||||||
|
# Look at the argument we got. We use all the common list separators.
|
||||||
|
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
|
||||||
|
for pkg in $enableval; do
|
||||||
|
IFS=$lt_save_ifs
|
||||||
|
if test "X$pkg" = "X$p"; then
|
||||||
|
enable_fast_install=yes
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
IFS=$lt_save_ifs
|
||||||
|
;;
|
||||||
|
esac],
|
||||||
|
[enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
|
||||||
|
|
||||||
|
_LT_DECL([fast_install], [enable_fast_install], [0],
|
||||||
|
[Whether or not to optimize for fast installation])dnl
|
||||||
|
])# _LT_ENABLE_FAST_INSTALL
|
||||||
|
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
|
||||||
|
|
||||||
|
# Old names:
|
||||||
|
AU_DEFUN([AC_ENABLE_FAST_INSTALL],
|
||||||
|
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
|
||||||
|
AC_DIAGNOSE([obsolete],
|
||||||
|
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
|
||||||
|
the 'fast-install' option into LT_INIT's first parameter.])
|
||||||
|
])
|
||||||
|
|
||||||
|
AU_DEFUN([AC_DISABLE_FAST_INSTALL],
|
||||||
|
[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
|
||||||
|
AC_DIAGNOSE([obsolete],
|
||||||
|
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
|
||||||
|
the 'disable-fast-install' option into LT_INIT's first parameter.])
|
||||||
|
])
|
||||||
|
|
||||||
|
dnl aclocal-1.4 backwards compatibility:
|
||||||
|
dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
|
||||||
|
dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_WITH_AIX_SONAME([DEFAULT])
|
||||||
|
# ----------------------------------
|
||||||
|
# implement the --with-aix-soname flag, and support the `aix-soname=aix'
|
||||||
|
# and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT
|
||||||
|
# is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'.
|
||||||
|
m4_define([_LT_WITH_AIX_SONAME],
|
||||||
|
[m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl
|
||||||
|
shared_archive_member_spec=
|
||||||
|
case $host,$enable_shared in
|
||||||
|
power*-*-aix[[5-9]]*,yes)
|
||||||
|
AC_MSG_CHECKING([which variant of shared library versioning to provide])
|
||||||
|
AC_ARG_WITH([aix-soname],
|
||||||
|
[AS_HELP_STRING([--with-aix-soname=aix|svr4|both],
|
||||||
|
[shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])],
|
||||||
|
[case $withval in
|
||||||
|
aix|svr4|both)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
AC_MSG_ERROR([Unknown argument to --with-aix-soname])
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
lt_cv_with_aix_soname=$with_aix_soname],
|
||||||
|
[AC_CACHE_VAL([lt_cv_with_aix_soname],
|
||||||
|
[lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT)
|
||||||
|
with_aix_soname=$lt_cv_with_aix_soname])
|
||||||
|
AC_MSG_RESULT([$with_aix_soname])
|
||||||
|
if test aix != "$with_aix_soname"; then
|
||||||
|
# For the AIX way of multilib, we name the shared archive member
|
||||||
|
# based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
|
||||||
|
# and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
|
||||||
|
# Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
|
||||||
|
# the AIX toolchain works better with OBJECT_MODE set (default 32).
|
||||||
|
if test 64 = "${OBJECT_MODE-32}"; then
|
||||||
|
shared_archive_member_spec=shr_64
|
||||||
|
else
|
||||||
|
shared_archive_member_spec=shr
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
with_aix_soname=aix
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
_LT_DECL([], [shared_archive_member_spec], [0],
|
||||||
|
[Shared archive member basename, for filename based shared library versioning on AIX])dnl
|
||||||
|
])# _LT_WITH_AIX_SONAME
|
||||||
|
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])])
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])])
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])])
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_WITH_PIC([MODE])
|
||||||
|
# --------------------
|
||||||
|
# implement the --with-pic flag, and support the 'pic-only' and 'no-pic'
|
||||||
|
# LT_INIT options.
|
||||||
|
# MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'.
|
||||||
|
m4_define([_LT_WITH_PIC],
|
||||||
|
[AC_ARG_WITH([pic],
|
||||||
|
[AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
|
||||||
|
[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
|
||||||
|
[lt_p=${PACKAGE-default}
|
||||||
|
case $withval in
|
||||||
|
yes|no) pic_mode=$withval ;;
|
||||||
|
*)
|
||||||
|
pic_mode=default
|
||||||
|
# Look at the argument we got. We use all the common list separators.
|
||||||
|
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
|
||||||
|
for lt_pkg in $withval; do
|
||||||
|
IFS=$lt_save_ifs
|
||||||
|
if test "X$lt_pkg" = "X$lt_p"; then
|
||||||
|
pic_mode=yes
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
IFS=$lt_save_ifs
|
||||||
|
;;
|
||||||
|
esac],
|
||||||
|
[pic_mode=m4_default([$1], [default])])
|
||||||
|
|
||||||
|
_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
|
||||||
|
])# _LT_WITH_PIC
|
||||||
|
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
|
||||||
|
|
||||||
|
# Old name:
|
||||||
|
AU_DEFUN([AC_LIBTOOL_PICMODE],
|
||||||
|
[_LT_SET_OPTION([LT_INIT], [pic-only])
|
||||||
|
AC_DIAGNOSE([obsolete],
|
||||||
|
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
||||||
|
put the 'pic-only' option into LT_INIT's first parameter.])
|
||||||
|
])
|
||||||
|
|
||||||
|
dnl aclocal-1.4 backwards compatibility:
|
||||||
|
dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
|
||||||
|
|
||||||
|
## ----------------- ##
|
||||||
|
## LTDL_INIT Options ##
|
||||||
|
## ----------------- ##
|
||||||
|
|
||||||
|
m4_define([_LTDL_MODE], [])
|
||||||
|
LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
|
||||||
|
[m4_define([_LTDL_MODE], [nonrecursive])])
|
||||||
|
LT_OPTION_DEFINE([LTDL_INIT], [recursive],
|
||||||
|
[m4_define([_LTDL_MODE], [recursive])])
|
||||||
|
LT_OPTION_DEFINE([LTDL_INIT], [subproject],
|
||||||
|
[m4_define([_LTDL_MODE], [subproject])])
|
||||||
|
|
||||||
|
m4_define([_LTDL_TYPE], [])
|
||||||
|
LT_OPTION_DEFINE([LTDL_INIT], [installable],
|
||||||
|
[m4_define([_LTDL_TYPE], [installable])])
|
||||||
|
LT_OPTION_DEFINE([LTDL_INIT], [convenience],
|
||||||
|
[m4_define([_LTDL_TYPE], [convenience])])
|
||||||
124
m4/ltsugar.m4
vendored
Normal file
124
m4/ltsugar.m4
vendored
Normal file
@@ -0,0 +1,124 @@
|
|||||||
|
# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
|
||||||
|
#
|
||||||
|
# Copyright (C) 2004-2005, 2007-2008, 2011-2019, 2021-2022 Free Software
|
||||||
|
# Foundation, Inc.
|
||||||
|
# Written by Gary V. Vaughan, 2004
|
||||||
|
#
|
||||||
|
# This file is free software; the Free Software Foundation gives
|
||||||
|
# unlimited permission to copy and/or distribute it, with or without
|
||||||
|
# modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# serial 6 ltsugar.m4
|
||||||
|
|
||||||
|
# This is to help aclocal find these macros, as it can't see m4_define.
|
||||||
|
AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
|
||||||
|
|
||||||
|
|
||||||
|
# lt_join(SEP, ARG1, [ARG2...])
|
||||||
|
# -----------------------------
|
||||||
|
# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
|
||||||
|
# associated separator.
|
||||||
|
# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
|
||||||
|
# versions in m4sugar had bugs.
|
||||||
|
m4_define([lt_join],
|
||||||
|
[m4_if([$#], [1], [],
|
||||||
|
[$#], [2], [[$2]],
|
||||||
|
[m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
|
||||||
|
m4_define([_lt_join],
|
||||||
|
[m4_if([$#$2], [2], [],
|
||||||
|
[m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
|
||||||
|
|
||||||
|
|
||||||
|
# lt_car(LIST)
|
||||||
|
# lt_cdr(LIST)
|
||||||
|
# ------------
|
||||||
|
# Manipulate m4 lists.
|
||||||
|
# These macros are necessary as long as will still need to support
|
||||||
|
# Autoconf-2.59, which quotes differently.
|
||||||
|
m4_define([lt_car], [[$1]])
|
||||||
|
m4_define([lt_cdr],
|
||||||
|
[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
|
||||||
|
[$#], 1, [],
|
||||||
|
[m4_dquote(m4_shift($@))])])
|
||||||
|
m4_define([lt_unquote], $1)
|
||||||
|
|
||||||
|
|
||||||
|
# lt_append(MACRO-NAME, STRING, [SEPARATOR])
|
||||||
|
# ------------------------------------------
|
||||||
|
# Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'.
|
||||||
|
# Note that neither SEPARATOR nor STRING are expanded; they are appended
|
||||||
|
# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
|
||||||
|
# No SEPARATOR is output if MACRO-NAME was previously undefined (different
|
||||||
|
# than defined and empty).
|
||||||
|
#
|
||||||
|
# This macro is needed until we can rely on Autoconf 2.62, since earlier
|
||||||
|
# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
|
||||||
|
m4_define([lt_append],
|
||||||
|
[m4_define([$1],
|
||||||
|
m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
|
||||||
|
# ----------------------------------------------------------
|
||||||
|
# Produce a SEP delimited list of all paired combinations of elements of
|
||||||
|
# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
|
||||||
|
# has the form PREFIXmINFIXSUFFIXn.
|
||||||
|
# Needed until we can rely on m4_combine added in Autoconf 2.62.
|
||||||
|
m4_define([lt_combine],
|
||||||
|
[m4_if(m4_eval([$# > 3]), [1],
|
||||||
|
[m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
|
||||||
|
[[m4_foreach([_Lt_prefix], [$2],
|
||||||
|
[m4_foreach([_Lt_suffix],
|
||||||
|
]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
|
||||||
|
[_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
|
||||||
|
|
||||||
|
|
||||||
|
# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
|
||||||
|
# -----------------------------------------------------------------------
|
||||||
|
# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
|
||||||
|
# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
|
||||||
|
m4_define([lt_if_append_uniq],
|
||||||
|
[m4_ifdef([$1],
|
||||||
|
[m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
|
||||||
|
[lt_append([$1], [$2], [$3])$4],
|
||||||
|
[$5])],
|
||||||
|
[lt_append([$1], [$2], [$3])$4])])
|
||||||
|
|
||||||
|
|
||||||
|
# lt_dict_add(DICT, KEY, VALUE)
|
||||||
|
# -----------------------------
|
||||||
|
m4_define([lt_dict_add],
|
||||||
|
[m4_define([$1($2)], [$3])])
|
||||||
|
|
||||||
|
|
||||||
|
# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
|
||||||
|
# --------------------------------------------
|
||||||
|
m4_define([lt_dict_add_subkey],
|
||||||
|
[m4_define([$1($2:$3)], [$4])])
|
||||||
|
|
||||||
|
|
||||||
|
# lt_dict_fetch(DICT, KEY, [SUBKEY])
|
||||||
|
# ----------------------------------
|
||||||
|
m4_define([lt_dict_fetch],
|
||||||
|
[m4_ifval([$3],
|
||||||
|
m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
|
||||||
|
m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
|
||||||
|
|
||||||
|
|
||||||
|
# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
|
||||||
|
# -----------------------------------------------------------------
|
||||||
|
m4_define([lt_if_dict_fetch],
|
||||||
|
[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
|
||||||
|
[$5],
|
||||||
|
[$6])])
|
||||||
|
|
||||||
|
|
||||||
|
# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
|
||||||
|
# --------------------------------------------------------------
|
||||||
|
m4_define([lt_dict_filter],
|
||||||
|
[m4_if([$5], [], [],
|
||||||
|
[lt_join(m4_quote(m4_default([$4], [[, ]])),
|
||||||
|
lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
|
||||||
|
[lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
|
||||||
|
])
|
||||||
24
m4/ltversion.m4
vendored
Normal file
24
m4/ltversion.m4
vendored
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# ltversion.m4 -- version numbers -*- Autoconf -*-
|
||||||
|
#
|
||||||
|
# Copyright (C) 2004, 2011-2019, 2021-2022 Free Software Foundation,
|
||||||
|
# Inc.
|
||||||
|
# Written by Scott James Remnant, 2004
|
||||||
|
#
|
||||||
|
# This file is free software; the Free Software Foundation gives
|
||||||
|
# unlimited permission to copy and/or distribute it, with or without
|
||||||
|
# modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
|
# serial 4245 ltversion.m4
|
||||||
|
# This file is part of GNU Libtool
|
||||||
|
|
||||||
|
m4_define([LT_PACKAGE_VERSION], [2.4.7])
|
||||||
|
m4_define([LT_PACKAGE_REVISION], [2.4.7])
|
||||||
|
|
||||||
|
AC_DEFUN([LTVERSION_VERSION],
|
||||||
|
[macro_version='2.4.7'
|
||||||
|
macro_revision='2.4.7'
|
||||||
|
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
|
||||||
|
_LT_DECL(, macro_revision, 0)
|
||||||
|
])
|
||||||
99
m4/lt~obsolete.m4
vendored
Normal file
99
m4/lt~obsolete.m4
vendored
Normal file
@@ -0,0 +1,99 @@
|
|||||||
|
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
|
||||||
|
#
|
||||||
|
# Copyright (C) 2004-2005, 2007, 2009, 2011-2019, 2021-2022 Free
|
||||||
|
# Software Foundation, Inc.
|
||||||
|
# Written by Scott James Remnant, 2004.
|
||||||
|
#
|
||||||
|
# This file is free software; the Free Software Foundation gives
|
||||||
|
# unlimited permission to copy and/or distribute it, with or without
|
||||||
|
# modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# serial 5 lt~obsolete.m4
|
||||||
|
|
||||||
|
# These exist entirely to fool aclocal when bootstrapping libtool.
|
||||||
|
#
|
||||||
|
# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN),
|
||||||
|
# which have later been changed to m4_define as they aren't part of the
|
||||||
|
# exported API, or moved to Autoconf or Automake where they belong.
|
||||||
|
#
|
||||||
|
# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
|
||||||
|
# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
|
||||||
|
# using a macro with the same name in our local m4/libtool.m4 it'll
|
||||||
|
# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
|
||||||
|
# and doesn't know about Autoconf macros at all.)
|
||||||
|
#
|
||||||
|
# So we provide this file, which has a silly filename so it's always
|
||||||
|
# included after everything else. This provides aclocal with the
|
||||||
|
# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
|
||||||
|
# because those macros already exist, or will be overwritten later.
|
||||||
|
# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
|
||||||
|
#
|
||||||
|
# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
|
||||||
|
# Yes, that means every name once taken will need to remain here until
|
||||||
|
# we give up compatibility with versions before 1.7, at which point
|
||||||
|
# we need to keep only those names which we still refer to.
|
||||||
|
|
||||||
|
# This is to help aclocal find these macros, as it can't see m4_define.
|
||||||
|
AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
|
||||||
|
|
||||||
|
m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
|
||||||
|
m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
|
||||||
|
m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
|
||||||
|
m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
|
||||||
|
m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
|
||||||
|
m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
|
||||||
|
m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
|
||||||
|
m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
|
||||||
|
m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
|
||||||
|
m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
|
||||||
|
m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
|
||||||
|
m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
|
||||||
|
m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
|
||||||
|
m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
|
||||||
|
m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
|
||||||
|
m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
|
||||||
|
m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
|
||||||
|
m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
|
||||||
|
m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
|
||||||
|
m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
|
||||||
|
m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
|
||||||
|
m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
|
||||||
|
m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
|
||||||
|
m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
|
||||||
|
m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
|
||||||
|
m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
|
||||||
|
m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
|
||||||
|
m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
|
||||||
|
m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
|
||||||
|
m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
|
||||||
|
m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
|
||||||
|
m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
|
||||||
|
m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
|
||||||
|
m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
|
||||||
|
m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
|
||||||
|
m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
|
||||||
|
m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
|
||||||
|
m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
|
||||||
|
m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
|
||||||
|
m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
|
||||||
|
m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
|
||||||
|
m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
|
||||||
215
missing
Executable file
215
missing
Executable file
@@ -0,0 +1,215 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
# Common wrapper for a few potentially missing GNU programs.
|
||||||
|
|
||||||
|
scriptversion=2018-03-07.03; # UTC
|
||||||
|
|
||||||
|
# Copyright (C) 1996-2021 Free Software Foundation, Inc.
|
||||||
|
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||||
|
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
|
if test $# -eq 0; then
|
||||||
|
echo 1>&2 "Try '$0 --help' for more information"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
|
||||||
|
--is-lightweight)
|
||||||
|
# Used by our autoconf macros to check whether the available missing
|
||||||
|
# script is modern enough.
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
|
||||||
|
--run)
|
||||||
|
# Back-compat with the calling convention used by older automake.
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
|
||||||
|
-h|--h|--he|--hel|--help)
|
||||||
|
echo "\
|
||||||
|
$0 [OPTION]... PROGRAM [ARGUMENT]...
|
||||||
|
|
||||||
|
Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
|
||||||
|
to PROGRAM being missing or too old.
|
||||||
|
|
||||||
|
Options:
|
||||||
|
-h, --help display this help and exit
|
||||||
|
-v, --version output version information and exit
|
||||||
|
|
||||||
|
Supported PROGRAM values:
|
||||||
|
aclocal autoconf autoheader autom4te automake makeinfo
|
||||||
|
bison yacc flex lex help2man
|
||||||
|
|
||||||
|
Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
|
||||||
|
'g' are ignored when checking the name.
|
||||||
|
|
||||||
|
Send bug reports to <bug-automake@gnu.org>."
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
|
|
||||||
|
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
||||||
|
echo "missing $scriptversion (GNU Automake)"
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
|
|
||||||
|
-*)
|
||||||
|
echo 1>&2 "$0: unknown '$1' option"
|
||||||
|
echo 1>&2 "Try '$0 --help' for more information"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
esac
|
||||||
|
|
||||||
|
# Run the given program, remember its exit status.
|
||||||
|
"$@"; st=$?
|
||||||
|
|
||||||
|
# If it succeeded, we are done.
|
||||||
|
test $st -eq 0 && exit 0
|
||||||
|
|
||||||
|
# Also exit now if we it failed (or wasn't found), and '--version' was
|
||||||
|
# passed; such an option is passed most likely to detect whether the
|
||||||
|
# program is present and works.
|
||||||
|
case $2 in --version|--help) exit $st;; esac
|
||||||
|
|
||||||
|
# Exit code 63 means version mismatch. This often happens when the user
|
||||||
|
# tries to use an ancient version of a tool on a file that requires a
|
||||||
|
# minimum version.
|
||||||
|
if test $st -eq 63; then
|
||||||
|
msg="probably too old"
|
||||||
|
elif test $st -eq 127; then
|
||||||
|
# Program was missing.
|
||||||
|
msg="missing on your system"
|
||||||
|
else
|
||||||
|
# Program was found and executed, but failed. Give up.
|
||||||
|
exit $st
|
||||||
|
fi
|
||||||
|
|
||||||
|
perl_URL=https://www.perl.org/
|
||||||
|
flex_URL=https://github.com/westes/flex
|
||||||
|
gnu_software_URL=https://www.gnu.org/software
|
||||||
|
|
||||||
|
program_details ()
|
||||||
|
{
|
||||||
|
case $1 in
|
||||||
|
aclocal|automake)
|
||||||
|
echo "The '$1' program is part of the GNU Automake package:"
|
||||||
|
echo "<$gnu_software_URL/automake>"
|
||||||
|
echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
|
||||||
|
echo "<$gnu_software_URL/autoconf>"
|
||||||
|
echo "<$gnu_software_URL/m4/>"
|
||||||
|
echo "<$perl_URL>"
|
||||||
|
;;
|
||||||
|
autoconf|autom4te|autoheader)
|
||||||
|
echo "The '$1' program is part of the GNU Autoconf package:"
|
||||||
|
echo "<$gnu_software_URL/autoconf/>"
|
||||||
|
echo "It also requires GNU m4 and Perl in order to run:"
|
||||||
|
echo "<$gnu_software_URL/m4/>"
|
||||||
|
echo "<$perl_URL>"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
give_advice ()
|
||||||
|
{
|
||||||
|
# Normalize program name to check for.
|
||||||
|
normalized_program=`echo "$1" | sed '
|
||||||
|
s/^gnu-//; t
|
||||||
|
s/^gnu//; t
|
||||||
|
s/^g//; t'`
|
||||||
|
|
||||||
|
printf '%s\n' "'$1' is $msg."
|
||||||
|
|
||||||
|
configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
|
||||||
|
case $normalized_program in
|
||||||
|
autoconf*)
|
||||||
|
echo "You should only need it if you modified 'configure.ac',"
|
||||||
|
echo "or m4 files included by it."
|
||||||
|
program_details 'autoconf'
|
||||||
|
;;
|
||||||
|
autoheader*)
|
||||||
|
echo "You should only need it if you modified 'acconfig.h' or"
|
||||||
|
echo "$configure_deps."
|
||||||
|
program_details 'autoheader'
|
||||||
|
;;
|
||||||
|
automake*)
|
||||||
|
echo "You should only need it if you modified 'Makefile.am' or"
|
||||||
|
echo "$configure_deps."
|
||||||
|
program_details 'automake'
|
||||||
|
;;
|
||||||
|
aclocal*)
|
||||||
|
echo "You should only need it if you modified 'acinclude.m4' or"
|
||||||
|
echo "$configure_deps."
|
||||||
|
program_details 'aclocal'
|
||||||
|
;;
|
||||||
|
autom4te*)
|
||||||
|
echo "You might have modified some maintainer files that require"
|
||||||
|
echo "the 'autom4te' program to be rebuilt."
|
||||||
|
program_details 'autom4te'
|
||||||
|
;;
|
||||||
|
bison*|yacc*)
|
||||||
|
echo "You should only need it if you modified a '.y' file."
|
||||||
|
echo "You may want to install the GNU Bison package:"
|
||||||
|
echo "<$gnu_software_URL/bison/>"
|
||||||
|
;;
|
||||||
|
lex*|flex*)
|
||||||
|
echo "You should only need it if you modified a '.l' file."
|
||||||
|
echo "You may want to install the Fast Lexical Analyzer package:"
|
||||||
|
echo "<$flex_URL>"
|
||||||
|
;;
|
||||||
|
help2man*)
|
||||||
|
echo "You should only need it if you modified a dependency" \
|
||||||
|
"of a man page."
|
||||||
|
echo "You may want to install the GNU Help2man package:"
|
||||||
|
echo "<$gnu_software_URL/help2man/>"
|
||||||
|
;;
|
||||||
|
makeinfo*)
|
||||||
|
echo "You should only need it if you modified a '.texi' file, or"
|
||||||
|
echo "any other file indirectly affecting the aspect of the manual."
|
||||||
|
echo "You might want to install the Texinfo package:"
|
||||||
|
echo "<$gnu_software_URL/texinfo/>"
|
||||||
|
echo "The spurious makeinfo call might also be the consequence of"
|
||||||
|
echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
|
||||||
|
echo "want to install GNU make:"
|
||||||
|
echo "<$gnu_software_URL/make/>"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "You might have modified some files without having the proper"
|
||||||
|
echo "tools for further handling them. Check the 'README' file, it"
|
||||||
|
echo "often tells you about the needed prerequisites for installing"
|
||||||
|
echo "this package. You may also peek at any GNU archive site, in"
|
||||||
|
echo "case some other package contains this missing '$1' program."
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
give_advice "$1" | sed -e '1s/^/WARNING: /' \
|
||||||
|
-e '2,$s/^/ /' >&2
|
||||||
|
|
||||||
|
# Propagate the correct exit status (expected to be 127 for a program
|
||||||
|
# not found, 63 for a program that failed due to version mismatch).
|
||||||
|
exit $st
|
||||||
|
|
||||||
|
# Local variables:
|
||||||
|
# eval: (add-hook 'before-save-hook 'time-stamp)
|
||||||
|
# time-stamp-start: "scriptversion="
|
||||||
|
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||||
|
# time-stamp-time-zone: "UTC0"
|
||||||
|
# time-stamp-end: "; # UTC"
|
||||||
|
# End:
|
||||||
1001
resources/addresses/bg.yaml
Normal file
1001
resources/addresses/bg.yaml
Normal file
File diff suppressed because it is too large
Load Diff
585
resources/addresses/bs.yaml
Normal file
585
resources/addresses/bs.yaml
Normal file
@@ -0,0 +1,585 @@
|
|||||||
|
# bs.yaml
|
||||||
|
# -------
|
||||||
|
# Bosnian language specification
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.9
|
||||||
|
alphanumeric_probability: 0.1
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.7
|
||||||
|
alphanumeric_probability: 0.3
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- staircase
|
||||||
|
- level
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.005
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- level
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.005
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- level
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.1
|
||||||
|
# For unit types like 2/34
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.005
|
||||||
|
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
no_number:
|
||||||
|
default:
|
||||||
|
canonical: bez broja
|
||||||
|
abbreviated: bb
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.3
|
||||||
|
|
||||||
|
default: &broj
|
||||||
|
canonical: broj
|
||||||
|
abbreviated: br
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "br."
|
||||||
|
whitespace_probability: 0.6
|
||||||
|
direction: left
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
|
||||||
|
alphanumeric_phrase_probability: 0.05
|
||||||
|
no_number_probability: 0.05
|
||||||
|
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &i
|
||||||
|
canonical: i
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
i: *i
|
||||||
|
at: &na
|
||||||
|
canonical: na
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
corner: &ugao
|
||||||
|
canonical: ugao
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
corner_of: &uglu
|
||||||
|
canonical: uglu
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
na_uglu: &na_uglu
|
||||||
|
canonical: na uglu
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
intersection:
|
||||||
|
default: *i
|
||||||
|
probability: 0.65
|
||||||
|
alternatives:
|
||||||
|
- alternative: *na
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *uglu
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *na_uglu
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *ugao
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
izmedu: &izmedu
|
||||||
|
canonical: između
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5
|
||||||
|
between:
|
||||||
|
default: *izmedu
|
||||||
|
|
||||||
|
levels:
|
||||||
|
sprat: &sprat
|
||||||
|
canonical: sprat
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
roman_numeral_probability: 0.7
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
kat: &kat
|
||||||
|
canonical: kat
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
roman_numeral_probability: 0.7
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
prizemlje: &prizemlje
|
||||||
|
canonical: prizemlje
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
parter: &parter
|
||||||
|
canonical: parter
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
mezanino: &mezanin
|
||||||
|
canonical: mezanin
|
||||||
|
half_floors: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
sample: true
|
||||||
|
# e.g. mezanin 2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
# e.g. 2. mezanin
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.1
|
||||||
|
ordinal_probability: 0.2
|
||||||
|
standalone_probability: 0.6
|
||||||
|
podrum: &podrum
|
||||||
|
canonical: podrum
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
# e.g. podrum 1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.8
|
||||||
|
# e.g. 1. podrum
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
standalone_probability: 0.99
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *podrum
|
||||||
|
"-1":
|
||||||
|
default: *podrum
|
||||||
|
# Special token for half-floors
|
||||||
|
half_floors:
|
||||||
|
default: *mezanin
|
||||||
|
"0":
|
||||||
|
default: *prizemlje
|
||||||
|
probability: 0.5
|
||||||
|
alternatives:
|
||||||
|
- alternative: *parter
|
||||||
|
probability: 0.4
|
||||||
|
- alternative: *kat
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *sprat
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
numbering_starts_at: 0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *kat
|
||||||
|
probability: 0.5
|
||||||
|
alternatives:
|
||||||
|
- alternative: *sprat
|
||||||
|
probability: 0.5
|
||||||
|
numeric_probability: 0.69 # With this probability, pick an integer
|
||||||
|
roman_numeral_probability: 0.3 # Pick a Roman numeral for the actual value
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
|
||||||
|
categories:
|
||||||
|
near:
|
||||||
|
default:
|
||||||
|
canonical: u blizini
|
||||||
|
nearby:
|
||||||
|
default:
|
||||||
|
canonical: u blizini
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: u blizini ovdje
|
||||||
|
probability: 0.3
|
||||||
|
- alternative:
|
||||||
|
canonical: ovde
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
near_me:
|
||||||
|
default:
|
||||||
|
canonical: u blizini mene
|
||||||
|
|
||||||
|
# Don't worry about agreement
|
||||||
|
in:
|
||||||
|
default:
|
||||||
|
canonical: u
|
||||||
|
|
||||||
|
# Probabilities of each phrase
|
||||||
|
near_probability: 0.35
|
||||||
|
nearby_probability: 0.2
|
||||||
|
near_me_probability: 0.1
|
||||||
|
in_probability: 0.35
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &desno
|
||||||
|
canonical: desno
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
left: &lijevo
|
||||||
|
canonical: lijevo
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
alternatives:
|
||||||
|
- alternative: *desno
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *lijevo
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &istok
|
||||||
|
canonical: istok
|
||||||
|
abbreviated: i
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: i
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
west: &zapad
|
||||||
|
canonical: zapad
|
||||||
|
abbreviated: z
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: z
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
north: &sjever
|
||||||
|
canonical: sjever
|
||||||
|
abbreviated: s
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: s
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
south: &jug
|
||||||
|
canonical: jug
|
||||||
|
abbreviated: j
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.75
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.15
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: j
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *sjever
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *istok
|
||||||
|
probability: 0.23
|
||||||
|
- alternative: *jug
|
||||||
|
probability: 0.23
|
||||||
|
- alternative: *zapad
|
||||||
|
probability: 0.23
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
ulaz: &ulaz
|
||||||
|
canonical: ulaz
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# Ulaz 1, Ulaz A, etc.
|
||||||
|
alphanumeric: &entrance_alphanumeric
|
||||||
|
default: *ulaz
|
||||||
|
numeric_probability: 0.1 # e.g. Ulaz 1
|
||||||
|
alpha_probability: 0.85 # e.g. Ulaz A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
stubiste: &stubiste
|
||||||
|
canonical: stubište
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
|
||||||
|
alphanumeric: &staircase_alphanumeric
|
||||||
|
default: *stubiste
|
||||||
|
numeric_probability: 0.75
|
||||||
|
alpha_probability: 0.2
|
||||||
|
numeric_plus_alpha_probability: 0.025
|
||||||
|
alpha_plus_numeric_probability: 0.025
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: right
|
||||||
|
direction_probability: 0.85
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *desno
|
||||||
|
probability: 0.2
|
||||||
|
- alternative: *lijevo
|
||||||
|
probability: 0.2
|
||||||
|
- alternative: *sjever
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *jug
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *istok
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *zapad
|
||||||
|
probability: 0.15
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
postanski_pretinac: &postanski_pretinac
|
||||||
|
canonical: poštanski pretinac
|
||||||
|
abbreviated: p.p
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *postanski_pretinac
|
||||||
|
numeric_probability: 0.9 # pp 123
|
||||||
|
alpha_probability: 0.05 # p.p A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # pp 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # pp A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
units:
|
||||||
|
stan: &stan
|
||||||
|
canonical: stan
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
apartman: &apartman
|
||||||
|
canonical: apartman
|
||||||
|
abbreviated: ap
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
|
||||||
|
soba: &soba
|
||||||
|
canonical: soba
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
ured: &ured
|
||||||
|
canonical: ured
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *stan
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *apartman
|
||||||
|
probability: 0.3
|
||||||
|
- alternative: *soba
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 0.9 # e.g. stan. 1
|
||||||
|
numeric_plus_alpha_probability: 0.03 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.03 # e.g. A1
|
||||||
|
alpha_probability: 0.04 # e.g. stan A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.05
|
||||||
|
|
||||||
|
zones:
|
||||||
|
commercial: &commercial_unit_types
|
||||||
|
default: *soba
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *ured
|
||||||
|
probability: 0.4
|
||||||
|
numeric_probability: 0.95 # e.g. soba 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. soba 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. soba A1
|
||||||
|
alpha_probability: 0.03 # e.g. soba A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
university:
|
||||||
|
default: *soba
|
||||||
|
numeric_probability: 0.95 # e.g. soba 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. soba 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. soba A1
|
||||||
|
alpha_probability: 0.03 # e.g. soba A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
856
resources/addresses/ca.yaml
Normal file
856
resources/addresses/ca.yaml
Normal file
@@ -0,0 +1,856 @@
|
|||||||
|
# ca.yaml
|
||||||
|
# -------
|
||||||
|
# Catalan language specification
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
# If no floor number is specified
|
||||||
|
null_probability: 0.6
|
||||||
|
alphanumeric_probability: 0.35
|
||||||
|
standalone_probability: 0.05
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
# If no unit number is specified
|
||||||
|
null_probability: 0.3
|
||||||
|
alphanumeric_probability: 0.65
|
||||||
|
standalone_probability: 0.05
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &numero
|
||||||
|
canonical: número
|
||||||
|
abbreviated: "nº"
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.1
|
||||||
|
abbreviated_probability: 0.7
|
||||||
|
sample_probability: 0.2
|
||||||
|
sample_exclude:
|
||||||
|
- "#"
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "#" # e.g. #3, #2F, etc.
|
||||||
|
probability: 0.5
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
direction: left # affix goes on the number's left
|
||||||
|
|
||||||
|
# Probabilities for numbers
|
||||||
|
numeric_probability: 0.7
|
||||||
|
numeric_affix_probability: 0.3
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &i
|
||||||
|
canonical: i
|
||||||
|
abbreviated: "&"
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.5
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.1
|
||||||
|
|
||||||
|
house_numbers:
|
||||||
|
# sense número (s/n) addresses
|
||||||
|
no_number:
|
||||||
|
default:
|
||||||
|
canonical: sense número
|
||||||
|
abbreviated: s/n
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.1
|
||||||
|
abbreviated_probability: 0.7
|
||||||
|
sample_probability: 0.2
|
||||||
|
alphanumeric:
|
||||||
|
default: *numero
|
||||||
|
|
||||||
|
alphanumeric_phrase_probability: 0.01
|
||||||
|
no_number_probability: 0.1 # With this probability, use sense número if no house_number is specified
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
levels:
|
||||||
|
# Everywhere except Spain
|
||||||
|
floor: &pis
|
||||||
|
canonical: pis
|
||||||
|
abbreviated: p
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true # Occasionally add variation of "number", e.g. Pis No 2
|
||||||
|
add_number_phrase_probability: 0.05
|
||||||
|
numeric_affix:
|
||||||
|
affix: p
|
||||||
|
direction: left # P2
|
||||||
|
# e.g. 2o piso
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
direction_probability: 0.95 # Let it vary occasionally e.g. Pis 2o
|
||||||
|
standalone_probability: 0.2 # Let e.g. 5º be the entire floor string
|
||||||
|
# If ordinal is selected, chance of e.g. just using 2o without Piso
|
||||||
|
null_phrase_probability: 0.6
|
||||||
|
numeric_probability: 0.2
|
||||||
|
numeric_affix_probability: 0.05
|
||||||
|
ordinal_probability: 0.75
|
||||||
|
# Ground floor
|
||||||
|
baixos: &baixos
|
||||||
|
canonical: baixos
|
||||||
|
abbreviated: bxs
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
abbreviated_probability: 0.3
|
||||||
|
sample_probability: 0.1
|
||||||
|
pis_baix: &pis_baix
|
||||||
|
canonical: pis baix
|
||||||
|
abbreviated: pb
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.1
|
||||||
|
sota: &sota
|
||||||
|
canonical: sota
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
# Used when floor number is < 0 (starts at -1 in all countries)
|
||||||
|
soterrani: &soterrani
|
||||||
|
canonical: soterrani
|
||||||
|
abbreviated: so
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.5
|
||||||
|
abbreviated_probability: 0.3
|
||||||
|
sample_probability: 0.2
|
||||||
|
# e.g. soterrani 1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: so
|
||||||
|
direction: left
|
||||||
|
# e.g. segon soterrani
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
standalone_probability: 0.985
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.005
|
||||||
|
numeric_affix_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
sub_soterrani: &sub_soterrani
|
||||||
|
canonical: sub soterrani
|
||||||
|
abbreviated: ss
|
||||||
|
sample: true
|
||||||
|
# e.g. sub soterrani 1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: ss
|
||||||
|
direction: left
|
||||||
|
# e.g. segon sub soterrani
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 2
|
||||||
|
# Soterrani 2 == Sub-soterrani 1
|
||||||
|
number_subtract_abs_value: 1
|
||||||
|
standalone_probability: 0.985
|
||||||
|
numeric_probability: 0.005
|
||||||
|
numeric_affix_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
entresol: &entresol
|
||||||
|
canonical: entresòl
|
||||||
|
abbreviated: entl
|
||||||
|
half_floors: true
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.1
|
||||||
|
# e.g. entresòl 2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
# e.g. ent2
|
||||||
|
numeric_affix:
|
||||||
|
affix: ent
|
||||||
|
direction: left
|
||||||
|
# e.g. segon entresòl
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.1
|
||||||
|
numeric_affix_probability: 0.1
|
||||||
|
ordinal_probability: 0.2
|
||||||
|
standalone_probability: 0.6
|
||||||
|
pis_principal: &pis_principal
|
||||||
|
canonical: pis principal
|
||||||
|
abbreviated: pis pral
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.3
|
||||||
|
sample_probability: 0.5
|
||||||
|
principal: &principal
|
||||||
|
canonical: principal
|
||||||
|
abbreviated: pral
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.2
|
||||||
|
atic: &atic
|
||||||
|
canonical: àtic
|
||||||
|
abbreviated: át
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.2
|
||||||
|
sobreatic: &sobreatic
|
||||||
|
canonical: sobreàtic
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *soterrani
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *sub_soterrani
|
||||||
|
probability: 0.3995
|
||||||
|
- alternative: *pis
|
||||||
|
probability: 0.0005
|
||||||
|
"-1":
|
||||||
|
default: *soterrani
|
||||||
|
probability: 0.9995
|
||||||
|
alternatives:
|
||||||
|
- alternative: *pis
|
||||||
|
probability: 0.0005
|
||||||
|
# Special token for half-floors
|
||||||
|
half_floors:
|
||||||
|
default: *entresol
|
||||||
|
"0":
|
||||||
|
default: *baixos
|
||||||
|
probability: 0.495
|
||||||
|
alternatives:
|
||||||
|
- alternative: *pis_baix
|
||||||
|
probability: 0.395
|
||||||
|
- alternative: *sota
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *pis
|
||||||
|
# Piso 0 is uncommon
|
||||||
|
probability: 0.01
|
||||||
|
top:
|
||||||
|
default: *pis
|
||||||
|
probability: 0.85
|
||||||
|
alternatives:
|
||||||
|
- alternative: *atic
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *sobreatic
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
numbering_starts_at: 0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *pis
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.05
|
||||||
|
numeric_probability: 0.99
|
||||||
|
alpha_probability: 0.01
|
||||||
|
|
||||||
|
blocks:
|
||||||
|
alphanumeric:
|
||||||
|
default:
|
||||||
|
canonical: bloc
|
||||||
|
abbreviated: bl
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
categories:
|
||||||
|
near:
|
||||||
|
default:
|
||||||
|
canonical: a prop de
|
||||||
|
probability: 0.5
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: prop de
|
||||||
|
probability: 0.2
|
||||||
|
- alternative:
|
||||||
|
canonical: prop
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: a prop
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: proper
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: proper a
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
nearby:
|
||||||
|
default:
|
||||||
|
canonical: proper
|
||||||
|
probability: 0.5
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: a prop
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: a prop d'aquí
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: a prop d'aqui
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: aquí
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: aqui
|
||||||
|
probability: 0.1
|
||||||
|
near_me:
|
||||||
|
default:
|
||||||
|
canonical: a prop meu
|
||||||
|
in:
|
||||||
|
default:
|
||||||
|
canonical: a
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: dins
|
||||||
|
probability: 0.2
|
||||||
|
- alternative:
|
||||||
|
canonical: en
|
||||||
|
probability: 0.2
|
||||||
|
# Probabilities of each phrase
|
||||||
|
near_probability: 0.35
|
||||||
|
nearby_probability: 0.2
|
||||||
|
near_me_probability: 0.1
|
||||||
|
in_probability: 0.35
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
and: *i
|
||||||
|
amb: &amb
|
||||||
|
canonical: amb
|
||||||
|
a: &a
|
||||||
|
canonical: a
|
||||||
|
corner_of: &cantonada_de
|
||||||
|
canonical: cantonada de
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
at_the_corner_of: &a_la_cantonada_de
|
||||||
|
canonical: a la cantonada de
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
corner: &cantonada
|
||||||
|
canonical: cantonada
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
|
||||||
|
intersection:
|
||||||
|
default: *i
|
||||||
|
probability: 0.55
|
||||||
|
alternatives:
|
||||||
|
- alternative: *amb
|
||||||
|
probability: 0.2
|
||||||
|
- alternative: *a
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *cantonada_de
|
||||||
|
probability: 0.09
|
||||||
|
- alternative: *a_la_cantonada_de
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *cantonada
|
||||||
|
probability: 0.01
|
||||||
|
|
||||||
|
between:
|
||||||
|
canonical: entre
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probabililty: 0.5
|
||||||
|
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
apartat: &apartat
|
||||||
|
canonical: apartat
|
||||||
|
abbreviated: apt
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.5
|
||||||
|
abbreviated_probability: 0.3
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.4 # Apt No 1234
|
||||||
|
numeric_probability: 1.0
|
||||||
|
alphanumeric:
|
||||||
|
sample: false
|
||||||
|
default: *apartat
|
||||||
|
numeric_probability: 0.9 # Apt 123
|
||||||
|
alpha_probability: 0.05 # Apt A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # Apt 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # Apt A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
postcodes:
|
||||||
|
alphanumeric:
|
||||||
|
default:
|
||||||
|
canonical: codi postal
|
||||||
|
abbreviated: cp
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.01
|
||||||
|
abbreviated_probability: 0.95
|
||||||
|
sample_probability: 0.04
|
||||||
|
|
||||||
|
numeric:
|
||||||
|
# Postcodes in Spain and Latin America are sometimes prefixed by CP
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
numeric_affix:
|
||||||
|
affix: cp
|
||||||
|
direction: left
|
||||||
|
# null_probability means the chance of doing nothing e.g. just the postal code
|
||||||
|
null_probability: 0.7
|
||||||
|
numeric_probability: 0.18
|
||||||
|
numeric_affix_probability: 0.12
|
||||||
|
strict_numeric: true
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &dreta
|
||||||
|
canonical: dreta
|
||||||
|
abbreviated: dta
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: d
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
left: &esquerra
|
||||||
|
canonical: esquerra
|
||||||
|
abbreviated: esq
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: e
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
rear: &posterior
|
||||||
|
canonical: posterior
|
||||||
|
abbreviated: pos
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
front: &front
|
||||||
|
canonical: front
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
alternatives:
|
||||||
|
- alternative: *dreta
|
||||||
|
probability: 0.45
|
||||||
|
- alternative: *esquerra
|
||||||
|
probability: 0.45
|
||||||
|
- alternative: *posterior
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *front
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
anteroposterior:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *front
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *posterior
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
lateral:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *dreta
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *esquerra
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &est
|
||||||
|
canonical: est
|
||||||
|
abbreviated: e
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: e
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
west: &oest
|
||||||
|
canonical: oest
|
||||||
|
abbreviated: w
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: w
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
north: &nord
|
||||||
|
canonical: nord
|
||||||
|
abbreviated: n
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: n
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
south: &sud
|
||||||
|
canonical: sud
|
||||||
|
abbreviated: s
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: s
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *nord
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *est
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *sud
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *oest
|
||||||
|
probability: 0.25
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
entrada: &entrada
|
||||||
|
canonical: entrada
|
||||||
|
abbreviated: entr
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.5
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# Entrance 1, Entrance A, etc.
|
||||||
|
alphanumeric:
|
||||||
|
default: *entrada
|
||||||
|
numeric_probability: 0.1 # e.g. Entrance 1
|
||||||
|
alpha_probability: 0.85 # e.g. Entrnace A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *nord
|
||||||
|
- alternative: *sud
|
||||||
|
- alternative: *est
|
||||||
|
- alternative: *oest
|
||||||
|
- alternative: *dreta
|
||||||
|
- alternative: *esquerra
|
||||||
|
- alternative: *posterior
|
||||||
|
- alternative: *front
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
escala: &escala
|
||||||
|
canonical: escala
|
||||||
|
abbreviated: esc
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
# For alphanumerics, Stair A, Stair 1, etc.
|
||||||
|
default: *escala
|
||||||
|
numeric_probability: 0.6 # e.g. Escalera 1
|
||||||
|
alpha_probability: 0.35 # e.g. Escalera A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: right # e.g. Escalera Izq
|
||||||
|
direction_probability: 0.8
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *nord
|
||||||
|
- alternative: *sud
|
||||||
|
- alternative: *est
|
||||||
|
- alternative: *oest
|
||||||
|
- alternative: *dreta
|
||||||
|
- alternative: *esquerra
|
||||||
|
- alternative: *posterior
|
||||||
|
- alternative: *front
|
||||||
|
|
||||||
|
units:
|
||||||
|
flat: &apartament
|
||||||
|
canonical: apartament
|
||||||
|
abbreviated: apmt
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
door: &porta
|
||||||
|
canonical: porta
|
||||||
|
abbreviated: pta
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
# If it's just puerta B, many times it's just e.g. 3o B for "tercero piso puerta B"
|
||||||
|
null_phrase_probability: 0.15
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
gender: f
|
||||||
|
direction_probability: 0.95 # Let it vary occasionally e.g. Porta 2a
|
||||||
|
null_phrase_probability: 0.8 # Let e.g. 5a be the entire unit string
|
||||||
|
numeric_probability: 0.25
|
||||||
|
ordinal_probability: 0.75
|
||||||
|
lletra: &lletra
|
||||||
|
canonical: lletra
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
office: &oficina
|
||||||
|
canonical: oficina
|
||||||
|
abbreviated: of
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.3
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
# Another word for unit, used more in Colombia
|
||||||
|
unitat: &unitat
|
||||||
|
canonical: unitat
|
||||||
|
abbreviated: un
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.2
|
||||||
|
lot: &lot
|
||||||
|
canonical: lot
|
||||||
|
abbreviated: lt
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.2
|
||||||
|
parcel: &parcella
|
||||||
|
canonical: parcel·la
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
habitacio: &habitacio
|
||||||
|
canonical: habitació
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
casa: &casa
|
||||||
|
canonical: casa
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
room: &sala
|
||||||
|
canonical: sala
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *porta
|
||||||
|
probability: 0.8
|
||||||
|
sample: true
|
||||||
|
alternatives:
|
||||||
|
- alternative: *apartament
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *casa
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
# Separate random probability for adding directions like 2o Izq, 2 Dcha, etc.
|
||||||
|
add_direction: true
|
||||||
|
add_direction_probability: 0.1
|
||||||
|
add_direction_numeric: true # Only for numbers
|
||||||
|
add_direction_standalone: true # A unit can be as simple as "D"
|
||||||
|
|
||||||
|
numeric_probability: 0.7 # e.g. Porta 1a
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. Porta 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. Porta A1
|
||||||
|
alpha_probability: 0.28 # e.g. Porta A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
alpha:
|
||||||
|
default: *porta
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *lletra
|
||||||
|
probability: 0.12
|
||||||
|
- alternative: *apartament
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *casa
|
||||||
|
probability: 0.01
|
||||||
|
- alternative: *unitat
|
||||||
|
probability: 0.01
|
||||||
|
- alternative: *habitacio
|
||||||
|
probability: 0.01
|
||||||
|
|
||||||
|
zones:
|
||||||
|
residential: *unit_alphanumeric
|
||||||
|
commercial:
|
||||||
|
default: *oficina
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *sala
|
||||||
|
probability: 0.2
|
||||||
|
|
||||||
|
numeric_probability: 0.9 # e.g. Oficina 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. Oficina 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. Oficina A1
|
||||||
|
alpha_probability: 0.08 # e.g. Oficina A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
alpha:
|
||||||
|
default: *oficina
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *sala
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *lletra
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
industrial:
|
||||||
|
default: *lot
|
||||||
|
probability: 0.5
|
||||||
|
alternatives:
|
||||||
|
- alternative: *oficina
|
||||||
|
probability: 0.3
|
||||||
|
- alternative: *unitat
|
||||||
|
probability: 0.19
|
||||||
|
- alternative: *parcella
|
||||||
|
probability: 0.01
|
||||||
|
|
||||||
|
numeric_probability: 0.9 # e.g. Lote 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. Lote 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. Lote A1
|
||||||
|
alpha_probability: 0.08 # e.g. Lote A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
university:
|
||||||
|
default: *sala
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *porta
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
numeric_probability: 0.9 # e.g. Sala 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. Sala 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. Sala A1
|
||||||
|
alpha_probability: 0.08 # e.g. Sala A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
alpha:
|
||||||
|
default: *sala
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *porta
|
||||||
|
probability: 0.08
|
||||||
|
- alternative: *lletra
|
||||||
|
probability: 0.02
|
||||||
|
|
||||||
|
allotments:
|
||||||
|
lot:
|
||||||
|
default: *lot
|
||||||
|
numeric_probability: 0.8
|
||||||
|
alphanumeric_probability: 0.1
|
||||||
|
alpha_probability: 0.1
|
||||||
|
parcel:
|
||||||
|
default: *parcella
|
||||||
|
numeric_probability: 0.3
|
||||||
|
alphanumeric_probability: 0.3
|
||||||
|
alpha_probability: 0.4
|
||||||
|
lot_probability: 0.9
|
||||||
|
parcel_probability: 0.06
|
||||||
|
lot_plus_parcel_probability: 0.02
|
||||||
|
parcel_plus_lot_probability: 0.02
|
||||||
570
resources/addresses/cs.yaml
Normal file
570
resources/addresses/cs.yaml
Normal file
@@ -0,0 +1,570 @@
|
|||||||
|
# cs.yaml
|
||||||
|
# -------
|
||||||
|
# Czech language specification
|
||||||
|
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.95
|
||||||
|
alphanumeric_probability: 0.04
|
||||||
|
standalone_probability: 0.01
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.9
|
||||||
|
alphanumeric_probability: 0.1
|
||||||
|
|
||||||
|
# Note: no combinations because of the house numbering scheme
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &cislo
|
||||||
|
canonical: číslo
|
||||||
|
abbreviated: č
|
||||||
|
sample: true
|
||||||
|
# Probabilities
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "č."
|
||||||
|
direction: left
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &a
|
||||||
|
canonical: a
|
||||||
|
abbreviated: "&"
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.75
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.05
|
||||||
|
|
||||||
|
conscription_numbers:
|
||||||
|
alphanumeric:
|
||||||
|
default:
|
||||||
|
canonical: číslo popisné
|
||||||
|
abbreviated: "č.p."
|
||||||
|
canonical_probability: 0.05
|
||||||
|
abbreviated_probability: 0.85
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
and: *a
|
||||||
|
at: &na
|
||||||
|
canonical: na
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
corner_of: &rohu
|
||||||
|
canonical: rohu
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
corner: &roh
|
||||||
|
canonical: roh
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
at_the_corner_of: &na_rohu
|
||||||
|
canonical: na rohu
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
intersection:
|
||||||
|
default: *a
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *na
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *rohu
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *roh
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *na_rohu
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
between:
|
||||||
|
canonical: mezi
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5
|
||||||
|
|
||||||
|
levels:
|
||||||
|
floor: &patro
|
||||||
|
canonical: patro
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
roman_numeral_probability: 0.7
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
nadzemni_podlazi: &nadzemni_podlazi
|
||||||
|
canonical: nadzemní podlaží
|
||||||
|
abbreviated: np
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.1
|
||||||
|
abbreviated_probability: 0.8
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
etaz: &etaz
|
||||||
|
canonical: etáž
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
prizemi: &prizemi
|
||||||
|
canonical: přízemí
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
podzemni_podlazi: &podzemni_podlazi
|
||||||
|
canonical: podzemní podlaží
|
||||||
|
abbreviated: pp
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.5
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.3
|
||||||
|
# e.g. podzemní podlaží 1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.8
|
||||||
|
# e.g. pp1
|
||||||
|
numeric_affix:
|
||||||
|
affix: pp
|
||||||
|
direction: left
|
||||||
|
# e.g. 1. podzemní podlaží
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
standalone_probability: 0.985
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.005
|
||||||
|
numeric_affix_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *podzemni_podlazi
|
||||||
|
"-1":
|
||||||
|
default: *podzemni_podlazi
|
||||||
|
"0":
|
||||||
|
default: *prizemi
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *patro
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
numbering_starts_at: 0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *patro
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *nadzemni_podlazi
|
||||||
|
probability: 0.19
|
||||||
|
- alternative: *etaz
|
||||||
|
probability: 0.01
|
||||||
|
numeric_probability: 0.99 # With this probability, pick an integer
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
categories:
|
||||||
|
near:
|
||||||
|
default:
|
||||||
|
canonical: poblíž
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.75
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: v blízkém okolí
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: u
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: kolem
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
probability: 0.05
|
||||||
|
nearby:
|
||||||
|
default:
|
||||||
|
canonical: poblíž
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.45
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: blízko
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.2
|
||||||
|
- alternative:
|
||||||
|
canonical: v blízkosti
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: tady poblíž
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: tady
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: okolo
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: v okolí
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.05
|
||||||
|
near_me:
|
||||||
|
default:
|
||||||
|
canonical: v blízkosti mně
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
# Don't worry about agreement
|
||||||
|
in:
|
||||||
|
default:
|
||||||
|
canonical: v
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: ve
|
||||||
|
probability: 0.3
|
||||||
|
|
||||||
|
# Probabilities of each phrase
|
||||||
|
near_probability: 0.35
|
||||||
|
nearby_probability: 0.2
|
||||||
|
near_me_probability: 0.1
|
||||||
|
in_probability: 0.35
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &prava
|
||||||
|
canonical: pravá
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
left: &leva
|
||||||
|
canonical: levá
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
alternatives:
|
||||||
|
- alternative: *prava
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *leva
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &vychod
|
||||||
|
canonical: východ
|
||||||
|
abbreviated: v
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: v
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
west: &zapad
|
||||||
|
canonical: západ
|
||||||
|
abbreviated: z
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: z
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
north: &sever
|
||||||
|
canonical: sever
|
||||||
|
abbreviated: s
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: s
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
south: &jih
|
||||||
|
canonical: jih
|
||||||
|
abbreviated: j
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.75
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.15
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: j
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *sever
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *vychod
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *jih
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *zapad
|
||||||
|
probability: 0.25
|
||||||
|
entrances:
|
||||||
|
vchod: &vchod
|
||||||
|
canonical: vchod
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# Wejście 1, Wejście A, etc.
|
||||||
|
alphanumeric: &entrance_alphanumeric
|
||||||
|
default: *vchod
|
||||||
|
numeric_probability: 0.1 # e.g. Wejście 1
|
||||||
|
alpha_probability: 0.85 # e.g. Wejście A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
schodiste: &schodiste
|
||||||
|
canonical: schodiště
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric: &staircase_alphanumeric
|
||||||
|
default: *schodiste
|
||||||
|
numeric_probability: 0.75
|
||||||
|
alpha_probability: 0.2
|
||||||
|
numeric_plus_alpha_probability: 0.025
|
||||||
|
alpha_plus_numeric_probability: 0.025
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.85
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *sever
|
||||||
|
- alternative: *jih
|
||||||
|
- alternative: *vychod
|
||||||
|
- alternative: *zapad
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
postovni_prihradka: &postovni_prihradka
|
||||||
|
canonical: poštovní přihrádka
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2 # poštovní přihrádka 1234
|
||||||
|
alphanumeric:
|
||||||
|
default: *postovni_prihradka
|
||||||
|
numeric_probability: 0.9 # poštovní přihrádka 123
|
||||||
|
alpha_probability: 0.05 # poštovní přihrádka A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # poštovní přihrádka 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # poštovní přihrádka A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
units:
|
||||||
|
apartaman: &apartaman
|
||||||
|
canonical: apartmán
|
||||||
|
abbreviated: apt
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
pokoj: &pokoj
|
||||||
|
canonical: pokoj
|
||||||
|
abbreviated: pok
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
kancelar: &kancelar
|
||||||
|
canonical: kancelář
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *apartaman
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *pokoj
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 0.9 # e.g. apt. 1
|
||||||
|
numeric_plus_alpha_probability: 0.03 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.03 # e.g. A1
|
||||||
|
alpha_probability: 0.04 # e.g. apt. A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.01
|
||||||
|
|
||||||
|
zones:
|
||||||
|
commercial: &commercial_unit_types
|
||||||
|
default: *pokoj
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *kancelar
|
||||||
|
probability: 0.4
|
||||||
|
numeric_probability: 0.95 # e.g. pokoj 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. pokoj 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. pokoj A1
|
||||||
|
alpha_probability: 0.03 # e.g. pokoj A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
university:
|
||||||
|
default: *pokoj
|
||||||
|
numeric_probability: 0.95 # e.g. pokoj 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. pok 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. pokoj A1
|
||||||
|
alpha_probability: 0.03 # e.g. pokoj A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
599
resources/addresses/da.yaml
Normal file
599
resources/addresses/da.yaml
Normal file
@@ -0,0 +1,599 @@
|
|||||||
|
# da.yaml
|
||||||
|
# -------
|
||||||
|
# Danish language specification.
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.85
|
||||||
|
alphanumeric_probability: 0.1
|
||||||
|
standalone_probability: 0.05
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.75
|
||||||
|
alphanumeric_probability: 0.25
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- level
|
||||||
|
- unit
|
||||||
|
label: unit
|
||||||
|
separators:
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.9
|
||||||
|
- separator: " - "
|
||||||
|
probability: 0.1
|
||||||
|
probability: 0.005
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- entrance
|
||||||
|
- unit
|
||||||
|
label: unit
|
||||||
|
separators:
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.9
|
||||||
|
- separator: " - "
|
||||||
|
probability: 0.1
|
||||||
|
probability: 0.001
|
||||||
|
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &nummer
|
||||||
|
canonical: nummer
|
||||||
|
abbreviated: nr
|
||||||
|
sample: true
|
||||||
|
# Probabilities
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.2
|
||||||
|
sample_exclude:
|
||||||
|
- "#"
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "#"
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
|
||||||
|
|
||||||
|
house_numbers:
|
||||||
|
alphanumeric:
|
||||||
|
default: *nummer
|
||||||
|
|
||||||
|
alphanumeric_phrase_probability: 0.0001
|
||||||
|
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &og
|
||||||
|
canonical: og
|
||||||
|
abbreviated: "&"
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.75
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.05
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
and: *og
|
||||||
|
corner_of: &hjorne_af
|
||||||
|
canonical: hjørne af
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
at_the_corner_of: &pa_hjornet_af
|
||||||
|
canonical: på hjørnet af
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
intersection:
|
||||||
|
default: *og
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative: *hjorne_af
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *pa_hjornet_af
|
||||||
|
probability: 0.15
|
||||||
|
|
||||||
|
between:
|
||||||
|
canonical: mellem
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5
|
||||||
|
|
||||||
|
levels:
|
||||||
|
floor: &sal
|
||||||
|
canonical: sal
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
direction_probability: 0.9
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
etage: &etage
|
||||||
|
canonical: etage
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
stuen: &stuen
|
||||||
|
canonical: stuen
|
||||||
|
abbreviated: st
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.1
|
||||||
|
stueetage: &stueetage
|
||||||
|
canonical: stueetage
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
sample_probability: 0.7
|
||||||
|
kaelderen: &kaelderen
|
||||||
|
canonical: kælderen
|
||||||
|
abbreviated: kl
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.2
|
||||||
|
# e.g. 1 kælderen
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
direction_probability: 0.8
|
||||||
|
# e.g. k1
|
||||||
|
numeric_affix:
|
||||||
|
affix: k
|
||||||
|
direction: left
|
||||||
|
# e.g. 1. kl
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
standalone_probability: 0.985
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.005
|
||||||
|
numeric_affix_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *kaelderen
|
||||||
|
"-1":
|
||||||
|
default: *kaelderen
|
||||||
|
"0":
|
||||||
|
default: *stuen
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *stueetage
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
numbering_starts_at: 0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *sal
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative: *etage
|
||||||
|
probability: 0.3
|
||||||
|
numeric_probability: 0.99 # With this probability, pick an integer
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
categories:
|
||||||
|
near:
|
||||||
|
default:
|
||||||
|
canonical: i nærheden af
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: tæt på
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.2
|
||||||
|
- alternative:
|
||||||
|
canonical: tæt ved
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
nearby:
|
||||||
|
default:
|
||||||
|
canonical: i nærheden
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.4
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: rundt her
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.2
|
||||||
|
- alternative:
|
||||||
|
canonical: nær her
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: nær
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: omkring her
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: tæt på her
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
near_me:
|
||||||
|
default:
|
||||||
|
canonical: nær mig
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: i nærheden af mig
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: tæt på mig
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
# Don't worry about agreement
|
||||||
|
in:
|
||||||
|
default:
|
||||||
|
canonical: i
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: om
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: på
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
|
||||||
|
# Probabilities of each phrase
|
||||||
|
near_probability: 0.35
|
||||||
|
nearby_probability: 0.2
|
||||||
|
near_me_probability: 0.1
|
||||||
|
in_probability: 0.35
|
||||||
|
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &til_hojre
|
||||||
|
canonical: til højre
|
||||||
|
abbreviated: t.h
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: t.h
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
numeric_affix_probability: 0.2
|
||||||
|
left: &til_venstre
|
||||||
|
canonical: til venstre
|
||||||
|
abbreviated: t.v
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.1
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: t.v
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
numeric_affix_probability: 0.2
|
||||||
|
middle: &midt_for
|
||||||
|
canonical: midt for
|
||||||
|
abbreviated: m.f
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.1
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: m.f
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
alternatives:
|
||||||
|
- alternative: *til_hojre
|
||||||
|
probability: 0.45
|
||||||
|
- alternative: *til_venstre
|
||||||
|
probability: 0.45
|
||||||
|
- alternative: *midt_for
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &ost
|
||||||
|
canonical: øst
|
||||||
|
abbreviated: ø
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: ø
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
west: &vest
|
||||||
|
canonical: vest
|
||||||
|
abbreviated: v
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: v
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
north: &nord
|
||||||
|
canonical: nord
|
||||||
|
abbreviated: n
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: n
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
south: &syd
|
||||||
|
canonical: syd
|
||||||
|
abbreviated: s
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.75
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.15
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: s
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *nord
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *ost
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *syd
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *vest
|
||||||
|
probability: 0.25
|
||||||
|
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
indgang: &indgang
|
||||||
|
canonical: indgang
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# Eingang 1, Eingang A, etc.
|
||||||
|
alphanumeric: &entrance_alphanumeric
|
||||||
|
default: *indgang
|
||||||
|
numeric_probability: 0.1 # e.g. Eingang 1
|
||||||
|
alpha_probability: 0.85 # e.g. Eingang A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
stiege: &stiege
|
||||||
|
canonical: stiege
|
||||||
|
abbreviated: stg
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
trappe: &trappe
|
||||||
|
canonical: trappe
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric: &staircase_alphanumeric
|
||||||
|
default: *trappe
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *stiege
|
||||||
|
probability: 0.2
|
||||||
|
numeric_probability: 0.75
|
||||||
|
alpha_probability: 0.2
|
||||||
|
numeric_plus_alpha_probability: 0.025
|
||||||
|
alpha_plus_numeric_probability: 0.025
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.85
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *nord
|
||||||
|
- alternative: *syd
|
||||||
|
- alternative: *ost
|
||||||
|
- alternative: *vest
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
postboks: &postboks
|
||||||
|
canonical: postboks
|
||||||
|
abbreviated: pb
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2 # Pb No 1234
|
||||||
|
boks: &boks
|
||||||
|
canonical: boks
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2 # Boks No 1234
|
||||||
|
alphanumeric:
|
||||||
|
sample: false
|
||||||
|
default: *postboks
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *boks
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 0.9 # Pb 123
|
||||||
|
alpha_probability: 0.05 # Pb A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # Pb 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # Pb A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
units:
|
||||||
|
lejlighed: &lejlighed
|
||||||
|
canonical: lejlighed
|
||||||
|
abbreviated: ljd
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
null_phrase_probability: 0.5
|
||||||
|
# Lejlighed nummer 4
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.05
|
||||||
|
hus: &hus
|
||||||
|
canonical: hus
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
vaerelse: &vaerelse
|
||||||
|
canonical: værelse
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *lejlighed
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *hus
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *vaerelse
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 0.9 # e.g. Lejlighed 1
|
||||||
|
numeric_plus_alpha_probability: 0.03 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.03 # e.g. A1
|
||||||
|
alpha_probability: 0.04 # e.g. Lejl A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# Separate random probability for adding directions like 2R, 2L, etc.
|
||||||
|
add_direction: true
|
||||||
|
add_direction_probability: 0.5
|
||||||
|
|
||||||
|
# Add directions for plain numbers
|
||||||
|
add_direction_numeric: true
|
||||||
|
# Add direction only e.g. Lejlighed Rechts
|
||||||
|
add_direction_standalone: true
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.1
|
||||||
728
resources/addresses/de.yaml
Normal file
728
resources/addresses/de.yaml
Normal file
@@ -0,0 +1,728 @@
|
|||||||
|
# de.yaml
|
||||||
|
# -------
|
||||||
|
# Note: this will only apply to the German language code, which encompasses Germany,
|
||||||
|
# Austria, Switzerland (but not Swiss-German, which has its own language code),
|
||||||
|
# Lichtenstein, Luxembourg (Luxembourgish has its own language code), and part of Belgium.
|
||||||
|
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.85
|
||||||
|
alphanumeric_probability: 0.1
|
||||||
|
standalone_probability: 0.05
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.9
|
||||||
|
alphanumeric_probability: 0.1
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
# e.g. 2/34, more common way to specify a unit number in German
|
||||||
|
# if unit exists in the first place
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: /
|
||||||
|
probability: 0.8
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.1
|
||||||
|
- separator: " - "
|
||||||
|
probability: 0.1
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &nummer
|
||||||
|
canonical: nummer
|
||||||
|
abbreviated: nr
|
||||||
|
sample: true
|
||||||
|
# Probabilities
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.2
|
||||||
|
sample_exclude:
|
||||||
|
- "#"
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "#"
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
|
||||||
|
|
||||||
|
house_numbers:
|
||||||
|
gebaude: &gebaude
|
||||||
|
canonical: gebäude
|
||||||
|
abbreviated: geb
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.5
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
alphanumeric:
|
||||||
|
default: *nummer
|
||||||
|
probability: 0.95
|
||||||
|
alternatives:
|
||||||
|
- alternative: *gebaude
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
alphanumeric_phrase_probability: 0.05
|
||||||
|
|
||||||
|
conscription_numbers:
|
||||||
|
alphanumeric:
|
||||||
|
default:
|
||||||
|
canonical: konskriptionsnummer
|
||||||
|
abbreviated: konskr. nr
|
||||||
|
canonical_probability: 0.15
|
||||||
|
abbreviated_probability: 0.65
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &und
|
||||||
|
canonical: und
|
||||||
|
abbreviated: "&"
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.75
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.05
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
and: *und
|
||||||
|
corner_of: &ecke_von
|
||||||
|
canonical: ecke von
|
||||||
|
at_the_corner_of: &an_der_ecke_von
|
||||||
|
canonical: an der ecke von
|
||||||
|
intersection:
|
||||||
|
default: *und
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative: *ecke_von
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *an_der_ecke_von
|
||||||
|
probability: 0.15
|
||||||
|
|
||||||
|
between:
|
||||||
|
canonical: zwischen
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5
|
||||||
|
|
||||||
|
levels:
|
||||||
|
floor: &obergeschoss
|
||||||
|
canonical: obergeschoss
|
||||||
|
abbreviated: og
|
||||||
|
sample: true
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
canonical_probability: 0.5
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: og
|
||||||
|
direction: right
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.3
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
ordinal_probability: 0.2
|
||||||
|
etage: &etage
|
||||||
|
canonical: etage
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
stock: &stock
|
||||||
|
canonical: stock
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.1
|
||||||
|
ordinal_probability: 0.9
|
||||||
|
erdgeschoss: &erdgeschoss
|
||||||
|
canonical: erdgeschoss
|
||||||
|
abbreviated: eg
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.1
|
||||||
|
untergeschoss: &untergeschoss
|
||||||
|
canonical: untergeschoss
|
||||||
|
abbreviated: ug
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.1
|
||||||
|
# e.g. Basement 1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
# e.g. 1ug
|
||||||
|
numeric_affix:
|
||||||
|
affix: ug
|
||||||
|
direction: left
|
||||||
|
# e.g. 1. UG
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
standalone_probability: 0.985
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.005
|
||||||
|
numeric_affix_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
unterste_etage: &unterste_etage
|
||||||
|
canonical: unterste etage
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
oberste_etage: &oberste_etage
|
||||||
|
canonical: oberste etage
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *untergeschoss
|
||||||
|
"-1":
|
||||||
|
default: *untergeschoss
|
||||||
|
"0":
|
||||||
|
default: *erdgeschoss
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *unterste_etage
|
||||||
|
probability: 0.1
|
||||||
|
"top":
|
||||||
|
default: *obergeschoss
|
||||||
|
probability: 0.75
|
||||||
|
alternatives:
|
||||||
|
- alternative: *stock
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *etage
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *oberste_etage
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
numbering_starts_at: 0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *obergeschoss
|
||||||
|
probability: 0.85
|
||||||
|
alternatives:
|
||||||
|
- alternative: *stock
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *etage
|
||||||
|
probability: 0.05
|
||||||
|
numeric_probability: 0.99 # With this probability, pick an integer
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
categories:
|
||||||
|
near:
|
||||||
|
default:
|
||||||
|
canonical: nähe
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.5
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: bei
|
||||||
|
probability: 0.3
|
||||||
|
- alternative:
|
||||||
|
canonical: nah
|
||||||
|
probability: 0.15
|
||||||
|
- alternative:
|
||||||
|
canonical: nahe an
|
||||||
|
probability: 0.05
|
||||||
|
nearby:
|
||||||
|
default:
|
||||||
|
canonical: hier in der nähe
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.4
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: in der nähe
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.3
|
||||||
|
- alternative:
|
||||||
|
canonical: in der nähe hier
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: in der nähe von
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: nahe gelegen
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: hier in der gegend
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
near_me:
|
||||||
|
default:
|
||||||
|
canonical: in meiner nähe
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: in der nähe zu mir
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
# Don't worry about agreement
|
||||||
|
in:
|
||||||
|
default:
|
||||||
|
canonical: in
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: im
|
||||||
|
probability: 0.2
|
||||||
|
- alternative:
|
||||||
|
canonical: um
|
||||||
|
probability: 0.2
|
||||||
|
|
||||||
|
|
||||||
|
# Probabilities of each phrase
|
||||||
|
near_probability: 0.35
|
||||||
|
nearby_probability: 0.2
|
||||||
|
near_me_probability: 0.1
|
||||||
|
in_probability: 0.35
|
||||||
|
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &rechts
|
||||||
|
canonical: rechts
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: r
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
numeric_affix_probability: 0.2
|
||||||
|
left: &links
|
||||||
|
canonical: links
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: l
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *rechts
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *links
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &ost
|
||||||
|
canonical: ost
|
||||||
|
abbreviated: o
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: o
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
west: &west
|
||||||
|
canonical: west
|
||||||
|
abbreviated: w
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: w
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
north: &nord
|
||||||
|
canonical: nord
|
||||||
|
abbreviated: n
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: n
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
south: &sud
|
||||||
|
canonical: süd
|
||||||
|
abbreviated: s
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.75
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.15
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: s
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *nord
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *ost
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *sud
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *west
|
||||||
|
probability: 0.25
|
||||||
|
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
eingang: &eingang
|
||||||
|
canonical: eingang
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# Eingang 1, Eingang A, etc.
|
||||||
|
alphanumeric: &entrance_alphanumeric
|
||||||
|
default: *eingang
|
||||||
|
numeric_probability: 0.1 # e.g. Eingang 1
|
||||||
|
alpha_probability: 0.85 # e.g. Eingang A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
stiege: &stiege
|
||||||
|
canonical: stiege
|
||||||
|
abbreviated: stg
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
treppe: &treppe
|
||||||
|
canonical: treppe
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric: &staircase_alphanumeric
|
||||||
|
default: *stiege
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *treppe
|
||||||
|
probability: 0.4
|
||||||
|
numeric_probability: 0.75
|
||||||
|
alpha_probability: 0.2
|
||||||
|
numeric_plus_alpha_probability: 0.025
|
||||||
|
alpha_plus_numeric_probability: 0.025
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.85
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *nord
|
||||||
|
- alternative: *sud
|
||||||
|
- alternative: *ost
|
||||||
|
- alternative: *west
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
postfach: &postfach
|
||||||
|
canonical: postfach
|
||||||
|
abbreviated: pf
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2 # PF No 1234
|
||||||
|
numeric_probability: 1.0
|
||||||
|
alphanumeric:
|
||||||
|
sample: false
|
||||||
|
default: *postfach
|
||||||
|
numeric_probability: 0.9 # Apdo 123
|
||||||
|
alpha_probability: 0.05 # Apdo A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # Apdo 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # Apdo A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
units:
|
||||||
|
halle: &halle
|
||||||
|
canonical: halle
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
wohnung: &wohnung
|
||||||
|
canonical: wohnung
|
||||||
|
abbreviated: whg
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.3
|
||||||
|
plural:
|
||||||
|
canonical: wohnungen
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
# Wohnung nummer 4
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
haus: &haus
|
||||||
|
canonical: haus
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
wohnungsnummer: &wohnungsnummer
|
||||||
|
canonical: wohnungsnummer
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
appartement: &appartement
|
||||||
|
canonical: appartement
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
buro: &buro
|
||||||
|
canonical: büro
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
zimmer: &zimmer
|
||||||
|
canonical: zimmer
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *wohnung
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *wohnungsnummer
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *appartement
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *haus
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
numeric_probability: 0.9 # e.g. Wohnung 1
|
||||||
|
numeric_plus_alpha_probability: 0.03 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.03 # e.g. A1
|
||||||
|
alpha_probability: 0.04 # e.g. Wohnung A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# Separate random probability for adding directions like 2R, 2L, etc.
|
||||||
|
add_direction: true
|
||||||
|
add_direction_probability: 0.1
|
||||||
|
|
||||||
|
# Add directions for plain numbers
|
||||||
|
add_direction_numeric: true
|
||||||
|
# Add direction only e.g. Wohnung Rechts
|
||||||
|
add_direction_standalone: true
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.1
|
||||||
|
|
||||||
|
zone:
|
||||||
|
residential: *unit_alphanumeric
|
||||||
|
commercial:
|
||||||
|
default: *buro
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *zimmer
|
||||||
|
probability: 0.1
|
||||||
|
university:
|
||||||
|
default: *halle
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *zimmer
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
|
||||||
|
countries:
|
||||||
|
# Austria
|
||||||
|
at:
|
||||||
|
# Staircase and entrance numbers more common
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.6
|
||||||
|
alphanumeric_probability: 0.3
|
||||||
|
standalone_probability: 0.1
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.9
|
||||||
|
alphanumeric_probability: 0.1
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.4
|
||||||
|
alphanumeric_probability: 0.6
|
||||||
|
|
||||||
|
# Combined apartment numbers are very common
|
||||||
|
combinations:
|
||||||
|
# e.g. Neubaugasse 55/A/1/5
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- entrance
|
||||||
|
- staircase
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: /
|
||||||
|
probability: 0.98
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.02
|
||||||
|
probability: 0.9
|
||||||
|
# e.g. Neubaugasse 55/1/5
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- staircase
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: /
|
||||||
|
probability: 0.98
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.02
|
||||||
|
probability: 0.8
|
||||||
|
# e.g. Neubaugasse 55/5
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
probability: 0.7
|
||||||
|
separators:
|
||||||
|
- separator: /
|
||||||
|
probability: 0.98
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.02
|
||||||
|
|
||||||
|
units:
|
||||||
|
top: &top
|
||||||
|
canonical: top
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
alphanumeric: &austria_units_alphanumeric
|
||||||
|
default: *top
|
||||||
|
probability: 0.75
|
||||||
|
alternatives:
|
||||||
|
- alternative: *haus
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *wohnung
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *wohnungsnummer
|
||||||
|
probability: 0.025
|
||||||
|
- alternative: *appartement
|
||||||
|
probability: 0.025
|
||||||
368
resources/addresses/el.yaml
Normal file
368
resources/addresses/el.yaml
Normal file
@@ -0,0 +1,368 @@
|
|||||||
|
# el.yaml
|
||||||
|
# -------
|
||||||
|
# Greek language specification
|
||||||
|
|
||||||
|
|
||||||
|
alphabet: αβγδεζηθικλμνξοπρστυφχψω
|
||||||
|
alphabet_probability: 0.8
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.95
|
||||||
|
alphanumeric_probability: 0.05
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.9
|
||||||
|
alphanumeric_probability: 0.1
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.6
|
||||||
|
alphanumeric_probability: 0.4
|
||||||
|
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
levels:
|
||||||
|
orofos: &orofos
|
||||||
|
canonical: όροφος
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: left
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
orofos_latin: &orofos_latin
|
||||||
|
canonical: órofos
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: left
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
|
||||||
|
isogelo: &isogelo
|
||||||
|
canonical: ισόγειο
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
isogelo_latin: &isogelo_latin
|
||||||
|
canonical: isógeio
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
sample_probability: 0.4
|
||||||
|
imiorofos: &imiorofos
|
||||||
|
canonical: ημιώροφος
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
imiorofos_latin: &imiorofos_latin
|
||||||
|
canonical: imiórofos
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
sample_probability: 0.4
|
||||||
|
|
||||||
|
ypogeio: &ypogeio
|
||||||
|
canonical: υπόγειο
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: left
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
standalone_probability: 0.985
|
||||||
|
numeric_probability: 0.01
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
ypogeio_latin: &ypogeio_latin
|
||||||
|
canonical: ypógeio
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: left
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
standalone_probability: 0.985
|
||||||
|
numeric_probability: 0.01
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *ypogeio
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *ypogeio_latin
|
||||||
|
probability: 0.1
|
||||||
|
"-1":
|
||||||
|
default: *ypogeio
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *ypogeio_latin
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
half_floors:
|
||||||
|
default: *imiorofos
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *imiorofos_latin
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
"0":
|
||||||
|
default: *isogelo
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *isogelo_latin
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
numbering_starts_at: 0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *orofos
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *orofos_latin
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 0.99 # With this probability, pick an integer
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
eisodos: &eisodos
|
||||||
|
canonical: είσοδος
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
eisodos_latin: &eisodos_latin
|
||||||
|
canonical: eísodos
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# είσοδος 1, etc.
|
||||||
|
alphanumeric:
|
||||||
|
default: *eisodos
|
||||||
|
probability: 0.99
|
||||||
|
alternatives:
|
||||||
|
- alternative: *eisodos_latin
|
||||||
|
probability: 0.01
|
||||||
|
numeric_probability: 0.1
|
||||||
|
alpha_probability: 0.9
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
skala: &skala
|
||||||
|
canonical: σκάλα
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
skala_latin: &skala_latin
|
||||||
|
canonical: skála
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
# For alphanumerics, skála A, skála 1, etc.
|
||||||
|
default: *skala
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *skala_latin
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 0.6 # e.g. skála 1
|
||||||
|
alpha_probability: 0.35 # e.g. skála A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
tachydromiki_thyrida: &tachydromiki_thyrida
|
||||||
|
canonical: ταχυδρομική θυρίδα
|
||||||
|
abbreviated: τ.θ
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
tachydromiki_thyrida_latin: &tachydromiki_thyrida_latin
|
||||||
|
canonical: tachydromikí thyrída
|
||||||
|
abbreviated: t.th
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *tachydromiki_thyrida
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *tachydromiki_thyrida_latin
|
||||||
|
probability: 0.2
|
||||||
|
numeric_probability: 0.9 # t.th 123
|
||||||
|
alpha_probability: 0.05 # t.th А
|
||||||
|
numeric_plus_alpha_probability: 0.04 # t.th 123А
|
||||||
|
alpha_plus_numeric_probability: 0.01 # t.th А123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
units:
|
||||||
|
diamerisma: &diamerisma
|
||||||
|
canonical: διαμέρισμα
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.6
|
||||||
|
ordinal_probability: 0.4
|
||||||
|
diamerisma_latin: &diamerisma_latin
|
||||||
|
canonical: diamérisma
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.6
|
||||||
|
ordinal_probability: 0.4
|
||||||
|
|
||||||
|
domatio: &domatio
|
||||||
|
canonical: δωμάτιο
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.6
|
||||||
|
ordinal_probability: 0.4
|
||||||
|
domatio_latin: &domatio_latin
|
||||||
|
canonical: domátio
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.6
|
||||||
|
ordinal_probability: 0.4
|
||||||
|
|
||||||
|
grafeiou: &grafeiou
|
||||||
|
canonical: γραφείου
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.6
|
||||||
|
ordinal_probability: 0.4
|
||||||
|
grafeiou_latin: &grafeiou_latin
|
||||||
|
canonical: grafeíou
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.6
|
||||||
|
ordinal_probability: 0.4
|
||||||
|
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *diamerisma
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *diamerisma_latin
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *domatio
|
||||||
|
probability: 0.09
|
||||||
|
- alternative: *domatio_latin
|
||||||
|
probability: 0.01
|
||||||
|
|
||||||
|
numeric_probability: 0.9 # e.g. diamérisma 1
|
||||||
|
numeric_plus_alpha_probability: 0.03 # e.g. 1А
|
||||||
|
alpha_plus_numeric_probability: 0.03 # e.g. AА1
|
||||||
|
alpha_probability: 0.04 # e.g. διαμέρισμα А
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.1
|
||||||
|
|
||||||
|
zone:
|
||||||
|
residential: *unit_alphanumeric
|
||||||
|
commercial:
|
||||||
|
default: *grafeiou
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *grafeiou_latin
|
||||||
|
probability: 0.1
|
||||||
|
university:
|
||||||
|
default: *domatio
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *domatio_latin
|
||||||
|
probability: 0.1
|
||||||
1468
resources/addresses/en.yaml
Normal file
1468
resources/addresses/en.yaml
Normal file
File diff suppressed because it is too large
Load Diff
1189
resources/addresses/es.yaml
Normal file
1189
resources/addresses/es.yaml
Normal file
File diff suppressed because it is too large
Load Diff
470
resources/addresses/et.yaml
Normal file
470
resources/addresses/et.yaml
Normal file
@@ -0,0 +1,470 @@
|
|||||||
|
# et.yaml
|
||||||
|
# -------
|
||||||
|
# Estonian language specification.
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.97
|
||||||
|
alphanumeric_probability: 0.02
|
||||||
|
standalone_probability: 0.01
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.75
|
||||||
|
alphanumeric_probability: 0.25
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: " - "
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.7
|
||||||
|
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &number
|
||||||
|
canonical: number
|
||||||
|
abbreviated: nbr
|
||||||
|
sample: true
|
||||||
|
# Probabilities
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.2
|
||||||
|
sample_exclude:
|
||||||
|
- "#"
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "#"
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
|
||||||
|
|
||||||
|
house_numbers:
|
||||||
|
alphanumeric:
|
||||||
|
default: *number
|
||||||
|
|
||||||
|
alphanumeric_phrase_probability: 0.0001
|
||||||
|
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &ja
|
||||||
|
canonical: ja
|
||||||
|
abbreviated: "&"
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.75
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.05
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
and: *ja
|
||||||
|
corner_of: &nurgas
|
||||||
|
canonical: nurgas
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
at_the_corner_of: &nurgal
|
||||||
|
canonical: nurgal
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
intersection:
|
||||||
|
default: *ja
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative: *nurgas
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *nurgal
|
||||||
|
probability: 0.15
|
||||||
|
|
||||||
|
between:
|
||||||
|
canonical: vahel
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5
|
||||||
|
|
||||||
|
levels:
|
||||||
|
floor: &korrusel
|
||||||
|
canonical: korrusel
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
direction_probability: 0.9
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
parter: &parter
|
||||||
|
canonical: parter
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
kelder: &kelder
|
||||||
|
canonical: kelder
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
standalone_probability: 1.0
|
||||||
|
keldris: &keldris
|
||||||
|
canonical: keldris
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
# e.g. 1 keldris
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
direction_probability: 0.8
|
||||||
|
# e.g. k1
|
||||||
|
numeric_affix:
|
||||||
|
affix: k
|
||||||
|
direction: left
|
||||||
|
# e.g. 1. keldris
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.05
|
||||||
|
numeric_affix_probability: 0.9
|
||||||
|
ordinal_probability: 0.05
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *kelder
|
||||||
|
probability: 0.85
|
||||||
|
alternatives:
|
||||||
|
- alternative: *keldris
|
||||||
|
probability: 0.15
|
||||||
|
"-1":
|
||||||
|
default: *kelder
|
||||||
|
probability: 0.85
|
||||||
|
alternatives:
|
||||||
|
- alternative: *keldris
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *korrusel
|
||||||
|
probability: 0.05
|
||||||
|
"1":
|
||||||
|
default: *parter
|
||||||
|
probability: 0.5
|
||||||
|
alternatives:
|
||||||
|
- alternative: *korrusel
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
numbering_starts_at: 1
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *korrusel
|
||||||
|
numeric_probability: 0.99 # With this probability, pick an integer
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
categories:
|
||||||
|
near:
|
||||||
|
default:
|
||||||
|
canonical: lähedal
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
nearby:
|
||||||
|
default:
|
||||||
|
canonical: lähedal
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: siin lähedal
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.2
|
||||||
|
- alternative:
|
||||||
|
canonical: siinkandis
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
near_me:
|
||||||
|
default:
|
||||||
|
canonical: lähedal mulle
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
|
||||||
|
# Probabilities of each phrase
|
||||||
|
near_probability: 0.7
|
||||||
|
nearby_probability: 0.2
|
||||||
|
near_me_probability: 0.1
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &paremal
|
||||||
|
canonical: paremal
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: p
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
numeric_affix_probability: 0.2
|
||||||
|
paramale: &paremale
|
||||||
|
canonical: paremale
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: p
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
numeric_affix_probability: 0.2
|
||||||
|
left: &vasakul
|
||||||
|
canonical: vasakul
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: v
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
numeric_affix_probability: 0.2
|
||||||
|
vasakule: &vasakule
|
||||||
|
canonical: vasakule
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: v
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
numeric_affix_probability: 0.2
|
||||||
|
alternatives:
|
||||||
|
- alternative: *paremal
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *paremale
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *vasakul
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *vasakule
|
||||||
|
probability: 0.25
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &ida
|
||||||
|
canonical: ida
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
west: &laas
|
||||||
|
canonical: lääs
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
north: &pohi
|
||||||
|
canonical: põhi
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
|
||||||
|
south: &louna
|
||||||
|
canonical: lõuna
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *pohi
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *ida
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *louna
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *laas
|
||||||
|
probability: 0.25
|
||||||
|
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
sissepaas: &sissepaas
|
||||||
|
canonical: sissepääs
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# Eingang 1, Eingang A, etc.
|
||||||
|
alphanumeric: &entrance_alphanumeric
|
||||||
|
default: *sissepaas
|
||||||
|
numeric_probability: 0.1 # e.g. Eingang 1
|
||||||
|
alpha_probability: 0.85 # e.g. Eingang A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
trepikoda: &trepikoda
|
||||||
|
canonical: trepikoda
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric: &staircase_alphanumeric
|
||||||
|
default: *trepikoda
|
||||||
|
numeric_probability: 0.75
|
||||||
|
alpha_probability: 0.2
|
||||||
|
numeric_plus_alpha_probability: 0.025
|
||||||
|
alpha_plus_numeric_probability: 0.025
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.85
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *pohi
|
||||||
|
- alternative: *louna
|
||||||
|
- alternative: *ida
|
||||||
|
- alternative: *laas
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
postboks: &abonementpostkast
|
||||||
|
canonical: abonementpostkast
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2 # abonementpostkast #1234
|
||||||
|
kast: &kast
|
||||||
|
canonical: kast
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2 # Kast #1234
|
||||||
|
alphanumeric:
|
||||||
|
sample: false
|
||||||
|
default: *abonementpostkast
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *kast
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 0.9 # 123
|
||||||
|
alpha_probability: 0.05 # A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
units:
|
||||||
|
korter: &korter
|
||||||
|
canonical: korter
|
||||||
|
abbreviated: k
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
null_phrase_probability: 0.3
|
||||||
|
# Lejlighed nummer 4
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.05
|
||||||
|
ruumi: &ruumi
|
||||||
|
canonical: ruumi
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *korter
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *ruumi
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 1.0 # e.g. korter 1
|
||||||
|
|
||||||
|
# Separate random probability for adding directions like 2P, 2V, etc.
|
||||||
|
add_direction: true
|
||||||
|
add_direction_probability: 0.005
|
||||||
|
|
||||||
|
# Add directions for plain numbers
|
||||||
|
add_direction_numeric: true
|
||||||
|
# Add direction only e.g. Korter vasakule
|
||||||
|
add_direction_standalone: true
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.05
|
||||||
375
resources/addresses/eu.yaml
Normal file
375
resources/addresses/eu.yaml
Normal file
@@ -0,0 +1,375 @@
|
|||||||
|
# eu.yaml
|
||||||
|
# -------
|
||||||
|
# Basque language specification
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
# If no floor number is specified
|
||||||
|
null_probability: 0.8
|
||||||
|
alphanumeric_probability: 0.2
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
# If no unit number is specified
|
||||||
|
null_probability: 0.4
|
||||||
|
alphanumeric_probability: 0.6
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- level
|
||||||
|
- unit
|
||||||
|
label: unit
|
||||||
|
separators:
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.85
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.15
|
||||||
|
probability: 0.7
|
||||||
|
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &eta
|
||||||
|
canonical: eta
|
||||||
|
abbreviated: "&"
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.5
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.1
|
||||||
|
|
||||||
|
house_numbers:
|
||||||
|
# zenbakirik gabe (zk.g) addresses
|
||||||
|
no_number:
|
||||||
|
default:
|
||||||
|
canonical: zenbakirik gabe
|
||||||
|
abbreviated: zk.g
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.1
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.3
|
||||||
|
|
||||||
|
no_number_probability: 0.1 # With this probability, use sense número if no house_number is specified
|
||||||
|
|
||||||
|
levels:
|
||||||
|
floor: &solairua
|
||||||
|
canonical: solairua
|
||||||
|
abbreviated: sol
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.5
|
||||||
|
abbreviated_probability: 0.3
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
# e.g. 2. solairua
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.25
|
||||||
|
ordinal_probability: 0.75
|
||||||
|
# Ground floor
|
||||||
|
beheko_solairua: &beheko_solairua
|
||||||
|
canonical: beheko solairua
|
||||||
|
abbreviated: beheko sol
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
abbreviated_probability: 0.3
|
||||||
|
sample_probability: 0.1
|
||||||
|
behe_solairua: &behe_solairua
|
||||||
|
canonical: behe-solairua
|
||||||
|
abbreviated: behe-sol
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
abbreviated_probability: 0.3
|
||||||
|
sample_probability: 0.1
|
||||||
|
aliases:
|
||||||
|
"0":
|
||||||
|
default: *beheko_solairua
|
||||||
|
probability: 0.5
|
||||||
|
alternatives:
|
||||||
|
- alternative: *behe_solairua
|
||||||
|
probability: 0.4
|
||||||
|
- alternative: *solairua
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
numbering_starts_at: 0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *solairua
|
||||||
|
numeric_probability: 0.99
|
||||||
|
alpha_probability: 0.01
|
||||||
|
|
||||||
|
blocks:
|
||||||
|
alphanumeric:
|
||||||
|
default:
|
||||||
|
canonical: blokea
|
||||||
|
abbreviated: bl
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.2
|
||||||
|
ordinal_probability: 0.8
|
||||||
|
|
||||||
|
categories:
|
||||||
|
near:
|
||||||
|
default:
|
||||||
|
canonical: gertu
|
||||||
|
|
||||||
|
nearby:
|
||||||
|
default:
|
||||||
|
canonical: gertuko
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: hemen gertu
|
||||||
|
probability: 0.2
|
||||||
|
- alternative:
|
||||||
|
canonical: hemen
|
||||||
|
probability: 0.1
|
||||||
|
near_me:
|
||||||
|
default:
|
||||||
|
canonical: me gertu
|
||||||
|
|
||||||
|
# Probabilities of each phrase
|
||||||
|
near_probability: 0.7
|
||||||
|
nearby_probability: 0.2
|
||||||
|
near_me_probability: 0.1
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
and: *eta
|
||||||
|
txoko: &txoko
|
||||||
|
canonical: txoko
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
|
||||||
|
intersection:
|
||||||
|
default: *eta
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *txoko
|
||||||
|
probability: 0.2
|
||||||
|
|
||||||
|
between:
|
||||||
|
canonical: arteko
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probabililty: 0.5
|
||||||
|
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
posta_kutxa: &posta_kutxa
|
||||||
|
canonical: posta-kutxa
|
||||||
|
abbreviated: p.-ku
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_probability: 1.0
|
||||||
|
alphanumeric:
|
||||||
|
sample: false
|
||||||
|
default: *posta_kutxa
|
||||||
|
numeric_probability: 0.9 # P.-Ku 123
|
||||||
|
alpha_probability: 0.05 # P.-Ku A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # P.-Ku 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # P.-Ku A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
|
||||||
|
postcodes:
|
||||||
|
alphanumeric:
|
||||||
|
default:
|
||||||
|
canonical: posta-kodea
|
||||||
|
abbreviated: p.-k
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.01
|
||||||
|
abbreviated_probability: 0.9
|
||||||
|
sample_probability: 0.09
|
||||||
|
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
numeric_affix:
|
||||||
|
affix: p.-k.
|
||||||
|
direction: left
|
||||||
|
# null_probability means the chance of doing nothing e.g. just the postal code
|
||||||
|
null_probability: 0.7
|
||||||
|
numeric_probability: 0.18
|
||||||
|
numeric_affix_probability: 0.12
|
||||||
|
strict_numeric: true
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &eskuina
|
||||||
|
canonical: eskuina
|
||||||
|
abbreviated: esk
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: esk.
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.9
|
||||||
|
numeric_affix_probability: 0.1
|
||||||
|
left: &ezkerkada
|
||||||
|
canonical: ezkerkada
|
||||||
|
abbreviated: ezk
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: ezk.
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.9
|
||||||
|
numeric_affix_probability: 0.1
|
||||||
|
ezkerreko: &ezkerreko
|
||||||
|
canonical: ezkerreko
|
||||||
|
abbreviated: ezk.-ko
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *eskuina
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *ezkerkada
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
sarrera: &sarrera
|
||||||
|
canonical: sarrera
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# Sarrera 1, Sarrera A, etc.
|
||||||
|
alphanumeric:
|
||||||
|
default: *sarrera
|
||||||
|
numeric_probability: 0.1 # e.g. Sarrera 1
|
||||||
|
alpha_probability: 0.85 # e.g. Sarrera A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: left
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *eskuina
|
||||||
|
- alternative: *ezkerreko
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
eskailera: &eskailera
|
||||||
|
canonical: eskailera
|
||||||
|
abbreviated: eskra
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
# For alphanumerics, Eskra A, Eskra 1, etc.
|
||||||
|
default: *eskailera
|
||||||
|
numeric_probability: 0.6 # e.g. Eskra 1
|
||||||
|
alpha_probability: 0.35 # e.g. Eskra A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: left # e.g. Ezk.-ko Eskra
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *eskuina
|
||||||
|
- alternative: *ezkerreko
|
||||||
|
|
||||||
|
units:
|
||||||
|
flat: &apartamentu
|
||||||
|
canonical: apartamentu
|
||||||
|
abbreviated: aptu
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
# If it's just puerta B, many times it's just e.g. 3o B for "tercero piso puerta B"
|
||||||
|
null_phrase_probability: 0.15
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.6
|
||||||
|
ordinal_probability: 0.4
|
||||||
|
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *apartamentu
|
||||||
|
|
||||||
|
# Separate random probability for adding directions like 2. Ezk, 2 Esk, etc.
|
||||||
|
add_direction: true
|
||||||
|
add_direction_probability: 0.1
|
||||||
|
add_direction_numeric: true # Only for numbers
|
||||||
|
add_direction_standalone: true # A unit can be as simple as "D"
|
||||||
|
|
||||||
|
numeric_probability: 0.7 # e.g. 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. A1
|
||||||
|
alpha_probability: 0.28 # e.g. A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
403
resources/addresses/fi.yaml
Normal file
403
resources/addresses/fi.yaml
Normal file
@@ -0,0 +1,403 @@
|
|||||||
|
# fi.yaml
|
||||||
|
# -------
|
||||||
|
# Finnish language specification.
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.97
|
||||||
|
alphanumeric_probability: 0.02
|
||||||
|
standalone_probability: 0.01
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.9
|
||||||
|
alphanumeric_probability: 0.1
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.75
|
||||||
|
alphanumeric_probability: 0.25
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- staircase
|
||||||
|
- unit
|
||||||
|
label: unit
|
||||||
|
separators:
|
||||||
|
- separator: " "
|
||||||
|
probability: 0.8
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.1
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.05
|
||||||
|
- separator: " - "
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.85
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &numero
|
||||||
|
canonical: numero
|
||||||
|
abbreviated: nro
|
||||||
|
sample: true
|
||||||
|
# Probabilities
|
||||||
|
canonical_probability: 0.1
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.4
|
||||||
|
sample_exclude:
|
||||||
|
- "#"
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "#"
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
numeric_probability: 0.7
|
||||||
|
numeric_affix_probability: 0.3
|
||||||
|
|
||||||
|
house_numbers:
|
||||||
|
alphanumeric:
|
||||||
|
default: *numero
|
||||||
|
|
||||||
|
alphanumeric_phrase_probability: 0.0001
|
||||||
|
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &ja
|
||||||
|
canonical: ja
|
||||||
|
abbreviated: "&"
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.75
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.05
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
and: *ja
|
||||||
|
corner_of: &kulmassa
|
||||||
|
canonical: kulmassa
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
intersection:
|
||||||
|
default: *ja
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative: *kulmassa
|
||||||
|
probability: 0.3
|
||||||
|
|
||||||
|
between:
|
||||||
|
canonical: välillä
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5
|
||||||
|
|
||||||
|
levels:
|
||||||
|
floor: &kerros
|
||||||
|
canonical: kerros
|
||||||
|
abbreviated: krs
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
direction_probability: 0.9
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
|
||||||
|
numbering_starts_at: 1
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *kerros
|
||||||
|
numeric_probability: 0.99 # With this probability, pick an integer
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
categories:
|
||||||
|
near:
|
||||||
|
default:
|
||||||
|
canonical: lähellä
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
nearby:
|
||||||
|
default:
|
||||||
|
canonical: lähistöllä
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: lähellä
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: tässä lähellä
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: täällä
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
near_me:
|
||||||
|
default:
|
||||||
|
canonical: lähellä minua
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
|
||||||
|
# Probabilities of each phrase
|
||||||
|
near_probability: 0.7
|
||||||
|
nearby_probability: 0.2
|
||||||
|
near_me_probability: 0.1
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &oikea
|
||||||
|
canonical: oikea
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: o
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
numeric_affix_probability: 0.2
|
||||||
|
oikealla: &oikealla
|
||||||
|
canonical: oikealla
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: o
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
numeric_affix_probability: 0.2
|
||||||
|
left: &vasen
|
||||||
|
canonical: vasen
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: v
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
numeric_affix_probability: 0.2
|
||||||
|
vasemmalla: &vasemmalla
|
||||||
|
canonical: vasemmalla
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: v
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
numeric_affix_probability: 0.2
|
||||||
|
alternatives:
|
||||||
|
- alternative: *oikea
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *oikealla
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *vasen
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *vasemmalla
|
||||||
|
probability: 0.25
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &itaan
|
||||||
|
canonical: itään
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
west: &lansi
|
||||||
|
canonical: länsi
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
north: &pohja
|
||||||
|
canonical: pohja
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
|
||||||
|
south: &etela
|
||||||
|
canonical: etelä
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *pohja
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *itaan
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *etela
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *lansi
|
||||||
|
probability: 0.25
|
||||||
|
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
sissepaas: &sisaankaynti
|
||||||
|
canonical: sisäänkäynti
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# Portaikko 1, Portaikko A, etc.
|
||||||
|
alphanumeric: &entrance_alphanumeric
|
||||||
|
default: *sisaankaynti
|
||||||
|
numeric_probability: 0.1 # e.g. Portaikko 1
|
||||||
|
alpha_probability: 0.85 # e.g. Portaikko A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
portaikko: &portaikko
|
||||||
|
canonical: portaikko
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric: &staircase_alphanumeric
|
||||||
|
default: *portaikko
|
||||||
|
alpha_probability: 1.0
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.85
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *pohja
|
||||||
|
- alternative: *etela
|
||||||
|
- alternative: *itaan
|
||||||
|
- alternative: *lansi
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
postilokero: &postilokero
|
||||||
|
canonical: postilokero
|
||||||
|
abbreviated: pl
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2 # PL #1234
|
||||||
|
alphanumeric:
|
||||||
|
sample: false
|
||||||
|
default: *postilokero
|
||||||
|
numeric_probability: 0.9 # 123
|
||||||
|
alpha_probability: 0.05 # A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
units:
|
||||||
|
asunto: &asunto
|
||||||
|
canonical: asunto
|
||||||
|
abbreviated: as
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.7
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
null_phrase_probability: 0.3
|
||||||
|
# as nro 4
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.05
|
||||||
|
ruumi: &huone
|
||||||
|
canonical: huone
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *asunto
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *huone
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 1.0 # e.g. as 1
|
||||||
|
|
||||||
|
# Separate random probability for adding directions like 2O, 2V, etc.
|
||||||
|
add_direction: true
|
||||||
|
add_direction_probability: 0.005
|
||||||
|
|
||||||
|
# Add directions for plain numbers
|
||||||
|
add_direction_numeric: true
|
||||||
|
# Add direction only e.g. asunto
|
||||||
|
add_direction_standalone: true
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.05
|
||||||
951
resources/addresses/fr.yaml
Normal file
951
resources/addresses/fr.yaml
Normal file
@@ -0,0 +1,951 @@
|
|||||||
|
# Note: default config is for France. Canadian, Swiss, Belgian, and other
|
||||||
|
# conventions go in country overrides
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
# If no floor number is specified
|
||||||
|
null_probability: 0.8
|
||||||
|
alphanumeric_probability: 0.2
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
# If no unit number is specified
|
||||||
|
null_probability: 0.8
|
||||||
|
alphanumeric_probability: 0.2
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: /
|
||||||
|
probability: 0.8
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.1
|
||||||
|
- separator: " - "
|
||||||
|
probability: 0.1
|
||||||
|
probability: 0.005
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &numero
|
||||||
|
canonical: numéro
|
||||||
|
abbreviated: "nº"
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.3
|
||||||
|
sample_exclude:
|
||||||
|
- "#" # Used in numeric affix. Needs to be quoted, otherwise it's a comment
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "#"
|
||||||
|
direction: left
|
||||||
|
# Probabilities for numbers
|
||||||
|
numeric_probability: 0.7
|
||||||
|
numeric_affix_probability: 0.3
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &and
|
||||||
|
canonical: et
|
||||||
|
abbreviated: "&"
|
||||||
|
canonical_probability: 0.7
|
||||||
|
abbreviated_probability: 0.25
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.05
|
||||||
|
|
||||||
|
house_numbers:
|
||||||
|
# sans numéro (s/n) addresses
|
||||||
|
no_number:
|
||||||
|
canonical: sans numéro
|
||||||
|
abbreviated: s/n
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.1
|
||||||
|
abbreviated_probability: 0.7
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *numero
|
||||||
|
|
||||||
|
alphanumeric_phrase_probability: 0.01
|
||||||
|
no_number_probability: 0.05 # With this probability, use sin número if no house_number is specified
|
||||||
|
|
||||||
|
levels:
|
||||||
|
floor: &etage
|
||||||
|
canonical: étage
|
||||||
|
abbreviated: ét
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.05
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.75
|
||||||
|
ordinal_probability: 0.25
|
||||||
|
niveau: &niveau
|
||||||
|
canonical: niveau
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.05
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.75
|
||||||
|
ordinal_probability: 0.25
|
||||||
|
bel_etage: &bel_etage
|
||||||
|
canonical: bel étage
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
etage_noble: &etage_noble
|
||||||
|
canonical: étage noble
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
dernier_etage: &dernier_etage
|
||||||
|
canonical: dernier étage
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
basement: &sous_sol
|
||||||
|
canonical: sous-sol
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
standalone_probability: 0.99
|
||||||
|
numeric_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
sub_basement: &soubassement
|
||||||
|
canonical: soubassement
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 2
|
||||||
|
number_subtract_abs_value: 1
|
||||||
|
standalone_probability: 0.99
|
||||||
|
numeric_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
mezzanine: &entresol
|
||||||
|
canonical: entresol
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
# Ground floor
|
||||||
|
rez_de_chaussee: &rez_de_chaussee
|
||||||
|
canonical: rez-de-chaussée
|
||||||
|
abbreviated: rdc
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.3
|
||||||
|
sample_probability: 0.3
|
||||||
|
rez_de_chaussee_bas: &rez_de_chaussee_bas
|
||||||
|
canonical: rez-de-chaussée bas
|
||||||
|
abbreviated: rcb
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.3
|
||||||
|
rez_de_chaussee_haut: &rez_de_chaussee_haut
|
||||||
|
canonical: rez-de-chaussée haut
|
||||||
|
abbreviated: rch
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.3
|
||||||
|
parterre: &parterre
|
||||||
|
canonical: parterre
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
rez_de_jardin: &rez_de_jardin
|
||||||
|
canonical: rez-de-jardin
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *sous_sol
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *soubassement
|
||||||
|
probability: 0.3995
|
||||||
|
- alternative: *etage
|
||||||
|
probability: 0.0005
|
||||||
|
"-1":
|
||||||
|
default: *sous_sol
|
||||||
|
probability: 0.9995
|
||||||
|
alternatives:
|
||||||
|
- alternative: *etage
|
||||||
|
probability: 0.0005
|
||||||
|
half_floors:
|
||||||
|
default: *entresol
|
||||||
|
"0":
|
||||||
|
default: *rez_de_chaussee
|
||||||
|
probability: 0.74
|
||||||
|
alternatives:
|
||||||
|
- alternative: *rez_de_jardin
|
||||||
|
probability: 0.01
|
||||||
|
- alternative: *rez_de_chaussee_bas
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *rez_de_chaussee_haut
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *etage
|
||||||
|
probability: 0.05
|
||||||
|
"1":
|
||||||
|
default: *etage
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *bel_etage
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *etage_noble
|
||||||
|
probability: 0.1
|
||||||
|
top:
|
||||||
|
default: *etage
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *dernier_etage
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *etage
|
||||||
|
probability: 0.95
|
||||||
|
alternatives:
|
||||||
|
- alternative: *niveau
|
||||||
|
probability: 0.05
|
||||||
|
numeric_probability: 0.99
|
||||||
|
alpha_probability: 0.01
|
||||||
|
|
||||||
|
numbering_starts_at: 0
|
||||||
|
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
# 26th & 6th Avenue
|
||||||
|
and: *and
|
||||||
|
# 26th @ Broadway
|
||||||
|
a: &a
|
||||||
|
canonical: à
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
au: &au
|
||||||
|
canonical: au
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
corner_of: &langle_de
|
||||||
|
canonical: l'angle de
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
at_the_corner_of: &a_langle_de
|
||||||
|
canonical: à l'angle de
|
||||||
|
|
||||||
|
intersection:
|
||||||
|
default: *and
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative: *a
|
||||||
|
probability: 0.025
|
||||||
|
- alternative: *au
|
||||||
|
probability: 0.025
|
||||||
|
- alternative: *langle_de
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *a_langle_de
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
# 26th betw 5th Ave and 6th Ave
|
||||||
|
between:
|
||||||
|
canonical: entre
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5 # Probability of using parentheses e.g. (between 5th and 6th)
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &droit
|
||||||
|
canonical: droit
|
||||||
|
abbreviated: dr
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.5
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: d
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.7
|
||||||
|
numeric_affix_probability: 0.3
|
||||||
|
left: &gauche
|
||||||
|
canonical: gauche
|
||||||
|
abbreviated: g
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: g
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
rear: &arriere
|
||||||
|
canonical: arrière
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
front: &avant
|
||||||
|
canonical: avant
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
alternatives:
|
||||||
|
- alternative: *droit
|
||||||
|
probability: 0.49
|
||||||
|
- alternative: *gauche
|
||||||
|
probability: 0.49
|
||||||
|
- alternative: *arriere
|
||||||
|
probability: 0.01
|
||||||
|
- alternative: *avant
|
||||||
|
probability: 0.01
|
||||||
|
|
||||||
|
anteroposterior:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *avant
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *arriere
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
lateral:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *droit
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *gauche
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &est
|
||||||
|
canonical: est
|
||||||
|
abbreviated: e
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: e
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
west: &ouest
|
||||||
|
canonical: ouest
|
||||||
|
abbreviated: o
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: o
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
north: &nord
|
||||||
|
canonical: nord
|
||||||
|
abbreviated: n
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: n
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
south: &sud
|
||||||
|
canonical: sud
|
||||||
|
abbreviated: s
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: s
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *nord
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *est
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *sud
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *ouest
|
||||||
|
probability: 0.25
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
entrance: &entrance
|
||||||
|
canonical: entrance
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# Entrance 1, Entrance A, etc.
|
||||||
|
alphanumeric: &entrance_alphanumeric
|
||||||
|
default: *entrance
|
||||||
|
numeric_probability: 0.1 # e.g. Entrance 1
|
||||||
|
alpha_probability: 0.85 # e.g. Entrnace A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
modifier:
|
||||||
|
direction: right # e.g. Entrance Nord
|
||||||
|
direction_probability: 0.95
|
||||||
|
alternatives:
|
||||||
|
- alternative: *nord
|
||||||
|
- alternative: *sud
|
||||||
|
- alternative: *est
|
||||||
|
- alternative: *ouest
|
||||||
|
- alternative: *droit
|
||||||
|
- alternative: *gauche
|
||||||
|
- alternative: *arriere
|
||||||
|
- alternative: *avant
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
escalier: &escalier
|
||||||
|
canonical: escalier
|
||||||
|
abbreviated: esc
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
# For alphanumerics, Escalier A, Esc 1, etc.
|
||||||
|
default: *escalier
|
||||||
|
numeric_probability: 0.6 # e.g. Escalier 1
|
||||||
|
alpha_probability: 0.35 # e.g. Escalier A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: right # e.g. Escalier Izq
|
||||||
|
direction_probability: 0.9
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *nord
|
||||||
|
- alternative: *sud
|
||||||
|
- alternative: *est
|
||||||
|
- alternative: *ouest
|
||||||
|
- alternative: *droit
|
||||||
|
- alternative: *gauche
|
||||||
|
- alternative: *arriere
|
||||||
|
- alternative: *avant
|
||||||
|
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
boite_postal: &boite_postal
|
||||||
|
canonical: boîte postale
|
||||||
|
abbreviated: bp
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2 # BP No 1234
|
||||||
|
numeric_probability: 1.0
|
||||||
|
case_postal: &case_postal
|
||||||
|
canonical: case postale
|
||||||
|
abbreviated: cp
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2 # CP No 1234
|
||||||
|
numeric_probability: 1.0
|
||||||
|
alphanumeric:
|
||||||
|
sample: false
|
||||||
|
default: *boite_postal
|
||||||
|
numeric_probability: 0.9 # BP 123
|
||||||
|
alpha_probability: 0.05 # BP A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # BP 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # BP A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
|
||||||
|
units:
|
||||||
|
flat: &appartement
|
||||||
|
canonical: appartement
|
||||||
|
abbreviated: app
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
unit: &unite
|
||||||
|
canonical: unité
|
||||||
|
abbreviated: u
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
suite: &suite
|
||||||
|
canonical: suite
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.4
|
||||||
|
office: &bureau
|
||||||
|
canonical: bureau
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.3
|
||||||
|
door: &porte
|
||||||
|
canonical: porte
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
room: &salle
|
||||||
|
canonical: salle
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
chambre: &chambre
|
||||||
|
canonical: chambre
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
boite: &boite
|
||||||
|
canonical: boîte
|
||||||
|
abbreviated: bte
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
lot: &lotissement
|
||||||
|
canonical: lotissement
|
||||||
|
abbreviated: lot
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
parcelle: &parcelle
|
||||||
|
canonical: parcelle
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
|
||||||
|
allotments:
|
||||||
|
lot:
|
||||||
|
default: *lotissement
|
||||||
|
numeric_probability: 0.8
|
||||||
|
alphanumeric_probability: 0.1
|
||||||
|
alpha_probability: 0.1
|
||||||
|
parcel:
|
||||||
|
default: *parcelle
|
||||||
|
numeric_probability: 0.3
|
||||||
|
alphanumeric_probability: 0.3
|
||||||
|
alpha_probability: 0.4
|
||||||
|
lot_probability: 0.9
|
||||||
|
parcel_probability: 0.06
|
||||||
|
lot_plus_parcel_probability: 0.02
|
||||||
|
parcel_plus_lot_probability: 0.02
|
||||||
|
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *appartement
|
||||||
|
probability: 0.85
|
||||||
|
alternatives:
|
||||||
|
# e.g. just plain #3 or No. 4
|
||||||
|
- alternative: *numero
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *porte
|
||||||
|
probability: 0.095
|
||||||
|
- alternative: *chambre
|
||||||
|
probability: 0.005
|
||||||
|
numeric_probability: 0.9 # e.g. Appartement 1
|
||||||
|
numeric_plus_alpha_probability: 0.03 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.03 # e.g. A1
|
||||||
|
alpha_probability: 0.04 # e.g. Appartement A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# Separate random probability for adding directions like 2D, 2G, etc.
|
||||||
|
add_direction: true
|
||||||
|
add_direction_probability: 0.1
|
||||||
|
|
||||||
|
# Add directions for plain numbers
|
||||||
|
add_direction_numeric: true
|
||||||
|
# Add direction only e.g. Unité Gauche
|
||||||
|
add_direction_standalone: true
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.1
|
||||||
|
|
||||||
|
zones:
|
||||||
|
residential: *unit_alphanumeric
|
||||||
|
commercial:
|
||||||
|
default: *bureau
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *suite
|
||||||
|
probability: 0.2
|
||||||
|
|
||||||
|
numeric_probability: 0.9 # e.g. Bureau 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. Bureau 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. Bureau A1
|
||||||
|
alpha_probability: 0.08 # e.g. Bureau A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
industrial:
|
||||||
|
default: *lotissement
|
||||||
|
probability: 0.5
|
||||||
|
alternatives:
|
||||||
|
- alternative: *bureau
|
||||||
|
probability: 0.3
|
||||||
|
- alternative: *unite
|
||||||
|
probability: 0.19
|
||||||
|
- alternative: *parcelle
|
||||||
|
probability: 0.01
|
||||||
|
|
||||||
|
numeric_probability: 0.9 # e.g. Lote 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. Lote 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. Lote A1
|
||||||
|
alpha_probability: 0.08 # e.g. Lote A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
university:
|
||||||
|
default: *salle
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *porte
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
numeric_probability: 0.9 # e.g. Salle 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. Salle 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. Salle A1
|
||||||
|
alpha_probability: 0.08 # e.g. Salle A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
categories:
|
||||||
|
near:
|
||||||
|
default:
|
||||||
|
canonical: près de
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: à coté de
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: proche de
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: proches de
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: a cote de
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: pres de
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: aux environs de
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: à proximité de
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: a proximite de
|
||||||
|
probability: 0.05
|
||||||
|
nearby:
|
||||||
|
default:
|
||||||
|
canonical: proche
|
||||||
|
probability: 0.4
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: à coté
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: a cote
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: près d'ici
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: près dici
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: pres d'ici
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: pres dici
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: près de là
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: pres de la
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: par ici
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: dans les alentours
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: à proximité de là
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: a proximite de la
|
||||||
|
probability: 0.05
|
||||||
|
near_me:
|
||||||
|
default:
|
||||||
|
canonical: proche de chez moi
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: près de moi
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: pres de moi
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: à proximité de moi
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: a proximite de moi
|
||||||
|
probability: 0.1
|
||||||
|
in:
|
||||||
|
default:
|
||||||
|
canonical: à
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: en
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: a
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: dans
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
# Probabilities of each phrase
|
||||||
|
near_probability: 0.35
|
||||||
|
nearby_probability: 0.2
|
||||||
|
near_me_probability: 0.1
|
||||||
|
in_probability: 0.35
|
||||||
|
|
||||||
|
countries:
|
||||||
|
# Belgium
|
||||||
|
be:
|
||||||
|
units:
|
||||||
|
alphanumeric:
|
||||||
|
default: *boite
|
||||||
|
probability: 0.75
|
||||||
|
alternatives:
|
||||||
|
- alternative: *appartement
|
||||||
|
probability: 0.1
|
||||||
|
# e.g. just plain #3 or No. 4
|
||||||
|
- alternative: *numero
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *porte
|
||||||
|
probability: 0.095
|
||||||
|
- alternative: *chambre
|
||||||
|
probability: 0.005
|
||||||
|
# Canada
|
||||||
|
ca:
|
||||||
|
components:
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.6
|
||||||
|
alphanumeric_probability: 0.4
|
||||||
|
combinations:
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- unit
|
||||||
|
- house_number
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: /
|
||||||
|
probability: 0.04
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: " - "
|
||||||
|
probability: 0.01
|
||||||
|
probability: 0.1
|
||||||
|
levels:
|
||||||
|
numbering_starts_at: 1
|
||||||
|
aliases:
|
||||||
|
"1":
|
||||||
|
# Have to do this because etage is numeric
|
||||||
|
# and has keys like "numeric_probability" which
|
||||||
|
# we don't want to infect rez_de_chausee when doing
|
||||||
|
# a recursive merge
|
||||||
|
default: *etage
|
||||||
|
probability: 0.1
|
||||||
|
alternatives:
|
||||||
|
- alternative: *rez_de_chaussee
|
||||||
|
probability: 0.8
|
||||||
|
- alternative: *bel_etage
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *etage_noble
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
units:
|
||||||
|
alphanumeric:
|
||||||
|
# More common to use in in Canada, as in the US
|
||||||
|
use_floor_probability: 0.35
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
alphanumeric:
|
||||||
|
default: *case_postal
|
||||||
|
# Switzerland
|
||||||
|
ch:
|
||||||
|
levels:
|
||||||
|
aliases:
|
||||||
|
"0":
|
||||||
|
default: *parterre
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *rez_de_chaussee
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *etage
|
||||||
|
probability: 0.05
|
||||||
|
po_boxes:
|
||||||
|
alphanumeric:
|
||||||
|
default: *case_postal
|
||||||
269
resources/addresses/he.yaml
Normal file
269
resources/addresses/he.yaml
Normal file
@@ -0,0 +1,269 @@
|
|||||||
|
# he.yaml
|
||||||
|
# -------
|
||||||
|
# Hebrew language specification
|
||||||
|
|
||||||
|
|
||||||
|
alphabet: אבגדהוזחטיכךלמםנןסעפףצץקרשת
|
||||||
|
alphabet_probability: 0.8
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.95
|
||||||
|
alphanumeric_probability: 0.05
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.9
|
||||||
|
alphanumeric_probability: 0.1
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.6
|
||||||
|
alphanumeric_probability: 0.4
|
||||||
|
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- entrance
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.7
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- entrance
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: " "
|
||||||
|
probability: 0.5
|
||||||
|
- separator: ""
|
||||||
|
probability: 0.2
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.1
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.1
|
||||||
|
- separator: " - "
|
||||||
|
probability: 0.1
|
||||||
|
probability: 0.7
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
levels:
|
||||||
|
koma: &koma
|
||||||
|
canonical: קומה
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: left
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
koma_latin: &koma_latin
|
||||||
|
canonical: koma
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: left
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
|
||||||
|
komat_karka: &komat_karka
|
||||||
|
canonical: קומת קרקע
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
komat_karka_latin: &komat_karka_latin
|
||||||
|
canonical: komát karká
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
sample_probability: 0.4
|
||||||
|
|
||||||
|
martef: &martef
|
||||||
|
canonical: מרתף
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: left
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
standalone_probability: 0.985
|
||||||
|
numeric_probability: 0.01
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
martef_latin: &martef_latin
|
||||||
|
canonical: martef
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: left
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
standalone_probability: 0.985
|
||||||
|
numeric_probability: 0.01
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *martef
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *martef_latin
|
||||||
|
probability: 0.1
|
||||||
|
"-1":
|
||||||
|
default: *martef
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *martef_latin
|
||||||
|
probability: 0.1
|
||||||
|
"0":
|
||||||
|
default: *komat_karka
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *komat_karka_latin
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
numbering_starts_at: 0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *koma
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *koma_latin
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 0.99 # With this probability, pick an integer
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
knisa: &knisa
|
||||||
|
canonical: כניסה
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
knisa_latin: &knisa_latin
|
||||||
|
canonical: knisa
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# вход 1, вход A, etc.
|
||||||
|
alphanumeric:
|
||||||
|
default: *knisa
|
||||||
|
probability: 0.99
|
||||||
|
alternatives:
|
||||||
|
- alternative: *knisa_latin
|
||||||
|
probability: 0.01
|
||||||
|
numeric_probability: 0.1
|
||||||
|
alpha_probability: 0.9
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
ta_doar: &ta_doar
|
||||||
|
canonical: תיבת דואר
|
||||||
|
abbreviated: ת.ד.
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ta_doar_latin: &ta_doar_latin
|
||||||
|
canonical: abonementnyy pochtovyy yashchik
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *ta_doar
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *ta_doar_latin
|
||||||
|
probability: 0.2
|
||||||
|
numeric_probability: 0.9 # ta doar 123
|
||||||
|
alpha_probability: 0.05 # ta doar А
|
||||||
|
numeric_plus_alpha_probability: 0.04 # ta doar 123А
|
||||||
|
alpha_plus_numeric_probability: 0.01 # ta doar А123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
units:
|
||||||
|
dira: &dira
|
||||||
|
canonical: דירה
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
dira_latin: &dira_latin
|
||||||
|
canonical: dira
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *dira
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *dira_latin
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
numeric_probability: 0.9 # e.g. dira 1
|
||||||
|
numeric_plus_alpha_probability: 0.03 # e.g. 1А
|
||||||
|
alpha_plus_numeric_probability: 0.03 # e.g. AА1
|
||||||
|
alpha_probability: 0.04 # e.g. dira А
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.1
|
||||||
586
resources/addresses/hr.yaml
Normal file
586
resources/addresses/hr.yaml
Normal file
@@ -0,0 +1,586 @@
|
|||||||
|
# hr.yaml
|
||||||
|
# -------
|
||||||
|
# Croatian language specification
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.9
|
||||||
|
alphanumeric_probability: 0.1
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.7
|
||||||
|
alphanumeric_probability: 0.3
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- staircase
|
||||||
|
- level
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.005
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- level
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.005
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- level
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.1
|
||||||
|
# For unit types like 2/34
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.005
|
||||||
|
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
no_number:
|
||||||
|
default:
|
||||||
|
canonical: bez broja
|
||||||
|
abbreviated: bb
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.3
|
||||||
|
|
||||||
|
default: &broj
|
||||||
|
canonical: broj
|
||||||
|
abbreviated: br
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "br."
|
||||||
|
whitespace_probability: 0.6
|
||||||
|
direction: left
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
|
||||||
|
alphanumeric_phrase_probability: 0.05
|
||||||
|
no_number_probability: 0.05
|
||||||
|
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &i
|
||||||
|
canonical: i
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
i: *i
|
||||||
|
at: &na
|
||||||
|
canonical: na
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
corner: &ugao
|
||||||
|
canonical: ugao
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
corner_of: &uglu
|
||||||
|
canonical: uglu
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
na_uglu: &na_uglu
|
||||||
|
canonical: na uglu
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
intersection:
|
||||||
|
default: *i
|
||||||
|
probability: 0.65
|
||||||
|
alternatives:
|
||||||
|
- alternative: *na
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *uglu
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *na_uglu
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *ugao
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
izmedu: &izmedu
|
||||||
|
canonical: između
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5
|
||||||
|
between:
|
||||||
|
default: *izmedu
|
||||||
|
|
||||||
|
levels:
|
||||||
|
kat: &kat
|
||||||
|
canonical: kat
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
roman_numeral_probability: 0.7
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
etaza: &etaza
|
||||||
|
canonical: etaža
|
||||||
|
abbreviated: et
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
roman_numeral_probability: 0.7
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
prizemlje: &prizemlje
|
||||||
|
canonical: prizemlje
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
parter: &parter
|
||||||
|
canonical: parter
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
mezanino: &polukat
|
||||||
|
canonical: polukat
|
||||||
|
half_floors: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
sample: true
|
||||||
|
# e.g. polukat 2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
# e.g. 2. entresuelo
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.1
|
||||||
|
ordinal_probability: 0.2
|
||||||
|
standalone_probability: 0.6
|
||||||
|
podrum: &podrum
|
||||||
|
canonical: podrum
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
# e.g. подрум 1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.8
|
||||||
|
# e.g. 1. подрум
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
standalone_probability: 0.99
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *podrum
|
||||||
|
"-1":
|
||||||
|
default: *podrum
|
||||||
|
# Special token for half-floors
|
||||||
|
half_floors:
|
||||||
|
default: *polukat
|
||||||
|
"0":
|
||||||
|
default: *prizemlje
|
||||||
|
probability: 0.5
|
||||||
|
alternatives:
|
||||||
|
- alternative: *parter
|
||||||
|
probability: 0.4
|
||||||
|
- alternative: *kat
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
numbering_starts_at: 0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *kat
|
||||||
|
probability: 0.95
|
||||||
|
alternatives:
|
||||||
|
- alternative: *etaza
|
||||||
|
probability: 0.05
|
||||||
|
numeric_probability: 0.69 # With this probability, pick an integer
|
||||||
|
roman_numeral_probability: 0.3 # Pick a Roman numeral for the actual value
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
|
||||||
|
categories:
|
||||||
|
near:
|
||||||
|
default:
|
||||||
|
canonical: u blizini
|
||||||
|
nearby:
|
||||||
|
default:
|
||||||
|
canonical: u blizini
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: u blizini ovdje
|
||||||
|
probability: 0.3
|
||||||
|
- alternative:
|
||||||
|
canonical: oko ovdje
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
near_me:
|
||||||
|
default:
|
||||||
|
canonical: u blizini mene
|
||||||
|
|
||||||
|
# Don't worry about agreement
|
||||||
|
in:
|
||||||
|
default:
|
||||||
|
canonical: u
|
||||||
|
|
||||||
|
# Probabilities of each phrase
|
||||||
|
near_probability: 0.35
|
||||||
|
nearby_probability: 0.2
|
||||||
|
near_me_probability: 0.1
|
||||||
|
in_probability: 0.35
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &desno
|
||||||
|
canonical: desno
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
left: &lijevo
|
||||||
|
canonical: lijevo
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
alternatives:
|
||||||
|
- alternative: *desno
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *lijevo
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &istok
|
||||||
|
canonical: istok
|
||||||
|
abbreviated: i
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: i
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
west: &zapad
|
||||||
|
canonical: zapad
|
||||||
|
abbreviated: z
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: z
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
north: &sjever
|
||||||
|
canonical: sjever
|
||||||
|
abbreviated: s
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: s
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
south: &jug
|
||||||
|
canonical: jug
|
||||||
|
abbreviated: j
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.75
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.15
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: j
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *sjever
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *istok
|
||||||
|
probability: 0.23
|
||||||
|
- alternative: *jug
|
||||||
|
probability: 0.23
|
||||||
|
- alternative: *zapad
|
||||||
|
probability: 0.23
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
ulaz: &ulaz
|
||||||
|
canonical: ulaz
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# Ulaz 1, Ulaz A, etc.
|
||||||
|
alphanumeric: &entrance_alphanumeric
|
||||||
|
default: *ulaz
|
||||||
|
numeric_probability: 0.1 # e.g. Ulaz 1
|
||||||
|
alpha_probability: 0.85 # e.g. Ulaz A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
stubiste: &stubiste
|
||||||
|
canonical: stubište
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
|
||||||
|
alphanumeric: &staircase_alphanumeric
|
||||||
|
default: *stubiste
|
||||||
|
numeric_probability: 0.75
|
||||||
|
alpha_probability: 0.2
|
||||||
|
numeric_plus_alpha_probability: 0.025
|
||||||
|
alpha_plus_numeric_probability: 0.025
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: right
|
||||||
|
direction_probability: 0.85
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *desno
|
||||||
|
probability: 0.2
|
||||||
|
- alternative: *lijevo
|
||||||
|
probability: 0.2
|
||||||
|
- alternative: *sjever
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *jug
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *istok
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *zapad
|
||||||
|
probability: 0.15
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
postanski_pretinac: &postanski_pretinac
|
||||||
|
canonical: poštanski pretinac
|
||||||
|
abbreviated: p.p
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *postanski_pretinac
|
||||||
|
numeric_probability: 0.9 # pp 123
|
||||||
|
alpha_probability: 0.05 # p.p A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # pp 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # pp A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
units:
|
||||||
|
stan: &stan
|
||||||
|
canonical: stan
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
apartman: &apartman
|
||||||
|
canonical: apartman
|
||||||
|
abbreviated: ap
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
|
||||||
|
soba: &soba
|
||||||
|
canonical: soba
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
ured: &ured
|
||||||
|
canonical: ured
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *stan
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *apartman
|
||||||
|
probability: 0.3
|
||||||
|
- alternative: *soba
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 0.9 # e.g. stan. 1
|
||||||
|
numeric_plus_alpha_probability: 0.03 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.03 # e.g. A1
|
||||||
|
alpha_probability: 0.04 # e.g. stan A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.05
|
||||||
|
|
||||||
|
zones:
|
||||||
|
commercial: &commercial_unit_types
|
||||||
|
default: *soba
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *ured
|
||||||
|
probability: 0.4
|
||||||
|
numeric_probability: 0.95 # e.g. soba 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. soba 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. soba A1
|
||||||
|
alpha_probability: 0.03 # e.g. soba A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
university:
|
||||||
|
default: *soba
|
||||||
|
numeric_probability: 0.95 # e.g. soba 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. soba 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. soba A1
|
||||||
|
alpha_probability: 0.03 # e.g. soba A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
439
resources/addresses/hu.yaml
Normal file
439
resources/addresses/hu.yaml
Normal file
@@ -0,0 +1,439 @@
|
|||||||
|
# hu.yaml
|
||||||
|
# -------
|
||||||
|
# Hungarian language specification.
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.75
|
||||||
|
alphanumeric_probability: 0.2
|
||||||
|
standalone_probability: 0.05
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.75
|
||||||
|
alphanumeric_probability: 0.25
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- level
|
||||||
|
- unit
|
||||||
|
label: unit
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.55
|
||||||
|
- separator: " "
|
||||||
|
probability: 0.4
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.8
|
||||||
|
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &szam
|
||||||
|
canonical: szám
|
||||||
|
sample: true
|
||||||
|
# Probabilities
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &es
|
||||||
|
canonical: és
|
||||||
|
abbreviated: "&"
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.75
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.05
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: &es_a
|
||||||
|
canonical: és a
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.1
|
||||||
|
probability: 0.2
|
||||||
|
- alternative: &es_az
|
||||||
|
canonical: és az
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.1
|
||||||
|
probability: 0.2
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
and: *es
|
||||||
|
corner_of: &sarkan
|
||||||
|
canonical: sarkán
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
intersection:
|
||||||
|
default: *es
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *es_a
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *es_az
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *sarkan
|
||||||
|
probability: 0.2
|
||||||
|
|
||||||
|
between:
|
||||||
|
canonical: között
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5
|
||||||
|
|
||||||
|
levels:
|
||||||
|
floor: &emelet
|
||||||
|
canonical: emelet
|
||||||
|
abbreviated: em
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.1
|
||||||
|
abbreviated_probability: 0.85
|
||||||
|
sample_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.2
|
||||||
|
roman_numeral_probability: 0.8
|
||||||
|
numeric_probability: 0.1
|
||||||
|
ordinal_probability: 0.9
|
||||||
|
foldszint: &foldszint
|
||||||
|
canonical: földszint
|
||||||
|
abbreviated: fszt
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.2
|
||||||
|
felemelet: &felemelet
|
||||||
|
canonical: félemelet
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
magasfoldszint: &magasfoldszint
|
||||||
|
canonical: magasföldszint
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
pince: &pince
|
||||||
|
canonical: pince
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
standalone_probability: 0.99
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
alagsor: &alagsor
|
||||||
|
canonical: alagsor
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
standalone_probability: 0.99
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
felszuteren: &felszuteren
|
||||||
|
canonical: félszuterén
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
standalone_probability: 0.99
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
szuteren: &szuteren
|
||||||
|
canonical: szuterén
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
standalone_probability: 0.99
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *alagsor
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *pince
|
||||||
|
probability: 0.3
|
||||||
|
- alternative: *szuteren
|
||||||
|
probability: 0.1
|
||||||
|
"-1":
|
||||||
|
default: *alagsor
|
||||||
|
probability: 0.5
|
||||||
|
alternatives:
|
||||||
|
- alternative: *pince
|
||||||
|
probability: 0.3
|
||||||
|
- alternative: *szuteren
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *felszuteren
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
"0":
|
||||||
|
default: *foldszint
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *emelet
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
"1":
|
||||||
|
default: *emelet
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *felemelet
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
"2":
|
||||||
|
default: *emelet
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *magasfoldszint
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
numbering_starts_at: 0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *emelet
|
||||||
|
numeric_probability: 0.59 # With this probability, pick an integer
|
||||||
|
roman_numeral_probability: 0.4 # Pick a Roman numeral for the actual value
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
categories:
|
||||||
|
near:
|
||||||
|
default:
|
||||||
|
canonical: közelében
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
nearby:
|
||||||
|
default:
|
||||||
|
canonical: közelben
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
near_me:
|
||||||
|
default:
|
||||||
|
canonical: közelemben
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
# Probabilities of each phrase
|
||||||
|
near_probability: 0.7
|
||||||
|
nearby_probability: 0.2
|
||||||
|
near_me_probability: 0.1
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &jobb
|
||||||
|
canonical: jobb
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
left: &bal
|
||||||
|
canonical: bal
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
alternatives:
|
||||||
|
- alternative: *jobb
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *bal
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &kelet
|
||||||
|
canonical: kelet
|
||||||
|
abbreviated: k
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: k
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
west: &nyugat
|
||||||
|
canonical: nyugat
|
||||||
|
abbreviated: n
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: n
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
north: &eszak
|
||||||
|
canonical: észak
|
||||||
|
abbreviated: e
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: e
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
south: &del
|
||||||
|
canonical: dél
|
||||||
|
abbreviated: d
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.75
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.15
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: d
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *eszak
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *kelet
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *del
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *nyugat
|
||||||
|
probability: 0.25
|
||||||
|
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
postafiok: &postafiok
|
||||||
|
canonical: postafiók
|
||||||
|
abbreviated: pf
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.7
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
alphanumeric:
|
||||||
|
default: *postafiok
|
||||||
|
numeric_probability: 0.9 # Pf 123
|
||||||
|
alpha_probability: 0.05 # Pf A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # Pf 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # Pf A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
units:
|
||||||
|
lakas: &lakas
|
||||||
|
canonical: lakás
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.3
|
||||||
|
ordinal_probability: 0.7
|
||||||
|
iroda: &iroda
|
||||||
|
canonical: iroda
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
szoba: &szoba
|
||||||
|
canonical: szoba
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *lakas
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *szoba
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 0.95 # e.g. m. 1
|
||||||
|
numeric_plus_alpha_probability: 0.005 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.005 # e.g. A1
|
||||||
|
alpha_probability: 0.04 # e.g. m. A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.2
|
||||||
|
|
||||||
|
zones:
|
||||||
|
commercial: &commercial_unit_types
|
||||||
|
default: *iroda
|
||||||
|
numeric_probability: 0.95 # e.g. pokój 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. pokój 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. pokój A1
|
||||||
|
alpha_probability: 0.03 # e.g. pokój A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
university: *commercial_unit_types
|
||||||
459
resources/addresses/is.yaml
Normal file
459
resources/addresses/is.yaml
Normal file
@@ -0,0 +1,459 @@
|
|||||||
|
# is.yaml
|
||||||
|
# -------
|
||||||
|
# Icelandic language specification.
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.9
|
||||||
|
alphanumeric_probability: 0.1
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.75
|
||||||
|
alphanumeric_probability: 0.25
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- level
|
||||||
|
- unit
|
||||||
|
label: unit
|
||||||
|
separators:
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.9
|
||||||
|
- separator: " - "
|
||||||
|
probability: 0.1
|
||||||
|
probability: 0.005
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- entrance
|
||||||
|
- unit
|
||||||
|
label: unit
|
||||||
|
separators:
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.9
|
||||||
|
- separator: " - "
|
||||||
|
probability: 0.1
|
||||||
|
probability: 0.001
|
||||||
|
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &numer
|
||||||
|
canonical: númer
|
||||||
|
abbreviated: nr
|
||||||
|
sample: true
|
||||||
|
# Probabilities
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.2
|
||||||
|
sample_exclude:
|
||||||
|
- "#"
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "#"
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
|
||||||
|
|
||||||
|
house_numbers:
|
||||||
|
alphanumeric:
|
||||||
|
default: *numer
|
||||||
|
|
||||||
|
alphanumeric_phrase_probability: 0.0001
|
||||||
|
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &og
|
||||||
|
canonical: og
|
||||||
|
abbreviated: "&"
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.75
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.05
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
and: *og
|
||||||
|
corner_of: &horn_of
|
||||||
|
canonical: horn af
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
at_the_corner_of: &a_horinu_a
|
||||||
|
canonical: á horninu á
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
intersection:
|
||||||
|
default: *og
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative: *horn_of
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *a_horinu_a
|
||||||
|
probability: 0.15
|
||||||
|
|
||||||
|
between:
|
||||||
|
canonical: milli
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5
|
||||||
|
|
||||||
|
levels:
|
||||||
|
floor: &haeo
|
||||||
|
canonical: hæð
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
direction_probability: 0.9
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
|
||||||
|
jarohaeo: &jarohaeo
|
||||||
|
canonical: jarðhæð
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
sample_probability: 0.7
|
||||||
|
kjallara: &kjallara
|
||||||
|
canonical: kjallara
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
# e.g. 1 kjallara
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
direction_probability: 0.8
|
||||||
|
# e.g. k1
|
||||||
|
numeric_affix:
|
||||||
|
affix: k
|
||||||
|
direction: left
|
||||||
|
# e.g. 1. kjallara
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
standalone_probability: 0.985
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.005
|
||||||
|
numeric_affix_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *kjallara
|
||||||
|
"-1":
|
||||||
|
default: *kjallara
|
||||||
|
"0":
|
||||||
|
default: *jarohaeo
|
||||||
|
|
||||||
|
numbering_starts_at: 0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *haeo
|
||||||
|
numeric_probability: 0.99 # With this probability, pick an integer
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
categories:
|
||||||
|
near:
|
||||||
|
default:
|
||||||
|
canonical: nálægt
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
nearby:
|
||||||
|
default:
|
||||||
|
canonical: nálægt
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: nálægt hér
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.2
|
||||||
|
- alternative:
|
||||||
|
canonical: hérna
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: hér
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
near_me:
|
||||||
|
default:
|
||||||
|
canonical: nálægt mér
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
# Don't worry about agreement
|
||||||
|
in:
|
||||||
|
default:
|
||||||
|
canonical: í
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
# Probabilities of each phrase
|
||||||
|
near_probability: 0.35
|
||||||
|
nearby_probability: 0.2
|
||||||
|
near_me_probability: 0.1
|
||||||
|
in_probability: 0.35
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &til_haegri
|
||||||
|
canonical: til hægri
|
||||||
|
abbreviated: t.h
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: t.h
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
numeric_affix_probability: 0.2
|
||||||
|
left: &til_vinstri
|
||||||
|
canonical: til vinstri
|
||||||
|
abbreviated: t.v
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.1
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: t.v
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
numeric_affix_probability: 0.2
|
||||||
|
alternatives:
|
||||||
|
- alternative: *til_haegri
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *til_vinstri
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &austur
|
||||||
|
canonical: austur
|
||||||
|
abbreviated: a
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: a
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
west: &vestur
|
||||||
|
canonical: vestur
|
||||||
|
abbreviated: v
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: v
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
north: &norour
|
||||||
|
canonical: norður
|
||||||
|
abbreviated: n
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: n
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
south: &suour
|
||||||
|
canonical: suður
|
||||||
|
abbreviated: s
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.75
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.15
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: s
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *norour
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *austur
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *suour
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *vestur
|
||||||
|
probability: 0.25
|
||||||
|
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
inngangur: &inngangur
|
||||||
|
canonical: inngangur
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# Inngangur 1, Inngangur A, etc.
|
||||||
|
alphanumeric: &entrance_alphanumeric
|
||||||
|
default: *inngangur
|
||||||
|
numeric_probability: 0.1 # e.g. Inngangur 1
|
||||||
|
alpha_probability: 0.85 # e.g. Inngangur A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
stiege: &stigi
|
||||||
|
canonical: stigi
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric: &staircase_alphanumeric
|
||||||
|
default: *stigi
|
||||||
|
numeric_probability: 0.75
|
||||||
|
alpha_probability: 0.2
|
||||||
|
numeric_plus_alpha_probability: 0.025
|
||||||
|
alpha_plus_numeric_probability: 0.025
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.85
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *norour
|
||||||
|
- alternative: *suour
|
||||||
|
- alternative: *austur
|
||||||
|
- alternative: *vestur
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
postholf: &postholf
|
||||||
|
canonical: pósthólf
|
||||||
|
abbreviated: ph
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2 # Ph Nr 1234
|
||||||
|
alphanumeric:
|
||||||
|
sample: false
|
||||||
|
default: *postholf
|
||||||
|
numeric_probability: 0.9 # Ph 123
|
||||||
|
alpha_probability: 0.05 # Ph A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # Ph 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # Ph A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
units:
|
||||||
|
ibuo: &ibuo
|
||||||
|
canonical: íbúð
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
null_phrase_probability: 0.5
|
||||||
|
# íbúð nummer 4
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.05
|
||||||
|
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *ibuo
|
||||||
|
numeric_probability: 0.9 # e.g. íbúð 1
|
||||||
|
numeric_plus_alpha_probability: 0.03 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.03 # e.g. A1
|
||||||
|
alpha_probability: 0.04 # e.g. íbúð A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# Separate random probability for adding directions like 2R, 2L, etc.
|
||||||
|
add_direction: true
|
||||||
|
add_direction_probability: 0.1
|
||||||
|
|
||||||
|
# Add directions for plain numbers
|
||||||
|
add_direction_numeric: true
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.1
|
||||||
673
resources/addresses/it.yaml
Normal file
673
resources/addresses/it.yaml
Normal file
@@ -0,0 +1,673 @@
|
|||||||
|
# it.yaml
|
||||||
|
# -------
|
||||||
|
# Italian language specification
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
# If no floor number is specified
|
||||||
|
null_probability: 0.9
|
||||||
|
alphanumeric_probability: 0.1
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
# If no unit number is specified
|
||||||
|
null_probability: 0.8
|
||||||
|
alphanumeric_probability: 0.2
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: /
|
||||||
|
probability: 1.0
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &numero
|
||||||
|
canonical: numero
|
||||||
|
abbreviated: "nº"
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.3
|
||||||
|
sample_probability: 0.5
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "n."
|
||||||
|
direction: left
|
||||||
|
# Probabilities for numbers
|
||||||
|
numeric_probability: 0.7
|
||||||
|
numeric_affix_probability: 0.3
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &e
|
||||||
|
canonical: e
|
||||||
|
abbreviated: "&"
|
||||||
|
canonical_probability: 0.7
|
||||||
|
abbreviated_probability: 0.25
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.05
|
||||||
|
|
||||||
|
house_numbers:
|
||||||
|
# sans numéro (s/n) addresses
|
||||||
|
no_number:
|
||||||
|
canonical: senza numero civico
|
||||||
|
abbreviated: snc
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.1
|
||||||
|
abbreviated_probability: 0.7
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *numero
|
||||||
|
|
||||||
|
alphanumeric_phrase_probability: 0.01
|
||||||
|
no_number_probability: 0.05 # With this probability, use sin número if no house_number is specified
|
||||||
|
|
||||||
|
levels:
|
||||||
|
floor: &piano
|
||||||
|
canonical: piano
|
||||||
|
abbreviated: pº
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
abbreviated_probability: 0.15
|
||||||
|
sample_probability: 0.25
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.95
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.05
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.9
|
||||||
|
roman_numeral_probability: 0.1
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.5
|
||||||
|
spellout_probability: 0.2
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
numeric_probability: 0.55
|
||||||
|
ordinal_probability: 0.45
|
||||||
|
livello: &livello
|
||||||
|
canonical: livello
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.05
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
numeric_probability: 0.75
|
||||||
|
ordinal_probability: 0.25
|
||||||
|
piano_nobile: &piano_nobile
|
||||||
|
canonical: piano nobile
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
piano_terra: &piano_terra
|
||||||
|
canonical: piano terra
|
||||||
|
abbreviated: p.t
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.5
|
||||||
|
abbreviated_probability: 0.25
|
||||||
|
sample_probability: 0.25
|
||||||
|
basement: &seminterrato
|
||||||
|
canonical: seminterrato
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
standalone_probability: 0.99
|
||||||
|
numeric_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *seminterrato
|
||||||
|
probability: 0.995
|
||||||
|
alternatives:
|
||||||
|
- alternative: *piano
|
||||||
|
probability: 0.005
|
||||||
|
"-1":
|
||||||
|
default: *seminterrato
|
||||||
|
probability: 0.9995
|
||||||
|
alternatives:
|
||||||
|
- alternative: *piano
|
||||||
|
probability: 0.0005
|
||||||
|
"0":
|
||||||
|
default: *piano_terra
|
||||||
|
probability: 0.95
|
||||||
|
alternatives:
|
||||||
|
- alternative: *piano
|
||||||
|
probability: 0.05
|
||||||
|
"1":
|
||||||
|
default: *piano
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *piano_nobile
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *piano
|
||||||
|
probability: 0.95
|
||||||
|
alternatives:
|
||||||
|
- alternative: *livello
|
||||||
|
probability: 0.05
|
||||||
|
numeric_probability: 0.99
|
||||||
|
alpha_probability: 0.01
|
||||||
|
|
||||||
|
numbering_starts_at: 0
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
# 26th & 6th Avenue
|
||||||
|
and: *e
|
||||||
|
# 26th @ Broadway
|
||||||
|
a: &a
|
||||||
|
canonical: a
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
corner_of: &angolo_di
|
||||||
|
canonical: angolo di
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
corner: &angolo
|
||||||
|
canonical: angolo
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
at_the_corner_of: &all_angolo_tra
|
||||||
|
canonical: all'angolo tra
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
intersection:
|
||||||
|
default: *e
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative: *a
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *angolo_di
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *all_angolo_tra
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
# 26th betw 5th Ave and 6th Ave
|
||||||
|
between:
|
||||||
|
canonical: tra
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5 # Probability of using parentheses e.g. (between 5th and 6th)
|
||||||
|
|
||||||
|
categories:
|
||||||
|
near:
|
||||||
|
default:
|
||||||
|
canonical: vicino a
|
||||||
|
probability: 0.75
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: presso a
|
||||||
|
probability: 0.25
|
||||||
|
nearby:
|
||||||
|
default:
|
||||||
|
canonical: vicino
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: qui vicino
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: nelle vicinanze
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: intorno a qui
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
near_me:
|
||||||
|
default:
|
||||||
|
canonical: vicino a me
|
||||||
|
|
||||||
|
# Don't worry about agreement
|
||||||
|
in:
|
||||||
|
default:
|
||||||
|
canonical: a
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: ad
|
||||||
|
probability: 0.15
|
||||||
|
- alternative:
|
||||||
|
canonical: in
|
||||||
|
probability: 0.15
|
||||||
|
|
||||||
|
# Probabilities of each phrase
|
||||||
|
near_probability: 0.35
|
||||||
|
nearby_probability: 0.2
|
||||||
|
near_me_probability: 0.1
|
||||||
|
in_probability: 0.35
|
||||||
|
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &destra
|
||||||
|
canonical: destra
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
left: &sinistra
|
||||||
|
canonical: sinistra
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
rear: &posteriore
|
||||||
|
canonical: posteriore
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
front: &anteriore
|
||||||
|
canonical: anteriore
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
alternatives:
|
||||||
|
- alternative: *destra
|
||||||
|
probability: 0.49
|
||||||
|
- alternative: *sinistra
|
||||||
|
probability: 0.49
|
||||||
|
- alternative: *posteriore
|
||||||
|
probability: 0.01
|
||||||
|
- alternative: *anteriore
|
||||||
|
probability: 0.01
|
||||||
|
|
||||||
|
anteroposterior:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *anteriore
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *posteriore
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
lateral:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *destra
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *sinistra
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &est
|
||||||
|
canonical: est
|
||||||
|
abbreviated: e
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: e
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
west: &ovest
|
||||||
|
canonical: ovest
|
||||||
|
abbreviated: o
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: o
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
north: &nord
|
||||||
|
canonical: nord
|
||||||
|
abbreviated: n
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: n
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
south: &sud
|
||||||
|
canonical: sud
|
||||||
|
abbreviated: s
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: s
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *nord
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *est
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *sud
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *ovest
|
||||||
|
probability: 0.25
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
entrance: &ingresso
|
||||||
|
canonical: ingresso
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# Ingresso 1, Ingresso A, etc.
|
||||||
|
alphanumeric: &entrance_alphanumeric
|
||||||
|
default: *ingresso
|
||||||
|
numeric_probability: 0.1 # e.g. Ingresso 1
|
||||||
|
alpha_probability: 0.85 # e.g. Ingresso A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
modifier:
|
||||||
|
direction: right # e.g. Ingresso Nord
|
||||||
|
direction_probability: 0.95
|
||||||
|
alternatives:
|
||||||
|
- alternative: *nord
|
||||||
|
- alternative: *sud
|
||||||
|
- alternative: *est
|
||||||
|
- alternative: *ovest
|
||||||
|
- alternative: *destra
|
||||||
|
- alternative: *sinistra
|
||||||
|
- alternative: *posteriore
|
||||||
|
- alternative: *anteriore
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
scala: &scala
|
||||||
|
canonical: scala
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
# For alphanumerics, Scala A, Scala 1, etc.
|
||||||
|
default: *scala
|
||||||
|
numeric_probability: 0.6 # e.g. Scala 1
|
||||||
|
alpha_probability: 0.35 # e.g. Scala A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: right # e.g. Scala Destra
|
||||||
|
direction_probability: 0.9
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *nord
|
||||||
|
- alternative: *sud
|
||||||
|
- alternative: *est
|
||||||
|
- alternative: *ovest
|
||||||
|
- alternative: *destra
|
||||||
|
- alternative: *sinistra
|
||||||
|
- alternative: *posteriore
|
||||||
|
- alternative: *anteriore
|
||||||
|
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
casella_postale: &casella_postale
|
||||||
|
canonical: casella postale
|
||||||
|
abbreviated: cp
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2 # CP No 1234
|
||||||
|
numeric_probability: 1.0
|
||||||
|
alphanumeric:
|
||||||
|
default: *casella_postale
|
||||||
|
numeric_probability: 0.9 # CP 123
|
||||||
|
alpha_probability: 0.05 # CP A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # CP 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # CP A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
|
||||||
|
units:
|
||||||
|
flat: &appartamento
|
||||||
|
canonical: appartamento
|
||||||
|
abbreviated: app
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
casa: &casa
|
||||||
|
canonical: casa
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
unit: &unita
|
||||||
|
canonical: unità
|
||||||
|
abbreviated: u
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
office: &officina
|
||||||
|
canonical: officina
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.3
|
||||||
|
lotto: &lotto
|
||||||
|
canonical: lotto
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
door: &porta
|
||||||
|
canonical: porta
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
interno: &interno
|
||||||
|
canonical: interno
|
||||||
|
abbreviated: int
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
room: &sala
|
||||||
|
canonical: sala
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *appartamento
|
||||||
|
probability: 0.75
|
||||||
|
alternatives:
|
||||||
|
- alternative: *interno
|
||||||
|
probability: 0.1
|
||||||
|
# e.g. just plain #3 or No. 4
|
||||||
|
- alternative: *numero
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *casa
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *porta
|
||||||
|
probability: 0.045
|
||||||
|
- alternative: *sala
|
||||||
|
probability: 0.005
|
||||||
|
numeric_probability: 0.9 # e.g. Appartement 1
|
||||||
|
numeric_plus_alpha_probability: 0.03 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.03 # e.g. A1
|
||||||
|
alpha_probability: 0.04 # e.g. Appartement A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# Separate random probability for adding directions like 2D, 2G, etc.
|
||||||
|
add_direction: true
|
||||||
|
add_direction_probability: 0.1
|
||||||
|
|
||||||
|
# Add directions for plain numbers
|
||||||
|
add_direction_numeric: true
|
||||||
|
# Add direction only e.g. Unité Gauche
|
||||||
|
add_direction_standalone: true
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.1
|
||||||
|
|
||||||
|
zones:
|
||||||
|
residential: *unit_alphanumeric
|
||||||
|
commercial:
|
||||||
|
default: *officina
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *sala
|
||||||
|
probability: 0.2
|
||||||
|
|
||||||
|
numeric_probability: 0.9 # e.g. Bureau 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. Bureau 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. Bureau A1
|
||||||
|
alpha_probability: 0.08 # e.g. Bureau A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
industrial:
|
||||||
|
default: *lotto
|
||||||
|
probability: 0.5
|
||||||
|
alternatives:
|
||||||
|
- alternative: *officina
|
||||||
|
probability: 0.3
|
||||||
|
- alternative: *unita
|
||||||
|
probability: 0.2
|
||||||
|
|
||||||
|
numeric_probability: 0.9 # e.g. Lotto 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. Lotto 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. Lotto A1
|
||||||
|
alpha_probability: 0.08 # e.g. Lotto A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
university:
|
||||||
|
default: *sala
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *porta
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
numeric_probability: 0.9 # e.g. Salle 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. Salle 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. Salle A1
|
||||||
|
alpha_probability: 0.08 # e.g. Salle A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
161
resources/addresses/ja.yaml
Normal file
161
resources/addresses/ja.yaml
Normal file
@@ -0,0 +1,161 @@
|
|||||||
|
# ja.yaml
|
||||||
|
# -------
|
||||||
|
# Japanese language specification
|
||||||
|
|
||||||
|
whitespace: false
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.95 # Probability of doing nothing if no floor number is specified
|
||||||
|
alphanumeric_probability: 0.05
|
||||||
|
|
||||||
|
unit:
|
||||||
|
# If no unit number is specified
|
||||||
|
null_probability: 1.0
|
||||||
|
conditional:
|
||||||
|
- component: level
|
||||||
|
probabilities:
|
||||||
|
null_probability: 0.95
|
||||||
|
alphanumeric_probability: 0.05
|
||||||
|
- component: house_number
|
||||||
|
probabilities:
|
||||||
|
null_probability: 0.6
|
||||||
|
alphanumeric_probability: 0.4
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
# Unit is just appended onto the house number
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "-"
|
||||||
|
probability: 1.0
|
||||||
|
probability: 1.0
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &go
|
||||||
|
canonical: 号
|
||||||
|
numeric_affix:
|
||||||
|
affix: 号
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
|
||||||
|
|
||||||
|
blocks:
|
||||||
|
alphanumeric:
|
||||||
|
default: &ban
|
||||||
|
canonical: 番
|
||||||
|
numeric_affix:
|
||||||
|
affix: 番
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
probability: 0.85
|
||||||
|
alternatives:
|
||||||
|
- alternative: &banchi
|
||||||
|
canonical: 番地
|
||||||
|
numeric_affix:
|
||||||
|
affix: 番地
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: &banchi_no
|
||||||
|
canonical: 番地の
|
||||||
|
numeric_affix:
|
||||||
|
affix: 番地の
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
probability: 0.05
|
||||||
|
numeric_probability: 1.0
|
||||||
|
alphanumeric_phrase_probability: 0.4
|
||||||
|
|
||||||
|
house_numbers:
|
||||||
|
alphanumeric:
|
||||||
|
default: *go
|
||||||
|
alphanumeric_phrase_probability: 0.4
|
||||||
|
|
||||||
|
levels:
|
||||||
|
kai: &kai
|
||||||
|
canonical: 階
|
||||||
|
numeric_affix:
|
||||||
|
affix: 階
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
unicode_full_width_probability: 0.5
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
|
||||||
|
numbering_starts_at: 1
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *kai
|
||||||
|
numeric_probability: 1.0
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
shishobako: &shishobako
|
||||||
|
canonical: 私書箱
|
||||||
|
numeric_affix:
|
||||||
|
affix: 私書箱
|
||||||
|
direction: left
|
||||||
|
digits:
|
||||||
|
unicode_full_width_probability: 0.5
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *shishobako
|
||||||
|
numeric_probability: 1.0
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
metro_stations:
|
||||||
|
alphanumeric:
|
||||||
|
default: &eki
|
||||||
|
canonical: 駅
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: 駅
|
||||||
|
direction: right
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
|
||||||
|
alphanumeric_phrase_probability: 1.0
|
||||||
|
|
||||||
|
postcodes:
|
||||||
|
alphanumeric:
|
||||||
|
default:
|
||||||
|
canonical: 〒
|
||||||
|
numeric_affix:
|
||||||
|
affix: 〒
|
||||||
|
direction: left
|
||||||
|
# null_probability means the chance of doing nothing e.g. just the postal code
|
||||||
|
null_probability: 0.1
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 0.9
|
||||||
|
|
||||||
|
units:
|
||||||
|
alphanumeric:
|
||||||
|
numeric_probability: 1.0
|
||||||
|
use_positive_numbers_probability: 1.0
|
||||||
|
# If we have a floor number (from building:levels), use it
|
||||||
|
use_floor_probability: 0.8
|
||||||
180
resources/addresses/ja_rm.yaml
Normal file
180
resources/addresses/ja_rm.yaml
Normal file
@@ -0,0 +1,180 @@
|
|||||||
|
# ja_rm.yaml
|
||||||
|
# ----------
|
||||||
|
# Romaji (Romanized Japanese) language specification
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.95 # Probability of doing nothing if no floor number is specified
|
||||||
|
alphanumeric_probability: 0.05
|
||||||
|
|
||||||
|
unit:
|
||||||
|
# If no unit number is specified
|
||||||
|
null_probability: 1.0
|
||||||
|
conditional:
|
||||||
|
- component: level
|
||||||
|
probabilities:
|
||||||
|
null_probability: 0.95
|
||||||
|
alphanumeric_probability: 0.05
|
||||||
|
- component: house_number
|
||||||
|
probabilities:
|
||||||
|
null_probability: 0.6
|
||||||
|
alphanumeric_probability: 0.4
|
||||||
|
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
# Unit is just appended onto the house number
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "-"
|
||||||
|
probability: 1.0
|
||||||
|
probability: 1.0
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &go
|
||||||
|
canonical: go
|
||||||
|
numeric_affix:
|
||||||
|
affix: -go
|
||||||
|
upper_case: false
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
|
||||||
|
blocks:
|
||||||
|
alphanumeric:
|
||||||
|
default: &ban
|
||||||
|
canonical: ban
|
||||||
|
numeric_affix:
|
||||||
|
affix: -ban
|
||||||
|
upper_case: false
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
probability: 0.85
|
||||||
|
alternatives:
|
||||||
|
- alternative: &banchi
|
||||||
|
canonical: banchi
|
||||||
|
numeric_affix:
|
||||||
|
affix: -ban
|
||||||
|
upper_case: false
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: &banchi_no
|
||||||
|
canonical: banchi-no
|
||||||
|
numeric_affix:
|
||||||
|
affix: -banchi-no
|
||||||
|
upper_case: false
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
probability: 0.05
|
||||||
|
numeric_probability: 1.0
|
||||||
|
alphanumeric_phrase_probability: 0.4
|
||||||
|
|
||||||
|
house_numbers:
|
||||||
|
alphanumeric:
|
||||||
|
default: *go
|
||||||
|
alphanumeric_phrase_probability: 0.4
|
||||||
|
|
||||||
|
levels:
|
||||||
|
kai: &kai
|
||||||
|
canonical: kai
|
||||||
|
numeric_affix:
|
||||||
|
affix: -kai
|
||||||
|
upper_case: false
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
unicode_full_width_probability: 0.5
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
gai: &gai
|
||||||
|
canonical: gai
|
||||||
|
numeric_affix:
|
||||||
|
affix: -gai
|
||||||
|
upper_case: false
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
unicode_full_width_probability: 0.5
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
|
||||||
|
|
||||||
|
numbering_starts_at: 1
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *kai
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *gai
|
||||||
|
probability: 0.4
|
||||||
|
numeric_probability: 1.0
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
shishobako: &shishobako
|
||||||
|
canonical: shishobako
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_probability: 1.0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *shishobako
|
||||||
|
numeric_probability: 1.0
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
|
||||||
|
metro_stations:
|
||||||
|
alphanumeric:
|
||||||
|
default: &eki
|
||||||
|
canonical: eki
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
title_case: false
|
||||||
|
numeric_affix:
|
||||||
|
affix: -eki
|
||||||
|
title_case: false
|
||||||
|
direction: right
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
alphanumeric_phrase_probability: 1.0
|
||||||
|
|
||||||
|
|
||||||
|
postcodes:
|
||||||
|
alphanumeric:
|
||||||
|
# This should still be the default in Romaji
|
||||||
|
default:
|
||||||
|
canonical: 〒
|
||||||
|
numeric_affix:
|
||||||
|
affix: 〒
|
||||||
|
direction: left
|
||||||
|
# null_probability means the chance of doing nothing e.g. just the postal code
|
||||||
|
null_probability: 0.1
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 0.9
|
||||||
|
|
||||||
|
units:
|
||||||
|
alphanumeric:
|
||||||
|
numeric_probability: 1.0
|
||||||
|
use_positive_numbers_probability: 1.0
|
||||||
|
# If we have a floor number (from building:levels), use it
|
||||||
|
use_floor_probability: 0.8
|
||||||
122
resources/addresses/ko.yaml
Normal file
122
resources/addresses/ko.yaml
Normal file
@@ -0,0 +1,122 @@
|
|||||||
|
# ko.yaml
|
||||||
|
# -------
|
||||||
|
# Korean language specification
|
||||||
|
|
||||||
|
whitespace: false
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.85 # Probability of doing nothing if no floor number is specified
|
||||||
|
alphanumeric_probability: 0.15
|
||||||
|
|
||||||
|
unit:
|
||||||
|
# If no unit number is specified
|
||||||
|
null_probability: 0.6
|
||||||
|
alphanumeric_probability: 0.4
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
combinations:
|
||||||
|
# Unit is just appended onto the house number
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "-"
|
||||||
|
probability: 1.0
|
||||||
|
probability: 1.0
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &ho
|
||||||
|
canonical: 호
|
||||||
|
numeric_affix:
|
||||||
|
affix: 호
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: &ho_traditional
|
||||||
|
canonical: 號
|
||||||
|
numeric_affix:
|
||||||
|
affix: 號
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
levels:
|
||||||
|
cheung: &cheung
|
||||||
|
canonical: 층
|
||||||
|
numeric_affix:
|
||||||
|
affix: 층
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
unicode_full_width_probability: 0.5
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
|
||||||
|
numbering_starts_at: 1
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *cheung
|
||||||
|
numeric_probability: 1.0
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
saseoham: &saseoham
|
||||||
|
canonical: 사서함
|
||||||
|
numeric_affix:
|
||||||
|
affix: 사서함
|
||||||
|
direction: left
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
unicode_full_width_probability: 0.1
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *saseoham
|
||||||
|
numeric_probability: 1.0
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
|
||||||
|
postcodes:
|
||||||
|
alphanumeric:
|
||||||
|
default: &upyeon_beonho
|
||||||
|
canonical: 우편번호
|
||||||
|
numeric_affix:
|
||||||
|
affix: 우편번호
|
||||||
|
direction: left
|
||||||
|
# null_probability means the chance of doing nothing e.g. just the postal code
|
||||||
|
null_probability: 0.9
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 0.1
|
||||||
|
|
||||||
|
units:
|
||||||
|
alphanumeric:
|
||||||
|
default: *ho
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *ho_traditional
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 1.0
|
||||||
|
use_positive_numbers_probability: 1.0
|
||||||
|
# If we have a floor number (from building:levels), use it
|
||||||
|
use_floor_probability: 0.8
|
||||||
90
resources/addresses/ko_rm.yaml
Normal file
90
resources/addresses/ko_rm.yaml
Normal file
@@ -0,0 +1,90 @@
|
|||||||
|
# ko_rm.yaml
|
||||||
|
# ----------
|
||||||
|
# Romanized Korean language specification
|
||||||
|
|
||||||
|
whitespace: false
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.85 # Probability of doing nothing if no floor number is specified
|
||||||
|
alphanumeric_probability: 0.15
|
||||||
|
|
||||||
|
unit:
|
||||||
|
# If no unit number is specified
|
||||||
|
null_probability: 0.6
|
||||||
|
alphanumeric_probability: 0.4
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
combinations:
|
||||||
|
# Unit is just appended onto the house number
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "-"
|
||||||
|
probability: 1.0
|
||||||
|
probability: 1.0
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &ho
|
||||||
|
canonical: ho
|
||||||
|
numeric_affix:
|
||||||
|
affix: -ho
|
||||||
|
upper_case: false
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
|
||||||
|
levels:
|
||||||
|
cheung: &cheung
|
||||||
|
canonical: cheung
|
||||||
|
numeric_affix:
|
||||||
|
affix: -cheung
|
||||||
|
upper_case: false
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
unicode_full_width_probability: 0.5
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
|
||||||
|
numbering_starts_at: 1
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *cheung
|
||||||
|
numeric_probability: 1.0
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
saseoham: &saseoham
|
||||||
|
canonical: saseoham
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *saseoham
|
||||||
|
numeric_probability: 1.0
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
units:
|
||||||
|
alphanumeric:
|
||||||
|
default: *ho
|
||||||
|
numeric_probability: 1.0
|
||||||
|
use_positive_numbers_probability: 1.0
|
||||||
|
# If we have a floor number (from building:levels), use it
|
||||||
|
use_floor_probability: 0.8
|
||||||
391
resources/addresses/lt.yaml
Normal file
391
resources/addresses/lt.yaml
Normal file
@@ -0,0 +1,391 @@
|
|||||||
|
# lt.yaml
|
||||||
|
# -------
|
||||||
|
# Lithuanian language specification.
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.97
|
||||||
|
alphanumeric_probability: 0.02
|
||||||
|
standalone_probability: 0.01
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.75
|
||||||
|
alphanumeric_probability: 0.25
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: " - "
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.8
|
||||||
|
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &numeris
|
||||||
|
canonical: numeris
|
||||||
|
abbreviated: nr
|
||||||
|
sample: true
|
||||||
|
# Probabilities
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.2
|
||||||
|
sample_exclude:
|
||||||
|
- "#"
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "#"
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &ir
|
||||||
|
canonical: ir
|
||||||
|
abbreviated: "&"
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.75
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.05
|
||||||
|
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
and: *ir
|
||||||
|
corner_of: &kampelis
|
||||||
|
canonical: kampelis
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
intersection:
|
||||||
|
default: *ir
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative: *kampelis
|
||||||
|
probability: 0.3
|
||||||
|
|
||||||
|
between:
|
||||||
|
canonical: nuo
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5
|
||||||
|
|
||||||
|
|
||||||
|
levels:
|
||||||
|
aukstas: &aukstas
|
||||||
|
canonical: aukštas
|
||||||
|
abbreviated: auk
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.5
|
||||||
|
abbreviated_probability: 0.3
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
roman_numeral_probability: 0.7
|
||||||
|
numeric_probability: 0.2
|
||||||
|
ordinal_probability: 0.8
|
||||||
|
aukste: &aukste
|
||||||
|
<<: *aukstas
|
||||||
|
canonical: aukšte
|
||||||
|
# Ground floor
|
||||||
|
pirmas_aukstas: &pirmas_aukstas
|
||||||
|
canonical: pirmas aukštas
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
rusys: &rusys
|
||||||
|
canonical: rūsys
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
standalone_probability: 1.0
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
rusyje: &rusyje
|
||||||
|
canonical: rūsyje
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
# e.g. rūsyje 1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.8
|
||||||
|
# e.g. r1
|
||||||
|
numeric_affix:
|
||||||
|
affix: r
|
||||||
|
direction: left
|
||||||
|
# e.g. 1. rūsyje
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.1
|
||||||
|
ordinal_probability: 0.4
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *rusyje
|
||||||
|
"-1":
|
||||||
|
default: *rusys
|
||||||
|
"0": &ground_floor
|
||||||
|
default: *pirmas_aukstas
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *aukste
|
||||||
|
probability: 0.3
|
||||||
|
- alternative: *aukstas
|
||||||
|
probability: 0.1
|
||||||
|
"1": *ground_floor
|
||||||
|
|
||||||
|
numbering_starts_at: 1
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *aukstas
|
||||||
|
numeric_probability: 0.99 # With this probability, pick an integer
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &desineje
|
||||||
|
canonical: dešinėje
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
left: &kaireje
|
||||||
|
canonical: kairėje
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
alternatives:
|
||||||
|
- alternative: *desineje
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *kaireje
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &rytai
|
||||||
|
canonical: rytai
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
|
||||||
|
west: &vakarai
|
||||||
|
canonical: vakarai
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
|
||||||
|
north: &siaure
|
||||||
|
canonical: šiaurė
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
|
||||||
|
south: &pietus
|
||||||
|
canonical: pietūs
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *siaure
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *rytai
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *pietus
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *vakarai
|
||||||
|
probability: 0.25
|
||||||
|
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
wejscie: &iejimas
|
||||||
|
canonical: įėjimas
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# įėjimas 1, įėjimas A, etc.
|
||||||
|
alphanumeric: &entrance_alphanumeric
|
||||||
|
default: *iejimas
|
||||||
|
numeric_probability: 0.1 # e.g. įėjimas 1
|
||||||
|
alpha_probability: 0.85 # e.g. įėjimas A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
laiptai: &laiptai
|
||||||
|
canonical: laiptai
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric: &staircase_alphanumeric
|
||||||
|
default: *laiptai
|
||||||
|
numeric_probability: 0.75
|
||||||
|
alpha_probability: 0.2
|
||||||
|
numeric_plus_alpha_probability: 0.025
|
||||||
|
alpha_plus_numeric_probability: 0.025
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.85
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *siaure
|
||||||
|
- alternative: *rytai
|
||||||
|
- alternative: *pietus
|
||||||
|
- alternative: *vakarai
|
||||||
|
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
pasto_dezute: &pasto_dezute
|
||||||
|
canonical: pašto dėžutė
|
||||||
|
abbreviated: p d
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.1
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.5
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2 # pašto dėžutė 1234
|
||||||
|
alphanumeric:
|
||||||
|
default: *pasto_dezute
|
||||||
|
numeric_probability: 0.95 # P. d. 123
|
||||||
|
alpha_probability: 0.01 # pašto dėžutė A
|
||||||
|
numeric_plus_alpha_probability: 0.03 # P. d. 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # P. d. A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
units:
|
||||||
|
butas: &butas
|
||||||
|
canonical: butas
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
biuro: &biuro
|
||||||
|
canonical: biuro
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
kambarys: &kambarys
|
||||||
|
canonical: kambarys
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *butas
|
||||||
|
numeric_probability: 0.9 # e.g. butas 1
|
||||||
|
numeric_plus_alpha_probability: 0.03 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.03 # e.g. A1
|
||||||
|
alpha_probability: 0.04 # e.g. butas A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.01
|
||||||
|
|
||||||
|
zones:
|
||||||
|
commercial: &commercial_unit_types
|
||||||
|
default: *biuro
|
||||||
|
numeric_probability: 0.95 # e.g. biuro 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. biuro 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. biuro A1
|
||||||
|
alpha_probability: 0.03 # e.g. biuro A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
university:
|
||||||
|
default: *kambarys
|
||||||
|
numeric_probability: 0.95 # e.g. kambarys 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. kambarys 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. kambarys A1
|
||||||
|
alpha_probability: 0.03 # e.g. kambarys A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
403
resources/addresses/lv.yaml
Normal file
403
resources/addresses/lv.yaml
Normal file
@@ -0,0 +1,403 @@
|
|||||||
|
# lv.yaml
|
||||||
|
# -------
|
||||||
|
# Latvian language specification.
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.97
|
||||||
|
alphanumeric_probability: 0.02
|
||||||
|
standalone_probability: 0.01
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.75
|
||||||
|
alphanumeric_probability: 0.25
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: " - "
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.2
|
||||||
|
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &numurs
|
||||||
|
canonical: numurs
|
||||||
|
abbreviated: nr
|
||||||
|
sample: true
|
||||||
|
# Probabilities
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.2
|
||||||
|
sample_exclude:
|
||||||
|
- "#"
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "#"
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &un
|
||||||
|
canonical: un
|
||||||
|
abbreviated: "&"
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.75
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.05
|
||||||
|
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
and: *un
|
||||||
|
corner_of: &sturis
|
||||||
|
canonical: stūris
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
at_the_corner_of: &sturi
|
||||||
|
canonical: stūrī
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
intersection:
|
||||||
|
default: *un
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative: *sturi
|
||||||
|
probability: 0.2
|
||||||
|
- alternative: *sturis
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
between:
|
||||||
|
canonical: starp
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5
|
||||||
|
|
||||||
|
|
||||||
|
levels:
|
||||||
|
stavs: &stavs
|
||||||
|
canonical: stāvs
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.5 # sometimes should be 2.stāvs
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
# Needs to be 1.0 so we don't get e.g. IIstāvs
|
||||||
|
ordinal_suffix_probability: 1.0
|
||||||
|
numeric_probability: 0.2
|
||||||
|
ordinal_probability: 0.8
|
||||||
|
|
||||||
|
# Ground floor
|
||||||
|
pirmais_stavs: &pirmais_stavs
|
||||||
|
canonical: pirmais stāvs
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
pagrabs: &pagrabs
|
||||||
|
canonical: pagrabs
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
standalone_probability: 1.0
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
pagraba: &pagraba
|
||||||
|
canonical: pagraba
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
# e.g. pagraba 1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.8
|
||||||
|
# e.g. p1
|
||||||
|
numeric_affix:
|
||||||
|
affix: p
|
||||||
|
direction: left
|
||||||
|
# e.g. 1. pagraba
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.1
|
||||||
|
ordinal_probability: 0.4
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *pagraba
|
||||||
|
"-1":
|
||||||
|
default: *pagrabs
|
||||||
|
"0": &ground_floor
|
||||||
|
default: *pirmais_stavs
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *stavs
|
||||||
|
probability: 0.4
|
||||||
|
"1": *ground_floor
|
||||||
|
|
||||||
|
numbering_starts_at: 1
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *stavs
|
||||||
|
numeric_probability: 0.99 # With this probability, pick an integer
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &pa_labi
|
||||||
|
canonical: pa labi
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
left: &pa_kreisi
|
||||||
|
canonical: pa kreisi
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
alternatives:
|
||||||
|
- alternative: *pa_labi
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *pa_kreisi
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &austrumu
|
||||||
|
canonical: austrumu
|
||||||
|
abbreviated: a
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
sample_probability: 0.15
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: a
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
west: &rietumu
|
||||||
|
canonical: rietumu
|
||||||
|
abbreviated: r
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
sample_probability: 0.15
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: r
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
north: &ziemelu
|
||||||
|
canonical: ziemeļu
|
||||||
|
abbreviated: z
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
sample_probability: 0.15
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: z
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
|
||||||
|
south: &dienvidu
|
||||||
|
canonical: dienvidu
|
||||||
|
abbreviated: d
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
sample_probability: 0.15
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: d
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *ziemelu
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *dienvidu
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *austrumu
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *rietumu
|
||||||
|
probability: 0.25
|
||||||
|
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
ieeja: &ieeja
|
||||||
|
canonical: ieeja
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# ieeja 1, ieeja A, etc.
|
||||||
|
alphanumeric: &entrance_alphanumeric
|
||||||
|
default: *ieeja
|
||||||
|
numeric_probability: 0.1 # e.g. ieeja 1
|
||||||
|
alpha_probability: 0.85 # e.g. ieeja A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
kapnu: &kapnu
|
||||||
|
canonical: kāpņu
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
kapnu_telpa: &kapnu_telpa
|
||||||
|
canonical: kāpņu telpa
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric: &staircase_alphanumeric
|
||||||
|
default: *kapnu
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *kapnu_telpa
|
||||||
|
probability: 0.4
|
||||||
|
numeric_probability: 0.75
|
||||||
|
alpha_probability: 0.2
|
||||||
|
numeric_plus_alpha_probability: 0.025
|
||||||
|
alpha_plus_numeric_probability: 0.025
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.85
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *pa_labi
|
||||||
|
- alternative: *pa_kreisi
|
||||||
|
- alternative: *ziemelu
|
||||||
|
- alternative: *dienvidu
|
||||||
|
- alternative: *austrumu
|
||||||
|
- alternative: *rietumu
|
||||||
|
|
||||||
|
|
||||||
|
units:
|
||||||
|
dzivoklis: &dzivoklis
|
||||||
|
canonical: dzīvoklis
|
||||||
|
abbreviated: dz
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.1
|
||||||
|
abbreviated_probability: 0.8
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
birojs: &birojs
|
||||||
|
canonical: birojs
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
istaba: &istaba
|
||||||
|
canonical: istaba
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *dzivoklis
|
||||||
|
numeric_probability: 0.9 # e.g. m. 1
|
||||||
|
numeric_plus_alpha_probability: 0.03 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.03 # e.g. A1
|
||||||
|
alpha_probability: 0.04 # e.g. m. A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.01
|
||||||
|
|
||||||
|
zones:
|
||||||
|
commercial: &commercial_unit_types
|
||||||
|
default: *birojs
|
||||||
|
numeric_probability: 0.95 # e.g. birojs 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. birojs 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. birojs A1
|
||||||
|
alpha_probability: 0.03 # e.g. birojs A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
university:
|
||||||
|
default: *istaba
|
||||||
|
numeric_probability: 0.95 # e.g. istaba 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. istaba 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. istaba A1
|
||||||
|
alpha_probability: 0.03 # e.g. istaba A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
563
resources/addresses/nb.yaml
Normal file
563
resources/addresses/nb.yaml
Normal file
@@ -0,0 +1,563 @@
|
|||||||
|
# nb.yaml
|
||||||
|
# -------
|
||||||
|
# Norwegian language specification.
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.85
|
||||||
|
alphanumeric_probability: 0.1
|
||||||
|
standalone_probability: 0.05
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.75
|
||||||
|
alphanumeric_probability: 0.25
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
# Bolignummer
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- level
|
||||||
|
- unit
|
||||||
|
label: unit
|
||||||
|
zero_pad_digits: 2
|
||||||
|
separators:
|
||||||
|
- separator: ""
|
||||||
|
probability: 1.0
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &nummer
|
||||||
|
canonical: nummer
|
||||||
|
abbreviated: nr
|
||||||
|
sample: true
|
||||||
|
# Probabilities
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.2
|
||||||
|
sample_exclude:
|
||||||
|
- "#"
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "#"
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
|
||||||
|
|
||||||
|
house_numbers:
|
||||||
|
alphanumeric:
|
||||||
|
default: *nummer
|
||||||
|
|
||||||
|
alphanumeric_phrase_probability: 0.0001
|
||||||
|
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &og
|
||||||
|
canonical: og
|
||||||
|
abbreviated: "&"
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.75
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.05
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
and: *og
|
||||||
|
corner_of: &hjorne_av
|
||||||
|
canonical: hjørne av
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
at_the_corner_of: &pa_hjornet_av
|
||||||
|
canonical: på hjørnet av
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
intersection:
|
||||||
|
default: *og
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative: *hjorne_av
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *pa_hjornet_av
|
||||||
|
probability: 0.15
|
||||||
|
|
||||||
|
between:
|
||||||
|
canonical: mellom
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5
|
||||||
|
|
||||||
|
levels:
|
||||||
|
floor: &etasje
|
||||||
|
canonical: etasje
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
direction_probability: 0.9
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
hovedetasje: &hovedetasje
|
||||||
|
canonical: hovedetasje
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: h
|
||||||
|
direction: left
|
||||||
|
zero_pad: 2
|
||||||
|
numeric_probability: 0.1
|
||||||
|
numeric_affix_probability: 0.9
|
||||||
|
underetasje: &underetasje
|
||||||
|
canonical: underetasje
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: u
|
||||||
|
direction: left
|
||||||
|
zero_pad: 2
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.1
|
||||||
|
numeric_affix_probability: 0.9
|
||||||
|
loftsetasje: &loftsetasje
|
||||||
|
canonical: loftsetasje
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: l
|
||||||
|
direction: left
|
||||||
|
zero_pad: 2
|
||||||
|
numeric_probability: 0.1
|
||||||
|
numeric_affix_probability: 0.9
|
||||||
|
loft: &loft
|
||||||
|
canonical: loft
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
kjeller: &kjeller
|
||||||
|
canonical: kjeller
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
# e.g. 1 kjeller
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
direction_probability: 0.8
|
||||||
|
# e.g. k01
|
||||||
|
numeric_affix:
|
||||||
|
affix: k
|
||||||
|
direction: left
|
||||||
|
zero_pad: 2
|
||||||
|
# e.g. 1. k
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
standalone_probability: 0.9
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.005
|
||||||
|
numeric_affix_probability: 0.09
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *kjeller
|
||||||
|
"-1":
|
||||||
|
default: *kjeller
|
||||||
|
probability: 0.85
|
||||||
|
alternatives:
|
||||||
|
- alternative: *etasje
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *underetasje
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
"top":
|
||||||
|
default: *etasje
|
||||||
|
probability: 0.85
|
||||||
|
alternatives:
|
||||||
|
- alternative: *loftsetasje
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *loft
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
numbering_starts_at: 1
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *etasje
|
||||||
|
probability: 0.95
|
||||||
|
alternatives:
|
||||||
|
- alternative: *hovedetasje
|
||||||
|
probability: 0.05
|
||||||
|
numeric_probability: 0.99 # With this probability, pick an integer
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
|
||||||
|
categories:
|
||||||
|
near:
|
||||||
|
default:
|
||||||
|
canonical: i nærheten av
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: nær
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
nearby:
|
||||||
|
default:
|
||||||
|
canonical: i nærheten
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: rundt her
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.2
|
||||||
|
- alternative:
|
||||||
|
canonical: nær
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
near_me:
|
||||||
|
default:
|
||||||
|
canonical: nær meg
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: i nærheten av meg
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.4
|
||||||
|
|
||||||
|
in:
|
||||||
|
default:
|
||||||
|
canonical: i
|
||||||
|
|
||||||
|
|
||||||
|
# Probabilities of each phrase
|
||||||
|
near_probability: 0.35
|
||||||
|
nearby_probability: 0.2
|
||||||
|
near_me_probability: 0.1
|
||||||
|
in_probability: 0.35
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &hoyre
|
||||||
|
canonical: høyre
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.1
|
||||||
|
sample_probability: 0.9
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: h
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
numeric_affix_probability: 0.2
|
||||||
|
left: &venstre
|
||||||
|
canonical: venstre
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.1
|
||||||
|
sample_probability: 0.9
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: v
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
numeric_affix_probability: 0.2
|
||||||
|
alternatives:
|
||||||
|
- alternative: *hoyre
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *venstre
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &ost
|
||||||
|
canonical: øst
|
||||||
|
abbreviated: ø
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: ø
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
west: &vest
|
||||||
|
canonical: vest
|
||||||
|
abbreviated: v
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: v
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
north: &nord
|
||||||
|
canonical: nord
|
||||||
|
abbreviated: n
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: n
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
south: &syd
|
||||||
|
canonical: syd
|
||||||
|
abbreviated: s
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.75
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.15
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: s
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *nord
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *ost
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *syd
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *vest
|
||||||
|
probability: 0.25
|
||||||
|
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
inngang: &inngang
|
||||||
|
canonical: inngang
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# Eingang 1, Eingang A, etc.
|
||||||
|
alphanumeric: &entrance_alphanumeric
|
||||||
|
default: *inngang
|
||||||
|
numeric_probability: 0.1 # e.g. Eingang 1
|
||||||
|
alpha_probability: 0.85 # e.g. Eingang A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
stiege: &stiege
|
||||||
|
canonical: stiege
|
||||||
|
abbreviated: stg
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
trapp: &trapp
|
||||||
|
canonical: trapp
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
|
||||||
|
alphanumeric: &staircase_alphanumeric
|
||||||
|
default: *trapp
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *stiege
|
||||||
|
probability: 0.2
|
||||||
|
numeric_probability: 0.75
|
||||||
|
alpha_probability: 0.2
|
||||||
|
numeric_plus_alpha_probability: 0.025
|
||||||
|
alpha_plus_numeric_probability: 0.025
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.85
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *nord
|
||||||
|
- alternative: *syd
|
||||||
|
- alternative: *ost
|
||||||
|
- alternative: *vest
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
postboks: &postboks
|
||||||
|
canonical: postboks
|
||||||
|
abbreviated: pb
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2 # Pb No 1234
|
||||||
|
boks: &boks
|
||||||
|
canonical: boks
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2 # Boks No 1234
|
||||||
|
alphanumeric:
|
||||||
|
sample: false
|
||||||
|
default: *postboks
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *boks
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 0.9 # Pb 123
|
||||||
|
alpha_probability: 0.05 # Pb A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # Pb 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # Pb A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
units:
|
||||||
|
leilighet: &leilighet
|
||||||
|
canonical: leilighet
|
||||||
|
abbreviated: leil
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
null_phrase_probability: 0.3
|
||||||
|
# Lejlighed nummer 4
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.05
|
||||||
|
hus: &hus
|
||||||
|
canonical: hus
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
vaerelse: &vaerelse
|
||||||
|
canonical: værelse
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *leilighet
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *hus
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *vaerelse
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 0.95 # e.g. Lejlighed 1
|
||||||
|
alpha_probability: 0.05 # e.g. Lejl A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# Separate random probability for adding directions like 2H, 2V, etc.
|
||||||
|
add_direction: true
|
||||||
|
add_direction_probability: 0.005
|
||||||
|
|
||||||
|
# Add directions for plain numbers
|
||||||
|
add_direction_numeric: true
|
||||||
|
# Add direction only e.g. Lejlighed Venstre
|
||||||
|
add_direction_standalone: true
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.2
|
||||||
|
|
||||||
|
# Use the actual floor phrase as long as the whole phrase is numeric
|
||||||
|
# Has the effect of creating Bolignummer-style units
|
||||||
|
use_floor_affix_unit_num_digits: 2
|
||||||
572
resources/addresses/nl.yaml
Normal file
572
resources/addresses/nl.yaml
Normal file
@@ -0,0 +1,572 @@
|
|||||||
|
# nl.yaml
|
||||||
|
# -------
|
||||||
|
# Note: base config covers Dutch as spoken in the Netherlands
|
||||||
|
# Belgium overrides go in country configs
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.85
|
||||||
|
alphanumeric_probability: 0.1
|
||||||
|
standalone_probability: 0.05
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.8
|
||||||
|
alphanumeric_probability: 0.2
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: /
|
||||||
|
probability: 0.9
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.1
|
||||||
|
probability: 0.005
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- level
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.9
|
||||||
|
- separator: /
|
||||||
|
probability: 0.1
|
||||||
|
probability: 0.01
|
||||||
|
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &en
|
||||||
|
canonical: en
|
||||||
|
abbreviated: "&"
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.75
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.05
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &nummer
|
||||||
|
canonical: nummer
|
||||||
|
abbreviated: nr
|
||||||
|
sample: true
|
||||||
|
# Probabilities
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.2
|
||||||
|
sample_exclude:
|
||||||
|
- "#"
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "#"
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
|
||||||
|
house_numbers:
|
||||||
|
alphanumeric:
|
||||||
|
default: *nummer
|
||||||
|
alphanumeric_phrase_probability: 0.01
|
||||||
|
|
||||||
|
levels:
|
||||||
|
verdieping: &verdieping
|
||||||
|
canonical: verdieping
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
roman_numeral_probability: 0.2
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.5
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.7
|
||||||
|
ordinal_probability: 0.3
|
||||||
|
etage: &etage
|
||||||
|
canonical: etage
|
||||||
|
abbreviated: et
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
roman_numeral_probability: 0.2
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.5
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.7
|
||||||
|
ordinal_probability: 0.3
|
||||||
|
begane_grond: &begane_grond
|
||||||
|
canonical: begane grond
|
||||||
|
abbreviated: bg
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.5
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.3
|
||||||
|
benedenverdieping: &benedenverdieping
|
||||||
|
canonical: benedenverdieping
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parterre: &parterre
|
||||||
|
canonical: parterre
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
gelijkvloers: &gelijkvloers
|
||||||
|
canonical: gelijkvloers
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
het_gelijkvloers: &het_gelijkvloers
|
||||||
|
canonical: het gelijkvloers
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
aliases:
|
||||||
|
"0":
|
||||||
|
default: *begane_grond
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *benedenverdieping
|
||||||
|
probability: 0.35
|
||||||
|
- alternative: *parterre
|
||||||
|
probability: 0.04
|
||||||
|
- alternative: *het_gelijkvloers
|
||||||
|
probability: 0.005
|
||||||
|
- alternative: *gelijkvloers
|
||||||
|
probability: 0.005
|
||||||
|
alphanumeric:
|
||||||
|
default: *verdieping
|
||||||
|
probability: 0.99
|
||||||
|
alternatives:
|
||||||
|
- alternative: *etage
|
||||||
|
probability: 0.01
|
||||||
|
numeric_probability: 0.79 # With this probability, pick an integer
|
||||||
|
roman_numeral_probability: 0.2 # Pick a Roman numeral for the actual value
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
categories:
|
||||||
|
near:
|
||||||
|
default:
|
||||||
|
canonical: in de buurt van
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: bij
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: nabij
|
||||||
|
probability: 0.1
|
||||||
|
nearby:
|
||||||
|
default:
|
||||||
|
canonical: in de buurt
|
||||||
|
near_me:
|
||||||
|
default:
|
||||||
|
canonical: in de buurt van me
|
||||||
|
|
||||||
|
in:
|
||||||
|
default:
|
||||||
|
canonical: in
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: te
|
||||||
|
probability: 0.4
|
||||||
|
# Probabilities of each phrase
|
||||||
|
near_probability: 0.35
|
||||||
|
nearby_probability: 0.2
|
||||||
|
near_me_probability: 0.1
|
||||||
|
in_probability: 0.35
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
and: *en
|
||||||
|
corner_of: &hoek_van
|
||||||
|
canonical: hoek van
|
||||||
|
at_the_corner_of: &op_de_hoek_van
|
||||||
|
canonical: op de hoek van
|
||||||
|
intersection:
|
||||||
|
default: *en
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative: *hoek_van
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *op_de_hoek_van
|
||||||
|
probability: 0.15
|
||||||
|
|
||||||
|
between:
|
||||||
|
canonical: tussen
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5
|
||||||
|
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
ingang: &ingang
|
||||||
|
canonical: ingang
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# Eingang 1, Eingang A, etc.
|
||||||
|
alphanumeric: &entrance_alphanumeric
|
||||||
|
default: *ingang
|
||||||
|
numeric_probability: 0.1 # e.g. Eingang 1
|
||||||
|
alpha_probability: 0.85 # e.g. Eingang A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
postbus: &postbus
|
||||||
|
canonical: postbus
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
antwoordnummer: &antwoordnummer
|
||||||
|
canonical: antwoordnummer
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
alphanumeric:
|
||||||
|
sample: false
|
||||||
|
default: *postbus
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *antwoordnummer
|
||||||
|
probability: 0.2
|
||||||
|
numeric_probability: 0.9 # 123
|
||||||
|
alpha_probability: 0.05 # A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &rechts
|
||||||
|
canonical: rechts
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: r
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
numeric_affix_probability: 0.2
|
||||||
|
left: &links
|
||||||
|
canonical: links
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: l
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *rechts
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *links
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &oost
|
||||||
|
canonical: oost
|
||||||
|
abbreviated: o
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: o
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
oosten: &oosten
|
||||||
|
<<: *oost
|
||||||
|
canonical: oosten
|
||||||
|
|
||||||
|
oostelijke: &oostelijke
|
||||||
|
canonical: oostelijke
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
west: &west
|
||||||
|
canonical: west
|
||||||
|
abbreviated: w
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: w
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
westen: &westen
|
||||||
|
<<: *west
|
||||||
|
canonical: westen
|
||||||
|
|
||||||
|
westelijke: &westelijke
|
||||||
|
canonical: westelijke
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
north: &noord
|
||||||
|
canonical: noord
|
||||||
|
abbreviated: n
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: n
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
noorden: &noorden
|
||||||
|
<<: *noord
|
||||||
|
canonical: noorden
|
||||||
|
|
||||||
|
noordelijke: &noordelijke
|
||||||
|
canonical: noordelijke
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
south: &zuid
|
||||||
|
canonical: zuid
|
||||||
|
abbreviated: z
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.75
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.15
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: z
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
zuiden: &zuiden
|
||||||
|
<<: *zuid
|
||||||
|
canonical: zuiden
|
||||||
|
|
||||||
|
zuidelijke: &zuidelijke
|
||||||
|
canonical: zuidelijke
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *noord
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *oost
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *zuid
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *west
|
||||||
|
probability: 0.25
|
||||||
|
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
stiege: &stiege
|
||||||
|
canonical: stiege
|
||||||
|
abbreviated: stg
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
trap: &trap
|
||||||
|
canonical: trap
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
alphanumeric: &staircase_alphanumeric
|
||||||
|
default: *trap
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *stiege
|
||||||
|
probability: 0.4
|
||||||
|
numeric_probability: 0.75
|
||||||
|
alpha_probability: 0.2
|
||||||
|
numeric_plus_alpha_probability: 0.025
|
||||||
|
alpha_plus_numeric_probability: 0.025
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
units:
|
||||||
|
appartement: &appartement
|
||||||
|
canonical: appartement
|
||||||
|
abbreviated: apt
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
kamer: &kamer
|
||||||
|
canonical: kamer
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *appartement
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *kamer
|
||||||
|
probability: 0.4
|
||||||
|
numeric_probability: 0.9 # e.g. Apt 1
|
||||||
|
numeric_plus_alpha_probability: 0.03 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.03 # e.g. A1
|
||||||
|
alpha_probability: 0.04 # e.g. Apt A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# Separate random probability for adding directions like 2R, 2L, etc.
|
||||||
|
add_direction: true
|
||||||
|
add_direction_probability: 0.1
|
||||||
|
|
||||||
|
# Add directions for plain numbers
|
||||||
|
add_direction_numeric: true
|
||||||
|
# Add direction only e.g. Apt Rechts
|
||||||
|
add_direction_standalone: true
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.1
|
||||||
|
|
||||||
|
|
||||||
|
countries:
|
||||||
|
be:
|
||||||
|
components:
|
||||||
|
unit:
|
||||||
|
null_probability: 0.65
|
||||||
|
alphanumeric_probability: 0.35
|
||||||
|
|
||||||
|
levels:
|
||||||
|
verdieping: &verdieping_flemish
|
||||||
|
canonical: verdieping
|
||||||
|
abbreviated: verdiep
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.7
|
||||||
|
ordinal_probability: 0.3
|
||||||
|
|
||||||
|
aliases:
|
||||||
|
"0":
|
||||||
|
default: *het_gelijkvloers
|
||||||
|
probability: 0.5
|
||||||
|
alternatives:
|
||||||
|
- alternative: *gelijkvloers
|
||||||
|
probability: 0.5
|
||||||
|
alphanumeric:
|
||||||
|
default: *verdieping_flemish
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *etage
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
units:
|
||||||
|
bus: &bus
|
||||||
|
canonical: bus
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
alphanumeric:
|
||||||
|
default: *appartement
|
||||||
|
probability: 0.1
|
||||||
|
alternatives:
|
||||||
|
- alternative: *bus
|
||||||
|
probability: 0.7
|
||||||
|
- alternative: *kamer
|
||||||
|
probability: 0.2
|
||||||
509
resources/addresses/pl.yaml
Normal file
509
resources/addresses/pl.yaml
Normal file
@@ -0,0 +1,509 @@
|
|||||||
|
# pl.yaml
|
||||||
|
# -------
|
||||||
|
# Polish language specification.
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.95
|
||||||
|
alphanumeric_probability: 0.04
|
||||||
|
standalone_probability: 0.01
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.75
|
||||||
|
alphanumeric_probability: 0.25
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.9
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
- separator: " - "
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.01
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &numer
|
||||||
|
canonical: numer
|
||||||
|
abbreviated: nr
|
||||||
|
sample: true
|
||||||
|
# Probabilities
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.2
|
||||||
|
sample_exclude:
|
||||||
|
- "#"
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "#"
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
|
||||||
|
|
||||||
|
house_numbers:
|
||||||
|
dom: &dom
|
||||||
|
canonical: dom
|
||||||
|
abbreviated: d
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
alphanumeric:
|
||||||
|
default: *numer
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *dom
|
||||||
|
probability: 0.4
|
||||||
|
|
||||||
|
alphanumeric_phrase_probability: 0.0001
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &i
|
||||||
|
canonical: i
|
||||||
|
abbreviated: "&"
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.75
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.05
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
and: *i
|
||||||
|
at: &w
|
||||||
|
canonical: w
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
corner_of: &rogu
|
||||||
|
canonical: rogu
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
at_the_corner_of: &na_rogu
|
||||||
|
canonical: na rogu
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
intersection:
|
||||||
|
default: *i
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative: *w
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *rogu
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *na_rogu
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
between:
|
||||||
|
canonical: pomiędzy
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5
|
||||||
|
|
||||||
|
levels:
|
||||||
|
floor: &pietro
|
||||||
|
canonical: piętro
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
roman_numeral_probability: 0.7
|
||||||
|
ordinal_suffix_probability: 0.6
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
parter: &parter
|
||||||
|
canonical: parter
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
suterena: &suterena
|
||||||
|
canonical: suterena
|
||||||
|
# e.g. suterena 1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.8
|
||||||
|
# e.g. s1
|
||||||
|
numeric_affix:
|
||||||
|
affix: s
|
||||||
|
direction: left
|
||||||
|
# e.g. 1. suterena
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
standalone_probability: 0.985
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.005
|
||||||
|
numeric_affix_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *suterena
|
||||||
|
"-1":
|
||||||
|
default: *suterena
|
||||||
|
"0":
|
||||||
|
default: *parter
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *pietro
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
numbering_starts_at: 0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *pietro
|
||||||
|
numeric_probability: 0.99 # With this probability, pick an integer
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
categories:
|
||||||
|
near:
|
||||||
|
default:
|
||||||
|
canonical: w pobliżu
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: blisko
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: koło
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: niedaleko
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: obok
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: przy
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.05
|
||||||
|
nearby:
|
||||||
|
default:
|
||||||
|
canonical: w pobliżu
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: w pobliżu tutaj
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.2
|
||||||
|
- alternative:
|
||||||
|
canonical: wokół tutaj
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: blisko
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
near_me:
|
||||||
|
default:
|
||||||
|
canonical: w pobliżu mnie
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
# Don't worry about agreement
|
||||||
|
in:
|
||||||
|
default:
|
||||||
|
canonical: w
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: we
|
||||||
|
probability: 0.3
|
||||||
|
|
||||||
|
# Probabilities of each phrase
|
||||||
|
near_probability: 0.35
|
||||||
|
nearby_probability: 0.2
|
||||||
|
near_me_probability: 0.1
|
||||||
|
in_probability: 0.35
|
||||||
|
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &prawo
|
||||||
|
canonical: prawo
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
left: &lewo
|
||||||
|
canonical: lewo
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
alternatives:
|
||||||
|
- alternative: *prawo
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *lewo
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &wschod
|
||||||
|
canonical: wschód
|
||||||
|
abbreviated: w
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: w
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
west: &zachod
|
||||||
|
canonical: zachód
|
||||||
|
abbreviated: z
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: z
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
north: &polnoc
|
||||||
|
canonical: północ
|
||||||
|
abbreviated: pn
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: pn
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
south: &poludnie
|
||||||
|
canonical: południe
|
||||||
|
abbreviated: pd
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.75
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.15
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: pd
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *polnoc
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *wschod
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *poludnie
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *zachod
|
||||||
|
probability: 0.25
|
||||||
|
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
wejscie: &wejscie
|
||||||
|
canonical: wejście
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# Wejście 1, Wejście A, etc.
|
||||||
|
alphanumeric: &entrance_alphanumeric
|
||||||
|
default: *wejscie
|
||||||
|
numeric_probability: 0.1 # e.g. Wejście 1
|
||||||
|
alpha_probability: 0.85 # e.g. Wejście A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
schody: &schody
|
||||||
|
canonical: schody
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric: &staircase_alphanumeric
|
||||||
|
default: *schody
|
||||||
|
numeric_probability: 0.75
|
||||||
|
alpha_probability: 0.2
|
||||||
|
numeric_plus_alpha_probability: 0.025
|
||||||
|
alpha_plus_numeric_probability: 0.025
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.85
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *polnoc
|
||||||
|
- alternative: *poludnie
|
||||||
|
- alternative: *wschod
|
||||||
|
- alternative: *zachod
|
||||||
|
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
skrytka_pocztowa: &skrytka_pocztowa
|
||||||
|
canonical: skrytka pocztowa
|
||||||
|
abbreviated: skr poczt
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2 # Skr Poczt 1234
|
||||||
|
alphanumeric:
|
||||||
|
default: *skrytka_pocztowa
|
||||||
|
numeric_probability: 0.9 # Skr Poczt 123
|
||||||
|
alpha_probability: 0.05 # Skr Poczt A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # Skr Poczt 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # Skr Poczt A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
units:
|
||||||
|
mieszkanie: &mieszkanie
|
||||||
|
canonical: mieszkanie
|
||||||
|
abbreviated: m
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.05
|
||||||
|
abbreviated_probability: 0.9
|
||||||
|
sample_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
pokoj: &pokoj
|
||||||
|
canonical: pokój
|
||||||
|
abbreviated: pok
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *mieszkanie
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *pokoj
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 0.9 # e.g. m. 1
|
||||||
|
numeric_plus_alpha_probability: 0.03 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.03 # e.g. A1
|
||||||
|
alpha_probability: 0.04 # e.g. m. A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.01
|
||||||
|
|
||||||
|
zones:
|
||||||
|
commercial: &commercial_unit_types
|
||||||
|
default: *pokoj
|
||||||
|
numeric_probability: 0.95 # e.g. pokój 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. pokój 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. pokój A1
|
||||||
|
alpha_probability: 0.03 # e.g. pokój A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
university: *commercial_unit_types
|
||||||
1054
resources/addresses/pt.yaml
Normal file
1054
resources/addresses/pt.yaml
Normal file
File diff suppressed because it is too large
Load Diff
504
resources/addresses/ro.yaml
Normal file
504
resources/addresses/ro.yaml
Normal file
@@ -0,0 +1,504 @@
|
|||||||
|
# ro.yaml
|
||||||
|
# -------
|
||||||
|
# Romanian language specification
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
# If no floor number is specified
|
||||||
|
null_probability: 0.6
|
||||||
|
alphanumeric_probability: 0.35
|
||||||
|
standalone_probability: 0.05
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.95
|
||||||
|
alphanumeric_probability: 0.05
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
# If no unit number is specified
|
||||||
|
null_probability: 0.3
|
||||||
|
alphanumeric_probability: 0.65
|
||||||
|
standalone_probability: 0.05
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &numar
|
||||||
|
canonical: număr
|
||||||
|
abbreviated: nr
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.1
|
||||||
|
abbreviated_probability: 0.7
|
||||||
|
sample_probability: 0.2
|
||||||
|
sample_exclude:
|
||||||
|
- "#"
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "#" # e.g. #3, #2F, etc.
|
||||||
|
probability: 0.5
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
direction: left # affix goes on the number's left
|
||||||
|
|
||||||
|
# Probabilities for numbers
|
||||||
|
numeric_probability: 0.9
|
||||||
|
numeric_affix_probability: 0.1
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &si
|
||||||
|
canonical: și
|
||||||
|
abbreviated: "&"
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.5
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.1
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
and: *si
|
||||||
|
corner_of: &colt
|
||||||
|
canonical: colț
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
at_the_corner_of: &la_coltul_de_pe
|
||||||
|
canonical: la colțul de pe
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
intersection:
|
||||||
|
default: *si
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative: *colt
|
||||||
|
probability: 0.2
|
||||||
|
- alternative: *la_coltul_de_pe
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
between:
|
||||||
|
canonical: între
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
parentheses_probabililty: 0.5
|
||||||
|
|
||||||
|
|
||||||
|
house_numbers:
|
||||||
|
# fara numar (FN) addresses
|
||||||
|
no_number:
|
||||||
|
default:
|
||||||
|
canonical: fără număr
|
||||||
|
abbreviated: fn
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.1
|
||||||
|
abbreviated_probability: 0.7
|
||||||
|
sample_probability: 0.2
|
||||||
|
alphanumeric:
|
||||||
|
default: *numar
|
||||||
|
|
||||||
|
alphanumeric_phrase_probability: 0.7
|
||||||
|
no_number_probability: 0.1 # With this probability, use fara numar if no house_number is specified
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
levels:
|
||||||
|
floor: &etaj
|
||||||
|
canonical: etaj
|
||||||
|
abbreviated: et
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.5
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true # Occasionally add variation of "number", e.g. et. nr 2
|
||||||
|
add_number_phrase_probability: 0.05
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
roman_numeral_probability: 0.2
|
||||||
|
# Ground floor
|
||||||
|
parter: &parter
|
||||||
|
canonical: parter
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
aliases:
|
||||||
|
"0":
|
||||||
|
default: *parter
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *etaj
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
numbering_starts_at: 0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *etaj
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.05
|
||||||
|
numeric_probability: 0.99
|
||||||
|
alpha_probability: 0.01
|
||||||
|
|
||||||
|
blocks:
|
||||||
|
alphanumeric:
|
||||||
|
default:
|
||||||
|
canonical: bloc
|
||||||
|
abbreviated: bl
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
categories:
|
||||||
|
near:
|
||||||
|
default:
|
||||||
|
canonical: in apropiere de
|
||||||
|
|
||||||
|
nearby:
|
||||||
|
default:
|
||||||
|
canonical: în apropiere
|
||||||
|
probability: 0.5
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: in apropiere
|
||||||
|
probability: 0.2
|
||||||
|
- alternative:
|
||||||
|
canonical: aproape de aici
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: aici
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: în jurul aici
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: in jurul aici
|
||||||
|
probability: 0.05
|
||||||
|
near_me:
|
||||||
|
default:
|
||||||
|
canonical: lângă mine
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: langa mine
|
||||||
|
probability: 0.3
|
||||||
|
in:
|
||||||
|
default:
|
||||||
|
canonical: din
|
||||||
|
# Probabilities of each phrase
|
||||||
|
near_probability: 0.35
|
||||||
|
nearby_probability: 0.2
|
||||||
|
near_me_probability: 0.1
|
||||||
|
in_probability: 0.35
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &dreapta
|
||||||
|
canonical: dreapta
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: d
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
left: &stanga
|
||||||
|
canonical: stânga
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: s
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *dreapta
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *stanga
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &est
|
||||||
|
canonical: est
|
||||||
|
abbreviated: e
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: e
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
west: &vest
|
||||||
|
canonical: vest
|
||||||
|
abbreviated: v
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: v
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
north: &nord
|
||||||
|
canonical: nord
|
||||||
|
abbreviated: n
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: n
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
south: &sud
|
||||||
|
canonical: sud
|
||||||
|
abbreviated: s
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: s
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *nord
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *est
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *sud
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *vest
|
||||||
|
probability: 0.25
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
entrada: &intrare
|
||||||
|
canonical: intrare
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# Intrare 1, Intare A, etc.
|
||||||
|
alphanumeric:
|
||||||
|
default: *intrare
|
||||||
|
numeric_probability: 0.1 # e.g. Intrare 1
|
||||||
|
alpha_probability: 0.85 # e.g. Intrare A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *nord
|
||||||
|
- alternative: *sud
|
||||||
|
- alternative: *est
|
||||||
|
- alternative: *vest
|
||||||
|
- alternative: *dreapta
|
||||||
|
- alternative: *stanga
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
scara: &scara
|
||||||
|
canonical: scara
|
||||||
|
abbreviated: sc
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
# For alphanumerics, Scara A, Scara 1, etc.
|
||||||
|
default: *scara
|
||||||
|
numeric_probability: 0.35 # e.g. Scara 1
|
||||||
|
alpha_probability: 0.6 # e.g. Scara A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: right # e.g. Scara Nord
|
||||||
|
direction_probability: 0.8
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *nord
|
||||||
|
- alternative: *sud
|
||||||
|
- alternative: *est
|
||||||
|
- alternative: *vest
|
||||||
|
- alternative: *dreapta
|
||||||
|
- alternative: *stanga
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
casuta_postala: &casuta_postala
|
||||||
|
canonical: căsuță poștală
|
||||||
|
abbreviated: cp
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.3
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.4 # Apdo No 1234
|
||||||
|
numeric_probability: 1.0
|
||||||
|
alphanumeric:
|
||||||
|
sample: false
|
||||||
|
default: *casuta_postala
|
||||||
|
numeric_probability: 0.9 # Apdo 123
|
||||||
|
alpha_probability: 0.05 # Apdo A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # Apdo 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # Apdo A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
units:
|
||||||
|
apartament: &apartament
|
||||||
|
canonical: apartament
|
||||||
|
abbreviated: ap
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
sala: &sala
|
||||||
|
canonical: sală
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
birou: &birou
|
||||||
|
canonical: birou
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
lotul: &lotul
|
||||||
|
canonical: lotul
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *apartament
|
||||||
|
probability: 0.9
|
||||||
|
sample: true
|
||||||
|
alternatives:
|
||||||
|
- alternative: *sala
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
# Separate random probability for adding directions like 2o Izq, 2 Dcha, etc.
|
||||||
|
add_direction: true
|
||||||
|
add_direction_probability: 0.1
|
||||||
|
add_direction_numeric: true # Only for numbers
|
||||||
|
|
||||||
|
numeric_probability: 0.9 # e.g. ap 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. ap 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. ap A1
|
||||||
|
alpha_probability: 0.08 # e.g. ap A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
|
||||||
|
zones:
|
||||||
|
residential: *unit_alphanumeric
|
||||||
|
commercial:
|
||||||
|
default: *birou
|
||||||
|
numeric_probability: 0.9 # e.g. Birou 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. Birou 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. Birou A1
|
||||||
|
alpha_probability: 0.08 # e.g. Birou A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
industrial:
|
||||||
|
default: *lotul
|
||||||
|
probability: 0.5
|
||||||
|
alternatives:
|
||||||
|
- alternative: *birou
|
||||||
|
probability: 0.3
|
||||||
|
- alternative: *sala
|
||||||
|
probability: 0.2
|
||||||
|
|
||||||
|
numeric_probability: 0.9 # e.g. Lotul 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. Lotul 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. Lotul A1
|
||||||
|
alpha_probability: 0.08 # e.g. Lotul A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
university:
|
||||||
|
default: *sala
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *birou
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 0.9 # e.g. Sala 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. Sala 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. Sala A1
|
||||||
|
alpha_probability: 0.08 # e.g. Sala A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
1171
resources/addresses/ru.yaml
Normal file
1171
resources/addresses/ru.yaml
Normal file
File diff suppressed because it is too large
Load Diff
603
resources/addresses/sk.yaml
Normal file
603
resources/addresses/sk.yaml
Normal file
@@ -0,0 +1,603 @@
|
|||||||
|
# sk.yaml
|
||||||
|
# -------
|
||||||
|
# Slovakian language specification
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.95
|
||||||
|
alphanumeric_probability: 0.04
|
||||||
|
standalone_probability: 0.01
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.9
|
||||||
|
alphanumeric_probability: 0.1
|
||||||
|
|
||||||
|
# Note: no combinations because of the house numbering scheme
|
||||||
|
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &cislo
|
||||||
|
canonical: číslo
|
||||||
|
abbreviated: č
|
||||||
|
sample: true
|
||||||
|
# Probabilities
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "č."
|
||||||
|
direction: left
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &a
|
||||||
|
canonical: a
|
||||||
|
abbreviated: "&"
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.75
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.05
|
||||||
|
|
||||||
|
conscription_numbers:
|
||||||
|
alphanumeric:
|
||||||
|
default:
|
||||||
|
canonical: súpisné číslo
|
||||||
|
abbreviated: s.č.
|
||||||
|
canonical_probability: 0.05
|
||||||
|
abbreviated_probability: 0.85
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
and: *a
|
||||||
|
at: &na
|
||||||
|
canonical: na
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
corner_of: &rohu
|
||||||
|
canonical: rohu
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
corner: &roh
|
||||||
|
canonical: roh
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
at_the_corner_of: &na_rohu
|
||||||
|
canonical: na rohu
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
intersection:
|
||||||
|
default: *a
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *na
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *roh
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *rohu
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *na_rohu
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
between:
|
||||||
|
canonical: medzi
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5
|
||||||
|
|
||||||
|
levels:
|
||||||
|
floor: &poschodie
|
||||||
|
canonical: poschodie
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
roman_numeral_probability: 0.7
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
podlazie: &podlazie
|
||||||
|
canonical: podlažie
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
roman_numeral_probability: 0.7
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
|
||||||
|
nadzemne_podlazie: &nadzemne_podlazie
|
||||||
|
canonical: nadzemné podlažie
|
||||||
|
abbreviated: np
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.1
|
||||||
|
abbreviated_probability: 0.8
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
etaz: &etaz
|
||||||
|
canonical: etáž
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
prizemie: &prizemie
|
||||||
|
canonical: prízemie
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
podzemne_podlazie: &podzemne_podlazie
|
||||||
|
canonical: podzemné podlažie
|
||||||
|
abbreviated: pp
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.5
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.3
|
||||||
|
# e.g. podzemné podlažie 1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.8
|
||||||
|
# e.g. pp1
|
||||||
|
numeric_affix:
|
||||||
|
affix: pp
|
||||||
|
direction: left
|
||||||
|
# e.g. 1. podzemné podlažie
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
standalone_probability: 0.985
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.005
|
||||||
|
numeric_affix_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *podzemne_podlazie
|
||||||
|
"-1":
|
||||||
|
default: *podzemne_podlazie
|
||||||
|
"0":
|
||||||
|
default: *prizemie
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *poschodie
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *podlazie
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
numbering_starts_at: 0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *poschodie
|
||||||
|
probability: 0.45
|
||||||
|
alternatives:
|
||||||
|
- alternative: *podlazie
|
||||||
|
probability: 0.35
|
||||||
|
- alternative: *nadzemne_podlazie
|
||||||
|
probability: 0.19
|
||||||
|
- alternative: *etaz
|
||||||
|
probability: 0.01
|
||||||
|
numeric_probability: 0.99 # With this probability, pick an integer
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
categories:
|
||||||
|
near:
|
||||||
|
default:
|
||||||
|
canonical: v blízkosti
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: u
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.2
|
||||||
|
- alternative:
|
||||||
|
canonical: v okolí
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: okolo
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
probability: 0.05
|
||||||
|
nearby:
|
||||||
|
default:
|
||||||
|
canonical: blízkosti
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.4
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: blízko
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.2
|
||||||
|
- alternative:
|
||||||
|
canonical: v blízkosti
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: tady blízkosti
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: tady
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: tu
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: v blízkosti tu
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.05
|
||||||
|
- alternative:
|
||||||
|
canonical: v okolí
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.05
|
||||||
|
near_me:
|
||||||
|
default:
|
||||||
|
canonical: v blízkosti mne
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
# Don't worry about agreement
|
||||||
|
in:
|
||||||
|
default:
|
||||||
|
canonical: v
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: vo
|
||||||
|
probability: 0.3
|
||||||
|
|
||||||
|
# Probabilities of each phrase
|
||||||
|
near_probability: 0.35
|
||||||
|
nearby_probability: 0.2
|
||||||
|
near_me_probability: 0.1
|
||||||
|
in_probability: 0.35
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &prava
|
||||||
|
canonical: pravá
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
left: &lava
|
||||||
|
canonical: ľavá
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
alternatives:
|
||||||
|
- alternative: *prava
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *lava
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &vychod
|
||||||
|
canonical: východ
|
||||||
|
abbreviated: v
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: v
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
west: &zapad
|
||||||
|
canonical: západ
|
||||||
|
abbreviated: z
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: z
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
north: &sever
|
||||||
|
canonical: sever
|
||||||
|
abbreviated: s
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: s
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
south: &juh
|
||||||
|
canonical: juh
|
||||||
|
abbreviated: j
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.75
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.15
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: j
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *sever
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *vychod
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *juh
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *zapad
|
||||||
|
probability: 0.25
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
vchod: &vchod
|
||||||
|
canonical: vchod
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# Wejście 1, Wejście A, etc.
|
||||||
|
alphanumeric: &entrance_alphanumeric
|
||||||
|
default: *vchod
|
||||||
|
numeric_probability: 0.1 # e.g. Wejście 1
|
||||||
|
alpha_probability: 0.85 # e.g. Wejście A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
schodisko: &schodisko
|
||||||
|
canonical: schodisko
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
alphanumeric: &staircase_alphanumeric
|
||||||
|
default: *schodisko
|
||||||
|
numeric_probability: 0.75
|
||||||
|
alpha_probability: 0.2
|
||||||
|
numeric_plus_alpha_probability: 0.025
|
||||||
|
alpha_plus_numeric_probability: 0.025
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.85
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *sever
|
||||||
|
- alternative: *juh
|
||||||
|
- alternative: *vychod
|
||||||
|
- alternative: *zapad
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
postova_priehradka: &postova_priehradka
|
||||||
|
canonical: poštová priehradka
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2 # poštová priehradka 1234
|
||||||
|
alphanumeric:
|
||||||
|
default: *postova_priehradka
|
||||||
|
numeric_probability: 0.9 # poštová priehradka 123
|
||||||
|
alpha_probability: 0.05 # poštová priehradka A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # poštová priehradka 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # poštová priehradka A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
units:
|
||||||
|
apartaman: &apartaman
|
||||||
|
canonical: apartmán
|
||||||
|
abbreviated: apt
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
izba: &izba
|
||||||
|
canonical: izba
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
kancelaria: &kancelaria
|
||||||
|
canonical: kancelária
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *apartaman
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *izba
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 0.9 # e.g. apt. 1
|
||||||
|
numeric_plus_alpha_probability: 0.03 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.03 # e.g. A1
|
||||||
|
alpha_probability: 0.04 # e.g. apt. A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.01
|
||||||
|
|
||||||
|
zones:
|
||||||
|
commercial: &commercial_unit_types
|
||||||
|
default: *izba
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *kancelaria
|
||||||
|
probability: 0.4
|
||||||
|
numeric_probability: 0.95 # e.g. pokoj 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. pokoj 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. pokoj A1
|
||||||
|
alpha_probability: 0.03 # e.g. pokoj A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
university:
|
||||||
|
default: *izba
|
||||||
|
numeric_probability: 0.95 # e.g. pokoj 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. pok 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. pokoj A1
|
||||||
|
alpha_probability: 0.03 # e.g. pokoj A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
539
resources/addresses/sl.yaml
Normal file
539
resources/addresses/sl.yaml
Normal file
@@ -0,0 +1,539 @@
|
|||||||
|
# sl.yaml
|
||||||
|
# -------
|
||||||
|
# Slovenian language specification
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.9
|
||||||
|
alphanumeric_probability: 0.1
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.7
|
||||||
|
alphanumeric_probability: 0.3
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- staircase
|
||||||
|
- level
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.005
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- level
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.005
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- level
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.1
|
||||||
|
# For unit types like 2/34
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.005
|
||||||
|
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
no_number:
|
||||||
|
default:
|
||||||
|
canonical: brez številke
|
||||||
|
abbreviated: brez št
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.5
|
||||||
|
abbreviated_probability: 0.3
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
default: &stevilke
|
||||||
|
canonical: številke
|
||||||
|
abbreviated: št
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "št."
|
||||||
|
whitespace_probability: 0.6
|
||||||
|
direction: left
|
||||||
|
numeric_probability: 0.6
|
||||||
|
numeric_affix_probability: 0.4
|
||||||
|
|
||||||
|
alphanumeric_phrase_probability: 0.05
|
||||||
|
no_number_probability: 0.05
|
||||||
|
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &in
|
||||||
|
canonical: in
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
i: *in
|
||||||
|
at: &na
|
||||||
|
canonical: na
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
corner: &vogalu
|
||||||
|
canonical: vogalu
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
na_vogalu: &na_vogalu
|
||||||
|
canonical: na vogalu
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
intersection:
|
||||||
|
default: *in
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative: *na
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *vogalu
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *na_vogalu
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
med: &med
|
||||||
|
canonical: med
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5
|
||||||
|
between:
|
||||||
|
default: *med
|
||||||
|
|
||||||
|
levels:
|
||||||
|
nadstropje: &nadstropje
|
||||||
|
canonical: nadstropje
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
roman_numeral_probability: 0.7
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
|
||||||
|
pritlicje: &pritlicje
|
||||||
|
canonical: pritličje
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
parter: &parter
|
||||||
|
canonical: parter
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
kleti: &kleti
|
||||||
|
canonical: kleti
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
# e.g. kleti 1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.8
|
||||||
|
# e.g. 1. kleti
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
standalone_probability: 0.99
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *kleti
|
||||||
|
"-1":
|
||||||
|
default: *kleti
|
||||||
|
"0":
|
||||||
|
default: *pritlicje
|
||||||
|
probability: 0.5
|
||||||
|
alternatives:
|
||||||
|
- alternative: *parter
|
||||||
|
probability: 0.4
|
||||||
|
- alternative: *nadstropje
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
numbering_starts_at: 0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *nadstropje
|
||||||
|
numeric_probability: 0.69 # With this probability, pick an integer
|
||||||
|
roman_numeral_probability: 0.3 # Pick a Roman numeral for the actual value
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
|
||||||
|
categories:
|
||||||
|
near:
|
||||||
|
default:
|
||||||
|
canonical: v bližini
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: pri
|
||||||
|
probability: 0.4
|
||||||
|
|
||||||
|
nearby:
|
||||||
|
default:
|
||||||
|
canonical: v bližini
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.5
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: v bližini tukaj
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.3
|
||||||
|
- alternative:
|
||||||
|
canonical: okoli tukaj
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: tukaj
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
near_me:
|
||||||
|
default:
|
||||||
|
canonical: blizu mene
|
||||||
|
|
||||||
|
# Don't worry about agreement
|
||||||
|
in:
|
||||||
|
default:
|
||||||
|
canonical: v
|
||||||
|
|
||||||
|
# Probabilities of each phrase
|
||||||
|
near_probability: 0.35
|
||||||
|
nearby_probability: 0.2
|
||||||
|
near_me_probability: 0.1
|
||||||
|
in_probability: 0.35
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &prav
|
||||||
|
canonical: prav
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
left: &levo
|
||||||
|
canonical: levo
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
alternatives:
|
||||||
|
- alternative: *prav
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *levo
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &vzhod
|
||||||
|
canonical: vzhod
|
||||||
|
abbreviated: v
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: v
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
west: &zahod
|
||||||
|
canonical: zahod
|
||||||
|
abbreviated: z
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: z
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
north: &sever
|
||||||
|
canonical: sever
|
||||||
|
abbreviated: s
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: s
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
south: &jug
|
||||||
|
canonical: jug
|
||||||
|
abbreviated: j
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.75
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.15
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: j
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *sever
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *vzhod
|
||||||
|
probability: 0.23
|
||||||
|
- alternative: *jug
|
||||||
|
probability: 0.23
|
||||||
|
- alternative: *zahod
|
||||||
|
probability: 0.23
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
vhod: &vhod
|
||||||
|
canonical: vhod
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# Vhod 1, Vhod A, etc.
|
||||||
|
alphanumeric: &entrance_alphanumeric
|
||||||
|
default: *vhod
|
||||||
|
numeric_probability: 0.1 # e.g. Vhod 1
|
||||||
|
alpha_probability: 0.85 # e.g. Vhod A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
stopnisce: &stopnisce
|
||||||
|
canonical: stopnišče
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
|
||||||
|
alphanumeric: &staircase_alphanumeric
|
||||||
|
default: *stopnisce
|
||||||
|
numeric_probability: 0.75
|
||||||
|
alpha_probability: 0.2
|
||||||
|
numeric_plus_alpha_probability: 0.025
|
||||||
|
alpha_plus_numeric_probability: 0.025
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: right
|
||||||
|
direction_probability: 0.85
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *prav
|
||||||
|
probability: 0.2
|
||||||
|
- alternative: *levo
|
||||||
|
probability: 0.2
|
||||||
|
- alternative: *sever
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *jug
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *vzhod
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *zahod
|
||||||
|
probability: 0.15
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
postni_predal: &postni_predal
|
||||||
|
canonical: poštni predal
|
||||||
|
abbreviated: p.p
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *postni_predal
|
||||||
|
numeric_probability: 0.9 # pp 123
|
||||||
|
alpha_probability: 0.05 # p.p A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # pp 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # pp A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
units:
|
||||||
|
stanovanje: &stanovanje
|
||||||
|
canonical: stanovanje
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
|
||||||
|
soba: &soba
|
||||||
|
canonical: soba
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
urad: &urad
|
||||||
|
canonical: urad
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *stanovanje
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *soba
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 0.9 # e.g. stanovanje 1
|
||||||
|
numeric_plus_alpha_probability: 0.03 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.03 # e.g. A1
|
||||||
|
alpha_probability: 0.04 # e.g. stanovanje A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.05
|
||||||
|
|
||||||
|
zones:
|
||||||
|
commercial: &commercial_unit_types
|
||||||
|
default: *soba
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *urad
|
||||||
|
probability: 0.4
|
||||||
|
numeric_probability: 0.95 # e.g. soba 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. soba 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. soba A1
|
||||||
|
alpha_probability: 0.03 # e.g. soba A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
university:
|
||||||
|
default: *soba
|
||||||
|
numeric_probability: 0.95 # e.g. soba 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. soba 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. soba A1
|
||||||
|
alpha_probability: 0.03 # e.g. soba A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
953
resources/addresses/sr.yaml
Normal file
953
resources/addresses/sr.yaml
Normal file
@@ -0,0 +1,953 @@
|
|||||||
|
# sr.yaml
|
||||||
|
# -------
|
||||||
|
# Serbian language specification
|
||||||
|
|
||||||
|
alphabet: абвгдђежзијклљмнњопрстћуфхцчџш
|
||||||
|
alphanumeric_probability: 0.7
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.8
|
||||||
|
alphanumeric_probability: 0.2
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.7
|
||||||
|
alphanumeric_probability: 0.3
|
||||||
|
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- staircase
|
||||||
|
- level
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.005
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- level
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.005
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- level
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.1
|
||||||
|
# For unit types like 2/34
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.005
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &broj
|
||||||
|
canonical: број
|
||||||
|
abbreviated: бр
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "бр."
|
||||||
|
direction: left
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: &broj_latin
|
||||||
|
canonical: broj
|
||||||
|
abbreviated: br
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "br."
|
||||||
|
direction: left
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &i
|
||||||
|
canonical: и
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: &i_latin
|
||||||
|
canonical: i
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
i: *i
|
||||||
|
i_latin: *i_latin
|
||||||
|
at: &na
|
||||||
|
canonical: на
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
na_latin: &na_latin
|
||||||
|
canonical: na
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
corner: &ugao
|
||||||
|
canonical: угао
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
ugao_latin: &ugao_latin
|
||||||
|
canonical: ugao
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
na_uglu: &na_uglu
|
||||||
|
canonical: на углу
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
na_uglu_latin: &na_uglu_latin
|
||||||
|
canonical: na uglu
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
intersection:
|
||||||
|
default: *i
|
||||||
|
probability: 0.65
|
||||||
|
alternatives:
|
||||||
|
- alternative: *i_latin
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *na
|
||||||
|
probability: 0.075
|
||||||
|
- alternative: *na_latin
|
||||||
|
probability: 0.025
|
||||||
|
- alternative: *ugao
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *ugao_latin
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *na_uglu
|
||||||
|
probability: 0.025
|
||||||
|
- alternative: *na_uglu_latin
|
||||||
|
probability: 0.025
|
||||||
|
izmedu: &izmedu
|
||||||
|
canonical: између
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5
|
||||||
|
izmedu_latin: &izmedu_latin
|
||||||
|
canonical: između
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5
|
||||||
|
between:
|
||||||
|
default: *izmedu
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *izmedu_latin
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
levels:
|
||||||
|
sprat: &sprat
|
||||||
|
canonical: спрат
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
roman_numeral_probability: 0.7
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
sprat_latin: &sprat_latin
|
||||||
|
canonical: sprat
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
roman_numeral_probability: 0.7
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
kat: &kat
|
||||||
|
canonical: кат
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
roman_numeral_probability: 0.7
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
kat_latin: &kat_latin
|
||||||
|
canonical: kat
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
roman_numeral_probability: 0.7
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
etaza: &etaza
|
||||||
|
canonical: етажа
|
||||||
|
abbreviated: ет
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
roman_numeral_probability: 0.7
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
etaza_latin: &etaza_latin
|
||||||
|
canonical: etaža
|
||||||
|
abbreviated: et
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
roman_numeral_probability: 0.7
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
prizemlje: &prizemlje
|
||||||
|
canonical: приземље
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
prizemlje_latin: &prizemlje_latin
|
||||||
|
canonical: prizemlje
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
parter: &parter
|
||||||
|
canonical: партер
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
parter_latin: &parter_latin
|
||||||
|
canonical: parter
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.9
|
||||||
|
sample_probability: 0.1
|
||||||
|
|
||||||
|
podrum: &podrum
|
||||||
|
canonical: подрум
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
# e.g. подрум 1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.8
|
||||||
|
# e.g. 1. подрум
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
standalone_probability: 0.99
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
podrum_latin: &podrum_latin
|
||||||
|
canonical: podrum
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
# e.g. подрум 1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.8
|
||||||
|
# e.g. 1. подрум
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
standalone_probability: 0.99
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *podrum
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *podrum_latin
|
||||||
|
probability: 0.2
|
||||||
|
"-1":
|
||||||
|
default: *podrum
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *podrum_latin
|
||||||
|
probability: 0.2
|
||||||
|
"0":
|
||||||
|
default: *prizemlje
|
||||||
|
probability: 0.45
|
||||||
|
alternatives:
|
||||||
|
- alternative: *prizemlje_latin
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *parter
|
||||||
|
probability: 0.35
|
||||||
|
- alternative: *parter_latin
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *sprat
|
||||||
|
probability: 0.04
|
||||||
|
- alternative: *sprat_latin
|
||||||
|
probability: 0.01
|
||||||
|
- alternative: *kat
|
||||||
|
probability: 0.04
|
||||||
|
- alternative: *kat_latin
|
||||||
|
probability: 0.01
|
||||||
|
|
||||||
|
numbering_starts_at: 0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *sprat
|
||||||
|
probability: 0.65
|
||||||
|
alternatives:
|
||||||
|
- alternative: *sprat_latin
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *kat
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *kat_latin
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *etaza
|
||||||
|
probability: 0.04
|
||||||
|
- alternative: *etaza_latin
|
||||||
|
probability: 0.01
|
||||||
|
numeric_probability: 0.69 # With this probability, pick an integer
|
||||||
|
roman_numeral_probability: 0.3 # Pick a Roman numeral for the actual value
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &desno
|
||||||
|
canonical: десно
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
desno_latin: &desno_latin
|
||||||
|
canonical: desno
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
left: &levo
|
||||||
|
canonical: лево
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
levo_latin: &levo_latin
|
||||||
|
canonical: levo
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
alternatives:
|
||||||
|
- alternative: *desno
|
||||||
|
probability: 0.45
|
||||||
|
- alternative: *desno_latin
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *levo
|
||||||
|
probability: 0.45
|
||||||
|
- alternative: *levo_latin
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &istok
|
||||||
|
canonical: исток
|
||||||
|
abbreviated: и
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: и
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
istok_latin: &istok_latin
|
||||||
|
canonical: istok
|
||||||
|
abbreviated: i
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: i
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
west: &zapad
|
||||||
|
canonical: запад
|
||||||
|
abbreviated: з
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: з
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
zapad_latin: &zapad_latin
|
||||||
|
canonical: zapad
|
||||||
|
abbreviated: z
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: z
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
north: &sever
|
||||||
|
canonical: север
|
||||||
|
abbreviated: с
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: с
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
sever_latin: &sever_latin
|
||||||
|
canonical: sever
|
||||||
|
abbreviated: s
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: s
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
south: &jug
|
||||||
|
canonical: југ
|
||||||
|
abbreviated: ј
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.75
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.15
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: ј
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
jug_latin: &jug_latin
|
||||||
|
canonical: jug
|
||||||
|
abbreviated: j
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.75
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.15
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: j
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *sever
|
||||||
|
probability: 0.23
|
||||||
|
- alternative: *sever_latin
|
||||||
|
probability: 0.02
|
||||||
|
- alternative: *istok
|
||||||
|
probability: 0.23
|
||||||
|
- alternative: *istok_latin
|
||||||
|
probability: 0.02
|
||||||
|
- alternative: *jug
|
||||||
|
probability: 0.23
|
||||||
|
- alternative: *jug_latin
|
||||||
|
probability: 0.02
|
||||||
|
- alternative: *zapad
|
||||||
|
probability: 0.23
|
||||||
|
- alternative: *zapad_latin
|
||||||
|
probability: 0.02
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
ulaz: &ulaz
|
||||||
|
canonical: улаз
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
ulaz_latin: &ulaz_latin
|
||||||
|
canonical: ulaz
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# Ulaz 1, Ulaz A, etc.
|
||||||
|
alphanumeric: &entrance_alphanumeric
|
||||||
|
default: *ulaz
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *ulaz_latin
|
||||||
|
probability: 0.2
|
||||||
|
numeric_probability: 0.1 # e.g. Ulaz 1
|
||||||
|
alpha_probability: 0.85 # e.g. Ulaz A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
stepeniste: &stepeniste
|
||||||
|
canonical: степениште
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
stepeniste_latin: &stepeniste_latin
|
||||||
|
canonical: stepenište
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
|
||||||
|
alphanumeric: &staircase_alphanumeric
|
||||||
|
default: *stepeniste
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *stepeniste_latin
|
||||||
|
probability: 0.2
|
||||||
|
numeric_probability: 0.75
|
||||||
|
alpha_probability: 0.2
|
||||||
|
numeric_plus_alpha_probability: 0.025
|
||||||
|
alpha_plus_numeric_probability: 0.025
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: right
|
||||||
|
direction_probability: 0.85
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *desno
|
||||||
|
probability: 0.19
|
||||||
|
- alternative: *desno_latin
|
||||||
|
probability: 0.01
|
||||||
|
- alternative: *levo
|
||||||
|
probability: 0.19
|
||||||
|
- alternative: *levo_latin
|
||||||
|
probability: 0.01
|
||||||
|
- alternative: *sever
|
||||||
|
probability: 0.14
|
||||||
|
- alternative: *sever_latin
|
||||||
|
probability: 0.01
|
||||||
|
- alternative: *jug
|
||||||
|
probability: 0.14
|
||||||
|
- alternative: *jug_latin
|
||||||
|
probability: 0.01
|
||||||
|
- alternative: *istok
|
||||||
|
probability: 0.14
|
||||||
|
- alternative: *istok_latin
|
||||||
|
probability: 0.01
|
||||||
|
- alternative: *zapad
|
||||||
|
probability: 0.14
|
||||||
|
- alternative: *zapad_latin
|
||||||
|
probability: 0.01
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
postanski_fah: &postanski_fah
|
||||||
|
canonical: поштански фах
|
||||||
|
abbreviated: пф
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2 # poštanski fah br. 1234
|
||||||
|
postanski_fah_latin: &postanski_fah_latin
|
||||||
|
canonical: poštanski fah
|
||||||
|
abbreviated: pf
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2 # poštanski fah br. 1234
|
||||||
|
postanski_pretinac: &postanski_pretinac
|
||||||
|
canonical: поштански претинац
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
sample_probability: 0.5
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
postanski_pretinac_latin: &postanski_pretinac_latin
|
||||||
|
canonical: poštanski pretinac
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
postanski_pregradak: &postanski_pregradak
|
||||||
|
canonical: поштански преградак
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
sample_probability: 0.5
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
postanski_pregradak_latin: &postanski_pregradak_latin
|
||||||
|
canonical: poštanski pregradak
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *postanski_fah
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative: *postanski_fah_latin
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *postanski_pretinac
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *postanski_pretinac_latin
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *postanski_pregradak
|
||||||
|
probability: 0.075
|
||||||
|
- alternative: *postanski_pregradak_latin
|
||||||
|
probability: 0.025
|
||||||
|
numeric_probability: 0.9 # pf 123
|
||||||
|
alpha_probability: 0.05 # pf A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # pf 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # pf A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
units:
|
||||||
|
stan: &stan
|
||||||
|
canonical: стан
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
stan_latin: &stan_latin
|
||||||
|
canonical: stan
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
apartman: &apartman
|
||||||
|
canonical: апартман
|
||||||
|
abbreviated: ап
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
|
||||||
|
apartman_latin: &apartman_latin
|
||||||
|
canonical: apartman
|
||||||
|
abbreviated: ap
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
|
||||||
|
soba: &soba
|
||||||
|
canonical: соба
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
soba_latin: &soba_latin
|
||||||
|
canonical: soba
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
kancelarija: &kancelarija
|
||||||
|
canonical: канцеларија
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
kancelarija_latin: &kancelarija_latin
|
||||||
|
canonical: kancelarija
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *stan
|
||||||
|
probability: 0.5
|
||||||
|
alternatives:
|
||||||
|
- alternative: *stan_latin
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *apartman
|
||||||
|
probability: 0.2
|
||||||
|
- alternative: *apartman_latin
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *soba
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *soba_latin
|
||||||
|
probability: 0.05
|
||||||
|
numeric_probability: 0.9 # e.g. stan. 1
|
||||||
|
numeric_plus_alpha_probability: 0.03 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.03 # e.g. A1
|
||||||
|
alpha_probability: 0.04 # e.g. stan A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.01
|
||||||
|
|
||||||
|
zones:
|
||||||
|
commercial: &commercial_unit_types
|
||||||
|
default: *soba
|
||||||
|
probability: 0.55
|
||||||
|
alternatives:
|
||||||
|
- alternative: *soba_latin
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *kancelarija
|
||||||
|
probability: 0.35
|
||||||
|
- alternative: *kancelarija_latin
|
||||||
|
probability: 0.05
|
||||||
|
numeric_probability: 0.95 # e.g. soba 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. soba 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. soba A1
|
||||||
|
alpha_probability: 0.03 # e.g. soba A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
university:
|
||||||
|
default: *soba
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *soba_latin
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 0.95 # e.g. soba 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. soba 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. soba A1
|
||||||
|
alpha_probability: 0.03 # e.g. soba A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
795
resources/addresses/sv.yaml
Normal file
795
resources/addresses/sv.yaml
Normal file
@@ -0,0 +1,795 @@
|
|||||||
|
# sv.yaml
|
||||||
|
# -------
|
||||||
|
# Swedish language specification.
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.85
|
||||||
|
alphanumeric_probability: 0.1
|
||||||
|
standalone_probability: 0.05
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.75
|
||||||
|
alphanumeric_probability: 0.25
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &nummer
|
||||||
|
canonical: nummer
|
||||||
|
abbreviated: nr
|
||||||
|
sample: true
|
||||||
|
# Probabilities
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.2
|
||||||
|
sample_exclude:
|
||||||
|
- "#"
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "#"
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
|
||||||
|
|
||||||
|
house_numbers:
|
||||||
|
alphanumeric:
|
||||||
|
default: *nummer
|
||||||
|
|
||||||
|
alphanumeric_phrase_probability: 0.0001
|
||||||
|
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &och
|
||||||
|
canonical: och
|
||||||
|
abbreviated: "&"
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.75
|
||||||
|
sample: true
|
||||||
|
sample_probability: 0.05
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
and: *och
|
||||||
|
corner_of: &hornet_av
|
||||||
|
canonical: hörnet av
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
at_the_corner_of: &i_hornet_av
|
||||||
|
canonical: i hörnet av
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
intersection:
|
||||||
|
default: *och
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative: *hornet_av
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *i_hornet_av
|
||||||
|
probability: 0.15
|
||||||
|
|
||||||
|
between:
|
||||||
|
canonical: mellan
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5
|
||||||
|
|
||||||
|
|
||||||
|
levels:
|
||||||
|
vaningen: &vaningen
|
||||||
|
canonical: våningen
|
||||||
|
abbreviated: vån
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.5
|
||||||
|
abbreviated_probability: 0.3
|
||||||
|
sample_probability: 0.2
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
ordinal_probability: 1.0
|
||||||
|
vaning: &vaning
|
||||||
|
canonical: våning
|
||||||
|
abbreviated: vån
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.5
|
||||||
|
abbreviated_probability: 0.3
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
ordinal:
|
||||||
|
direction: left
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
numeric_probability: 0.8
|
||||||
|
ordinal_probability: 0.2
|
||||||
|
plan: &plan
|
||||||
|
canonical: plan
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
entreplan: &entreplan
|
||||||
|
canonical: entréplan
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
trappa_upp: &trappa_upp
|
||||||
|
canonical: trappa upp
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
number_min_abs_value: 2
|
||||||
|
number_max_abs_value: 2
|
||||||
|
number_subtract_abs_value: 1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
ordinal_probability: 0.2
|
||||||
|
trappor_upp: &trappor_upp
|
||||||
|
canonical: trappor upp
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
number_min_abs_value: 3
|
||||||
|
number_subtract_abs_value: 1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
ordinal_probability: 0.2
|
||||||
|
trappa: &trappa
|
||||||
|
canonical: trappa
|
||||||
|
abbreviated: tr
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
number_min_abs_value: 2
|
||||||
|
number_max_abs_value: 2
|
||||||
|
number_subtract_abs_value: 1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
ordinal_probability: 0.2
|
||||||
|
trappor: &trappor
|
||||||
|
canonical: trappor
|
||||||
|
abbreviated: tr
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.8
|
||||||
|
spellout_probability: 0.2
|
||||||
|
number_min_abs_value: 3
|
||||||
|
number_subtract_abs_value: 1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
ordinal_probability: 0.2
|
||||||
|
bottenvaning: &bottenvaning
|
||||||
|
canonical: bottenvåning
|
||||||
|
abbreviated: bv
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.2
|
||||||
|
vindsvaningen: &vindsvaningen
|
||||||
|
canonical: vindsvåningen
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
standalone_probability: 1.0
|
||||||
|
vinds: &vinds
|
||||||
|
canonical: vinds
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
standalone_probability: 1.0
|
||||||
|
kallare: &kallare
|
||||||
|
canonical: källare
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
# e.g. 1 källare
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
direction_probability: 0.8
|
||||||
|
# e.g. k1
|
||||||
|
numeric_affix:
|
||||||
|
affix: k
|
||||||
|
direction: left
|
||||||
|
# e.g. 1:a k
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
standalone_probability: 0.9
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.005
|
||||||
|
numeric_affix_probability: 0.09
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *kallare
|
||||||
|
probability: 0.95
|
||||||
|
alternatives:
|
||||||
|
- alternative: *vaning
|
||||||
|
probability: 0.025
|
||||||
|
- alternative: *vaningen
|
||||||
|
probability: 0.025
|
||||||
|
"-1":
|
||||||
|
default: *kallare
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *vaning
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *vaningen
|
||||||
|
probability: 0.05
|
||||||
|
"0":
|
||||||
|
default: *bottenvaning
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *entreplan
|
||||||
|
probability: 0.2
|
||||||
|
- alternative: *vaningen
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *vaning
|
||||||
|
probability: 0.1
|
||||||
|
"1":
|
||||||
|
default: *bottenvaning
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *entreplan
|
||||||
|
probability: 0.2
|
||||||
|
- alternative: *vaningen
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *vaning
|
||||||
|
probability: 0.1
|
||||||
|
"top":
|
||||||
|
default: *vaningen
|
||||||
|
probability: 0.35
|
||||||
|
alternatives:
|
||||||
|
- alternative: *vaning
|
||||||
|
probability: 0.35
|
||||||
|
- alternative: *trappor_upp
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *trappor
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *vindsvaningen
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *vinds
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
numbering_starts_at: 1
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *vaningen
|
||||||
|
probability: 0.25
|
||||||
|
alternatives:
|
||||||
|
- alternative: *vaning
|
||||||
|
probability: 0.2
|
||||||
|
- alternative: *plan
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *trappa_upp
|
||||||
|
probability: 0.125
|
||||||
|
- alternative: *trappa
|
||||||
|
probability: 0.125
|
||||||
|
- alternative: *trappor_upp
|
||||||
|
probability: 0.125
|
||||||
|
- alternative: *trappor
|
||||||
|
probability: 0.125
|
||||||
|
numeric_probability: 0.99 # With this probability, pick an integer
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
|
||||||
|
categories:
|
||||||
|
near:
|
||||||
|
default:
|
||||||
|
canonical: i närheten av
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: nära
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.2
|
||||||
|
nearby:
|
||||||
|
default:
|
||||||
|
canonical: i närheten
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.4
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: runt här
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.2
|
||||||
|
- alternative:
|
||||||
|
canonical: nära här
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: nära här
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: nära
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
- alternative:
|
||||||
|
canonical: omkring här
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.1
|
||||||
|
near_me:
|
||||||
|
default:
|
||||||
|
canonical: nära mig
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: i närheten av mig
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
probability: 0.2
|
||||||
|
|
||||||
|
in:
|
||||||
|
default:
|
||||||
|
canonical: i
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative:
|
||||||
|
canonical: på
|
||||||
|
probability: 0.2
|
||||||
|
|
||||||
|
|
||||||
|
# Probabilities of each phrase
|
||||||
|
near_probability: 0.35
|
||||||
|
nearby_probability: 0.2
|
||||||
|
near_me_probability: 0.1
|
||||||
|
in_probability: 0.35
|
||||||
|
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &hoger
|
||||||
|
canonical: höger
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.1
|
||||||
|
sample_probability: 0.9
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: h
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
numeric_affix_probability: 0.2
|
||||||
|
left: &vanster
|
||||||
|
canonical: vänster
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.1
|
||||||
|
sample_probability: 0.9
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: v
|
||||||
|
direction: right
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_probability: 0.8
|
||||||
|
numeric_affix_probability: 0.2
|
||||||
|
alternatives:
|
||||||
|
- alternative: *hoger
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *vanster
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &ost
|
||||||
|
canonical: öst
|
||||||
|
abbreviated: ö
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: ö
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
eastern: &ostra
|
||||||
|
canonical: östra
|
||||||
|
abbreviated: ö:a
|
||||||
|
canonical_probability: 0.9
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
|
||||||
|
west: &vast
|
||||||
|
canonical: väst
|
||||||
|
abbreviated: v
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: v
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
western: &vastra
|
||||||
|
canonical: västra
|
||||||
|
abbreviated: v:a
|
||||||
|
canonical_probability: 0.9
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
|
||||||
|
north: &norr
|
||||||
|
canonical: norr
|
||||||
|
abbreviated: n
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: n
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
northern: &norra
|
||||||
|
canonical: norra
|
||||||
|
abbreviated: n:a
|
||||||
|
canonical_probability: 0.9
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
|
||||||
|
south: &sod
|
||||||
|
canonical: söd
|
||||||
|
abbreviated: s
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.75
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.15
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: s
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
southern: &sodra
|
||||||
|
canonical: södra
|
||||||
|
abbreviated: s:a
|
||||||
|
canonical_probability: 0.9
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *norr
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *ost
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *sod
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *vast
|
||||||
|
probability: 0.25
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
ingang: &ingang
|
||||||
|
canonical: ingång
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
entre: &entre
|
||||||
|
canonical: entré
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# Eingang 1, Eingang A, etc.
|
||||||
|
alphanumeric: &entrance_alphanumeric
|
||||||
|
default: *ingang
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *entre
|
||||||
|
probability: 0.4
|
||||||
|
numeric_probability: 0.1 # e.g. Eingang 1
|
||||||
|
alpha_probability: 0.85 # e.g. Eingang A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
uppgang: &uppgang
|
||||||
|
canonical: uppgång
|
||||||
|
abbreviated: u
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
uppgang_hoger: &uppgang_hoger
|
||||||
|
canonical: uppgång höger
|
||||||
|
abbreviated: uh
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
uppgang_vanster: &uppgang_vanster
|
||||||
|
canonical: uppgång vänster
|
||||||
|
abbreviated: uv
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
alphanumeric: &staircase_alphanumeric
|
||||||
|
default: *uppgang
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *uppgang_hoger
|
||||||
|
probability: 0.2
|
||||||
|
- alternative: *uppgang_vanster
|
||||||
|
probability: 0.2
|
||||||
|
numeric_probability: 0.75
|
||||||
|
alpha_probability: 0.2
|
||||||
|
numeric_plus_alpha_probability: 0.025
|
||||||
|
alpha_plus_numeric_probability: 0.025
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.85
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *norr
|
||||||
|
- alternative: *sod
|
||||||
|
- alternative: *ost
|
||||||
|
- alternative: *vast
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
box: &box
|
||||||
|
canonical: box
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2 # Box No 1234
|
||||||
|
postlada: &postlada
|
||||||
|
canonical: postlåda
|
||||||
|
abbreviated: pl
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2 # Pl No 1234
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
sample: false
|
||||||
|
default: *box
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *postlada
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 0.9 # Box 123
|
||||||
|
alpha_probability: 0.05 # Box A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # Box 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # Box A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.1
|
||||||
|
- length: 5
|
||||||
|
probability: 0.5
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
units:
|
||||||
|
lagenhet: &lagenhet
|
||||||
|
canonical: lägenhet
|
||||||
|
abbreviated: lgh
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
null_phrase_probability: 0.1
|
||||||
|
# Lejlighed nummer 4
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.05
|
||||||
|
bostad: &bostad
|
||||||
|
canonical: bostad
|
||||||
|
abbreviated: bst
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.5
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.05
|
||||||
|
lagenhetsnummer: &lagenhetsnummer
|
||||||
|
canonical: lägenhetsnummer
|
||||||
|
abbreviated: lgh nr
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
hus: &hus
|
||||||
|
canonical: hus
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
rum: &rum
|
||||||
|
canonical: rum
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *lagenhet
|
||||||
|
probability: 0.75
|
||||||
|
alternatives:
|
||||||
|
- alternative: *lagenhetsnummer
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *hus
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *rum
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 0.95 # e.g. Lägenhet 1
|
||||||
|
alpha_probability: 0.05 # e.g. Lgh A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# Separate random probability for adding directions like 2H, 2V, etc.
|
||||||
|
add_direction: true
|
||||||
|
add_direction_probability: 0.005
|
||||||
|
|
||||||
|
# Add directions for plain numbers
|
||||||
|
add_direction_numeric: true
|
||||||
|
# Add direction only e.g. Lejlighed Igjen
|
||||||
|
add_direction_standalone: true
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.2
|
||||||
|
|
||||||
|
# Use the actual floor phrase as long as the whole phrase is numeric
|
||||||
|
# Has the effect of creating Bolignummer-style units
|
||||||
|
use_floor_affix_unit_num_digits: 2
|
||||||
|
|
||||||
|
# In Swedish addresses, the ground level is 10, floors are 11, 12, ... basements are 9, 8, ...
|
||||||
|
use_floor_ground_starts_at: 10
|
||||||
|
# For single digit floors, use 09, 08, etc.
|
||||||
|
use_floor_floor_num_digits: 2
|
||||||
|
|
||||||
|
|
||||||
|
countries:
|
||||||
|
# Swedish addresses in Finland
|
||||||
|
fi:
|
||||||
|
units:
|
||||||
|
alphanumeric:
|
||||||
|
default: *bostad
|
||||||
|
probability: 1.0
|
||||||
|
alternatives: []
|
||||||
|
|
||||||
|
add_direction: false
|
||||||
|
add_direction_numeric: false
|
||||||
|
add_direction_standalone: false
|
||||||
|
|
||||||
|
use_floor_probability: 0.1
|
||||||
|
|
||||||
|
use_floor_affix_unit_num_digits: 0
|
||||||
|
|
||||||
|
use_floor_ground_starts_at: 1
|
||||||
|
use_floor_floor_num_digits: 2
|
||||||
503
resources/addresses/tr.yaml
Normal file
503
resources/addresses/tr.yaml
Normal file
@@ -0,0 +1,503 @@
|
|||||||
|
# tr.yaml
|
||||||
|
# -------
|
||||||
|
# Turkish language specification
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.9
|
||||||
|
alphanumeric_probability: 0.1
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
null_probability: 0.99
|
||||||
|
alphanumeric_probability: 0.01
|
||||||
|
|
||||||
|
entrance:
|
||||||
|
null_probability: 0.999
|
||||||
|
alphanumeric_probability: 0.001
|
||||||
|
|
||||||
|
unit:
|
||||||
|
null_probability: 0.7
|
||||||
|
alphanumeric_probability: 0.3
|
||||||
|
|
||||||
|
combinations:
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- staircase
|
||||||
|
- level
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.005
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- level
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.005
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- level
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.1
|
||||||
|
# For unit types like 2/34
|
||||||
|
-
|
||||||
|
components:
|
||||||
|
- house_number
|
||||||
|
- unit
|
||||||
|
label: house_number
|
||||||
|
separators:
|
||||||
|
- separator: "/"
|
||||||
|
probability: 0.95
|
||||||
|
- separator: "-"
|
||||||
|
probability: 0.05
|
||||||
|
probability: 0.005
|
||||||
|
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
|
||||||
|
default: &numara
|
||||||
|
canonical: numara
|
||||||
|
abbreviated: "no:"
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.6
|
||||||
|
sample_probability: 0.1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_affix:
|
||||||
|
affix: "no:"
|
||||||
|
whitespace_probability: 0.6
|
||||||
|
direction: left
|
||||||
|
numeric_probability: 0.4
|
||||||
|
numeric_affix_probability: 0.6
|
||||||
|
|
||||||
|
alphanumeric_phrase_probability: 0.05
|
||||||
|
no_number_probability: 0.05
|
||||||
|
|
||||||
|
|
||||||
|
and:
|
||||||
|
default: &ve
|
||||||
|
canonical: ve
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
|
||||||
|
|
||||||
|
cross_streets:
|
||||||
|
ve: *ve
|
||||||
|
corner_of: &kose
|
||||||
|
canonical: köşe
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
kosesinde: &kosesinde
|
||||||
|
canonical: köşesinde
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
intersection:
|
||||||
|
default: *ve
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *kose
|
||||||
|
probability: 0.1
|
||||||
|
- alternative: *kosesinde
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
arasinda: &arasinda
|
||||||
|
canonical: arasında
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
parentheses_probability: 0.5
|
||||||
|
between:
|
||||||
|
default: *arasinda
|
||||||
|
|
||||||
|
levels:
|
||||||
|
kat: &kat
|
||||||
|
canonical: kat
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.9
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
roman_numeral_probability: 0.7
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
numeric_probability: 0.4
|
||||||
|
ordinal_probability: 0.6
|
||||||
|
|
||||||
|
zemin_kat: &zemin_kat
|
||||||
|
canonical: zemin kat
|
||||||
|
abbreviated: zk
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.3
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.3
|
||||||
|
asma_kat: &asma_kat
|
||||||
|
canonical: asma kat
|
||||||
|
half_floors: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
sample: true
|
||||||
|
# e.g. asma kat 2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
# e.g. 2. asma kat
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.1
|
||||||
|
ordinal_probability: 0.2
|
||||||
|
standalone_probability: 0.6
|
||||||
|
bodrum: &bodrum
|
||||||
|
canonical: bodrum
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.7
|
||||||
|
sample_probability: 0.3
|
||||||
|
# e.g. bodrum 1
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
direction_probability: 0.8
|
||||||
|
# e.g. 1. bodrum
|
||||||
|
ordinal:
|
||||||
|
direction: right
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.7
|
||||||
|
roman_numeral_probability: 0.3
|
||||||
|
standalone_probability: 0.99
|
||||||
|
number_abs_value: true
|
||||||
|
number_min_abs_value: 1
|
||||||
|
numeric_probability: 0.005
|
||||||
|
ordinal_probability: 0.005
|
||||||
|
|
||||||
|
aliases:
|
||||||
|
"<-1":
|
||||||
|
default: *bodrum
|
||||||
|
"-1":
|
||||||
|
default: *bodrum
|
||||||
|
# Special token for half-floors
|
||||||
|
half_floors:
|
||||||
|
default: *asma_kat
|
||||||
|
"0":
|
||||||
|
default: *zemin_kat
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *kat
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
numbering_starts_at: 0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *kat
|
||||||
|
numeric_probability: 0.99 # With this probability, pick an integer
|
||||||
|
alpha_probability: 0.0098 # With this probability, pick a letter e.g. A
|
||||||
|
numeric_plus_alpha_probability: 0.0001 # e.g. 2A
|
||||||
|
alpha_plus_numeric_probability: 0.0001 # e.g. A2
|
||||||
|
|
||||||
|
|
||||||
|
directions:
|
||||||
|
right: &sag
|
||||||
|
canonical: sağ
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
left: &sol
|
||||||
|
canonical: sol
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
alternatives:
|
||||||
|
- alternative: *sag
|
||||||
|
probability: 0.5
|
||||||
|
- alternative: *sol
|
||||||
|
probability: 0.5
|
||||||
|
|
||||||
|
cardinal_directions:
|
||||||
|
east: &dogu
|
||||||
|
canonical: doğu
|
||||||
|
abbreviated: d
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: d
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
west: &bati
|
||||||
|
canonical: batı
|
||||||
|
abbreviated: b
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: b
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
north: &kuzey
|
||||||
|
canonical: kuzey
|
||||||
|
abbreviated: k
|
||||||
|
canonical_probability: 0.95
|
||||||
|
abbreviated_probability: 0.05
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: k
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
south: &guney
|
||||||
|
canonical: güney
|
||||||
|
abbreviated: g
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.75
|
||||||
|
abbreviated_probability: 0.1
|
||||||
|
sample_probability: 0.15
|
||||||
|
numeric:
|
||||||
|
direction: right
|
||||||
|
numeric_affix:
|
||||||
|
affix: g
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.5
|
||||||
|
numeric_affix_probability: 0.5
|
||||||
|
|
||||||
|
alternatives:
|
||||||
|
- alternative: *kuzey
|
||||||
|
probability: 0.25
|
||||||
|
- alternative: *dogu
|
||||||
|
probability: 0.23
|
||||||
|
- alternative: *guney
|
||||||
|
probability: 0.23
|
||||||
|
- alternative: *bati
|
||||||
|
probability: 0.23
|
||||||
|
|
||||||
|
entrances:
|
||||||
|
giris: &giris
|
||||||
|
canonical: giriş
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
# giriş 1, giriş A, etc.
|
||||||
|
alphanumeric: &entrance_alphanumeric
|
||||||
|
default: *giris
|
||||||
|
numeric_probability: 0.1 # e.g. giriş 1
|
||||||
|
alpha_probability: 0.85 # e.g. giriş A
|
||||||
|
numeric_plus_alpha_probability: 0.025 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.025 # e.g. A1
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
|
||||||
|
staircases:
|
||||||
|
merdiven: &merdiven
|
||||||
|
canonical: merdiven
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
|
||||||
|
|
||||||
|
alphanumeric: &staircase_alphanumeric
|
||||||
|
default: *merdiven
|
||||||
|
numeric_probability: 0.75
|
||||||
|
alpha_probability: 0.2
|
||||||
|
numeric_plus_alpha_probability: 0.025
|
||||||
|
alpha_plus_numeric_probability: 0.025
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
directional:
|
||||||
|
direction: right
|
||||||
|
direction_probability: 0.85
|
||||||
|
modifier:
|
||||||
|
alternatives:
|
||||||
|
- alternative: *sag
|
||||||
|
probability: 0.2
|
||||||
|
- alternative: *sol
|
||||||
|
probability: 0.2
|
||||||
|
- alternative: *kuzey
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *guney
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *dogu
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *bati
|
||||||
|
probability: 0.15
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
posta_kutusu: &posta_kutusu
|
||||||
|
canonical: posta kutusu
|
||||||
|
abbreviated: pk
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.2
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.2
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *posta_kutusu
|
||||||
|
numeric_probability: 0.9 # pp 123
|
||||||
|
alpha_probability: 0.05 # p.p A
|
||||||
|
numeric_plus_alpha_probability: 0.04 # pp 123G
|
||||||
|
alpha_plus_numeric_probability: 0.01 # pp A123
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
|
||||||
|
units:
|
||||||
|
daire: &daire
|
||||||
|
canonical: daire
|
||||||
|
abbreviated: d
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.4
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
apartman: &apartman
|
||||||
|
canonical: apartman
|
||||||
|
abbreviated: apt
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.4
|
||||||
|
abbreviated_probability: 0.2
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
|
||||||
|
oda: &oda
|
||||||
|
canonical: oda
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
ofis: &ofis
|
||||||
|
canonical: ofis
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.6
|
||||||
|
sample_probability: 0.4
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.1
|
||||||
|
|
||||||
|
alphanumeric: &unit_alphanumeric
|
||||||
|
default: *daire
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *apartman
|
||||||
|
probability: 0.3
|
||||||
|
- alternative: *oda
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 0.9 # e.g. d. 1
|
||||||
|
numeric_plus_alpha_probability: 0.03 # e.g. 1A
|
||||||
|
alpha_plus_numeric_probability: 0.03 # e.g. A1
|
||||||
|
alpha_probability: 0.04 # e.g. daire A
|
||||||
|
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
|
||||||
|
# If there are 10 floors, create unit numbers like #301 or #1032
|
||||||
|
use_floor_probability: 0.05
|
||||||
|
|
||||||
|
zones:
|
||||||
|
commercial: &commercial_unit_types
|
||||||
|
default: *oda
|
||||||
|
probability: 0.6
|
||||||
|
alternatives:
|
||||||
|
- alternative: *ofis
|
||||||
|
probability: 0.4
|
||||||
|
numeric_probability: 0.95 # e.g. oda 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. oda 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. oda A1
|
||||||
|
alpha_probability: 0.03 # e.g. oda A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
university:
|
||||||
|
default: *oda
|
||||||
|
numeric_probability: 0.95 # e.g. oda 1
|
||||||
|
numeric_plus_alpha_probability: 0.01 # e.g. oda 1A
|
||||||
|
alpha_plus_numeric_probability: 0.01 # e.g. oda A1
|
||||||
|
alpha_probability: 0.03 # e.g. oda A
|
||||||
|
alpha_plus_numeric:
|
||||||
|
whitespace_probability: 0.1
|
||||||
|
numeric_plus_alpha:
|
||||||
|
whitespace_probability: 0.1
|
||||||
1001
resources/addresses/uk.yaml
Normal file
1001
resources/addresses/uk.yaml
Normal file
File diff suppressed because it is too large
Load Diff
292
resources/addresses/zh.yaml
Normal file
292
resources/addresses/zh.yaml
Normal file
@@ -0,0 +1,292 @@
|
|||||||
|
# zh.yaml
|
||||||
|
# -------
|
||||||
|
# Chinese language specification (default is mainland China, Hong Kong below)
|
||||||
|
|
||||||
|
whitespace: false
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.85 # Probability of doing nothing if no floor number is specified
|
||||||
|
alphanumeric_probability: 0.15
|
||||||
|
|
||||||
|
unit:
|
||||||
|
# If no unit number is specified
|
||||||
|
null_probability: 0.6
|
||||||
|
alphanumeric_probability: 0.4
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &hao
|
||||||
|
canonical: 号
|
||||||
|
numeric_affix:
|
||||||
|
affix: 号
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: &hao_traditional
|
||||||
|
canonical: 號
|
||||||
|
numeric_affix:
|
||||||
|
affix: 號
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
probability: 0.2
|
||||||
|
|
||||||
|
house_numbers:
|
||||||
|
alphanumeric:
|
||||||
|
default: *hao
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *hao_traditional
|
||||||
|
probability: 0.2
|
||||||
|
alphanumeric_phrase_probability: 0.6
|
||||||
|
|
||||||
|
levels:
|
||||||
|
lou: &lou
|
||||||
|
canonical: 楼
|
||||||
|
numeric_affix:
|
||||||
|
affix: 楼
|
||||||
|
direction: right
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.5
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.6
|
||||||
|
unicode_full_width_probability: 0.1
|
||||||
|
spellout_probability: 0.3
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
lou_traditional: &lou_traditional
|
||||||
|
canonical: 樓
|
||||||
|
numeric_affix:
|
||||||
|
affix: 樓
|
||||||
|
direction: right
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.5
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.6
|
||||||
|
unicode_full_width_probability: 0.1
|
||||||
|
spellout_probability: 0.3
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
ceng: &ceng
|
||||||
|
canonical: 层
|
||||||
|
numeric_affix:
|
||||||
|
affix: 层
|
||||||
|
direction: right
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.5
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.6
|
||||||
|
unicode_full_width_probability: 0.1
|
||||||
|
spellout_probability: 0.3
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
ceng_traditional: &ceng_traditional
|
||||||
|
canonical: 層
|
||||||
|
numeric_affix:
|
||||||
|
affix: 層
|
||||||
|
direction: right
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.5
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.6
|
||||||
|
unicode_full_width_probability: 0.1
|
||||||
|
spellout_probability: 0.3
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
|
||||||
|
numbering_starts_at: 1
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *lou
|
||||||
|
probability: 0.85
|
||||||
|
alternatives:
|
||||||
|
- alternative: *lou_traditional
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *ceng
|
||||||
|
probability: 0.08
|
||||||
|
- alternative: *ceng_traditional
|
||||||
|
probability: 0.02
|
||||||
|
numeric_probability: 1.0
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
youzheng_xinxiang: &youzheng_xinxiang
|
||||||
|
canonical: 邮政信箱
|
||||||
|
numeric_affix:
|
||||||
|
affix: 邮政信箱
|
||||||
|
direction: left
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
unicode_full_width_probability: 0.5
|
||||||
|
spellout_probability: 0.2
|
||||||
|
use_number_phrase: true
|
||||||
|
use_number_phrase_probability: 0.8
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
youzheng_xinxiang_traditional: &youzheng_xinxiang_traditional
|
||||||
|
canonical: 郵政信箱
|
||||||
|
numeric_affix:
|
||||||
|
affix: 郵政信箱
|
||||||
|
direction: left
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.3
|
||||||
|
unicode_full_width_probability: 0.5
|
||||||
|
spellout_probability: 0.2
|
||||||
|
use_number_phrase: true
|
||||||
|
use_number_phrase_probability: 0.8
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *youzheng_xinxiang
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: *youzheng_xinxiang_traditional
|
||||||
|
probability: 0.1
|
||||||
|
numeric_probability: 1.0
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
postcodes:
|
||||||
|
alphanumeric:
|
||||||
|
default: &youbian
|
||||||
|
canonical: 邮编
|
||||||
|
numeric_affix:
|
||||||
|
affix: 邮编
|
||||||
|
direction: left
|
||||||
|
# null_probability means the chance of doing nothing e.g. just the postal code
|
||||||
|
null_probability: 0.9
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 0.1
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: &youbian_traditional
|
||||||
|
canonical: 郵編
|
||||||
|
numeric_affix:
|
||||||
|
affix: 郵編
|
||||||
|
direction: left
|
||||||
|
# null_probability means the chance of doing nothing e.g. just the postal code
|
||||||
|
null_probability: 0.9
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 0.1
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
units:
|
||||||
|
shi: &shi
|
||||||
|
canonical: 室
|
||||||
|
numeric_affix:
|
||||||
|
affix: 室
|
||||||
|
direction: right
|
||||||
|
add_number_phrase: true
|
||||||
|
add_number_phrase_probability: 0.5
|
||||||
|
digits:
|
||||||
|
ascii_probability: 0.6
|
||||||
|
unicode_full_width_probability: 0.1
|
||||||
|
spellout_probability: 0.3
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *shi
|
||||||
|
numeric_probability: 1.0
|
||||||
|
use_positive_numbers_probability: 1.0
|
||||||
|
# If we have a floor number (from building:levels), use it
|
||||||
|
use_floor_probability: 0.8
|
||||||
|
|
||||||
|
|
||||||
|
countries:
|
||||||
|
# Hong Kong
|
||||||
|
hk:
|
||||||
|
components:
|
||||||
|
# Floor number a little more common in Hong Kong than mainland China
|
||||||
|
level:
|
||||||
|
null_probability: 0.75
|
||||||
|
alphanumeric_probability: 0.25
|
||||||
|
|
||||||
|
numbers: &numbers_prefer_traditional
|
||||||
|
default: *hao_traditional
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative: *hao
|
||||||
|
probability: 0.3
|
||||||
|
|
||||||
|
house_numbers: &house_number_prefer_traditional
|
||||||
|
alphanumeric:
|
||||||
|
default: *hao_traditional
|
||||||
|
probability: 0.7
|
||||||
|
alternatives:
|
||||||
|
- alternative: *hao
|
||||||
|
probability: 0.3
|
||||||
|
alphanumeric_phrase_probability: 0.6
|
||||||
|
|
||||||
|
levels: &levels_prefer_traditional
|
||||||
|
alphanumeric:
|
||||||
|
default: *lou_traditional
|
||||||
|
probability: 0.75
|
||||||
|
alternatives:
|
||||||
|
- alternative: *lou
|
||||||
|
probability: 0.15
|
||||||
|
- alternative: *ceng_traditional
|
||||||
|
probability: 0.06
|
||||||
|
- alternative: *ceng
|
||||||
|
probability: 0.04
|
||||||
|
numeric_probability: 1.0
|
||||||
|
|
||||||
|
po_boxes: &po_boxes_prefer_traditional
|
||||||
|
alphanumeric:
|
||||||
|
default: *youzheng_xinxiang_traditional
|
||||||
|
probability: 0.75
|
||||||
|
alternatives:
|
||||||
|
- alternative: *youzheng_xinxiang
|
||||||
|
probability: 0.25
|
||||||
|
numeric_probability: 1.0
|
||||||
|
|
||||||
|
|
||||||
|
postcodes: &postcodes_prefer_traditional
|
||||||
|
alphanumeric:
|
||||||
|
default: *youbian_traditional
|
||||||
|
probability: 0.75
|
||||||
|
alternatives:
|
||||||
|
- alternative: *youbian
|
||||||
|
probability: 0.25
|
||||||
|
|
||||||
|
# Macau
|
||||||
|
mo:
|
||||||
|
numbers: *numbers_prefer_traditional
|
||||||
|
house_numbers: *house_number_prefer_traditional
|
||||||
|
levels: *levels_prefer_traditional
|
||||||
|
po_boxes: *po_boxes_prefer_traditional
|
||||||
|
postcodes: *postcodes_prefer_traditional
|
||||||
|
|
||||||
|
units:
|
||||||
|
alphanumeric_probability:
|
||||||
|
numeric_probability: 0.9
|
||||||
|
alpha_probability: 0.1
|
||||||
|
|
||||||
|
|
||||||
|
# Taiwan
|
||||||
|
tw:
|
||||||
|
numbers: *numbers_prefer_traditional
|
||||||
|
house_numbers: *house_number_prefer_traditional
|
||||||
|
levels: *levels_prefer_traditional
|
||||||
|
po_boxes: *po_boxes_prefer_traditional
|
||||||
|
postcodes: *postcodes_prefer_traditional
|
||||||
|
|
||||||
|
units:
|
||||||
|
alphanumeric_probability:
|
||||||
|
numeric_probability: 0.9
|
||||||
|
alpha_probability: 0.1
|
||||||
153
resources/addresses/zh_pinyin.yaml
Normal file
153
resources/addresses/zh_pinyin.yaml
Normal file
@@ -0,0 +1,153 @@
|
|||||||
|
# zh_pinyin.yaml
|
||||||
|
# --------------
|
||||||
|
# Chinese (Pinyin)
|
||||||
|
|
||||||
|
whitespace: false
|
||||||
|
|
||||||
|
components:
|
||||||
|
level:
|
||||||
|
null_probability: 0.85 # Probability of doing nothing if no floor number is specified
|
||||||
|
alphanumeric_probability: 0.15
|
||||||
|
|
||||||
|
unit:
|
||||||
|
# If no unit number is specified
|
||||||
|
null_probability: 0.6
|
||||||
|
alphanumeric_probability: 0.4
|
||||||
|
|
||||||
|
numbers:
|
||||||
|
default: &hao
|
||||||
|
canonical: hao
|
||||||
|
numeric_affix:
|
||||||
|
affix: -hao
|
||||||
|
upper_case: false
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
|
||||||
|
house_numbers:
|
||||||
|
alphanumeric:
|
||||||
|
default: *hao
|
||||||
|
alphanumeric_phrase_probability: 0.6
|
||||||
|
|
||||||
|
levels:
|
||||||
|
lou: &lou
|
||||||
|
canonical: lóu
|
||||||
|
numeric_affix:
|
||||||
|
affix: -lóu
|
||||||
|
upper_case: false
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
lou_no_accent: &lou_no_accent
|
||||||
|
canonical: lou
|
||||||
|
numeric_affix:
|
||||||
|
affix: -lou
|
||||||
|
upper_case: false
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
ceng: &ceng
|
||||||
|
canonical: céng
|
||||||
|
numeric_affix:
|
||||||
|
affix: -céng
|
||||||
|
upper_case: false
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
ceng_no_accent: &ceng_no_accent
|
||||||
|
canonical: ceng
|
||||||
|
numeric_affix:
|
||||||
|
affix: -ceng
|
||||||
|
upper_case: false
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
|
||||||
|
numbering_starts_at: 1
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *lou
|
||||||
|
probability: 0.85
|
||||||
|
alternatives:
|
||||||
|
- alternative: *lou_no_accent
|
||||||
|
probability: 0.05
|
||||||
|
- alternative: *ceng
|
||||||
|
probability: 0.08
|
||||||
|
- alternative: *ceng_no_accent
|
||||||
|
probability: 0.02
|
||||||
|
numeric_probability: 1.0
|
||||||
|
|
||||||
|
po_boxes:
|
||||||
|
youzheng_xinxiang: &youzheng_xinxiang
|
||||||
|
canonical: youzheng xinxiang
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
numeric_probability: 1.0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *youzheng_xinxiang
|
||||||
|
numeric_probability: 1.0
|
||||||
|
|
||||||
|
digits:
|
||||||
|
- length: 1
|
||||||
|
probability: 0.05
|
||||||
|
- length: 2
|
||||||
|
probability: 0.1
|
||||||
|
- length: 3
|
||||||
|
probability: 0.2
|
||||||
|
- length: 4
|
||||||
|
probability: 0.5
|
||||||
|
- length: 5
|
||||||
|
probability: 0.1
|
||||||
|
- length: 6
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
|
postcodes:
|
||||||
|
alphanumeric:
|
||||||
|
default: &youbian
|
||||||
|
canonical: yóubiān
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
# null_probability means the chance of doing nothing e.g. just the postal code
|
||||||
|
null_probability: 0.9
|
||||||
|
numeric_probability: 0.1
|
||||||
|
probability: 0.9
|
||||||
|
alternatives:
|
||||||
|
- alternative: &youbian_no_accent
|
||||||
|
canonical: youbian
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
|
# null_probability means the chance of doing nothing e.g. just the postal code
|
||||||
|
null_probability: 0.9
|
||||||
|
numeric_probability: 0.1
|
||||||
|
probability: 0.1
|
||||||
|
|
||||||
|
units:
|
||||||
|
shi: &shi
|
||||||
|
canonical: shì
|
||||||
|
numeric_affix:
|
||||||
|
affix: -shì
|
||||||
|
upper_case: false
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
|
||||||
|
shi_no_accent: &shi_no_accent
|
||||||
|
canonical: shi
|
||||||
|
numeric_affix:
|
||||||
|
affix: -shi
|
||||||
|
upper_case: false
|
||||||
|
direction: right
|
||||||
|
numeric_probability: 0.0
|
||||||
|
numeric_affix_probability: 1.0
|
||||||
|
|
||||||
|
alphanumeric:
|
||||||
|
default: *shi
|
||||||
|
probability: 0.8
|
||||||
|
alternatives:
|
||||||
|
- alternative: *shi_no_accent
|
||||||
|
probability: 0.2
|
||||||
|
numeric_probability: 1.0
|
||||||
|
use_positive_numbers_probability: 1.0
|
||||||
|
# If we have a floor number (from building:levels), use it
|
||||||
|
use_floor_probability: 0.8
|
||||||
2
resources/boundaries/geonames/ad.yaml
Normal file
2
resources/boundaries/geonames/ad.yaml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
admin_codes:
|
||||||
|
admin1: state
|
||||||
3
resources/boundaries/geonames/ar.yaml
Normal file
3
resources/boundaries/geonames/ar.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
admin_codes:
|
||||||
|
admin1: state
|
||||||
|
admin2: state_district
|
||||||
3
resources/boundaries/geonames/at.yaml
Normal file
3
resources/boundaries/geonames/at.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
admin_codes:
|
||||||
|
admin1: state
|
||||||
|
# admin2 is a mix of state_district and city, need to list specifically
|
||||||
3
resources/boundaries/geonames/au.yaml
Normal file
3
resources/boundaries/geonames/au.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
admin_codes:
|
||||||
|
admin1: state
|
||||||
|
# admin2 is a mix of state_district and city, need to list specifically
|
||||||
3
resources/boundaries/geonames/ax.yaml
Normal file
3
resources/boundaries/geonames/ax.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
admin_codes:
|
||||||
|
admin1: state
|
||||||
|
admin2: city
|
||||||
3
resources/boundaries/geonames/bd.yaml
Normal file
3
resources/boundaries/geonames/bd.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
admin_codes:
|
||||||
|
admin1: state
|
||||||
|
# unclear what admin2 is, maybe city
|
||||||
3
resources/boundaries/geonames/be.yaml
Normal file
3
resources/boundaries/geonames/be.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
admin_codes:
|
||||||
|
admin1: state
|
||||||
|
admin2: state_district
|
||||||
3
resources/boundaries/geonames/bg.yaml
Normal file
3
resources/boundaries/geonames/bg.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
admin_codes:
|
||||||
|
admin1: state
|
||||||
|
admin2: city
|
||||||
3
resources/boundaries/geonames/br.yaml
Normal file
3
resources/boundaries/geonames/br.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
admin_codes:
|
||||||
|
admin1: state
|
||||||
|
admin2: city
|
||||||
3
resources/boundaries/geonames/ca.yaml
Normal file
3
resources/boundaries/geonames/ca.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
admin_codes:
|
||||||
|
admin1: state
|
||||||
|
admin2: state_district
|
||||||
3
resources/boundaries/geonames/ch.yaml
Normal file
3
resources/boundaries/geonames/ch.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
admin_codes:
|
||||||
|
admin1: state
|
||||||
|
admin2: state_district
|
||||||
4
resources/boundaries/geonames/cz.yaml
Normal file
4
resources/boundaries/geonames/cz.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
admin_codes:
|
||||||
|
# The GeoNames admin1 boundaries are admin_level=5 or 6 in OSM
|
||||||
|
# However, they do appear to be states, might need to update Czech OSM config
|
||||||
|
admin1: state_district
|
||||||
3
resources/boundaries/geonames/de.yaml
Normal file
3
resources/boundaries/geonames/de.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
admin_codes:
|
||||||
|
admin1: state
|
||||||
|
admin2: state_district
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user