diff --git a/.circleci/config.yml b/.circleci/config.yml index 79d4bde..c1df9db 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,7 +20,7 @@ jobs: command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" - run: name: "Install Rust" - command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.56.0" - run: name: "Install Clippy" command: "~/.cargo/bin/rustup component add clippy" diff --git a/.history/.circleci/config_20200818095838.yml b/.history/.circleci/config_20200818095838.yml new file mode 100644 index 0000000..65d2668 --- /dev/null +++ b/.history/.circleci/config_20200818095838.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428152756.yml b/.history/.circleci/config_20220428152756.yml new file mode 100644 index 0000000..32624d8 --- /dev/null +++ b/.history/.circleci/config_20220428152756.yml @@ -0,0 +1,41 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + echo "//registry.npmjs.org/:_authToken=$NPMAccessToken" > ./.npmrc + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428152758.yml b/.history/.circleci/config_20220428152758.yml new file mode 100644 index 0000000..65d2668 --- /dev/null +++ b/.history/.circleci/config_20220428152758.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428152802.yml b/.history/.circleci/config_20220428152802.yml new file mode 100644 index 0000000..3aaad81 --- /dev/null +++ b/.history/.circleci/config_20220428152802.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: echo "//registry.npmjs.org/:_authToken=$NPMAccessToken" > ./.npmrc + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428152805.yml b/.history/.circleci/config_20220428152805.yml new file mode 100644 index 0000000..65d2668 --- /dev/null +++ b/.history/.circleci/config_20220428152805.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428152809.yml b/.history/.circleci/config_20220428152809.yml new file mode 100644 index 0000000..732e612 --- /dev/null +++ b/.history/.circleci/config_20220428152809.yml @@ -0,0 +1,41 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + command: echo "//registry.npmjs.org/:_authToken=$NPMAccessToken" > ./.npmrc + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428152820.yml b/.history/.circleci/config_20220428152820.yml new file mode 100644 index 0000000..2deb1e6 --- /dev/null +++ b/.history/.circleci/config_20220428152820.yml @@ -0,0 +1,41 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPMAccessToken\" > ~/.npmrc" + command: echo "//registry.npmjs.org/:_authToken=$NPMAccessToken" > ./.npmrc + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428152821.yml b/.history/.circleci/config_20220428152821.yml new file mode 100644 index 0000000..d7bcc0d --- /dev/null +++ b/.history/.circleci/config_20220428152821.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPMAccessToken\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160251.yml b/.history/.circleci/config_20220428160251.yml new file mode 100644 index 0000000..65d2668 --- /dev/null +++ b/.history/.circleci/config_20220428160251.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160418.yml b/.history/.circleci/config_20220428160418.yml new file mode 100644 index 0000000..c76d039 --- /dev/null +++ b/.history/.circleci/config_20220428160418.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 14.16.0 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160419.yml b/.history/.circleci/config_20220428160419.yml new file mode 100644 index 0000000..65d2668 --- /dev/null +++ b/.history/.circleci/config_20220428160419.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160428.yml b/.history/.circleci/config_20220428160428.yml new file mode 100644 index 0000000..ba6db78 --- /dev/null +++ b/.history/.circleci/config_20220428160428.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 14.16.0 && nvm use 14.16.0 && nvm alias default 14.16.0" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160623.yml b/.history/.circleci/config_20220428160623.yml new file mode 100644 index 0000000..ac45373 --- /dev/null +++ b/.history/.circleci/config_20220428160623.yml @@ -0,0 +1,41 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + + command: "source ~/.bashrc && nvm install 14.16.0 && nvm use 14.16.0 && nvm alias default 14.16.0" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160627.yml b/.history/.circleci/config_20220428160627.yml new file mode 100644 index 0000000..ea7ba77 --- /dev/null +++ b/.history/.circleci/config_20220428160627.yml @@ -0,0 +1,41 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "nvm use --delete-prefix v6.1.0 --silent" + command: "source ~/.bashrc && nvm install 14.16.0 && nvm use 14.16.0 && nvm alias default 14.16.0" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160632.yml b/.history/.circleci/config_20220428160632.yml new file mode 100644 index 0000000..65d2668 --- /dev/null +++ b/.history/.circleci/config_20220428160632.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160637.yml b/.history/.circleci/config_20220428160637.yml new file mode 100644 index 0000000..dc46995 --- /dev/null +++ b/.history/.circleci/config_20220428160637.yml @@ -0,0 +1,41 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "nvm use --delete-prefix v6.1.0 --silent" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160639.yml b/.history/.circleci/config_20220428160639.yml new file mode 100644 index 0000000..2ddd24b --- /dev/null +++ b/.history/.circleci/config_20220428160639.yml @@ -0,0 +1,41 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "nvm use --delete-prefix v6.1.0 --silent" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160641.yml b/.history/.circleci/config_20220428160641.yml new file mode 100644 index 0000000..5f8f709 --- /dev/null +++ b/.history/.circleci/config_20220428160641.yml @@ -0,0 +1,41 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "nvm use --delete-prefix v6.1.0 --silent" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160722.yml b/.history/.circleci/config_20220428160722.yml new file mode 100644 index 0000000..7ab7b53 --- /dev/null +++ b/.history/.circleci/config_20220428160722.yml @@ -0,0 +1,44 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "nvm use --delete-prefix v6.1.0 --silent" + - run: + name: "Locked NPM Version" + command: "nvm use --delete-prefix v6.1.0 --silent" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160724.yml b/.history/.circleci/config_20220428160724.yml new file mode 100644 index 0000000..d1297ac --- /dev/null +++ b/.history/.circleci/config_20220428160724.yml @@ -0,0 +1,43 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "nvm use --delete-prefix v6.1.0 --silent" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160726.yml b/.history/.circleci/config_20220428160726.yml new file mode 100644 index 0000000..23ea986 --- /dev/null +++ b/.history/.circleci/config_20220428160726.yml @@ -0,0 +1,43 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "nvm use --delete-prefix v6.1.0 --silent" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160729.yml b/.history/.circleci/config_20220428160729.yml new file mode 100644 index 0000000..7ab7b53 --- /dev/null +++ b/.history/.circleci/config_20220428160729.yml @@ -0,0 +1,44 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "nvm use --delete-prefix v6.1.0 --silent" + - run: + name: "Locked NPM Version" + command: "nvm use --delete-prefix v6.1.0 --silent" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160732.yml b/.history/.circleci/config_20220428160732.yml new file mode 100644 index 0000000..5f8f709 --- /dev/null +++ b/.history/.circleci/config_20220428160732.yml @@ -0,0 +1,41 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "nvm use --delete-prefix v6.1.0 --silent" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160736.yml b/.history/.circleci/config_20220428160736.yml new file mode 100644 index 0000000..6450e7a --- /dev/null +++ b/.history/.circleci/config_20220428160736.yml @@ -0,0 +1,44 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "nvm use --delete-prefix v6.1.0 --silent" + - run: + name: "Locked NPM Version" + command: "nvm use --delete-prefix v6.1.0 --silent" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160738.yml b/.history/.circleci/config_20220428160738.yml new file mode 100644 index 0000000..94f783f --- /dev/null +++ b/.history/.circleci/config_20220428160738.yml @@ -0,0 +1,44 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "nvm use --delete-prefix v6.1.0 --silent" + - run: + name: "Locked NPM Version" + command: "nvm use --delete-prefix v6.1.0 --silent" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160745.yml b/.history/.circleci/config_20220428160745.yml new file mode 100644 index 0000000..4376dff --- /dev/null +++ b/.history/.circleci/config_20220428160745.yml @@ -0,0 +1,44 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Unset NPM version" + command: "nvm use --delete-prefix v6.1.0 --silent" + - run: + name: "Locked NPM Version" + command: "nvm use --delete-prefix v6.1.0 --silent" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160746.yml b/.history/.circleci/config_20220428160746.yml new file mode 100644 index 0000000..96e437a --- /dev/null +++ b/.history/.circleci/config_20220428160746.yml @@ -0,0 +1,43 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Unset NPM version" + command: "nvm use --delete-prefix v6.1.0 --silent" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160836.yml b/.history/.circleci/config_20220428160836.yml new file mode 100644 index 0000000..ea79f7e --- /dev/null +++ b/.history/.circleci/config_20220428160836.yml @@ -0,0 +1,43 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Unset NPM version" + command: "nvm use --delete-prefix v6.1.0 --silent" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160839.yml b/.history/.circleci/config_20220428160839.yml new file mode 100644 index 0000000..93c08cc --- /dev/null +++ b/.history/.circleci/config_20220428160839.yml @@ -0,0 +1,43 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Unset NPM version" + command: "nvm use --delete-prefix v6.1.0 --silent" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160934.yml b/.history/.circleci/config_20220428160934.yml new file mode 100644 index 0000000..69b08b5 --- /dev/null +++ b/.history/.circleci/config_20220428160934.yml @@ -0,0 +1,43 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Unset NPM version" + command: "nvm use --delete-prefix v6.1.0 --silent" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use --delete-prefix v6.1.0 --silent && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428160936.yml b/.history/.circleci/config_20220428160936.yml new file mode 100644 index 0000000..7bab9f4 --- /dev/null +++ b/.history/.circleci/config_20220428160936.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use --delete-prefix v6.1.0 --silent && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428161246.yml b/.history/.circleci/config_20220428161246.yml new file mode 100644 index 0000000..d852adf --- /dev/null +++ b/.history/.circleci/config_20220428161246.yml @@ -0,0 +1,66 @@ +version: 2 + +version: 0.2 + +env: + shell: bash + git-credential-helper: yes + +phases: + install: + runtime-versions: + nodejs: 12 + python: 3.7 + commands: + - curl -Ls https://mapbox-release-engineering.s3.amazonaws.com/mbx-ci/latest/mbx-ci-linux-amd64 > mbx-ci && chmod 755 ./mbx-ci + - echo "CURRENT DIRECTORY..." && /bin/bash -c pwd + - "chmod +x ./.githooks/*" + - echo "//registry.npmjs.org/:_authToken=$NPMAccessToken" > ./.npmrc + - git config --global url."https://".insteadOf git:// + - npm install + pre_build: + commands: + - echo "CURRENT DIRECTORY..." && /bin/bash -c pwd + build: + commands: + - SPARK_VERSION=3.0.1 bin/docker.sh pipelines/addresses_pipeline ./codebuild.sh + + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use --delete-prefix v6.1.0 --silent && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428161252.yml b/.history/.circleci/config_20220428161252.yml new file mode 100644 index 0000000..000568a --- /dev/null +++ b/.history/.circleci/config_20220428161252.yml @@ -0,0 +1,58 @@ +version: 2 + +version: 0.2 + +env: + shell: bash + git-credential-helper: yes + +phases: + install: + runtime-versions: + nodejs: 12 + python: 3.7 + commands: + - curl -Ls https://mapbox-release-engineering.s3.amazonaws.com/mbx-ci/latest/mbx-ci-linux-amd64 > mbx-ci && chmod 755 ./mbx-ci + - echo "CURRENT DIRECTORY..." && /bin/bash -c pwd + - "chmod +x ./.githooks/*" + - echo "//registry.npmjs.org/:_authToken=$NPMAccessToken" > ./.npmrc + - git config --global url."https://".insteadOf git:// + - npm install + + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use --delete-prefix v6.1.0 --silent && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428161319.yml b/.history/.circleci/config_20220428161319.yml new file mode 100644 index 0000000..88c3de3 --- /dev/null +++ b/.history/.circleci/config_20220428161319.yml @@ -0,0 +1,58 @@ +version: 2 + +version: 0.2 + +env: + shell: bash + git-credential-helper: yes + +phases: + install: + runtime-versions: + nodejs: 12 + python: 3.7 + commands: + - curl -Ls https://mapbox-release-engineering.s3.amazonaws.com/mbx-ci/latest/mbx-ci-linux-amd64 > mbx-ci && chmod 755 ./mbx-ci + - echo "CURRENT DIRECTORY..." && /bin/bash -c pwd + - "chmod +x ./.githooks/*" + - echo "//registry.npmjs.org/:_authToken=$NPMAccessToken" > ./.npmrc + - git config --global url."https://".insteadOf git:// + - npm install + + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPMAccessToken\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use --delete-prefix v6.1.0 --silent && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428161331.yml b/.history/.circleci/config_20220428161331.yml new file mode 100644 index 0000000..eb3e45b --- /dev/null +++ b/.history/.circleci/config_20220428161331.yml @@ -0,0 +1,58 @@ +version: 2 + +version: 0.2 + +env: + shell: bash + git-credential-helper: yes + +phases: + install: + runtime-versions: + nodejs: 12 + python: 3.7 + commands: + - curl -Ls https://mapbox-release-engineering.s3.amazonaws.com/mbx-ci/latest/mbx-ci-linux-amd64 > mbx-ci && chmod 755 ./mbx-ci + - echo "CURRENT DIRECTORY..." && /bin/bash -c pwd + - "chmod +x ./.githooks/*" + - echo "//registry.npmjs.org/:_authToken=$NPMAccessToken" > ./.npmrc + - git config --global url."https://".insteadOf git:// + - npm install + + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPMAccessToken\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "npm install" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428161334.yml b/.history/.circleci/config_20220428161334.yml new file mode 100644 index 0000000..6ca574b --- /dev/null +++ b/.history/.circleci/config_20220428161334.yml @@ -0,0 +1,58 @@ +version: 2 + +version: 0.2 + +env: + shell: bash + git-credential-helper: yes + +phases: + install: + runtime-versions: + nodejs: 12 + python: 3.7 + commands: + - curl -Ls https://mapbox-release-engineering.s3.amazonaws.com/mbx-ci/latest/mbx-ci-linux-amd64 > mbx-ci && chmod 755 ./mbx-ci + - echo "CURRENT DIRECTORY..." && /bin/bash -c pwd + - "chmod +x ./.githooks/*" + - echo "//registry.npmjs.org/:_authToken=$NPMAccessToken" > ./.npmrc + - git config --global url."https://".insteadOf git:// + - npm install + + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPMAccessToken\" > ~/.npmrc" + - run: + name: "npm install" + command: "npm install" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428161337.yml b/.history/.circleci/config_20220428161337.yml new file mode 100644 index 0000000..a3e949b --- /dev/null +++ b/.history/.circleci/config_20220428161337.yml @@ -0,0 +1,41 @@ +version: 2 + +version: 0.2 + + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPMAccessToken\" > ~/.npmrc" + - run: + name: "npm install" + command: "npm install" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428161339.yml b/.history/.circleci/config_20220428161339.yml new file mode 100644 index 0000000..f0121f2 --- /dev/null +++ b/.history/.circleci/config_20220428161339.yml @@ -0,0 +1,40 @@ +version: 2 + +version: 0.2 + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPMAccessToken\" > ~/.npmrc" + - run: + name: "npm install" + command: "npm install" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428161656.yml b/.history/.circleci/config_20220428161656.yml new file mode 100644 index 0000000..d852adf --- /dev/null +++ b/.history/.circleci/config_20220428161656.yml @@ -0,0 +1,66 @@ +version: 2 + +version: 0.2 + +env: + shell: bash + git-credential-helper: yes + +phases: + install: + runtime-versions: + nodejs: 12 + python: 3.7 + commands: + - curl -Ls https://mapbox-release-engineering.s3.amazonaws.com/mbx-ci/latest/mbx-ci-linux-amd64 > mbx-ci && chmod 755 ./mbx-ci + - echo "CURRENT DIRECTORY..." && /bin/bash -c pwd + - "chmod +x ./.githooks/*" + - echo "//registry.npmjs.org/:_authToken=$NPMAccessToken" > ./.npmrc + - git config --global url."https://".insteadOf git:// + - npm install + pre_build: + commands: + - echo "CURRENT DIRECTORY..." && /bin/bash -c pwd + build: + commands: + - SPARK_VERSION=3.0.1 bin/docker.sh pipelines/addresses_pipeline ./codebuild.sh + + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use --delete-prefix v6.1.0 --silent && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428161701.yml b/.history/.circleci/config_20220428161701.yml new file mode 100644 index 0000000..88c3de3 --- /dev/null +++ b/.history/.circleci/config_20220428161701.yml @@ -0,0 +1,58 @@ +version: 2 + +version: 0.2 + +env: + shell: bash + git-credential-helper: yes + +phases: + install: + runtime-versions: + nodejs: 12 + python: 3.7 + commands: + - curl -Ls https://mapbox-release-engineering.s3.amazonaws.com/mbx-ci/latest/mbx-ci-linux-amd64 > mbx-ci && chmod 755 ./mbx-ci + - echo "CURRENT DIRECTORY..." && /bin/bash -c pwd + - "chmod +x ./.githooks/*" + - echo "//registry.npmjs.org/:_authToken=$NPMAccessToken" > ./.npmrc + - git config --global url."https://".insteadOf git:// + - npm install + + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPMAccessToken\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use --delete-prefix v6.1.0 --silent && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428161706.yml b/.history/.circleci/config_20220428161706.yml new file mode 100644 index 0000000..93c08cc --- /dev/null +++ b/.history/.circleci/config_20220428161706.yml @@ -0,0 +1,43 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Unset NPM version" + command: "nvm use --delete-prefix v6.1.0 --silent" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428161709.yml b/.history/.circleci/config_20220428161709.yml new file mode 100644 index 0000000..69b08b5 --- /dev/null +++ b/.history/.circleci/config_20220428161709.yml @@ -0,0 +1,43 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Unset NPM version" + command: "nvm use --delete-prefix v6.1.0 --silent" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use --delete-prefix v6.1.0 --silent && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428161713.yml b/.history/.circleci/config_20220428161713.yml new file mode 100644 index 0000000..ea79f7e --- /dev/null +++ b/.history/.circleci/config_20220428161713.yml @@ -0,0 +1,43 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Unset NPM version" + command: "nvm use --delete-prefix v6.1.0 --silent" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428161714.yml b/.history/.circleci/config_20220428161714.yml new file mode 100644 index 0000000..93c08cc --- /dev/null +++ b/.history/.circleci/config_20220428161714.yml @@ -0,0 +1,43 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Unset NPM version" + command: "nvm use --delete-prefix v6.1.0 --silent" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428161716.yml b/.history/.circleci/config_20220428161716.yml new file mode 100644 index 0000000..4376dff --- /dev/null +++ b/.history/.circleci/config_20220428161716.yml @@ -0,0 +1,44 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Unset NPM version" + command: "nvm use --delete-prefix v6.1.0 --silent" + - run: + name: "Locked NPM Version" + command: "nvm use --delete-prefix v6.1.0 --silent" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428161718.yml b/.history/.circleci/config_20220428161718.yml new file mode 100644 index 0000000..96e437a --- /dev/null +++ b/.history/.circleci/config_20220428161718.yml @@ -0,0 +1,43 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Unset NPM version" + command: "nvm use --delete-prefix v6.1.0 --silent" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428161723.yml b/.history/.circleci/config_20220428161723.yml new file mode 100644 index 0000000..65d2668 --- /dev/null +++ b/.history/.circleci/config_20220428161723.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220428161724.yml b/.history/.circleci/config_20220428161724.yml new file mode 100644 index 0000000..d7bcc0d --- /dev/null +++ b/.history/.circleci/config_20220428161724.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPMAccessToken\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429083802.yml b/.history/.circleci/config_20220429083802.yml new file mode 100644 index 0000000..8a2f339 --- /dev/null +++ b/.history/.circleci/config_20220429083802.yml @@ -0,0 +1,42 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + + "npm config delete prefix" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429083807.yml b/.history/.circleci/config_20220429083807.yml new file mode 100644 index 0000000..7fadf6a --- /dev/null +++ b/.history/.circleci/config_20220429083807.yml @@ -0,0 +1,45 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + + "npm config delete prefix" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429083809.yml b/.history/.circleci/config_20220429083809.yml new file mode 100644 index 0000000..1d514f4 --- /dev/null +++ b/.history/.circleci/config_20220429083809.yml @@ -0,0 +1,45 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + + "npm config delete prefix" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429083811.yml b/.history/.circleci/config_20220429083811.yml new file mode 100644 index 0000000..40d70af --- /dev/null +++ b/.history/.circleci/config_20220429083811.yml @@ -0,0 +1,45 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + + "npm config delete prefix" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429083817.yml b/.history/.circleci/config_20220429083817.yml new file mode 100644 index 0000000..f3242d5 --- /dev/null +++ b/.history/.circleci/config_20220429083817.yml @@ -0,0 +1,45 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Delete pr" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + + "npm config delete prefix" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429083825.yml b/.history/.circleci/config_20220429083825.yml new file mode 100644 index 0000000..e3815bb --- /dev/null +++ b/.history/.circleci/config_20220429083825.yml @@ -0,0 +1,45 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Delete NPM prefix" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + + "npm config delete prefix" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429083827.yml b/.history/.circleci/config_20220429083827.yml new file mode 100644 index 0000000..a70aa04 --- /dev/null +++ b/.history/.circleci/config_20220429083827.yml @@ -0,0 +1,45 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Delete NPM prefix" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + + "" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429083829.yml b/.history/.circleci/config_20220429083829.yml new file mode 100644 index 0000000..e2c7fa9 --- /dev/null +++ b/.history/.circleci/config_20220429083829.yml @@ -0,0 +1,45 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Delete NPM prefix" + command: "npm config delete prefix" + + "" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429083831.yml b/.history/.circleci/config_20220429083831.yml new file mode 100644 index 0000000..0a26ac1 --- /dev/null +++ b/.history/.circleci/config_20220429083831.yml @@ -0,0 +1,43 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Delete NPM prefix" + command: "npm config delete prefix" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084111.yml b/.history/.circleci/config_20220429084111.yml new file mode 100644 index 0000000..e961109 --- /dev/null +++ b/.history/.circleci/config_20220429084111.yml @@ -0,0 +1,43 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Delete NPM prefix" + command: "npm config delete prefix" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084214.yml b/.history/.circleci/config_20220429084214.yml new file mode 100644 index 0000000..c78d9d1 --- /dev/null +++ b/.history/.circleci/config_20220429084214.yml @@ -0,0 +1,46 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Delete NPM prefix" + command: "npm config delete prefix" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084216.yml b/.history/.circleci/config_20220429084216.yml new file mode 100644 index 0000000..1240c90 --- /dev/null +++ b/.history/.circleci/config_20220429084216.yml @@ -0,0 +1,52 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Delete NPM prefix" + command: "npm config delete prefix" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084218.yml b/.history/.circleci/config_20220429084218.yml new file mode 100644 index 0000000..c45298d --- /dev/null +++ b/.history/.circleci/config_20220429084218.yml @@ -0,0 +1,52 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Delete NPM prefix" + command: "npm config delete prefix" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084220.yml b/.history/.circleci/config_20220429084220.yml new file mode 100644 index 0000000..cf63b0e --- /dev/null +++ b/.history/.circleci/config_20220429084220.yml @@ -0,0 +1,52 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Delete NPM prefix" + command: "npm config delete prefix" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084223.yml b/.history/.circleci/config_20220429084223.yml new file mode 100644 index 0000000..ce45ded --- /dev/null +++ b/.history/.circleci/config_20220429084223.yml @@ -0,0 +1,49 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084229.yml b/.history/.circleci/config_20220429084229.yml new file mode 100644 index 0000000..ccad174 --- /dev/null +++ b/.history/.circleci/config_20220429084229.yml @@ -0,0 +1,49 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "source ~/.bashrc" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084234.yml b/.history/.circleci/config_20220429084234.yml new file mode 100644 index 0000000..dfbedef --- /dev/null +++ b/.history/.circleci/config_20220429084234.yml @@ -0,0 +1,49 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "source ~/.bashrc" + command: "source ~/.bashrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084237.yml b/.history/.circleci/config_20220429084237.yml new file mode 100644 index 0000000..f981717 --- /dev/null +++ b/.history/.circleci/config_20220429084237.yml @@ -0,0 +1,49 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "source ~/.bashrc" + command: "source ~/.bashrc" + - run: + name: "Locked NPM Version" + command: "nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084242.yml b/.history/.circleci/config_20220429084242.yml new file mode 100644 index 0000000..8475c6b --- /dev/null +++ b/.history/.circleci/config_20220429084242.yml @@ -0,0 +1,49 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "source ~/.bashrc" + command: "source ~/.bashrc" + - run: + name: "nvm install 8.11.3" + command: "nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084246.yml b/.history/.circleci/config_20220429084246.yml new file mode 100644 index 0000000..23447d4 --- /dev/null +++ b/.history/.circleci/config_20220429084246.yml @@ -0,0 +1,49 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "source ~/.bashrc" + command: "source ~/.bashrc" + - run: + name: "nvm install 8.11.3" + command: "nvm install 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084249.yml b/.history/.circleci/config_20220429084249.yml new file mode 100644 index 0000000..5aa0bbe --- /dev/null +++ b/.history/.circleci/config_20220429084249.yml @@ -0,0 +1,49 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "source ~/.bashrc" + command: "source ~/.bashrc" + - run: + name: "nvm install 8.11.3" + command: "nvm install 8.11.3" + - run: + name: "Locked NPM Version" + command: "nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084254.yml b/.history/.circleci/config_20220429084254.yml new file mode 100644 index 0000000..8d84539 --- /dev/null +++ b/.history/.circleci/config_20220429084254.yml @@ -0,0 +1,49 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "source ~/.bashrc" + command: "source ~/.bashrc" + - run: + name: "nvm install 8.11.3" + command: "nvm install 8.11.3" + - run: + name: "nvm use 8.11.3" + command: "nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084258.yml b/.history/.circleci/config_20220429084258.yml new file mode 100644 index 0000000..64cba49 --- /dev/null +++ b/.history/.circleci/config_20220429084258.yml @@ -0,0 +1,49 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "source ~/.bashrc" + command: "source ~/.bashrc" + - run: + name: "nvm install 8.11.3" + command: "nvm install 8.11.3" + - run: + name: "nvm use 8.11.3" + command: "nvm use 8.11.3" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084301.yml b/.history/.circleci/config_20220429084301.yml new file mode 100644 index 0000000..612ea78 --- /dev/null +++ b/.history/.circleci/config_20220429084301.yml @@ -0,0 +1,49 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "source ~/.bashrc" + command: "source ~/.bashrc" + - run: + name: "nvm install 8.11.3" + command: "nvm install 8.11.3" + - run: + name: "nvm use 8.11.3" + command: "nvm use 8.11.3" + - run: + name: "Locked NPM Version" + command: "nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084306.yml b/.history/.circleci/config_20220429084306.yml new file mode 100644 index 0000000..ee28034 --- /dev/null +++ b/.history/.circleci/config_20220429084306.yml @@ -0,0 +1,49 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "source ~/.bashrc" + command: "source ~/.bashrc" + - run: + name: "nvm install 8.11.3" + command: "nvm install 8.11.3" + - run: + name: "nvm use 8.11.3" + command: "nvm use 8.11.3" + - run: + name: "nvm alias default 8.11.3" + command: "nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084323.yml b/.history/.circleci/config_20220429084323.yml new file mode 100644 index 0000000..f0500d6 --- /dev/null +++ b/.history/.circleci/config_20220429084323.yml @@ -0,0 +1,49 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "source ~/.bashrc" + command: "source ~/.bashrc" + - run: + name: "nvm install 8.11.3" + command: "nvm install 8.11.3" + - run: + name: "nvm use 8.11.3" + command: "nvm use 8.11.3" + - run: + name: "nvm alias default 8.11.3" + command: "nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084325.yml b/.history/.circleci/config_20220429084325.yml new file mode 100644 index 0000000..8425d34 --- /dev/null +++ b/.history/.circleci/config_20220429084325.yml @@ -0,0 +1,49 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "source ~/.bashrc" + command: "source ~/.bashrc" + - run: + name: "nvm install 8.11.3" + command: "nvm install 8.11.3" + - run: + name: "nvm use 8.11.3" + command: "nvm use 8.11.3" + - run: + name: "nvm alias default 8.11.3" + command: "nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084327.yml b/.history/.circleci/config_20220429084327.yml new file mode 100644 index 0000000..9f4e3db --- /dev/null +++ b/.history/.circleci/config_20220429084327.yml @@ -0,0 +1,49 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "source ~/.bashrc" + command: "source ~/.bashrc" + - run: + name: "nvm install 8.11.3" + command: "nvm install 8.11.3" + - run: + name: "nvm use 8.11.3" + command: "nvm use 8.11.3" + - run: + name: "nvm alias default 8.11.3" + command: "nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084329.yml b/.history/.circleci/config_20220429084329.yml new file mode 100644 index 0000000..1001f91 --- /dev/null +++ b/.history/.circleci/config_20220429084329.yml @@ -0,0 +1,49 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "source ~/.bashrc" + command: "source ~/.bashrc" + - run: + name: "nvm install 8.11.3" + command: "nvm install 8.11.3" + - run: + name: "nvm use 8.11.3" + command: "nvm use 8.11.3" + - run: + name: "nvm alias default 8.11.3" + command: "nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084621.yml b/.history/.circleci/config_20220429084621.yml new file mode 100644 index 0000000..65d2668 --- /dev/null +++ b/.history/.circleci/config_20220429084621.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084625.yml b/.history/.circleci/config_20220429084625.yml new file mode 100644 index 0000000..ef1498e --- /dev/null +++ b/.history/.circleci/config_20220429084625.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084702.yml b/.history/.circleci/config_20220429084702.yml new file mode 100644 index 0000000..f5926be --- /dev/null +++ b/.history/.circleci/config_20220429084702.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084704.yml b/.history/.circleci/config_20220429084704.yml new file mode 100644 index 0000000..7a401b3 --- /dev/null +++ b/.history/.circleci/config_20220429084704.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084727.yml b/.history/.circleci/config_20220429084727.yml new file mode 100644 index 0000000..ef1498e --- /dev/null +++ b/.history/.circleci/config_20220429084727.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084729.yml b/.history/.circleci/config_20220429084729.yml new file mode 100644 index 0000000..3bc7047 --- /dev/null +++ b/.history/.circleci/config_20220429084729.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm use --delete-prefix v6.1.0 --silent nvm install 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084733.yml b/.history/.circleci/config_20220429084733.yml new file mode 100644 index 0000000..823aa22 --- /dev/null +++ b/.history/.circleci/config_20220429084733.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm use --delete-prefix v6.1.0 --silent && nvm install 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084842.yml b/.history/.circleci/config_20220429084842.yml new file mode 100644 index 0000000..28b71e9 --- /dev/null +++ b/.history/.circleci/config_20220429084842.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && npm config delete prefix --silent && nvm install 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429084843.yml b/.history/.circleci/config_20220429084843.yml new file mode 100644 index 0000000..d45bbff --- /dev/null +++ b/.history/.circleci/config_20220429084843.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && npm config delete prefix --silent && nvm install 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429100546.yml b/.history/.circleci/config_20220429100546.yml new file mode 100644 index 0000000..264e565 --- /dev/null +++ b/.history/.circleci/config_20220429100546.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3 && npm config delete prefix --silent" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429101846.yml b/.history/.circleci/config_20220429101846.yml new file mode 100644 index 0000000..e092c81 --- /dev/null +++ b/.history/.circleci/config_20220429101846.yml @@ -0,0 +1,40 @@ +version: 2 + +jobs: + build: + machine: true + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && npm config delete prefix v6.1.0 --silent && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/.circleci/config_20220429103032.yml b/.history/.circleci/config_20220429103032.yml new file mode 100644 index 0000000..79d4bde --- /dev/null +++ b/.history/.circleci/config_20220429103032.yml @@ -0,0 +1,41 @@ +version: 2 + +jobs: + build: + machine: + image: ubuntu-2004:202201-02 + parallelism: 1 + steps: + - run: + name: "Install Yarn PPAs" + command: "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list" + - run: + name: "Update APT Cache & Install latest yarn" + command: "sudo apt-get -y update && sudo apt-get install -y yarn curl" + - run: + name: "Auth NPM" + command: "echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > ~/.npmrc" + - run: + name: "Locked NPM Version" + command: "source ~/.bashrc && nvm install 8.11.3 && nvm use 8.11.3 && nvm alias default 8.11.3" + - run: + name: "Install Rust" + command: "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.34.0" + - run: + name: "Install Clippy" + command: "~/.cargo/bin/rustup component add clippy" + + - checkout + + - run: + name: "yarn install" + command: "source ~/.bashrc && yarn install" + - run: + name: "yarn test" + command: "source ~/.bashrc && yarn test" + - run: + name: "cargo test" + command: "~/.cargo/bin/cargo test" + - run: + name: "cargo clippy" + command: "~/.cargo/bin/cargo clippy --all-targets --all-features -- -D warnings" diff --git a/.history/CHANGELOG_20220524105545.md b/.history/CHANGELOG_20220524105545.md new file mode 100644 index 0000000..a767b02 --- /dev/null +++ b/.history/CHANGELOG_20220524105545.md @@ -0,0 +1,137 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + + + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/CHANGELOG_20220524105547.md b/.history/CHANGELOG_20220524105547.md new file mode 100644 index 0000000..7b2e9ec --- /dev/null +++ b/.history/CHANGELOG_20220524105547.md @@ -0,0 +1,139 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/CHANGELOG_20220524105550.md b/.history/CHANGELOG_20220524105550.md new file mode 100644 index 0000000..dd7c729 --- /dev/null +++ b/.history/CHANGELOG_20220524105550.md @@ -0,0 +1,139 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/CHANGELOG_20220524105556.md b/.history/CHANGELOG_20220524105556.md new file mode 100644 index 0000000..5d21836 --- /dev/null +++ b/.history/CHANGELOG_20220524105556.md @@ -0,0 +1,139 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space for additional countries. + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/CHANGELOG_20220524110626.md b/.history/CHANGELOG_20220524110626.md new file mode 100644 index 0000000..48ee931 --- /dev/null +++ b/.history/CHANGELOG_20220524110626.md @@ -0,0 +1,142 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space for additional countries. +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space for additional countries. + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/CHANGELOG_20220524110628.md b/.history/CHANGELOG_20220524110628.md new file mode 100644 index 0000000..37bdd71 --- /dev/null +++ b/.history/CHANGELOG_20220524110628.md @@ -0,0 +1,143 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space for additional countries. + +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space for additional countries. + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/CHANGELOG_20220524110630.md b/.history/CHANGELOG_20220524110630.md new file mode 100644 index 0000000..f0a707c --- /dev/null +++ b/.history/CHANGELOG_20220524110630.md @@ -0,0 +1,143 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + +## 4.6.14 + +- :rocket: Regex for postcode searching with and without space for additional countries. + +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space for additional countries. + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/CHANGELOG_20220524110633.md b/.history/CHANGELOG_20220524110633.md new file mode 100644 index 0000000..b26c046 --- /dev/null +++ b/.history/CHANGELOG_20220524110633.md @@ -0,0 +1,143 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + +## 4.6.14 + +- :bug: Regex for postcode searching with and without space for additional countries. + +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space for additional countries. + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/CHANGELOG_20220524110715.md b/.history/CHANGELOG_20220524110715.md new file mode 100644 index 0000000..5668a54 --- /dev/null +++ b/.history/CHANGELOG_20220524110715.md @@ -0,0 +1,143 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + +## 4.6.14 + +- :bug: Fix country code for . + +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space for additional countries. + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/CHANGELOG_20220524110719.md b/.history/CHANGELOG_20220524110719.md new file mode 100644 index 0000000..4c572bc --- /dev/null +++ b/.history/CHANGELOG_20220524110719.md @@ -0,0 +1,143 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + +## 4.6.14 + +- :bug: Fix country code for `pl`. + +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space for additional countries. + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/CHANGELOG_20220524110727.md b/.history/CHANGELOG_20220524110727.md new file mode 100644 index 0000000..96e1998 --- /dev/null +++ b/.history/CHANGELOG_20220524110727.md @@ -0,0 +1,143 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + +## 4.6.14 + +- :bug: Fix country code for Poland postcode rege. + +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space for additional countries. + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/CHANGELOG_20220524110729.md b/.history/CHANGELOG_20220524110729.md new file mode 100644 index 0000000..4f78efa --- /dev/null +++ b/.history/CHANGELOG_20220524110729.md @@ -0,0 +1,143 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + +## 4.6.14 + +- :bug: Fix country code for Poland postcode regex. + +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space for additional countries. + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/CHANGELOG_20220602112934.md b/.history/CHANGELOG_20220602112934.md new file mode 100644 index 0000000..1ee2e88 --- /dev/null +++ b/.history/CHANGELOG_20220602112934.md @@ -0,0 +1,146 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + +## 4.6.14 + +- :bug: Fix country code for Poland postcode regex. +## 4.6.14 + +- :bug: Fix country code for Poland postcode regex. + +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space for additional countries. + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/CHANGELOG_20220602112939.md b/.history/CHANGELOG_20220602112939.md new file mode 100644 index 0000000..a8f493b --- /dev/null +++ b/.history/CHANGELOG_20220602112939.md @@ -0,0 +1,146 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + +## 4.6.14 + +- :bug: Fix update regex . +## 4.6.14 + +- :bug: Fix country code for Poland postcode regex. + +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space for additional countries. + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/CHANGELOG_20220602113210.md b/.history/CHANGELOG_20220602113210.md new file mode 100644 index 0000000..fe45999 --- /dev/null +++ b/.history/CHANGELOG_20220602113210.md @@ -0,0 +1,146 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + +## 4.6.14 + +- :bug: Update regex for +## 4.6.14 + +- :bug: Fix country code for Poland postcode regex. + +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space for additional countries. + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/CHANGELOG_20220602113227.md b/.history/CHANGELOG_20220602113227.md new file mode 100644 index 0000000..6712458 --- /dev/null +++ b/.history/CHANGELOG_20220602113227.md @@ -0,0 +1,146 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + +## 4.6.14 + +- :bug: Update regex for Canada +## 4.6.14 + +- :bug: Fix country code for Poland postcode regex. + +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space for additional countries. + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/CHANGELOG_20220602113231.md b/.history/CHANGELOG_20220602113231.md new file mode 100644 index 0000000..80e7281 --- /dev/null +++ b/.history/CHANGELOG_20220602113231.md @@ -0,0 +1,146 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + +## 4.6.14 + +- :bug: Update regex for Canada in English and add in +## 4.6.14 + +- :bug: Fix country code for Poland postcode regex. + +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space for additional countries. + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/CHANGELOG_20220602113237.md b/.history/CHANGELOG_20220602113237.md new file mode 100644 index 0000000..a5a64c8 --- /dev/null +++ b/.history/CHANGELOG_20220602113237.md @@ -0,0 +1,146 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + +## 4.6.14 + +- :bug: Update regex for Canada in English and add in regex +## 4.6.14 + +- :bug: Fix country code for Poland postcode regex. + +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space for additional countries. + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/CHANGELOG_20220602113240.md b/.history/CHANGELOG_20220602113240.md new file mode 100644 index 0000000..5f955eb --- /dev/null +++ b/.history/CHANGELOG_20220602113240.md @@ -0,0 +1,146 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + +## 4.6.14 + +- :bug: Update regex for Canada in English and add in regex in French. +## 4.6.14 + +- :bug: Fix country code for Poland postcode regex. + +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space for additional countries. + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/CHANGELOG_20220602113247.md b/.history/CHANGELOG_20220602113247.md new file mode 100644 index 0000000..adf95c1 --- /dev/null +++ b/.history/CHANGELOG_20220602113247.md @@ -0,0 +1,146 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + +## 4.6.14 + +- :rocket: Update regex for Canada in English and add in regex in French. +## 4.6.14 + +- :bug: Fix country code for Poland postcode regex. + +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space for additional countries. + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/CHANGELOG_20220602155222.md b/.history/CHANGELOG_20220602155222.md new file mode 100644 index 0000000..7d2489d --- /dev/null +++ b/.history/CHANGELOG_20220602155222.md @@ -0,0 +1,146 @@ +# CHANGELOG + +## Emoji Cheatsheet +- :pencil2: doc updates +- :bug: when fixing a bug +- :rocket: when making general improvements +- :white_check_mark: when adding tests +- :arrow_up: when upgrading dependencies +- :tada: when adding new features + +# Version History + +## 4.6.15 + +- :rocket: Update regex for Canada in English and add in regex in French. +## 4.6.14 + +- :bug: Fix country code for Poland postcode regex. + +## 4.6.13 + +- :rocket: Regex for postcode searching with and without space for additional countries. + +## 4.6.12 + +- :rocket: Token additions for Ukrainian(UK), Albanian(SQ). + +## 4.6.11 + +- :rocket: Regex for postcode searching with and without space. + +## 4.6.10 + +- :rocket: Reduced scope of Spanish and French number tokens. + +## 4.6.9 + +- :bug: Fix a regex bug in Sweden(SV). + +## 4.6.8 + +- :rocket: Token additions for Greece(EL), Croatia (HR), Bosnia and Herzegovina (BA) and Cyprus (CY). + +## 4.6.6 + +- :rocket: Token additions for Bulgaria(BG). + +## 4.6.5 + +- :rocket: Token additions for Latvia(LV). + +## 4.6.4 + +- :rocket: Add elison support for Canada. + +## 4.6.3 + +- :bug: Fix a regex bug in Romania(RO). + +## 4.6.2 + +- :rocket: Token additions for Hungary(HU) and Romania(RO). + +## 4.6.1 + +- :rocket: Token additions for Slovak(SK), Slovania(SI), Serbia(RS), Lithuania(LT), Hungary(HU). + +## 4.6.0 + +- :rocket: Token additions for Portuguese. + +## 4.5.0 + +- :rocket: Token additions for Polish. + +## 4.4.0 + +- :rocket: Token additions for Italian, Spanish, and French. + +## 4.3.1 + +- :bug: Restricted one Czech replacement, `"sev" => "s"`, to only apply to addresses, because applying it to all feature types and then combining it with other languages' tokens leads to weird conflations. + +## 4.3.0 + +- :tada: Expand testing of token replacements, and update existing replacements to conform to more-comprehensive tests. Also make some further updates to German abbreviations. + +## v4.2.0 + +- :rocket: Add German variations of `on the`, `at the`, and `in the`, along with variations of popular street names ending in `str` or `straße`. Add in regex to convert street names ending in `strasse` or `str` to end in `straße` to match OSM network street names. + +## v4.1.8 + +- :rocket: Add add `type: determiner` to signify meaning 'of' & update tokens for Spanish, French, and Italian. + +## v4.1.7 + +- :tada: Add Czech tokens + +## v4.1.6 + +- :rocket: Add numbers, ordinals, `type: way` property to Russian tokens + +## v4.1.5 + +- :rocket: Add optional reduceRelevance property + +## v4.1.4 + +- :rocket: Add `Farm-To-Market` & `Ranch-To-Market` + +## v4.1.3 + +- :rocket: Add `type: way` property to `place` token in English + +## v4.1.2 + +- :rocket: Add `type: way` property to `road` token in English + +## v4.1.1 + +- :rocket: Add `Clone`, `Serialize`, and `Deserialize` traits to `TokenType` enum + +## v4.1.0 + +- :rocket: Make fields in `Token` struct public, add `TokenType` enum + +## v4.0.0 + +- :tada: Add support for importing abbreviations as Rust structs + +## v3.1.0 + +- Add several new replacements focused on and scoped to US addresses, designed to strip unit numbers from address strings. + +## v3.0.0 + +- Change format of geocoder-abbrevations contents, and add mechanisms for querying data in new format; see current README.md for details + +## v2.4.0 + +- :tada: Add Russian tokens + +## v2.3.2 + +- Add CHANGELOG.md diff --git a/.history/Cargo_20200522130104.toml b/.history/Cargo_20200522130104.toml new file mode 100644 index 0000000..1411890 --- /dev/null +++ b/.history/Cargo_20200522130104.toml @@ -0,0 +1,18 @@ +[package] +name = "geocoder-abbreviations" +version = "0.1.0" +license = "MIT" +description = "Geocoding Abbreviations classified by language and type" +authors = [ + "Mapbox ", + "Nick Ingalls " +] + +edition = "2018" + +[dependencies] +rust-embed="5.5.1" +alphanumeric-sort = "1.0.6" +fancy-regex = "0.1.0" +serde = { version = "1.0", features = ["derive"] } +serde_json = "1.0" diff --git a/.history/Cargo_20200522132638.toml b/.history/Cargo_20200522132638.toml new file mode 100644 index 0000000..4844f59 --- /dev/null +++ b/.history/Cargo_20200522132638.toml @@ -0,0 +1,19 @@ +[package] +name = "geocoder-abbreviations" +version = "0.1.0" +license = "MIT" +description = "Geocoding Abbreviations classified by language and type" +authors = [ + "Mapbox ", + "Nick Ingalls " +] + +edition = "2018" + +[dependencies] +rust-embed="5.5.1" +alphanumeric-sort = "1.0.6" +fancy-regex = "0.1.0" +lazy_static = "1.3.0" +serde = { version = "1.0", features = ["derive"] } +serde_json = "1.0" diff --git a/.history/package_20220721071701.json b/.history/package_20220721071701.json new file mode 100644 index 0000000..ea720a9 --- /dev/null +++ b/.history/package_20220721071701.json @@ -0,0 +1,28 @@ +{ + "name": "@mapbox/geocoder-abbreviations", + "version": "4.6.16", + "description": "Language/Country Specific Street Abbreviations", + "main": "index.js", + "scripts": { + "test": "tape test/test.js" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/mapbox/geocoder-abbreviations.git" + }, + "keywords": [ + "geocoding", + "addresses", + "openaddresses" + ], + "author": "Nicholas Ingalls ", + "license": "MIT", + "bugs": { + "url": "https://github.com/mapbox/geocoder-abbreviations/issues" + }, + "homepage": "https://github.com/mapbox/geocoder-abbreviations#readme", + "dependencies": { + "tape": "^4.6.3", + "union-find": "^1.0.2" + } +} diff --git a/.history/package_20220721071716.json b/.history/package_20220721071716.json new file mode 100644 index 0000000..05014f7 --- /dev/null +++ b/.history/package_20220721071716.json @@ -0,0 +1,28 @@ +{ + "name": "@mapbox/geocoder-abbreviations", + "version": "4.6.17dev", + "description": "Language/Country Specific Street Abbreviations", + "main": "index.js", + "scripts": { + "test": "tape test/test.js" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/mapbox/geocoder-abbreviations.git" + }, + "keywords": [ + "geocoding", + "addresses", + "openaddresses" + ], + "author": "Nicholas Ingalls ", + "license": "MIT", + "bugs": { + "url": "https://github.com/mapbox/geocoder-abbreviations/issues" + }, + "homepage": "https://github.com/mapbox/geocoder-abbreviations#readme", + "dependencies": { + "tape": "^4.6.3", + "union-find": "^1.0.2" + } +} diff --git a/.history/src/lib_20200507092912.rs b/.history/src/lib_20200507092912.rs new file mode 100644 index 0000000..521cebf --- /dev/null +++ b/.history/src/lib_20200507092912.rs @@ -0,0 +1,247 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200512115126.rs b/.history/src/lib_20200512115126.rs new file mode 100644 index 0000000..f0bb289 --- /dev/null +++ b/.history/src/lib_20200512115126.rs @@ -0,0 +1,247 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./tokens/{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200521134215.rs b/.history/src/lib_20200521134215.rs new file mode 100644 index 0000000..f0bb289 --- /dev/null +++ b/.history/src/lib_20200521134215.rs @@ -0,0 +1,247 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./tokens/{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200521135756.rs b/.history/src/lib_20200521135756.rs new file mode 100644 index 0000000..f0bb289 --- /dev/null +++ b/.history/src/lib_20200521135756.rs @@ -0,0 +1,247 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./tokens/{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522090345.rs b/.history/src/lib_20200522090345.rs new file mode 100644 index 0000000..57cb5f0 --- /dev/null +++ b/.history/src/lib_20200522090345.rs @@ -0,0 +1,248 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./tokens/{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522090352.rs b/.history/src/lib_20200522090352.rs new file mode 100644 index 0000000..a3f7254 --- /dev/null +++ b/.history/src/lib_20200522090352.rs @@ -0,0 +1,248 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./tokens/{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + println + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522090356.rs b/.history/src/lib_20200522090356.rs new file mode 100644 index 0000000..bf56388 --- /dev/null +++ b/.history/src/lib_20200522090356.rs @@ -0,0 +1,248 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./tokens/{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + prinnt + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522090402.rs b/.history/src/lib_20200522090402.rs new file mode 100644 index 0000000..f0bb289 --- /dev/null +++ b/.history/src/lib_20200522090402.rs @@ -0,0 +1,247 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./tokens/{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522090430.rs b/.history/src/lib_20200522090430.rs new file mode 100644 index 0000000..521cebf --- /dev/null +++ b/.history/src/lib_20200522090430.rs @@ -0,0 +1,247 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522090433.rs b/.history/src/lib_20200522090433.rs new file mode 100644 index 0000000..25ff24f --- /dev/null +++ b/.history/src/lib_20200522090433.rs @@ -0,0 +1,247 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!(".{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522091215.rs b/.history/src/lib_20200522091215.rs new file mode 100644 index 0000000..0067b9f --- /dev/null +++ b/.history/src/lib_20200522091215.rs @@ -0,0 +1,247 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!(".git{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522091217.rs b/.history/src/lib_20200522091217.rs new file mode 100644 index 0000000..f0bb289 --- /dev/null +++ b/.history/src/lib_20200522091217.rs @@ -0,0 +1,247 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./tokens/{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522130119.rs b/.history/src/lib_20200522130119.rs new file mode 100644 index 0000000..521cebf --- /dev/null +++ b/.history/src/lib_20200522130119.rs @@ -0,0 +1,247 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522130908.rs b/.history/src/lib_20200522130908.rs new file mode 100644 index 0000000..df9921e --- /dev/null +++ b/.history/src/lib_20200522130908.rs @@ -0,0 +1,248 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + + codes + print + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522130911.rs b/.history/src/lib_20200522130911.rs new file mode 100644 index 0000000..7994a10 --- /dev/null +++ b/.history/src/lib_20200522130911.rs @@ -0,0 +1,248 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + + codes + println!(') + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522130912.rs b/.history/src/lib_20200522130912.rs new file mode 100644 index 0000000..e0a8283 --- /dev/null +++ b/.history/src/lib_20200522130912.rs @@ -0,0 +1,248 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + + codes + println!() + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522130916.rs b/.history/src/lib_20200522130916.rs new file mode 100644 index 0000000..726948f --- /dev/null +++ b/.history/src/lib_20200522130916.rs @@ -0,0 +1,248 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + + codes + println!("codes {}) + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522130918.rs b/.history/src/lib_20200522130918.rs new file mode 100644 index 0000000..0fd9efa --- /dev/null +++ b/.history/src/lib_20200522130918.rs @@ -0,0 +1,248 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + + codes + println!("codes {:?}) + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522130921.rs b/.history/src/lib_20200522130921.rs new file mode 100644 index 0000000..a63a8b6 --- /dev/null +++ b/.history/src/lib_20200522130921.rs @@ -0,0 +1,248 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + + codes + println!("codes {:?}", codes) + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131333.rs b/.history/src/lib_20200522131333.rs new file mode 100644 index 0000000..4b60528 --- /dev/null +++ b/.history/src/lib_20200522131333.rs @@ -0,0 +1,248 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + + codes + println!("codes {:?}", codes); + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131339.rs b/.history/src/lib_20200522131339.rs new file mode 100644 index 0000000..f504509 --- /dev/null +++ b/.history/src/lib_20200522131339.rs @@ -0,0 +1,248 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131407.rs b/.history/src/lib_20200522131407.rs new file mode 100644 index 0000000..cd41473 --- /dev/null +++ b/.history/src/lib_20200522131407.rs @@ -0,0 +1,248 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131448.rs b/.history/src/lib_20200522131448.rs new file mode 100644 index 0000000..fa45e1e --- /dev/null +++ b/.history/src/lib_20200522131448.rs @@ -0,0 +1,249 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + println!("codes {:?}", codes); + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131451.rs b/.history/src/lib_20200522131451.rs new file mode 100644 index 0000000..69d47c8 --- /dev/null +++ b/.history/src/lib_20200522131451.rs @@ -0,0 +1,249 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + println!("codes {:?}", codes); + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131455.rs b/.history/src/lib_20200522131455.rs new file mode 100644 index 0000000..2e34b1a --- /dev/null +++ b/.history/src/lib_20200522131455.rs @@ -0,0 +1,249 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + println!("tokens {:?}", tokens); + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131501.rs b/.history/src/lib_20200522131501.rs new file mode 100644 index 0000000..cd41473 --- /dev/null +++ b/.history/src/lib_20200522131501.rs @@ -0,0 +1,248 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131504.rs b/.history/src/lib_20200522131504.rs new file mode 100644 index 0000000..0d5ad76 --- /dev/null +++ b/.history/src/lib_20200522131504.rs @@ -0,0 +1,250 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + println!("tokens {:?}", tokens); + + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131505.rs b/.history/src/lib_20200522131505.rs new file mode 100644 index 0000000..130f80f --- /dev/null +++ b/.history/src/lib_20200522131505.rs @@ -0,0 +1,249 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + println!("tokens {:?}", tokens); + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131507.rs b/.history/src/lib_20200522131507.rs new file mode 100644 index 0000000..0509e2a --- /dev/null +++ b/.history/src/lib_20200522131507.rs @@ -0,0 +1,249 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + println!("tokens {:?}", tokens); + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131518.rs b/.history/src/lib_20200522131518.rs new file mode 100644 index 0000000..bdaba00 --- /dev/null +++ b/.history/src/lib_20200522131518.rs @@ -0,0 +1,249 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + println!("tokens {:?}", lc); + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131522.rs b/.history/src/lib_20200522131522.rs new file mode 100644 index 0000000..cd41473 --- /dev/null +++ b/.history/src/lib_20200522131522.rs @@ -0,0 +1,248 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131525.rs b/.history/src/lib_20200522131525.rs new file mode 100644 index 0000000..73f1919 --- /dev/null +++ b/.history/src/lib_20200522131525.rs @@ -0,0 +1,249 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("tokens {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131527.rs b/.history/src/lib_20200522131527.rs new file mode 100644 index 0000000..5d125aa --- /dev/null +++ b/.history/src/lib_20200522131527.rs @@ -0,0 +1,249 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131617.rs b/.history/src/lib_20200522131617.rs new file mode 100644 index 0000000..d554f9c --- /dev/null +++ b/.history/src/lib_20200522131617.rs @@ -0,0 +1,250 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + import + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131621.rs b/.history/src/lib_20200522131621.rs new file mode 100644 index 0000000..aeefc54 --- /dev/null +++ b/.history/src/lib_20200522131621.rs @@ -0,0 +1,250 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println! + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131626.rs b/.history/src/lib_20200522131626.rs new file mode 100644 index 0000000..afae4d1 --- /dev/null +++ b/.history/src/lib_20200522131626.rs @@ -0,0 +1,250 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc ") + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131628.rs b/.history/src/lib_20200522131628.rs new file mode 100644 index 0000000..60c83cc --- /dev/null +++ b/.history/src/lib_20200522131628.rs @@ -0,0 +1,250 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?") + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131630.rs b/.history/src/lib_20200522131630.rs new file mode 100644 index 0000000..dceb6ab --- /dev/null +++ b/.history/src/lib_20200522131630.rs @@ -0,0 +1,250 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?}") + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131632.rs b/.history/src/lib_20200522131632.rs new file mode 100644 index 0000000..244e9ce --- /dev/null +++ b/.history/src/lib_20200522131632.rs @@ -0,0 +1,250 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?}", lc) + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131634.rs b/.history/src/lib_20200522131634.rs new file mode 100644 index 0000000..c795189 --- /dev/null +++ b/.history/src/lib_20200522131634.rs @@ -0,0 +1,250 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?}", lc);l + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131635.rs b/.history/src/lib_20200522131635.rs new file mode 100644 index 0000000..bba96bd --- /dev/null +++ b/.history/src/lib_20200522131635.rs @@ -0,0 +1,250 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?}", lc); + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131640.rs b/.history/src/lib_20200522131640.rs new file mode 100644 index 0000000..e47ba19 --- /dev/null +++ b/.history/src/lib_20200522131640.rs @@ -0,0 +1,250 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?}", lc); + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON");c + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131644.rs b/.history/src/lib_20200522131644.rs new file mode 100644 index 0000000..bba96bd --- /dev/null +++ b/.history/src/lib_20200522131644.rs @@ -0,0 +1,250 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?}", lc); + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131652.rs b/.history/src/lib_20200522131652.rs new file mode 100644 index 0000000..ec05f2c --- /dev/null +++ b/.history/src/lib_20200522131652.rs @@ -0,0 +1,250 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?}", lc); + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131718.rs b/.history/src/lib_20200522131718.rs new file mode 100644 index 0000000..7dbb5e6 --- /dev/null +++ b/.history/src/lib_20200522131718.rs @@ -0,0 +1,251 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?}", lc); + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + println!("lc {:?}", lc); + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131720.rs b/.history/src/lib_20200522131720.rs new file mode 100644 index 0000000..e115162 --- /dev/null +++ b/.history/src/lib_20200522131720.rs @@ -0,0 +1,251 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?}", lc); + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + println!("tk {:?}", lc); + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131722.rs b/.history/src/lib_20200522131722.rs new file mode 100644 index 0000000..5db6c1a --- /dev/null +++ b/.history/src/lib_20200522131722.rs @@ -0,0 +1,251 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?}", lc); + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + println!("tk {:?}", tk); + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131809.rs b/.history/src/lib_20200522131809.rs new file mode 100644 index 0000000..06e4df0 --- /dev/null +++ b/.history/src/lib_20200522131809.rs @@ -0,0 +1,251 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?}", lc); + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + println!("tk {:?}", tk); + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131810.rs b/.history/src/lib_20200522131810.rs new file mode 100644 index 0000000..513d152 --- /dev/null +++ b/.history/src/lib_20200522131810.rs @@ -0,0 +1,251 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?}", lc); + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + println!("tk {:?}", tk); + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131814.rs b/.history/src/lib_20200522131814.rs new file mode 100644 index 0000000..ce28166 --- /dev/null +++ b/.history/src/lib_20200522131814.rs @@ -0,0 +1,251 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?}", lc); + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + println!("tk {:?}", tk); + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("dde")); + assert!(lcs.contains_key("den")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131901.rs b/.history/src/lib_20200522131901.rs new file mode 100644 index 0000000..534a2b4 --- /dev/null +++ b/.history/src/lib_20200522131901.rs @@ -0,0 +1,251 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?}", lc); + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + // println!("tk {:?}", tk); + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("dde")); + assert!(lcs.contains_key("den")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522131912.rs b/.history/src/lib_20200522131912.rs new file mode 100644 index 0000000..14b73f9 --- /dev/null +++ b/.history/src/lib_20200522131912.rs @@ -0,0 +1,251 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?}", lc); + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + // println!("tk {:?}", tk); // we are pulling in the tokens here + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("dde")); + assert!(lcs.contains_key("den")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522132025.rs b/.history/src/lib_20200522132025.rs new file mode 100644 index 0000000..53de831 --- /dev/null +++ b/.history/src/lib_20200522132025.rs @@ -0,0 +1,251 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "..//tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?}", lc); + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + // println!("tk {:?}", tk); // we are pulling in the tokens here + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("dde")); + assert!(lcs.contains_key("den")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522132027.rs b/.history/src/lib_20200522132027.rs new file mode 100644 index 0000000..e2183a1 --- /dev/null +++ b/.history/src/lib_20200522132027.rs @@ -0,0 +1,251 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "../tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?}", lc); + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + // println!("tk {:?}", tk); // we are pulling in the tokens here + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("dde")); + assert!(lcs.contains_key("den")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522132034.rs b/.history/src/lib_20200522132034.rs new file mode 100644 index 0000000..e79fc03 --- /dev/null +++ b/.history/src/lib_20200522132034.rs @@ -0,0 +1,251 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "../tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?}", lc); + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + // println!("tk {:?}", tk); // we are pulling in the tokens here + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("den")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522132036.rs b/.history/src/lib_20200522132036.rs new file mode 100644 index 0000000..36b82af --- /dev/null +++ b/.history/src/lib_20200522132036.rs @@ -0,0 +1,251 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "../tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?}", lc); + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + // println!("tk {:?}", tk); // we are pulling in the tokens here + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522132048.rs b/.history/src/lib_20200522132048.rs new file mode 100644 index 0000000..aa3162a --- /dev/null +++ b/.history/src/lib_20200522132048.rs @@ -0,0 +1,251 @@ +use rust_embed::RustEmbed; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +#[derive(RustEmbed)] +#[folder = "./tokens/"] +struct Tokens; +impl Tokens { + pub fn codes() -> Vec { + let mut codes: Vec = Tokens::iter().filter(|lang| { + lang.contains(".json") + }).map(|lang| { + String::from(lang).replace(".json", "") + }).collect(); + + codes.sort(); + println!("codes {:?}", codes); + + codes + } + + pub fn import(lc: &str) -> Result { + println!("lc {:?}", lc); + match Tokens::get(format!("./{}.json", &lc).as_str()) { + Some(tokens) => match std::str::from_utf8(tokens.as_ref()) { + Ok(tokens) => Ok(String::from(tokens)), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + }, + None => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } + } +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(Tokens::codes())?) + } + for lc in &v { + if !Tokens::codes().contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + println!("lc {:?}", lc); + let parsed : Vec = serde_json::from_str(Tokens::import(lc)?.as_str()) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + // println!("tk {:?}", tk); // we are pulling in the tokens here + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("dde"), String::from("edn")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(Tokens::codes()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in Tokens::codes() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(Tokens::codes(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + Tokens::import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} diff --git a/.history/src/lib_20200522132259.rs b/.history/src/lib_20200522132259.rs new file mode 100644 index 0000000..04d6a16 --- /dev/null +++ b/.history/src/lib_20200522132259.rs @@ -0,0 +1,267 @@ +use lazy_static::lazy_static; +use serde::{Deserialize, Serialize}; +use serde_json; +use std::collections::HashMap; +use fancy_regex::Regex; + +lazy_static! { + static ref LANGUAGE_CODES: Vec = vec![ + String::from("cs"), + String::from("de"), + String::from("en"), + String::from("es"), + String::from("et"), + String::from("fi"), + String::from("fr"), + String::from("he"), + String::from("id"), + String::from("it"), + String::from("ja"), + String::from("nl"), + String::from("no"), + String::from("pl"), + String::from("pt"), + String::from("ro"), + String::from("ru"), + String::from("sv") + ]; +} + +#[derive(Debug, PartialEq)] +pub enum Error { + LanguageCodeNotSupported(String), + TokenFileImportNotSupported(String), + TokenTypeNotSupported(String), + FancyRegexError +} + +impl From for Error { + fn from(_error: fancy_regex::Error) -> Self { + Error::FancyRegexError + } +} + +#[derive(Deserialize, Debug, Clone)] +struct InToken { + tokens: Vec, + full: String, + canonical: String, + note: Option, + #[serde(rename = "onlyCountries")] + only_countries: Option>, + #[serde(rename = "onlyLayers")] + only_layers: Option>, + #[serde(rename = "preferFull")] + prefer_full: Option, + regex: Option, + #[serde(rename = "skipBoundaries")] + skip_boundaries: Option, + #[serde(rename = "skipDiacriticStripping")] + skip_diacritic_stripping: Option, + #[serde(rename = "spanBoundaries")] + span_boundaries: Option, + #[serde(rename = "type")] + token_type: Option, +} + +pub struct Token { + pub tokens: Vec, + pub full: Replacer, + pub canonical: String, + pub note: Option, + pub only_countries: Option>, + pub only_layers: Option>, + pub prefer_full: bool, + pub regex: bool, + pub skip_boundaries: bool, + pub skip_diacritic_stripping: bool, + pub span_boundaries: Option, + pub token_type: Option, +} + +impl Token { + fn new(input: InToken) -> Result { + Ok(Token { + tokens: input.tokens, + full: match input.regex { + Some(true) => Replacer::Regex(Regex::new(&input.full)?), + Some(false) | None => Replacer::String(input.full), + }, + canonical: input.canonical, + note: input.note, + only_countries: input.only_countries, + only_layers: input.only_layers, + prefer_full: input.prefer_full.unwrap_or(false), + regex: input.regex.unwrap_or(false), + skip_boundaries: input.skip_boundaries.unwrap_or(false), + skip_diacritic_stripping: input.skip_diacritic_stripping.unwrap_or(false), + span_boundaries: input.span_boundaries, + token_type: match input.token_type { + None => None, + Some(t) => match TokenType::from_str(&t) { + Ok(t) => Some(t), + Err(e) => return Err(e) + } + } + }) + } +} + +pub enum Replacer { + String(String), + Regex(Regex) +} + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] +pub enum TokenType { + PostalBox, + Cardinal, + Number, + Ordinal, + Unit, + Way, + Determiner +} + +impl TokenType { + fn from_str(s: &str) -> Result { + match s { + "box" => Ok(TokenType::PostalBox), + "cardinal" => Ok(TokenType::Cardinal), + "number" => Ok(TokenType::Number), + "ordinal" => Ok(TokenType::Ordinal), + "unit" => Ok(TokenType::Unit), + "way" => Ok(TokenType::Way), + "determiner" => Ok(TokenType::Determiner), + _ => Err(Error::TokenTypeNotSupported(s.to_string())) + } + } +} + +pub fn config(v: Vec) -> Result>, Error> { + if v.is_empty() { + return Ok(prepare(LANGUAGE_CODES.to_vec())?) + } + for lc in &v { + if !LANGUAGE_CODES.contains(lc) { + return Err(Error::LanguageCodeNotSupported(lc.to_string())) + } + } + Ok(prepare(v)?) +} + +fn prepare(v: Vec) -> Result>, Error> { + let mut map = HashMap::new(); + for lc in &v { + let parsed : Vec = serde_json::from_str(import(lc)?) + .expect("unable to parse token JSON"); + let mut tokens = Vec::new(); + for tk in &parsed { + tokens.push(Token::new(tk.clone())?); + } + map.insert(lc.clone(), tokens); + } + Ok(map) +} + +fn import(lc: &str) -> Result<&str, Error> { + match lc { + "cs" => Ok(include_str!("../tokens/cs.json")), + "de" => Ok(include_str!("../tokens/de.json")), + "en" => Ok(include_str!("../tokens/en.json")), + "es" => Ok(include_str!("../tokens/es.json")), + "et" => Ok(include_str!("../tokens/et.json")), + "fi" => Ok(include_str!("../tokens/fi.json")), + "fr" => Ok(include_str!("../tokens/fr.json")), + "he" => Ok(include_str!("../tokens/he.json")), + "id" => Ok(include_str!("../tokens/id.json")), + "it" => Ok(include_str!("../tokens/it.json")), + "ja" => Ok(include_str!("../tokens/ja.json")), + "nl" => Ok(include_str!("../tokens/nl.json")), + "no" => Ok(include_str!("../tokens/no.json")), + "pl" => Ok(include_str!("../tokens/pl.json")), + "pt" => Ok(include_str!("../tokens/pt.json")), + "ro" => Ok(include_str!("../tokens/ro.json")), + "ru" => Ok(include_str!("../tokens/ru.json")), + "sv" => Ok(include_str!("../tokens/sv.json")), + _ => Err(Error::TokenFileImportNotSupported(lc.to_string())) + } +} + +#[cfg(test)] +mod tests { + use super::*; + use std::fs; + + #[test] + fn test_config() { + let lcs = config(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + + let empty_lc = config(Vec::new()).unwrap(); + let every_lc = prepare(LANGUAGE_CODES.to_vec()).unwrap(); + assert_eq!(empty_lc.len(), every_lc.len()); + for lc in LANGUAGE_CODES.to_vec() { + assert!(empty_lc.contains_key(&lc)); + } + } + + #[test] + #[should_panic(expected = "LanguageCodeNotSupported(\"zz\")")] + fn fail_config() { + config(vec![String::from("zz")]).unwrap(); + } + + #[test] + fn test_all_lcs() { + let mut fs_lcs = read_files(); + alphanumeric_sort::sort_str_slice(&mut fs_lcs); + assert_eq!(LANGUAGE_CODES.to_vec(), fs_lcs); + } + + #[test] + fn test_prepare() { + let lcs = prepare(vec![String::from("de"), String::from("en")]).unwrap(); + assert_eq!(lcs.len(), 2); + assert!(lcs.contains_key("de")); + assert!(lcs.contains_key("en")); + } + + #[test] + #[should_panic(expected = "TokenFileImportNotSupported(\"zz\")")] + fn fail_import() { + import("zz").unwrap(); + } + + #[test] + fn test_token_values() { + let map = config(Vec::new()).unwrap(); + + for lc in map.values() { + for tk in lc { + assert!(tk.tokens.len() > 0); + match &tk.only_layers { + Some(l) => { + assert_eq!(l[0], "address"); + assert_eq!(l.len(), 1); + }, + _ => (), + } + } + } + } + + fn read_files() -> Vec { + let mut lcs = Vec::new(); + for entry in fs::read_dir("./tokens").unwrap() { + let file_name = entry.unwrap().file_name().into_string().unwrap(); + let file_components: Vec<&str> = file_name.split(".").collect(); + if file_components[1] == "json" { + lcs.push(file_components[0].to_owned()); + } + } + lcs + } +} \ No newline at end of file diff --git a/.history/test/fixtures/de-advanced_20201009103024.json b/.history/test/fixtures/de-advanced_20201009103024.json new file mode 100644 index 0000000..6973010 --- /dev/null +++ b/.history/test/fixtures/de-advanced_20201009103024.json @@ -0,0 +1,162 @@ +[ + { + "tokens": ["auf", "a.d.", "a.d"], + "full": "a.d.", + "canonical": "auf", + "note": "translates to 'on the'" + }, + { + "tokens": ["auf", "auf der", "a d"], + "full": "auf der", + "canonical": "auf", + "spanBoundaries": 1, + "note": "translates to 'on the'; same as above, but this group contains two-token phrases" + }, + { + "tokens": ["a", "am", "an", "a.d.", "a.d"], + "full": "an der", + "canonical": "a", + "note": "translates to 'at the'" + }, + { + "tokens": ["a", "an der", "a d"], + "full": "an der", + "canonical": "a", + "spanBoundaries": 1, + "note": "translates to 'at the'; same as above, but this group contains two-token phrases" + }, + { + "tokens": ["i", "in", "im", "i.d.", "i.d"], + "full": "in der", + "canonical": "i", + "note": "translates to 'in the'" + }, + { + "tokens": ["i", "in der", "i d"], + "full": "in der", + "canonical": "i", + "spanBoundaries": 1, + "note": "translates to 'in the'; same as above, but this group contains two-token phrases" + }, + { "tokens": ["Bf", "Bhf", "Bahnhof"], "full": "Bahnhof", "canonical": "Bf" }, + { "tokens": ["bg", "berg"], "full": "berg", "canonical": "bg" }, + { "tokens": ["bg", "burg"], "full": "burg", "canonical": "bg" }, + { + "tokens": ["Br", "Brücke"], + "full": "Brücke", + "canonical": "Br", + "onlyLayers": ["address"], + "note": "translates to 'bridge'" + }, + { + "tokens": ["Ch", "Chaussee"], + "full": "Chaussee", + "canonical": "Ch", + "onlyLayers": ["address"], + "note": "translates to 'highway'", + "type": "way" + }, + { "tokens": ["D", "Damm"], "full": "Damm", "canonical": "D" }, + { "tokens": ["d", "der"], "full": "der", "canonical": "d" }, + { "tokens": ["df", "dorf"], "full": "dorf", "canonical": "df" }, + { "tokens": ["Dr", "Doktor"], "full": "Doktor", "canonical": "Dr" }, + { + "tokens": ["G", "Gasse"], + "full": "Gasse", + "canonical": "G", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { "tokens": ["Gr", "Große"], "full": "Große", "canonical": "Gr" }, + { "tokens": ["Gr", "Großer"], "full": "Großer", "canonical": "Gr" }, + { "tokens": ["Gr", "Großes"], "full": "Großes", "canonical": "Gr" }, + { + "tokens": ["Hbf", "Hauptbahnhof"], + "full": "Hauptbahnhof", + "canonical": "Hbf" + }, + { "tokens": ["Hl", "Heiligen"], "full": "Heiligen", "canonical": "Hl" }, + { "tokens": ["Kl", "Kleine"], "full": "Kleine", "canonical": "Kl" }, + { "tokens": ["Kl", "Kleiner"], "full": "Kleiner", "canonical": "Kl" }, + { "tokens": ["Kl", "Kleines"], "full": "Kleines", "canonical": "Kl" }, + { + "tokens": ["Kr", "Krs", "Kreis"], + "full": "Kreis", + "canonical": "Kr", + "onlyLayers": ["address"], + "note": "translates to 'circle'", + "type": "way" + }, + { + "tokens": ["Lk", "Lkr", "Lkrs", "Landkrs", "Landkreis"], + "full": "Landkreis", + "canonical": "Lk" + }, + { "tokens": ["o", "ob"], "full": "ob", "canonical": "o" }, + { "tokens": ["Ob", "Obere"], "full": "Obere", "canonical": "Ob" }, + { "tokens": ["Ob", "Oberer"], "full": "Oberer", "canonical": "Ob" }, + { "tokens": ["Ob", "Oberes"], "full": "Oberes", "canonical": "Ob" }, + { + "tokens": ["Pl", "Platz"], + "full": "Platz", + "canonical": "Pl", + "type": "way" + }, + { "tokens": ["Rh", "Rhein"], "full": "Rhein", "canonical": "Rh" }, + { + "tokens": ["St", "Sankt"], + "full": "Sankt", + "canonical": "St", + "note": "Reference to a saint" + }, + { + "tokens": ["Str", "Straße", "Strasse"], + "full": "Strasse", + "canonical": "Str", + "note": "translates to 'street'", + "type": "way" + }, + { "tokens": ["U", "Untere"], "full": "Untere", "canonical": "U" }, + { "tokens": ["U", "Unterer"], "full": "Unterer", "canonical": "U" }, + { "tokens": ["U", "Unteres"], "full": "Unteres", "canonical": "U" }, + { "tokens": ["v", "von"], "full": "von", "canonical": "v" }, + { + "tokens": ["Wg", "Weg"], + "full": "Weg", + "canonical": "Wg", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { "tokens": ["z", "zum"], "full": "zum", "canonical": "z" }, + { + "tokens": ["ä", "ae"], + "skipBoundaries": true, + "full": "ä", + "skipDiacriticStripping": true, + "canonical": "ae" + }, + { + "tokens": ["ö", "oe"], + "skipBoundaries": true, + "full": "ö", + "skipDiacriticStripping": true, + "canonical": "oe" + }, + { + "tokens": ["ü", "ue"], + "skipBoundaries": true, + "full": "ü", + "skipDiacriticStripping": true, + "canonical": "ue" + }, + { + "tokens": ["$1str", "([^ ]+)(strasse|str|straße)"], + "full": "([^ ]+)(strasse|str|straße)", + "canonical": "$1 str", + "regex": true, + "skipDiacriticStripping": true, + "spanBoundaries": 0 + } +] diff --git a/.history/test/fixtures/de-advanced_20201009103025.json b/.history/test/fixtures/de-advanced_20201009103025.json new file mode 100644 index 0000000..781223f --- /dev/null +++ b/.history/test/fixtures/de-advanced_20201009103025.json @@ -0,0 +1,162 @@ +[ + { + "tokens": ["auf", "a.d.", "a.d"], + "full": "a.d.", + "canonical": "auf", + "note": "translates to 'on the'" + }, + { + "tokens": ["auf", "auf der", "a d"], + "full": "auf der", + "canonical": "auf", + "spanBoundaries": 1, + "note": "translates to 'on the'; same as above, but this group contains two-token phrases" + }, + { + "tokens": ["a", "am", "an", "a.d.", "a.d"], + "full": "an der", + "canonical": "a", + "note": "translates to 'at the'" + }, + { + "tokens": ["a", "an der", "a d"], + "full": "an der", + "canonical": "a", + "spanBoundaries": 1, + "note": "translates to 'at the'; same as above, but this group contains two-token phrases" + }, + { + "tokens": ["i", "in", "im", "i.d.", "i.d"], + "full": "in der", + "canonical": "i", + "note": "translates to 'in the'" + }, + { + "tokens": ["i", "in der", "i d"], + "full": "in der", + "canonical": "i", + "spanBoundaries": 1, + "note": "translates to 'in the'; same as above, but this group contains two-token phrases" + }, + { "tokens": ["Bf", "Bhf", "Bahnhof"], "full": "Bahnhof", "canonical": "Bf" }, + { "tokens": ["bg", "berg"], "full": "berg", "canonical": "bg" }, + { "tokens": ["bg", "burg"], "full": "burg", "canonical": "bg" }, + { + "tokens": ["Br", "Brücke"], + "full": "Brücke", + "canonical": "Br", + "onlyLayers": ["address"], + "note": "translates to 'bridge'" + }, + { + "tokens": ["Ch", "Chaussee"], + "full": "Chaussee", + "canonical": "Ch", + "onlyLayers": ["address"], + "note": "translates to 'highway'", + "type": "way" + }, + { "tokens": ["D", "Damm"], "full": "Damm", "canonical": "D" }, + { "tokens": ["d", "der"], "full": "der", "canonical": "d" }, + { "tokens": ["df", "dorf"], "full": "dorf", "canonical": "df" }, + { "tokens": ["Dr", "Doktor"], "full": "Doktor", "canonical": "Dr" }, + { + "tokens": ["G", "Gasse"], + "full": "Gasse", + "canonical": "G", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { "tokens": ["Gr", "Große"], "full": "Große", "canonical": "Gr" }, + { "tokens": ["Gr", "Großer"], "full": "Großer", "canonical": "Gr" }, + { "tokens": ["Gr", "Großes"], "full": "Großes", "canonical": "Gr" }, + { + "tokens": ["Hbf", "Hauptbahnhof"], + "full": "Hauptbahnhof", + "canonical": "Hbf" + }, + { "tokens": ["Hl", "Heiligen"], "full": "Heiligen", "canonical": "Hl" }, + { "tokens": ["Kl", "Kleine"], "full": "Kleine", "canonical": "Kl" }, + { "tokens": ["Kl", "Kleiner"], "full": "Kleiner", "canonical": "Kl" }, + { "tokens": ["Kl", "Kleines"], "full": "Kleines", "canonical": "Kl" }, + { + "tokens": ["Kr", "Krs", "Kreis"], + "full": "Kreis", + "canonical": "Kr", + "onlyLayers": ["address"], + "note": "translates to 'circle'", + "type": "way" + }, + { + "tokens": ["Lk", "Lkr", "Lkrs", "Landkrs", "Landkreis"], + "full": "Landkreis", + "canonical": "Lk" + }, + { "tokens": ["o", "ob"], "full": "ob", "canonical": "o" }, + { "tokens": ["Ob", "Obere"], "full": "Obere", "canonical": "Ob" }, + { "tokens": ["Ob", "Oberer"], "full": "Oberer", "canonical": "Ob" }, + { "tokens": ["Ob", "Oberes"], "full": "Oberes", "canonical": "Ob" }, + { + "tokens": ["Pl", "Platz"], + "full": "Platz", + "canonical": "Pl", + "type": "way" + }, + { "tokens": ["Rh", "Rhein"], "full": "Rhein", "canonical": "Rh" }, + { + "tokens": ["St", "Sankt"], + "full": "Sankt", + "canonical": "St", + "note": "Reference to a saint" + }, + { + "tokens": ["Str", "Straße", "Strasse"], + "full": "Strasse", + "canonical": "Str", + "note": "translates to 'street'", + "type": "way" + }, + { "tokens": ["U", "Untere"], "full": "Untere", "canonical": "U" }, + { "tokens": ["U", "Unterer"], "full": "Unterer", "canonical": "U" }, + { "tokens": ["U", "Unteres"], "full": "Unteres", "canonical": "U" }, + { "tokens": ["v", "von"], "full": "von", "canonical": "v" }, + { + "tokens": ["Wg", "Weg"], + "full": "Weg", + "canonical": "Wg", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { "tokens": ["z", "zum"], "full": "zum", "canonical": "z" }, + { + "tokens": ["ä", "ae"], + "skipBoundaries": true, + "full": "ä", + "skipDiacriticStripping": true, + "canonical": "ae" + }, + { + "tokens": ["ö", "oe"], + "skipBoundaries": true, + "full": "ö", + "skipDiacriticStripping": true, + "canonical": "oe" + }, + { + "tokens": ["ü", "ue"], + "skipBoundaries": true, + "full": "ü", + "skipDiacriticStripping": true, + "canonical": "ue" + }, + { + "tokens": ["$1str", "([^ ]+)(strasse|str|straße)"], + "full": "([^ ]+)(strasse|str|straße)", + "canonical": "$1str", + "regex": true, + "skipDiacriticStripping": true, + "spanBoundaries": 0 + } +] diff --git a/.history/test/fixtures/de-advanced_20201009103030.json b/.history/test/fixtures/de-advanced_20201009103030.json new file mode 100644 index 0000000..c1229cc --- /dev/null +++ b/.history/test/fixtures/de-advanced_20201009103030.json @@ -0,0 +1,162 @@ +[ + { + "tokens": ["auf", "a.d.", "a.d"], + "full": "a.d.", + "canonical": "auf", + "note": "translates to 'on the'" + }, + { + "tokens": ["auf", "auf der", "a d"], + "full": "auf der", + "canonical": "auf", + "spanBoundaries": 1, + "note": "translates to 'on the'; same as above, but this group contains two-token phrases" + }, + { + "tokens": ["a", "am", "an", "a.d.", "a.d"], + "full": "an der", + "canonical": "a", + "note": "translates to 'at the'" + }, + { + "tokens": ["a", "an der", "a d"], + "full": "an der", + "canonical": "a", + "spanBoundaries": 1, + "note": "translates to 'at the'; same as above, but this group contains two-token phrases" + }, + { + "tokens": ["i", "in", "im", "i.d.", "i.d"], + "full": "in der", + "canonical": "i", + "note": "translates to 'in the'" + }, + { + "tokens": ["i", "in der", "i d"], + "full": "in der", + "canonical": "i", + "spanBoundaries": 1, + "note": "translates to 'in the'; same as above, but this group contains two-token phrases" + }, + { "tokens": ["Bf", "Bhf", "Bahnhof"], "full": "Bahnhof", "canonical": "Bf" }, + { "tokens": ["bg", "berg"], "full": "berg", "canonical": "bg" }, + { "tokens": ["bg", "burg"], "full": "burg", "canonical": "bg" }, + { + "tokens": ["Br", "Brücke"], + "full": "Brücke", + "canonical": "Br", + "onlyLayers": ["address"], + "note": "translates to 'bridge'" + }, + { + "tokens": ["Ch", "Chaussee"], + "full": "Chaussee", + "canonical": "Ch", + "onlyLayers": ["address"], + "note": "translates to 'highway'", + "type": "way" + }, + { "tokens": ["D", "Damm"], "full": "Damm", "canonical": "D" }, + { "tokens": ["d", "der"], "full": "der", "canonical": "d" }, + { "tokens": ["df", "dorf"], "full": "dorf", "canonical": "df" }, + { "tokens": ["Dr", "Doktor"], "full": "Doktor", "canonical": "Dr" }, + { + "tokens": ["G", "Gasse"], + "full": "Gasse", + "canonical": "G", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { "tokens": ["Gr", "Große"], "full": "Große", "canonical": "Gr" }, + { "tokens": ["Gr", "Großer"], "full": "Großer", "canonical": "Gr" }, + { "tokens": ["Gr", "Großes"], "full": "Großes", "canonical": "Gr" }, + { + "tokens": ["Hbf", "Hauptbahnhof"], + "full": "Hauptbahnhof", + "canonical": "Hbf" + }, + { "tokens": ["Hl", "Heiligen"], "full": "Heiligen", "canonical": "Hl" }, + { "tokens": ["Kl", "Kleine"], "full": "Kleine", "canonical": "Kl" }, + { "tokens": ["Kl", "Kleiner"], "full": "Kleiner", "canonical": "Kl" }, + { "tokens": ["Kl", "Kleines"], "full": "Kleines", "canonical": "Kl" }, + { + "tokens": ["Kr", "Krs", "Kreis"], + "full": "Kreis", + "canonical": "Kr", + "onlyLayers": ["address"], + "note": "translates to 'circle'", + "type": "way" + }, + { + "tokens": ["Lk", "Lkr", "Lkrs", "Landkrs", "Landkreis"], + "full": "Landkreis", + "canonical": "Lk" + }, + { "tokens": ["o", "ob"], "full": "ob", "canonical": "o" }, + { "tokens": ["Ob", "Obere"], "full": "Obere", "canonical": "Ob" }, + { "tokens": ["Ob", "Oberer"], "full": "Oberer", "canonical": "Ob" }, + { "tokens": ["Ob", "Oberes"], "full": "Oberes", "canonical": "Ob" }, + { + "tokens": ["Pl", "Platz"], + "full": "Platz", + "canonical": "Pl", + "type": "way" + }, + { "tokens": ["Rh", "Rhein"], "full": "Rhein", "canonical": "Rh" }, + { + "tokens": ["St", "Sankt"], + "full": "Sankt", + "canonical": "St", + "note": "Reference to a saint" + }, + { + "tokens": ["Str", "Straße", "Strasse"], + "full": "Strasse", + "canonical": "Str", + "note": "translates to 'street'", + "type": "way" + }, + { "tokens": ["U", "Untere"], "full": "Untere", "canonical": "U" }, + { "tokens": ["U", "Unterer"], "full": "Unterer", "canonical": "U" }, + { "tokens": ["U", "Unteres"], "full": "Unteres", "canonical": "U" }, + { "tokens": ["v", "von"], "full": "von", "canonical": "v" }, + { + "tokens": ["Wg", "Weg"], + "full": "Weg", + "canonical": "Wg", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { "tokens": ["z", "zum"], "full": "zum", "canonical": "z" }, + { + "tokens": ["ä", "ae"], + "skipBoundaries": true, + "full": "ä", + "skipDiacriticStripping": true, + "canonical": "ae" + }, + { + "tokens": ["ö", "oe"], + "skipBoundaries": true, + "full": "ö", + "skipDiacriticStripping": true, + "canonical": "oe" + }, + { + "tokens": ["ü", "ue"], + "skipBoundaries": true, + "full": "ü", + "skipDiacriticStripping": true, + "canonical": "ue" + }, + { + "tokens": ["$1 str", "([^ ]+)(strasse|str|straße)"], + "full": "([^ ]+)(strasse|str|straße)", + "canonical": "$1 str", + "regex": true, + "skipDiacriticStripping": true, + "spanBoundaries": 0 + } +] diff --git a/.history/test/fixtures/de-simple_20220429102719.json b/.history/test/fixtures/de-simple_20220429102719.json new file mode 100644 index 0000000..b29f35b --- /dev/null +++ b/.history/test/fixtures/de-simple_20220429102719.json @@ -0,0 +1,50 @@ +[ + ["a", "am", "an", "a d", "a.d", "auf", "an der"], + ["a.d.", "auf der"], + ["i", "im", "in", "i d", "i.d", "i.d.", "in der"], + ["Bf", "Bhf", "Bahnhof"], + ["bg", "berg", "burg"], + ["Br", "Brücke"], + ["Ch", "Chaussee"], + ["D", "Damm"], + ["d", "der"], + ["df", "dorf"], + ["Dr", "Doktor"], + ["G", "Gasse"], + ["Gr", "Große", "Großer", "Großes"], + ["Hbf", "Hauptbahnhof"], + ["Hl", "Heiligen"], + ["Kl", "Kleine", "Kleiner", "Kleines"], + ["Kr", "Krs", "Kreis"], + ["Lk", "Lkr", "Lkrs", "Landkrs", "Landkreis"], + ["o", "ob"], + ["Ob", "Obere", "Oberer", "Oberes"], + ["Pl", "Platz"], + ["Rh", "Rhein"], + ["St", "Sankt"], + ["Str", "Straße", "Strasse"], + ["U", "Untere", "Unterer", "Unteres"], + ["v", "von"], + ["Wg", "Weg"], + ["z", "zum"], + [ + "ä", + { "skipBoundaries": true, "skipDiacriticStripping": true, "text": "ae" } + ], + [ + "ö", + { "skipBoundaries": true, "skipDiacriticStripping": true, "text": "oe" } + ], + [ + "ü", + { "skipBoundaries": true, "skipDiacriticStripping": true, "text": "ue" } + ], + [ + "$1 str", + { + "skipDiacriticStripping": true, + "regex": true, + "text": "([^ ]+)(strasse|str|straße)" + } + ] +] diff --git a/.history/tokens/bg_20210429122348.json b/.history/tokens/bg_20210429122348.json new file mode 100644 index 0000000..e69de29 diff --git a/.history/tokens/bg_20210429122737.json b/.history/tokens/bg_20210429122737.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/.history/tokens/bg_20210429122737.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084519.json b/.history/tokens/bg_20210430084519.json new file mode 100644 index 0000000..591eb1f --- /dev/null +++ b/.history/tokens/bg_20210430084519.json @@ -0,0 +1,8 @@ +[ + Булевард|бул +bulevard|bul +площад|пл +ploshtad|pl +улица|ул +ulitsa|ul +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084528.json b/.history/tokens/bg_20210430084528.json new file mode 100644 index 0000000..db3d96a --- /dev/null +++ b/.history/tokens/bg_20210430084528.json @@ -0,0 +1,18 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + Булевард|бул +bulevard|bul +площад|пл +ploshtad|pl +улица|ул +ulitsa|ul +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084536.json b/.history/tokens/bg_20210430084536.json new file mode 100644 index 0000000..9bd7472 --- /dev/null +++ b/.history/tokens/bg_20210430084536.json @@ -0,0 +1,73 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +площад|пл +ploshtad|pl +улица|ул +ulitsa|ul +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084541.json b/.history/tokens/bg_20210430084541.json new file mode 100644 index 0000000..749b246 --- /dev/null +++ b/.history/tokens/bg_20210430084541.json @@ -0,0 +1,73 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "ulitsa" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +площад|пл +ploshtad|pl +улица|ул +ulitsa|ul +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084543.json b/.history/tokens/bg_20210430084543.json new file mode 100644 index 0000000..4902aab --- /dev/null +++ b/.history/tokens/bg_20210430084543.json @@ -0,0 +1,73 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +площад|пл +ploshtad|pl +улица|ул +ulitsa|ul +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084545.json b/.history/tokens/bg_20210430084545.json new file mode 100644 index 0000000..3a61c97 --- /dev/null +++ b/.history/tokens/bg_20210430084545.json @@ -0,0 +1,73 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +площад|пл +ploshtad|pl +улица|ул +ulitsa|ul +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084549.json b/.history/tokens/bg_20210430084549.json new file mode 100644 index 0000000..2e3772f --- /dev/null +++ b/.history/tokens/bg_20210430084549.json @@ -0,0 +1,72 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +площад|пл +ploshtad|pl +улица|ул +ulitsa|ul +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084552.json b/.history/tokens/bg_20210430084552.json new file mode 100644 index 0000000..11f5148 --- /dev/null +++ b/.history/tokens/bg_20210430084552.json @@ -0,0 +1,71 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +площад|пл +ploshtad|pl +улица|ул +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084556.json b/.history/tokens/bg_20210430084556.json new file mode 100644 index 0000000..9db9f33 --- /dev/null +++ b/.history/tokens/bg_20210430084556.json @@ -0,0 +1,71 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Aулl", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +площад|пл +ploshtad|pl +улица|ул +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084558.json b/.history/tokens/bg_20210430084558.json new file mode 100644 index 0000000..f547b05 --- /dev/null +++ b/.history/tokens/bg_20210430084558.json @@ -0,0 +1,71 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "ул", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +площад|пл +ploshtad|pl +улица|ул +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084601.json b/.history/tokens/bg_20210430084601.json new file mode 100644 index 0000000..84b34c3 --- /dev/null +++ b/.history/tokens/bg_20210430084601.json @@ -0,0 +1,71 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "Alameda" + ], + "full": "Alameda", + "canonical": "ул", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +площад|пл +ploshtad|pl +улица|ул +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084605.json b/.history/tokens/bg_20210430084605.json new file mode 100644 index 0000000..b1f9d39 --- /dev/null +++ b/.history/tokens/bg_20210430084605.json @@ -0,0 +1,71 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "Alameda", + "canonical": "ул", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +площад|пл +ploshtad|pl +улица|ул +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084606.json b/.history/tokens/bg_20210430084606.json new file mode 100644 index 0000000..1621821 --- /dev/null +++ b/.history/tokens/bg_20210430084606.json @@ -0,0 +1,71 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +площад|пл +ploshtad|pl +улица|ул +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084608.json b/.history/tokens/bg_20210430084608.json new file mode 100644 index 0000000..6e7ef0f --- /dev/null +++ b/.history/tokens/bg_20210430084608.json @@ -0,0 +1,70 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +площад|пл +ploshtad|pl +улица|ул +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084610.json b/.history/tokens/bg_20210430084610.json new file mode 100644 index 0000000..f50ec1b --- /dev/null +++ b/.history/tokens/bg_20210430084610.json @@ -0,0 +1,69 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +площад|пл +ploshtad|pl +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084615.json b/.history/tokens/bg_20210430084615.json new file mode 100644 index 0000000..fa5a3cc --- /dev/null +++ b/.history/tokens/bg_20210430084615.json @@ -0,0 +1,69 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +площад|пл +ploshtad|pl +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084618.json b/.history/tokens/bg_20210430084618.json new file mode 100644 index 0000000..46d5fdd --- /dev/null +++ b/.history/tokens/bg_20210430084618.json @@ -0,0 +1,69 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +площад|пл +ploshtad|pl +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084619.json b/.history/tokens/bg_20210430084619.json new file mode 100644 index 0000000..0b0e07f --- /dev/null +++ b/.history/tokens/bg_20210430084619.json @@ -0,0 +1,68 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +площад|пл +ploshtad|pl +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084622.json b/.history/tokens/bg_20210430084622.json new file mode 100644 index 0000000..808f1e4 --- /dev/null +++ b/.history/tokens/bg_20210430084622.json @@ -0,0 +1,67 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +площад|пл +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084638.json b/.history/tokens/bg_20210430084638.json new file mode 100644 index 0000000..da01cdb --- /dev/null +++ b/.history/tokens/bg_20210430084638.json @@ -0,0 +1,67 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "площад" + ], + "full": "площад", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +площад|пл +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084641.json b/.history/tokens/bg_20210430084641.json new file mode 100644 index 0000000..b140d45 --- /dev/null +++ b/.history/tokens/bg_20210430084641.json @@ -0,0 +1,67 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +площад|пл +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084643.json b/.history/tokens/bg_20210430084643.json new file mode 100644 index 0000000..50b8ca1 --- /dev/null +++ b/.history/tokens/bg_20210430084643.json @@ -0,0 +1,66 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +площад|пл +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084645.json b/.history/tokens/bg_20210430084645.json new file mode 100644 index 0000000..459d992 --- /dev/null +++ b/.history/tokens/bg_20210430084645.json @@ -0,0 +1,65 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084651.json b/.history/tokens/bg_20210430084651.json new file mode 100644 index 0000000..6ad2d40 --- /dev/null +++ b/.history/tokens/bg_20210430084651.json @@ -0,0 +1,65 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "bulevard" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084652.json b/.history/tokens/bg_20210430084652.json new file mode 100644 index 0000000..7395b1e --- /dev/null +++ b/.history/tokens/bg_20210430084652.json @@ -0,0 +1,65 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Al", + "bulevard" + ], + "full": "bulevard", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084654.json b/.history/tokens/bg_20210430084654.json new file mode 100644 index 0000000..3b0d5cb --- /dev/null +++ b/.history/tokens/bg_20210430084654.json @@ -0,0 +1,65 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084656.json b/.history/tokens/bg_20210430084656.json new file mode 100644 index 0000000..6f3e0c8 --- /dev/null +++ b/.history/tokens/bg_20210430084656.json @@ -0,0 +1,65 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084657.json b/.history/tokens/bg_20210430084657.json new file mode 100644 index 0000000..a783dfb --- /dev/null +++ b/.history/tokens/bg_20210430084657.json @@ -0,0 +1,64 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +bulevard|bul +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084658.json b/.history/tokens/bg_20210430084658.json new file mode 100644 index 0000000..e1d0991 --- /dev/null +++ b/.history/tokens/bg_20210430084658.json @@ -0,0 +1,63 @@ +[ { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084702.json b/.history/tokens/bg_20210430084702.json new file mode 100644 index 0000000..311f0be --- /dev/null +++ b/.history/tokens/bg_20210430084702.json @@ -0,0 +1,63 @@ +[ { + "tokens": [ + "Al", + "Булевард" + ], + "full": "Булевард", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084707.json b/.history/tokens/bg_20210430084707.json new file mode 100644 index 0000000..9cd97a0 --- /dev/null +++ b/.history/tokens/bg_20210430084707.json @@ -0,0 +1,63 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084709.json b/.history/tokens/bg_20210430084709.json new file mode 100644 index 0000000..3c4d755 --- /dev/null +++ b/.history/tokens/bg_20210430084709.json @@ -0,0 +1,62 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } + Булевард|бул +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084710.json b/.history/tokens/bg_20210430084710.json new file mode 100644 index 0000000..02851af --- /dev/null +++ b/.history/tokens/bg_20210430084710.json @@ -0,0 +1,61 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084714.json b/.history/tokens/bg_20210430084714.json new file mode 100644 index 0000000..453458e --- /dev/null +++ b/.history/tokens/bg_20210430084714.json @@ -0,0 +1,61 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084716.json b/.history/tokens/bg_20210430084716.json new file mode 100644 index 0000000..32b24df --- /dev/null +++ b/.history/tokens/bg_20210430084716.json @@ -0,0 +1,61 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084717.json b/.history/tokens/bg_20210430084717.json new file mode 100644 index 0000000..1dca772 --- /dev/null +++ b/.history/tokens/bg_20210430084717.json @@ -0,0 +1,61 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084719.json b/.history/tokens/bg_20210430084719.json new file mode 100644 index 0000000..fa95bf9 --- /dev/null +++ b/.history/tokens/bg_20210430084719.json @@ -0,0 +1,61 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084720.json b/.history/tokens/bg_20210430084720.json new file mode 100644 index 0000000..9c283b7 --- /dev/null +++ b/.history/tokens/bg_20210430084720.json @@ -0,0 +1,61 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084743.json b/.history/tokens/bg_20210430084743.json new file mode 100644 index 0000000..06d60f2 --- /dev/null +++ b/.history/tokens/bg_20210430084743.json @@ -0,0 +1,61 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'Boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084745.json b/.history/tokens/bg_20210430084745.json new file mode 100644 index 0000000..f4b8b74 --- /dev/null +++ b/.history/tokens/bg_20210430084745.json @@ -0,0 +1,61 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084746.json b/.history/tokens/bg_20210430084746.json new file mode 100644 index 0000000..4b651d5 --- /dev/null +++ b/.history/tokens/bg_20210430084746.json @@ -0,0 +1,61 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'Boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084748.json b/.history/tokens/bg_20210430084748.json new file mode 100644 index 0000000..c20b2ed --- /dev/null +++ b/.history/tokens/bg_20210430084748.json @@ -0,0 +1,61 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'voulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430084749.json b/.history/tokens/bg_20210430084749.json new file mode 100644 index 0000000..8b8d3b2 --- /dev/null +++ b/.history/tokens/bg_20210430084749.json @@ -0,0 +1,61 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430085200.json b/.history/tokens/bg_20210430085200.json new file mode 100644 index 0000000..da68faa --- /dev/null +++ b/.history/tokens/bg_20210430085200.json @@ -0,0 +1,61 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430085211.json b/.history/tokens/bg_20210430085211.json new file mode 100644 index 0000000..2caf767 --- /dev/null +++ b/.history/tokens/bg_20210430085211.json @@ -0,0 +1,61 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430085222.json b/.history/tokens/bg_20210430085222.json new file mode 100644 index 0000000..31aa81c --- /dev/null +++ b/.history/tokens/bg_20210430085222.json @@ -0,0 +1,61 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'avenue'", + "type": "way" + } +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430085232.json b/.history/tokens/bg_20210430085232.json new file mode 100644 index 0000000..5eb1e3e --- /dev/null +++ b/.history/tokens/bg_20210430085232.json @@ -0,0 +1,61 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] \ No newline at end of file diff --git a/.history/tokens/bg_20210430085630.json b/.history/tokens/bg_20210430085630.json new file mode 100644 index 0000000..093f770 --- /dev/null +++ b/.history/tokens/bg_20210430085630.json @@ -0,0 +1,74 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] + + + +блок|бл +blok|bl +село|с +selo|s +град|гр +grad|gr +квартал|кварт|кв|кв-л +kvartal|kvart|kv|kv-l +жилищен комплекс|ж.к.|жк|ж к +zhilishten kompleks|z.k.|zk|z k \ No newline at end of file diff --git a/.history/tokens/bg_20210430085635.json b/.history/tokens/bg_20210430085635.json new file mode 100644 index 0000000..1827103 --- /dev/null +++ b/.history/tokens/bg_20210430085635.json @@ -0,0 +1,84 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] + + + +блок|бл +blok|bl +село|с +selo|s +град|гр +grad|gr +квартал|кварт|кв|кв-л +kvartal|kvart|kv|kv-l +жилищен комплекс|ж.к.|жк|ж к +zhilishten kompleks|z.k.|zk|z k \ No newline at end of file diff --git a/.history/tokens/bg_20210430085636.json b/.history/tokens/bg_20210430085636.json new file mode 100644 index 0000000..be39ab6 --- /dev/null +++ b/.history/tokens/bg_20210430085636.json @@ -0,0 +1,84 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] + + + +блок|бл +blok|bl +село|с +selo|s +град|гр +grad|gr +квартал|кварт|кв|кв-л +kvartal|kvart|kv|kv-l +жилищен комплекс|ж.к.|жк|ж к +zhilishten kompleks|z.k.|zk|z k \ No newline at end of file diff --git a/.history/tokens/bg_20210430085638.json b/.history/tokens/bg_20210430085638.json new file mode 100644 index 0000000..adb43a7 --- /dev/null +++ b/.history/tokens/bg_20210430085638.json @@ -0,0 +1,84 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'block'", + "type": "way" + } +] + + + +блок|бл +blok|bl +село|с +selo|s +град|гр +grad|gr +квартал|кварт|кв|кв-л +kvartal|kvart|kv|kv-l +жилищен комплекс|ж.к.|жк|ж к +zhilishten kompleks|z.k.|zk|z k \ No newline at end of file diff --git a/.history/tokens/bg_20210430085643.json b/.history/tokens/bg_20210430085643.json new file mode 100644 index 0000000..9e9986d --- /dev/null +++ b/.history/tokens/bg_20210430085643.json @@ -0,0 +1,84 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "блок" + ], + "full": "блок", + "canonical": "ul", + "note": "translates to 'block'", + "type": "way" + } +] + + + +блок|бл +blok|bl +село|с +selo|s +град|гр +grad|gr +квартал|кварт|кв|кв-л +kvartal|kvart|kv|kv-l +жилищен комплекс|ж.к.|жк|ж к +zhilishten kompleks|z.k.|zk|z k \ No newline at end of file diff --git a/.history/tokens/bg_20210430085645.json b/.history/tokens/bg_20210430085645.json new file mode 100644 index 0000000..629a390 --- /dev/null +++ b/.history/tokens/bg_20210430085645.json @@ -0,0 +1,84 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "бл", + "блок" + ], + "full": "блок", + "canonical": "ul", + "note": "translates to 'block'", + "type": "way" + } +] + + + +блок|бл +blok|bl +село|с +selo|s +град|гр +grad|gr +квартал|кварт|кв|кв-л +kvartal|kvart|kv|kv-l +жилищен комплекс|ж.к.|жк|ж к +zhilishten kompleks|z.k.|zk|z k \ No newline at end of file diff --git a/.history/tokens/bg_20210430085647.json b/.history/tokens/bg_20210430085647.json new file mode 100644 index 0000000..e913570 --- /dev/null +++ b/.history/tokens/bg_20210430085647.json @@ -0,0 +1,84 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "бл", + "блок" + ], + "full": "блок", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + } +] + + + +блок|бл +blok|bl +село|с +selo|s +град|гр +grad|gr +квартал|кварт|кв|кв-л +kvartal|kvart|kv|kv-l +жилищен комплекс|ж.к.|жк|ж к +zhilishten kompleks|z.k.|zk|z k \ No newline at end of file diff --git a/.history/tokens/bg_20210430085651.json b/.history/tokens/bg_20210430085651.json new file mode 100644 index 0000000..c4a3e55 --- /dev/null +++ b/.history/tokens/bg_20210430085651.json @@ -0,0 +1,94 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "бл", + "блок" + ], + "full": "блок", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "бл", + "блок" + ], + "full": "блок", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + } +] + + + +блок|бл +blok|bl +село|с +selo|s +град|гр +grad|gr +квартал|кварт|кв|кв-л +kvartal|kvart|kv|kv-l +жилищен комплекс|ж.к.|жк|ж к +zhilishten kompleks|z.k.|zk|z k \ No newline at end of file diff --git a/.history/tokens/bg_20210430085652.json b/.history/tokens/bg_20210430085652.json new file mode 100644 index 0000000..5e34e18 --- /dev/null +++ b/.history/tokens/bg_20210430085652.json @@ -0,0 +1,94 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "бл", + "блок" + ], + "full": "блок", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "бл", + "блок" + ], + "full": "блок", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + } +] + + + +блок|бл +blok|bl +село|с +selo|s +град|гр +grad|gr +квартал|кварт|кв|кв-л +kvartal|kvart|kv|kv-l +жилищен комплекс|ж.к.|жк|ж к +zhilishten kompleks|z.k.|zk|z k \ No newline at end of file diff --git a/.history/tokens/bg_20210430085656.json b/.history/tokens/bg_20210430085656.json new file mode 100644 index 0000000..0b3b3eb --- /dev/null +++ b/.history/tokens/bg_20210430085656.json @@ -0,0 +1,94 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "бл", + "блок" + ], + "full": "блок", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "бл", + "blok" + ], + "full": "blok", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + } +] + + + +блок|бл +blok|bl +село|с +selo|s +град|гр +grad|gr +квартал|кварт|кв|кв-л +kvartal|kvart|kv|kv-l +жилищен комплекс|ж.к.|жк|ж к +zhilishten kompleks|z.k.|zk|z k \ No newline at end of file diff --git a/.history/tokens/bg_20210430085659.json b/.history/tokens/bg_20210430085659.json new file mode 100644 index 0000000..92852b5 --- /dev/null +++ b/.history/tokens/bg_20210430085659.json @@ -0,0 +1,94 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "бл", + "блок" + ], + "full": "блок", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "бл", + "blok" + ], + "full": "blok", + "canonical": "bl", + "note": "translates to 'block'", + "type": "way" + } +] + + + +блок|бл +blok|bl +село|с +selo|s +град|гр +grad|gr +квартал|кварт|кв|кв-л +kvartal|kvart|kv|kv-l +жилищен комплекс|ж.к.|жк|ж к +zhilishten kompleks|z.k.|zk|z k \ No newline at end of file diff --git a/.history/tokens/bg_20210430085701.json b/.history/tokens/bg_20210430085701.json new file mode 100644 index 0000000..5ab8d57 --- /dev/null +++ b/.history/tokens/bg_20210430085701.json @@ -0,0 +1,94 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "бл", + "блок" + ], + "full": "блок", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "bl", + "blok" + ], + "full": "blok", + "canonical": "bl", + "note": "translates to 'block'", + "type": "way" + } +] + + + +блок|бл +blok|bl +село|с +selo|s +град|гр +grad|gr +квартал|кварт|кв|кв-л +kvartal|kvart|kv|kv-l +жилищен комплекс|ж.к.|жк|ж к +zhilishten kompleks|z.k.|zk|z k \ No newline at end of file diff --git a/.history/tokens/bg_20210430085712.json b/.history/tokens/bg_20210430085712.json new file mode 100644 index 0000000..94d4c2c --- /dev/null +++ b/.history/tokens/bg_20210430085712.json @@ -0,0 +1,91 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "бл", + "блок" + ], + "full": "блок", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "bl", + "blok" + ], + "full": "blok", + "canonical": "bl", + "note": "translates to 'block'", + "type": "way" + } +] + + +село|с +selo|s +град|гр +grad|gr +квартал|кварт|кв|кв-л +kvartal|kvart|kv|kv-l +жилищен комплекс|ж.к.|жк|ж к +zhilishten kompleks|z.k.|zk|z k \ No newline at end of file diff --git a/.history/tokens/bg_20210430085818.json b/.history/tokens/bg_20210430085818.json new file mode 100644 index 0000000..e737453 --- /dev/null +++ b/.history/tokens/bg_20210430085818.json @@ -0,0 +1,81 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "бл", + "блок" + ], + "full": "блок", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "bl", + "blok" + ], + "full": "blok", + "canonical": "bl", + "note": "translates to 'block'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430085819.json b/.history/tokens/bg_20210430085819.json new file mode 100644 index 0000000..e737453 --- /dev/null +++ b/.history/tokens/bg_20210430085819.json @@ -0,0 +1,81 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "бл", + "блок" + ], + "full": "блок", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "bl", + "blok" + ], + "full": "blok", + "canonical": "bl", + "note": "translates to 'block'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430090338.json b/.history/tokens/bg_20210430090338.json new file mode 100644 index 0000000..5323f12 --- /dev/null +++ b/.history/tokens/bg_20210430090338.json @@ -0,0 +1,61 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430090700.json b/.history/tokens/bg_20210430090700.json new file mode 100644 index 0000000..e737453 --- /dev/null +++ b/.history/tokens/bg_20210430090700.json @@ -0,0 +1,81 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "бл", + "блок" + ], + "full": "блок", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "bl", + "blok" + ], + "full": "blok", + "canonical": "bl", + "note": "translates to 'block'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430090740.json b/.history/tokens/bg_20210430090740.json new file mode 100644 index 0000000..5323f12 --- /dev/null +++ b/.history/tokens/bg_20210430090740.json @@ -0,0 +1,61 @@ +[ { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161409.json b/.history/tokens/bg_20210430161409.json new file mode 100644 index 0000000..51f2529 --- /dev/null +++ b/.history/tokens/bg_20210430161409.json @@ -0,0 +1,62 @@ +[ + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161413.json b/.history/tokens/bg_20210430161413.json new file mode 100644 index 0000000..2bad9ef --- /dev/null +++ b/.history/tokens/bg_20210430161413.json @@ -0,0 +1,72 @@ +[ + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161415.json b/.history/tokens/bg_20210430161415.json new file mode 100644 index 0000000..ddabe6d --- /dev/null +++ b/.history/tokens/bg_20210430161415.json @@ -0,0 +1,72 @@ +[ + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161420.json b/.history/tokens/bg_20210430161420.json new file mode 100644 index 0000000..685d74e --- /dev/null +++ b/.history/tokens/bg_20210430161420.json @@ -0,0 +1,73 @@ +[ + { + "tokens": [ + " Блок/бл./blok (Block) +", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161424.json b/.history/tokens/bg_20210430161424.json new file mode 100644 index 0000000..5e567e7 --- /dev/null +++ b/.history/tokens/bg_20210430161424.json @@ -0,0 +1,73 @@ +[ + { + "tokens": [ + " Блок/бл./blok (Block) +", + "бл" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161427.json b/.history/tokens/bg_20210430161427.json new file mode 100644 index 0000000..8c83559 --- /dev/null +++ b/.history/tokens/bg_20210430161427.json @@ -0,0 +1,74 @@ +[ + { + "tokens": [ + " Блок/бл./blok (Block) +", + "бл", + "blok" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161431.json b/.history/tokens/bg_20210430161431.json new file mode 100644 index 0000000..e004938 --- /dev/null +++ b/.history/tokens/bg_20210430161431.json @@ -0,0 +1,74 @@ +[ + { + "tokens": [ + " Блок/бл./blok (Block) +", + "бл", + "blok" + ], + "full": "blok", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161433.json b/.history/tokens/bg_20210430161433.json new file mode 100644 index 0000000..c09944e --- /dev/null +++ b/.history/tokens/bg_20210430161433.json @@ -0,0 +1,74 @@ +[ + { + "tokens": [ + " Блок/бл./blok (Block) +", + "бл", + "blok" + ], + "full": "blok", + "canonical": "бл", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161434.json b/.history/tokens/bg_20210430161434.json new file mode 100644 index 0000000..a3a5cf2 --- /dev/null +++ b/.history/tokens/bg_20210430161434.json @@ -0,0 +1,74 @@ +[ + { + "tokens": [ + " Блок/бл./blok (Block) +", + "бл", + "blok" + ], + "full": "blok", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161443.json b/.history/tokens/bg_20210430161443.json new file mode 100644 index 0000000..2aa28f1 --- /dev/null +++ b/.history/tokens/bg_20210430161443.json @@ -0,0 +1,74 @@ +[ + { + "tokens": [ + " Блок +", + "бл", + "blok" + ], + "full": "blok", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161444.json b/.history/tokens/bg_20210430161444.json new file mode 100644 index 0000000..a47f3ff --- /dev/null +++ b/.history/tokens/bg_20210430161444.json @@ -0,0 +1,74 @@ +[ + { + "tokens": [ + " Блок +" + "бл", + "blok" + ], + "full": "blok", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161445.json b/.history/tokens/bg_20210430161445.json new file mode 100644 index 0000000..85f2877 --- /dev/null +++ b/.history/tokens/bg_20210430161445.json @@ -0,0 +1,73 @@ +[ + { + "tokens": [ + " Блок" + "бл", + "blok" + ], + "full": "blok", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161447.json b/.history/tokens/bg_20210430161447.json new file mode 100644 index 0000000..efae521 --- /dev/null +++ b/.history/tokens/bg_20210430161447.json @@ -0,0 +1,73 @@ +[ + { + "tokens": [ + " Блок", + "бл", + "blok" + ], + "full": "blok", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161451.json b/.history/tokens/bg_20210430161451.json new file mode 100644 index 0000000..1ffc89c --- /dev/null +++ b/.history/tokens/bg_20210430161451.json @@ -0,0 +1,73 @@ +[ + { + "tokens": [ + "Блок", + "бл", + "blok" + ], + "full": "blok", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161454.json b/.history/tokens/bg_20210430161454.json new file mode 100644 index 0000000..3c9ebf4 --- /dev/null +++ b/.history/tokens/bg_20210430161454.json @@ -0,0 +1,73 @@ +[ + { + "tokens": [ + "бл", + "Блок", + "blok" + ], + "full": "blok", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161504.json b/.history/tokens/bg_20210430161504.json new file mode 100644 index 0000000..6931d1b --- /dev/null +++ b/.history/tokens/bg_20210430161504.json @@ -0,0 +1,73 @@ +[ + { + "tokens": [ + "бл", + "Блок", + "blok" + ], + "full": "blok", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { Булевард/бул./bulevard (B + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161509.json b/.history/tokens/bg_20210430161509.json new file mode 100644 index 0000000..3c9ebf4 --- /dev/null +++ b/.history/tokens/bg_20210430161509.json @@ -0,0 +1,73 @@ +[ + { + "tokens": [ + "бл", + "Блок", + "blok" + ], + "full": "blok", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161522.json b/.history/tokens/bg_20210430161522.json new file mode 100644 index 0000000..55122a5 --- /dev/null +++ b/.history/tokens/bg_20210430161522.json @@ -0,0 +1,74 @@ +[ + { + "tokens": [ + "бл", + "Блок", + "blok" + ], + "full": "blok", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, Улица/ул./ulica (Street) + + { + "tokens": [ + "ul", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161528.json b/.history/tokens/bg_20210430161528.json new file mode 100644 index 0000000..ddf6a1d --- /dev/null +++ b/.history/tokens/bg_20210430161528.json @@ -0,0 +1,75 @@ +[ + { + "tokens": [ + "бл", + "Блок", + "blok" + ], + "full": "blok", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, Улица/ул./ulica (Street) + + { + "tokens": [ + "ul", + "ulica" + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161529.json b/.history/tokens/bg_20210430161529.json new file mode 100644 index 0000000..c373c6a --- /dev/null +++ b/.history/tokens/bg_20210430161529.json @@ -0,0 +1,75 @@ +[ + { + "tokens": [ + "бл", + "Блок", + "blok" + ], + "full": "blok", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, Улица/ул./ulica (Street) + + { + "tokens": [ + "ul", + "ulica", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/bg_20210430161536.json b/.history/tokens/bg_20210430161536.json new file mode 100644 index 0000000..d3d5630 --- /dev/null +++ b/.history/tokens/bg_20210430161536.json @@ -0,0 +1,74 @@ +[ + { + "tokens": [ + "бл", + "Блок", + "blok" + ], + "full": "blok", + "canonical": "бл", + "note": "translates to 'block'", + "type": "way" + }, + { + "tokens": [ + "бул", + "Булевард" + ], + "full": "Булевард", + "canonical": "бул", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "bul", + "bulevard" + ], + "full": "bulevard", + "canonical": "bul", + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "пл", + "площад" + ], + "full": "площад", + "canonical": "пл", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "pl", + "ploshtad" + ], + "full": "ploshtad", + "canonical": "pl", + "note": "translates to 'plaza'", + "type": "way" + }, + { + "tokens": [ + "ул", + "улица" + ], + "full": "улица", + "canonical": "ул", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "ul", + "ulica", + "ulitsa" + ], + "full": "ulitsa", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + } +] diff --git a/.history/tokens/cl_20201005152954.json b/.history/tokens/cl_20201005152954.json new file mode 100644 index 0000000..e69de29 diff --git a/.history/tokens/cl_20201005152957.json b/.history/tokens/cl_20201005152957.json new file mode 100644 index 0000000..d5b69a4 --- /dev/null +++ b/.history/tokens/cl_20201005152957.json @@ -0,0 +1 @@ +{'canonical': 'auto', 'type': 'way', 'full': 'autopista', 'tokens': ['autopista', 'auto', 'autop']}, {'canonical': 'auto', 'type': 'way', 'full': 'autopista', 'tokens': ['autopista', 'auto', 'autop']}, {'canonical': 'auto', 'type': 'way', 'full': 'autopista', 'tokens': ['autopista', 'auto', 'autop']}, {'canonical': 'autov', 'type': 'way', 'full': 'autovia', 'tokens': ['autovia', 'autov']}, {'canonical': 'autov', 'type': 'way', 'full': 'autovia', 'tokens': ['autovia', 'autov']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'camí', 'type': 'way', 'full': 'camí', 'tokens': ['camí', 'cami']}, {'canonical': 'camí', 'type': 'way', 'full': 'camí', 'tokens': ['camí', 'cami']}, {'canonical': 'c /', 'type': 'way', 'full': 'carrer', 'tokens': ['carrer', 'carr', 'c /']}, {'canonical': 'c /', 'type': 'way', 'full': 'carrer', 'tokens': ['carrer', 'carr', 'c /']}, {'canonical': 'cra', 'type': 'way', 'full': 'carrera', 'tokens': ['carrera', 'cra', 'carra']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'ctra', 'type': 'way', 'full': 'carretera', 'tokens': ['carretera', 'ctra']}, {'canonical': 'ctra', 'type': 'way', 'full': 'carretera', 'tokens': ['carretera', 'ctra']}, {'canonical': 'cint', 'type': 'way', 'full': 'cinturó', 'tokens': ['cinturó', 'cint', 'cinturo']}, {'canonical': 'cint', 'type': 'way', 'full': 'cinturó', 'tokens': ['cinturó', 'cint', 'cinturo']}, {'canonical': 'cint', 'type': 'way', 'full': 'cinturó', 'tokens': ['cinturó', 'cint', 'cinturo']}, {'canonical': 'diag', 'type': 'way', 'full': 'diagonal', 'tokens': ['diagonal', 'diag']}, {'canonical': 'diag', 'type': 'way', 'full': 'diagonal', 'tokens': ['diagonal', 'diag']}, {'canonical': 'drec', 'type': 'way', 'full': 'drecera', 'tokens': ['drecera', 'drec']}, {'canonical': 'drec', 'type': 'way', 'full': 'drecera', 'tokens': ['drecera', 'drec']}, {'canonical': 'eix', 'type': 'way', 'full': 'eix', 'tokens': ['eix']}, {'canonical': 'eix diagonal', 'type': 'way', 'full': 'eix diagonal', 'tokens': ['eix diagonal']}, {'canonical': 'entr', 'type': 'way', 'full': 'entrada', 'tokens': ['entrada', 'entr']}, {'canonical': 'entr', 'type': 'way', 'full': 'entrada', 'tokens': ['entrada', 'entr']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'ptge', 'type': 'way', 'full': 'passatge', 'tokens': ['passatge', 'ptge']}, {'canonical': 'pg', 'type': 'way', 'full': 'passeig', 'tokens': ['passeig', 'pg']}, {'canonical': 'pg', 'type': 'way', 'full': 'passeig', 'tokens': ['passeig', 'pg']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'ptal', 'type': 'way', 'full': 'portal', 'tokens': ['portal', 'ptal']}, {'canonical': 'ptal', 'type': 'way', 'full': 'portal', 'tokens': ['portal', 'ptal']}, {'canonical': 'rbla', 'type': 'way', 'full': 'rambla', 'tokens': ['rambla', 'rbla']}, {'canonical': 'rbla', 'type': 'way', 'full': 'rambla', 'tokens': ['rambla', 'rbla']}, {'canonical': 'rda', 'type': 'way', 'full': 'ronda', 'tokens': ['ronda', 'rda']}, {'canonical': 'rda', 'type': 'way', 'full': 'ronda', 'tokens': ['ronda', 'rda']}, {'canonical': 'rtda', 'type': 'way', 'full': 'rotonda', 'tokens': ['rotonda', 'rtda']}, {'canonical': 'rtda', 'type': 'way', 'full': 'rotonda', 'tokens': ['rotonda', 'rtda']}, {'canonical': 'sort', 'type': 'way', 'full': 'sortida', 'tokens': ['sortida', 'sort']}, {'canonical': 'sort', 'type': 'way', 'full': 'sortida', 'tokens': ['sortida', 'sort']}, {'canonical': 'trval', 'type': 'way', 'full': 'transversal', 'tokens': ['transversal', 'trval', 'trvsal']}, {'canonical': 'trval', 'type': 'way', 'full': 'transversal', 'tokens': ['transversal', 'trval', 'trvsal']}, {'canonical': 'trval', 'type': 'way', 'full': 'transversal', 'tokens': ['transversal', 'trval', 'trvsal']}, {'canonical': 'trav', 'type': 'way', 'full': 'travessera', 'tokens': ['travessera', 'trav']}, {'canonical': 'trav', 'type': 'way', 'full': 'travessera', 'tokens': ['travessera', 'trav']}, {'canonical': 'trv', 'type': 'way', 'full': 'travessia', 'tokens': ['travessia', 'trv', 'trav']}, {'canonical': 'trv', 'type': 'way', 'full': 'travessia', 'tokens': ['travessia', 'trv', 'trav']}, {'canonical': 'trv', 'type': 'way', 'full': 'travessia', 'tokens': ['travessia', 'trv', 'trav']}, {'canonical': 'v', 'type': 'way', 'full': 'via', 'tokens': ['via', 'v']}, {'canonical': 'v', 'type': 'way', 'full': 'via', 'tokens': ['via', 'v']}] \ No newline at end of file diff --git a/.history/tokens/cl_20201005153044.json b/.history/tokens/cl_20201005153044.json new file mode 100644 index 0000000..d9dfffe --- /dev/null +++ b/.history/tokens/cl_20201005153044.json @@ -0,0 +1 @@ +{"canonical": "auto", "type": "way", "full": "autopista", "tokens": ["autopista", "auto", "autop"]}, {"canonical": "auto", "type": "way", "full": "autopista", "tokens": ["autopista", "auto", "autop"]}, {"canonical": "auto", "type": "way", "full": "autopista", "tokens": ["autopista", "auto", "autop"]}, {"canonical": "autov", "type": "way", "full": "autovia", "tokens": ["autovia", "autov"]}, {"canonical": "autov", "type": "way", "full": "autovia", "tokens": ["autovia", "autov"]}, {"canonical": "av", "type": "way", "full": "avinguda", "tokens": ["avinguda", "av", "avd", "avda", "avgda"]}, {"canonical": "av", "type": "way", "full": "avinguda", "tokens": ["avinguda", "av", "avd", "avda", "avgda"]}, {"canonical": "av", "type": "way", "full": "avinguda", "tokens": ["avinguda", "av", "avd", "avda", "avgda"]}, {"canonical": "av", "type": "way", "full": "avinguda", "tokens": ["avinguda", "av", "avd", "avda", "avgda"]}, {"canonical": "av", "type": "way", "full": "avinguda", "tokens": ["avinguda", "av", "avd", "avda", "avgda"]}, {"canonical": "camí", "type": "way", "full": "camí", "tokens": ["camí", "cami"]}, {"canonical": "camí", "type": "way", "full": "camí", "tokens": ["camí", "cami"]}, {"canonical": "c /", "type": "way", "full": "carrer", "tokens": ["carrer", "carr", "c /"]}, {"canonical": "c /", "type": "way", "full": "carrer", "tokens": ["carrer", "carr", "c /"]}, {"canonical": "cra", "type": "way", "full": "carrera", "tokens": ["carrera", "cra", "carra"]}, {"canonical": "cró", "type": "way", "full": "carreró", "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"]}, {"canonical": "cró", "type": "way", "full": "carreró", "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"]}, {"canonical": "cró", "type": "way", "full": "carreró", "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"]}, {"canonical": "cró", "type": "way", "full": "carreró", "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"]}, {"canonical": "cró", "type": "way", "full": "carreró", "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"]}, {"canonical": "ctra", "type": "way", "full": "carretera", "tokens": ["carretera", "ctra"]}, {"canonical": "ctra", "type": "way", "full": "carretera", "tokens": ["carretera", "ctra"]}, {"canonical": "cint", "type": "way", "full": "cinturó", "tokens": ["cinturó", "cint", "cinturo"]}, {"canonical": "cint", "type": "way", "full": "cinturó", "tokens": ["cinturó", "cint", "cinturo"]}, {"canonical": "cint", "type": "way", "full": "cinturó", "tokens": ["cinturó", "cint", "cinturo"]}, {"canonical": "diag", "type": "way", "full": "diagonal", "tokens": ["diagonal", "diag"]}, {"canonical": "diag", "type": "way", "full": "diagonal", "tokens": ["diagonal", "diag"]}, {"canonical": "drec", "type": "way", "full": "drecera", "tokens": ["drecera", "drec"]}, {"canonical": "drec", "type": "way", "full": "drecera", "tokens": ["drecera", "drec"]}, {"canonical": "eix", "type": "way", "full": "eix", "tokens": ["eix"]}, {"canonical": "eix diagonal", "type": "way", "full": "eix diagonal", "tokens": ["eix diagonal"]}, {"canonical": "entr", "type": "way", "full": "entrada", "tokens": ["entrada", "entr"]}, {"canonical": "entr", "type": "way", "full": "entrada", "tokens": ["entrada", "entr"]}, {"canonical": "gv", "type": "way", "full": "gran vía", "tokens": ["gran vía", "gran via", "gv", "g v"]}, {"canonical": "gv", "type": "way", "full": "gran vía", "tokens": ["gran vía", "gran via", "gv", "g v"]}, {"canonical": "gv", "type": "way", "full": "gran vía", "tokens": ["gran vía", "gran via", "gv", "g v"]}, {"canonical": "gv", "type": "way", "full": "gran vía", "tokens": ["gran vía", "gran via", "gv", "g v"]}, {"canonical": "pdís", "type": "way", "full": "passadís", "tokens": ["passadís", "pdís", "passadis", "pdis"]}, {"canonical": "pdís", "type": "way", "full": "passadís", "tokens": ["passadís", "pdís", "passadis", "pdis"]}, {"canonical": "pdís", "type": "way", "full": "passadís", "tokens": ["passadís", "pdís", "passadis", "pdis"]}, {"canonical": "pdís", "type": "way", "full": "passadís", "tokens": ["passadís", "pdís", "passadis", "pdis"]}, {"canonical": "ptge", "type": "way", "full": "passatge", "tokens": ["passatge", "ptge"]}, {"canonical": "pg", "type": "way", "full": "passeig", "tokens": ["passeig", "pg"]}, {"canonical": "pg", "type": "way", "full": "passeig", "tokens": ["passeig", "pg"]}, {"canonical": "pl", "type": "way", "full": "plaça", "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"]}, {"canonical": "pl", "type": "way", "full": "plaça", "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"]}, {"canonical": "pl", "type": "way", "full": "plaça", "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"]}, {"canonical": "pl", "type": "way", "full": "plaça", "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"]}, {"canonical": "pl", "type": "way", "full": "plaça", "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"]}, {"canonical": "pl", "type": "way", "full": "plaça", "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"]}, {"canonical": "pl", "type": "way", "full": "plaça", "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"]}, {"canonical": "ptal", "type": "way", "full": "portal", "tokens": ["portal", "ptal"]}, {"canonical": "ptal", "type": "way", "full": "portal", "tokens": ["portal", "ptal"]}, {"canonical": "rbla", "type": "way", "full": "rambla", "tokens": ["rambla", "rbla"]}, {"canonical": "rbla", "type": "way", "full": "rambla", "tokens": ["rambla", "rbla"]}, {"canonical": "rda", "type": "way", "full": "ronda", "tokens": ["ronda", "rda"]}, {"canonical": "rda", "type": "way", "full": "ronda", "tokens": ["ronda", "rda"]}, {"canonical": "rtda", "type": "way", "full": "rotonda", "tokens": ["rotonda", "rtda"]}, {"canonical": "rtda", "type": "way", "full": "rotonda", "tokens": ["rotonda", "rtda"]}, {"canonical": "sort", "type": "way", "full": "sortida", "tokens": ["sortida", "sort"]}, {"canonical": "sort", "type": "way", "full": "sortida", "tokens": ["sortida", "sort"]}, {"canonical": "trval", "type": "way", "full": "transversal", "tokens": ["transversal", "trval", "trvsal"]}, {"canonical": "trval", "type": "way", "full": "transversal", "tokens": ["transversal", "trval", "trvsal"]}, {"canonical": "trval", "type": "way", "full": "transversal", "tokens": ["transversal", "trval", "trvsal"]}, {"canonical": "trav", "type": "way", "full": "travessera", "tokens": ["travessera", "trav"]}, {"canonical": "trav", "type": "way", "full": "travessera", "tokens": ["travessera", "trav"]}, {"canonical": "trv", "type": "way", "full": "travessia", "tokens": ["travessia", "trv", "trav"]}, {"canonical": "trv", "type": "way", "full": "travessia", "tokens": ["travessia", "trv", "trav"]}, {"canonical": "trv", "type": "way", "full": "travessia", "tokens": ["travessia", "trv", "trav"]}, {"canonical": "v", "type": "way", "full": "via", "tokens": ["via", "v"]}, {"canonical": "v", "type": "way", "full": "via", "tokens": ["via", "v"]}] \ No newline at end of file diff --git a/.history/tokens/cl_20201005153050.json b/.history/tokens/cl_20201005153050.json new file mode 100644 index 0000000..d5b69a4 --- /dev/null +++ b/.history/tokens/cl_20201005153050.json @@ -0,0 +1 @@ +{'canonical': 'auto', 'type': 'way', 'full': 'autopista', 'tokens': ['autopista', 'auto', 'autop']}, {'canonical': 'auto', 'type': 'way', 'full': 'autopista', 'tokens': ['autopista', 'auto', 'autop']}, {'canonical': 'auto', 'type': 'way', 'full': 'autopista', 'tokens': ['autopista', 'auto', 'autop']}, {'canonical': 'autov', 'type': 'way', 'full': 'autovia', 'tokens': ['autovia', 'autov']}, {'canonical': 'autov', 'type': 'way', 'full': 'autovia', 'tokens': ['autovia', 'autov']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'camí', 'type': 'way', 'full': 'camí', 'tokens': ['camí', 'cami']}, {'canonical': 'camí', 'type': 'way', 'full': 'camí', 'tokens': ['camí', 'cami']}, {'canonical': 'c /', 'type': 'way', 'full': 'carrer', 'tokens': ['carrer', 'carr', 'c /']}, {'canonical': 'c /', 'type': 'way', 'full': 'carrer', 'tokens': ['carrer', 'carr', 'c /']}, {'canonical': 'cra', 'type': 'way', 'full': 'carrera', 'tokens': ['carrera', 'cra', 'carra']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'ctra', 'type': 'way', 'full': 'carretera', 'tokens': ['carretera', 'ctra']}, {'canonical': 'ctra', 'type': 'way', 'full': 'carretera', 'tokens': ['carretera', 'ctra']}, {'canonical': 'cint', 'type': 'way', 'full': 'cinturó', 'tokens': ['cinturó', 'cint', 'cinturo']}, {'canonical': 'cint', 'type': 'way', 'full': 'cinturó', 'tokens': ['cinturó', 'cint', 'cinturo']}, {'canonical': 'cint', 'type': 'way', 'full': 'cinturó', 'tokens': ['cinturó', 'cint', 'cinturo']}, {'canonical': 'diag', 'type': 'way', 'full': 'diagonal', 'tokens': ['diagonal', 'diag']}, {'canonical': 'diag', 'type': 'way', 'full': 'diagonal', 'tokens': ['diagonal', 'diag']}, {'canonical': 'drec', 'type': 'way', 'full': 'drecera', 'tokens': ['drecera', 'drec']}, {'canonical': 'drec', 'type': 'way', 'full': 'drecera', 'tokens': ['drecera', 'drec']}, {'canonical': 'eix', 'type': 'way', 'full': 'eix', 'tokens': ['eix']}, {'canonical': 'eix diagonal', 'type': 'way', 'full': 'eix diagonal', 'tokens': ['eix diagonal']}, {'canonical': 'entr', 'type': 'way', 'full': 'entrada', 'tokens': ['entrada', 'entr']}, {'canonical': 'entr', 'type': 'way', 'full': 'entrada', 'tokens': ['entrada', 'entr']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'ptge', 'type': 'way', 'full': 'passatge', 'tokens': ['passatge', 'ptge']}, {'canonical': 'pg', 'type': 'way', 'full': 'passeig', 'tokens': ['passeig', 'pg']}, {'canonical': 'pg', 'type': 'way', 'full': 'passeig', 'tokens': ['passeig', 'pg']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'ptal', 'type': 'way', 'full': 'portal', 'tokens': ['portal', 'ptal']}, {'canonical': 'ptal', 'type': 'way', 'full': 'portal', 'tokens': ['portal', 'ptal']}, {'canonical': 'rbla', 'type': 'way', 'full': 'rambla', 'tokens': ['rambla', 'rbla']}, {'canonical': 'rbla', 'type': 'way', 'full': 'rambla', 'tokens': ['rambla', 'rbla']}, {'canonical': 'rda', 'type': 'way', 'full': 'ronda', 'tokens': ['ronda', 'rda']}, {'canonical': 'rda', 'type': 'way', 'full': 'ronda', 'tokens': ['ronda', 'rda']}, {'canonical': 'rtda', 'type': 'way', 'full': 'rotonda', 'tokens': ['rotonda', 'rtda']}, {'canonical': 'rtda', 'type': 'way', 'full': 'rotonda', 'tokens': ['rotonda', 'rtda']}, {'canonical': 'sort', 'type': 'way', 'full': 'sortida', 'tokens': ['sortida', 'sort']}, {'canonical': 'sort', 'type': 'way', 'full': 'sortida', 'tokens': ['sortida', 'sort']}, {'canonical': 'trval', 'type': 'way', 'full': 'transversal', 'tokens': ['transversal', 'trval', 'trvsal']}, {'canonical': 'trval', 'type': 'way', 'full': 'transversal', 'tokens': ['transversal', 'trval', 'trvsal']}, {'canonical': 'trval', 'type': 'way', 'full': 'transversal', 'tokens': ['transversal', 'trval', 'trvsal']}, {'canonical': 'trav', 'type': 'way', 'full': 'travessera', 'tokens': ['travessera', 'trav']}, {'canonical': 'trav', 'type': 'way', 'full': 'travessera', 'tokens': ['travessera', 'trav']}, {'canonical': 'trv', 'type': 'way', 'full': 'travessia', 'tokens': ['travessia', 'trv', 'trav']}, {'canonical': 'trv', 'type': 'way', 'full': 'travessia', 'tokens': ['travessia', 'trv', 'trav']}, {'canonical': 'trv', 'type': 'way', 'full': 'travessia', 'tokens': ['travessia', 'trv', 'trav']}, {'canonical': 'v', 'type': 'way', 'full': 'via', 'tokens': ['via', 'v']}, {'canonical': 'v', 'type': 'way', 'full': 'via', 'tokens': ['via', 'v']}] \ No newline at end of file diff --git a/.history/tokens/cl_20201005153056.json b/.history/tokens/cl_20201005153056.json new file mode 100644 index 0000000..2e6bf4e --- /dev/null +++ b/.history/tokens/cl_20201005153056.json @@ -0,0 +1 @@ +[{'canonical': 'auto', 'type': 'way', 'full': 'autopista', 'tokens': ['autopista', 'auto', 'autop']}, {'canonical': 'auto', 'type': 'way', 'full': 'autopista', 'tokens': ['autopista', 'auto', 'autop']}, {'canonical': 'auto', 'type': 'way', 'full': 'autopista', 'tokens': ['autopista', 'auto', 'autop']}, {'canonical': 'autov', 'type': 'way', 'full': 'autovia', 'tokens': ['autovia', 'autov']}, {'canonical': 'autov', 'type': 'way', 'full': 'autovia', 'tokens': ['autovia', 'autov']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'camí', 'type': 'way', 'full': 'camí', 'tokens': ['camí', 'cami']}, {'canonical': 'camí', 'type': 'way', 'full': 'camí', 'tokens': ['camí', 'cami']}, {'canonical': 'c /', 'type': 'way', 'full': 'carrer', 'tokens': ['carrer', 'carr', 'c /']}, {'canonical': 'c /', 'type': 'way', 'full': 'carrer', 'tokens': ['carrer', 'carr', 'c /']}, {'canonical': 'cra', 'type': 'way', 'full': 'carrera', 'tokens': ['carrera', 'cra', 'carra']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'ctra', 'type': 'way', 'full': 'carretera', 'tokens': ['carretera', 'ctra']}, {'canonical': 'ctra', 'type': 'way', 'full': 'carretera', 'tokens': ['carretera', 'ctra']}, {'canonical': 'cint', 'type': 'way', 'full': 'cinturó', 'tokens': ['cinturó', 'cint', 'cinturo']}, {'canonical': 'cint', 'type': 'way', 'full': 'cinturó', 'tokens': ['cinturó', 'cint', 'cinturo']}, {'canonical': 'cint', 'type': 'way', 'full': 'cinturó', 'tokens': ['cinturó', 'cint', 'cinturo']}, {'canonical': 'diag', 'type': 'way', 'full': 'diagonal', 'tokens': ['diagonal', 'diag']}, {'canonical': 'diag', 'type': 'way', 'full': 'diagonal', 'tokens': ['diagonal', 'diag']}, {'canonical': 'drec', 'type': 'way', 'full': 'drecera', 'tokens': ['drecera', 'drec']}, {'canonical': 'drec', 'type': 'way', 'full': 'drecera', 'tokens': ['drecera', 'drec']}, {'canonical': 'eix', 'type': 'way', 'full': 'eix', 'tokens': ['eix']}, {'canonical': 'eix diagonal', 'type': 'way', 'full': 'eix diagonal', 'tokens': ['eix diagonal']}, {'canonical': 'entr', 'type': 'way', 'full': 'entrada', 'tokens': ['entrada', 'entr']}, {'canonical': 'entr', 'type': 'way', 'full': 'entrada', 'tokens': ['entrada', 'entr']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'ptge', 'type': 'way', 'full': 'passatge', 'tokens': ['passatge', 'ptge']}, {'canonical': 'pg', 'type': 'way', 'full': 'passeig', 'tokens': ['passeig', 'pg']}, {'canonical': 'pg', 'type': 'way', 'full': 'passeig', 'tokens': ['passeig', 'pg']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'ptal', 'type': 'way', 'full': 'portal', 'tokens': ['portal', 'ptal']}, {'canonical': 'ptal', 'type': 'way', 'full': 'portal', 'tokens': ['portal', 'ptal']}, {'canonical': 'rbla', 'type': 'way', 'full': 'rambla', 'tokens': ['rambla', 'rbla']}, {'canonical': 'rbla', 'type': 'way', 'full': 'rambla', 'tokens': ['rambla', 'rbla']}, {'canonical': 'rda', 'type': 'way', 'full': 'ronda', 'tokens': ['ronda', 'rda']}, {'canonical': 'rda', 'type': 'way', 'full': 'ronda', 'tokens': ['ronda', 'rda']}, {'canonical': 'rtda', 'type': 'way', 'full': 'rotonda', 'tokens': ['rotonda', 'rtda']}, {'canonical': 'rtda', 'type': 'way', 'full': 'rotonda', 'tokens': ['rotonda', 'rtda']}, {'canonical': 'sort', 'type': 'way', 'full': 'sortida', 'tokens': ['sortida', 'sort']}, {'canonical': 'sort', 'type': 'way', 'full': 'sortida', 'tokens': ['sortida', 'sort']}, {'canonical': 'trval', 'type': 'way', 'full': 'transversal', 'tokens': ['transversal', 'trval', 'trvsal']}, {'canonical': 'trval', 'type': 'way', 'full': 'transversal', 'tokens': ['transversal', 'trval', 'trvsal']}, {'canonical': 'trval', 'type': 'way', 'full': 'transversal', 'tokens': ['transversal', 'trval', 'trvsal']}, {'canonical': 'trav', 'type': 'way', 'full': 'travessera', 'tokens': ['travessera', 'trav']}, {'canonical': 'trav', 'type': 'way', 'full': 'travessera', 'tokens': ['travessera', 'trav']}, {'canonical': 'trv', 'type': 'way', 'full': 'travessia', 'tokens': ['travessia', 'trv', 'trav']}, {'canonical': 'trv', 'type': 'way', 'full': 'travessia', 'tokens': ['travessia', 'trv', 'trav']}, {'canonical': 'trv', 'type': 'way', 'full': 'travessia', 'tokens': ['travessia', 'trv', 'trav']}, {'canonical': 'v', 'type': 'way', 'full': 'via', 'tokens': ['via', 'v']}, {'canonical': 'v', 'type': 'way', 'full': 'via', 'tokens': ['via', 'v']}] \ No newline at end of file diff --git a/.history/tokens/cl_20201005153057.json b/.history/tokens/cl_20201005153057.json new file mode 100644 index 0000000..65168f7 --- /dev/null +++ b/.history/tokens/cl_20201005153057.json @@ -0,0 +1 @@ +[s{'canonical': 'auto', 'type': 'way', 'full': 'autopista', 'tokens': ['autopista', 'auto', 'autop']}, {'canonical': 'auto', 'type': 'way', 'full': 'autopista', 'tokens': ['autopista', 'auto', 'autop']}, {'canonical': 'auto', 'type': 'way', 'full': 'autopista', 'tokens': ['autopista', 'auto', 'autop']}, {'canonical': 'autov', 'type': 'way', 'full': 'autovia', 'tokens': ['autovia', 'autov']}, {'canonical': 'autov', 'type': 'way', 'full': 'autovia', 'tokens': ['autovia', 'autov']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'camí', 'type': 'way', 'full': 'camí', 'tokens': ['camí', 'cami']}, {'canonical': 'camí', 'type': 'way', 'full': 'camí', 'tokens': ['camí', 'cami']}, {'canonical': 'c /', 'type': 'way', 'full': 'carrer', 'tokens': ['carrer', 'carr', 'c /']}, {'canonical': 'c /', 'type': 'way', 'full': 'carrer', 'tokens': ['carrer', 'carr', 'c /']}, {'canonical': 'cra', 'type': 'way', 'full': 'carrera', 'tokens': ['carrera', 'cra', 'carra']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'ctra', 'type': 'way', 'full': 'carretera', 'tokens': ['carretera', 'ctra']}, {'canonical': 'ctra', 'type': 'way', 'full': 'carretera', 'tokens': ['carretera', 'ctra']}, {'canonical': 'cint', 'type': 'way', 'full': 'cinturó', 'tokens': ['cinturó', 'cint', 'cinturo']}, {'canonical': 'cint', 'type': 'way', 'full': 'cinturó', 'tokens': ['cinturó', 'cint', 'cinturo']}, {'canonical': 'cint', 'type': 'way', 'full': 'cinturó', 'tokens': ['cinturó', 'cint', 'cinturo']}, {'canonical': 'diag', 'type': 'way', 'full': 'diagonal', 'tokens': ['diagonal', 'diag']}, {'canonical': 'diag', 'type': 'way', 'full': 'diagonal', 'tokens': ['diagonal', 'diag']}, {'canonical': 'drec', 'type': 'way', 'full': 'drecera', 'tokens': ['drecera', 'drec']}, {'canonical': 'drec', 'type': 'way', 'full': 'drecera', 'tokens': ['drecera', 'drec']}, {'canonical': 'eix', 'type': 'way', 'full': 'eix', 'tokens': ['eix']}, {'canonical': 'eix diagonal', 'type': 'way', 'full': 'eix diagonal', 'tokens': ['eix diagonal']}, {'canonical': 'entr', 'type': 'way', 'full': 'entrada', 'tokens': ['entrada', 'entr']}, {'canonical': 'entr', 'type': 'way', 'full': 'entrada', 'tokens': ['entrada', 'entr']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'ptge', 'type': 'way', 'full': 'passatge', 'tokens': ['passatge', 'ptge']}, {'canonical': 'pg', 'type': 'way', 'full': 'passeig', 'tokens': ['passeig', 'pg']}, {'canonical': 'pg', 'type': 'way', 'full': 'passeig', 'tokens': ['passeig', 'pg']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'ptal', 'type': 'way', 'full': 'portal', 'tokens': ['portal', 'ptal']}, {'canonical': 'ptal', 'type': 'way', 'full': 'portal', 'tokens': ['portal', 'ptal']}, {'canonical': 'rbla', 'type': 'way', 'full': 'rambla', 'tokens': ['rambla', 'rbla']}, {'canonical': 'rbla', 'type': 'way', 'full': 'rambla', 'tokens': ['rambla', 'rbla']}, {'canonical': 'rda', 'type': 'way', 'full': 'ronda', 'tokens': ['ronda', 'rda']}, {'canonical': 'rda', 'type': 'way', 'full': 'ronda', 'tokens': ['ronda', 'rda']}, {'canonical': 'rtda', 'type': 'way', 'full': 'rotonda', 'tokens': ['rotonda', 'rtda']}, {'canonical': 'rtda', 'type': 'way', 'full': 'rotonda', 'tokens': ['rotonda', 'rtda']}, {'canonical': 'sort', 'type': 'way', 'full': 'sortida', 'tokens': ['sortida', 'sort']}, {'canonical': 'sort', 'type': 'way', 'full': 'sortida', 'tokens': ['sortida', 'sort']}, {'canonical': 'trval', 'type': 'way', 'full': 'transversal', 'tokens': ['transversal', 'trval', 'trvsal']}, {'canonical': 'trval', 'type': 'way', 'full': 'transversal', 'tokens': ['transversal', 'trval', 'trvsal']}, {'canonical': 'trval', 'type': 'way', 'full': 'transversal', 'tokens': ['transversal', 'trval', 'trvsal']}, {'canonical': 'trav', 'type': 'way', 'full': 'travessera', 'tokens': ['travessera', 'trav']}, {'canonical': 'trav', 'type': 'way', 'full': 'travessera', 'tokens': ['travessera', 'trav']}, {'canonical': 'trv', 'type': 'way', 'full': 'travessia', 'tokens': ['travessia', 'trv', 'trav']}, {'canonical': 'trv', 'type': 'way', 'full': 'travessia', 'tokens': ['travessia', 'trv', 'trav']}, {'canonical': 'trv', 'type': 'way', 'full': 'travessia', 'tokens': ['travessia', 'trv', 'trav']}, {'canonical': 'v', 'type': 'way', 'full': 'via', 'tokens': ['via', 'v']}, {'canonical': 'v', 'type': 'way', 'full': 'via', 'tokens': ['via', 'v']}] \ No newline at end of file diff --git a/.history/tokens/cl_20201005153059.json b/.history/tokens/cl_20201005153059.json new file mode 100644 index 0000000..091f5db --- /dev/null +++ b/.history/tokens/cl_20201005153059.json @@ -0,0 +1 @@ +[sz{'canonical': 'auto', 'type': 'way', 'full': 'autopista', 'tokens': ['autopista', 'auto', 'autop']}, {'canonical': 'auto', 'type': 'way', 'full': 'autopista', 'tokens': ['autopista', 'auto', 'autop']}, {'canonical': 'auto', 'type': 'way', 'full': 'autopista', 'tokens': ['autopista', 'auto', 'autop']}, {'canonical': 'autov', 'type': 'way', 'full': 'autovia', 'tokens': ['autovia', 'autov']}, {'canonical': 'autov', 'type': 'way', 'full': 'autovia', 'tokens': ['autovia', 'autov']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'camí', 'type': 'way', 'full': 'camí', 'tokens': ['camí', 'cami']}, {'canonical': 'camí', 'type': 'way', 'full': 'camí', 'tokens': ['camí', 'cami']}, {'canonical': 'c /', 'type': 'way', 'full': 'carrer', 'tokens': ['carrer', 'carr', 'c /']}, {'canonical': 'c /', 'type': 'way', 'full': 'carrer', 'tokens': ['carrer', 'carr', 'c /']}, {'canonical': 'cra', 'type': 'way', 'full': 'carrera', 'tokens': ['carrera', 'cra', 'carra']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'ctra', 'type': 'way', 'full': 'carretera', 'tokens': ['carretera', 'ctra']}, {'canonical': 'ctra', 'type': 'way', 'full': 'carretera', 'tokens': ['carretera', 'ctra']}, {'canonical': 'cint', 'type': 'way', 'full': 'cinturó', 'tokens': ['cinturó', 'cint', 'cinturo']}, {'canonical': 'cint', 'type': 'way', 'full': 'cinturó', 'tokens': ['cinturó', 'cint', 'cinturo']}, {'canonical': 'cint', 'type': 'way', 'full': 'cinturó', 'tokens': ['cinturó', 'cint', 'cinturo']}, {'canonical': 'diag', 'type': 'way', 'full': 'diagonal', 'tokens': ['diagonal', 'diag']}, {'canonical': 'diag', 'type': 'way', 'full': 'diagonal', 'tokens': ['diagonal', 'diag']}, {'canonical': 'drec', 'type': 'way', 'full': 'drecera', 'tokens': ['drecera', 'drec']}, {'canonical': 'drec', 'type': 'way', 'full': 'drecera', 'tokens': ['drecera', 'drec']}, {'canonical': 'eix', 'type': 'way', 'full': 'eix', 'tokens': ['eix']}, {'canonical': 'eix diagonal', 'type': 'way', 'full': 'eix diagonal', 'tokens': ['eix diagonal']}, {'canonical': 'entr', 'type': 'way', 'full': 'entrada', 'tokens': ['entrada', 'entr']}, {'canonical': 'entr', 'type': 'way', 'full': 'entrada', 'tokens': ['entrada', 'entr']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'ptge', 'type': 'way', 'full': 'passatge', 'tokens': ['passatge', 'ptge']}, {'canonical': 'pg', 'type': 'way', 'full': 'passeig', 'tokens': ['passeig', 'pg']}, {'canonical': 'pg', 'type': 'way', 'full': 'passeig', 'tokens': ['passeig', 'pg']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'ptal', 'type': 'way', 'full': 'portal', 'tokens': ['portal', 'ptal']}, {'canonical': 'ptal', 'type': 'way', 'full': 'portal', 'tokens': ['portal', 'ptal']}, {'canonical': 'rbla', 'type': 'way', 'full': 'rambla', 'tokens': ['rambla', 'rbla']}, {'canonical': 'rbla', 'type': 'way', 'full': 'rambla', 'tokens': ['rambla', 'rbla']}, {'canonical': 'rda', 'type': 'way', 'full': 'ronda', 'tokens': ['ronda', 'rda']}, {'canonical': 'rda', 'type': 'way', 'full': 'ronda', 'tokens': ['ronda', 'rda']}, {'canonical': 'rtda', 'type': 'way', 'full': 'rotonda', 'tokens': ['rotonda', 'rtda']}, {'canonical': 'rtda', 'type': 'way', 'full': 'rotonda', 'tokens': ['rotonda', 'rtda']}, {'canonical': 'sort', 'type': 'way', 'full': 'sortida', 'tokens': ['sortida', 'sort']}, {'canonical': 'sort', 'type': 'way', 'full': 'sortida', 'tokens': ['sortida', 'sort']}, {'canonical': 'trval', 'type': 'way', 'full': 'transversal', 'tokens': ['transversal', 'trval', 'trvsal']}, {'canonical': 'trval', 'type': 'way', 'full': 'transversal', 'tokens': ['transversal', 'trval', 'trvsal']}, {'canonical': 'trval', 'type': 'way', 'full': 'transversal', 'tokens': ['transversal', 'trval', 'trvsal']}, {'canonical': 'trav', 'type': 'way', 'full': 'travessera', 'tokens': ['travessera', 'trav']}, {'canonical': 'trav', 'type': 'way', 'full': 'travessera', 'tokens': ['travessera', 'trav']}, {'canonical': 'trv', 'type': 'way', 'full': 'travessia', 'tokens': ['travessia', 'trv', 'trav']}, {'canonical': 'trv', 'type': 'way', 'full': 'travessia', 'tokens': ['travessia', 'trv', 'trav']}, {'canonical': 'trv', 'type': 'way', 'full': 'travessia', 'tokens': ['travessia', 'trv', 'trav']}, {'canonical': 'v', 'type': 'way', 'full': 'via', 'tokens': ['via', 'v']}, {'canonical': 'v', 'type': 'way', 'full': 'via', 'tokens': ['via', 'v']}] \ No newline at end of file diff --git a/.history/tokens/cl_20201005153100.json b/.history/tokens/cl_20201005153100.json new file mode 100644 index 0000000..2e6bf4e --- /dev/null +++ b/.history/tokens/cl_20201005153100.json @@ -0,0 +1 @@ +[{'canonical': 'auto', 'type': 'way', 'full': 'autopista', 'tokens': ['autopista', 'auto', 'autop']}, {'canonical': 'auto', 'type': 'way', 'full': 'autopista', 'tokens': ['autopista', 'auto', 'autop']}, {'canonical': 'auto', 'type': 'way', 'full': 'autopista', 'tokens': ['autopista', 'auto', 'autop']}, {'canonical': 'autov', 'type': 'way', 'full': 'autovia', 'tokens': ['autovia', 'autov']}, {'canonical': 'autov', 'type': 'way', 'full': 'autovia', 'tokens': ['autovia', 'autov']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'av', 'type': 'way', 'full': 'avinguda', 'tokens': ['avinguda', 'av', 'avd', 'avda', 'avgda']}, {'canonical': 'camí', 'type': 'way', 'full': 'camí', 'tokens': ['camí', 'cami']}, {'canonical': 'camí', 'type': 'way', 'full': 'camí', 'tokens': ['camí', 'cami']}, {'canonical': 'c /', 'type': 'way', 'full': 'carrer', 'tokens': ['carrer', 'carr', 'c /']}, {'canonical': 'c /', 'type': 'way', 'full': 'carrer', 'tokens': ['carrer', 'carr', 'c /']}, {'canonical': 'cra', 'type': 'way', 'full': 'carrera', 'tokens': ['carrera', 'cra', 'carra']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'cró', 'type': 'way', 'full': 'carreró', 'tokens': ['carreró', 'cró', 'carrero', 'cro', 'carro', 'carr']}, {'canonical': 'ctra', 'type': 'way', 'full': 'carretera', 'tokens': ['carretera', 'ctra']}, {'canonical': 'ctra', 'type': 'way', 'full': 'carretera', 'tokens': ['carretera', 'ctra']}, {'canonical': 'cint', 'type': 'way', 'full': 'cinturó', 'tokens': ['cinturó', 'cint', 'cinturo']}, {'canonical': 'cint', 'type': 'way', 'full': 'cinturó', 'tokens': ['cinturó', 'cint', 'cinturo']}, {'canonical': 'cint', 'type': 'way', 'full': 'cinturó', 'tokens': ['cinturó', 'cint', 'cinturo']}, {'canonical': 'diag', 'type': 'way', 'full': 'diagonal', 'tokens': ['diagonal', 'diag']}, {'canonical': 'diag', 'type': 'way', 'full': 'diagonal', 'tokens': ['diagonal', 'diag']}, {'canonical': 'drec', 'type': 'way', 'full': 'drecera', 'tokens': ['drecera', 'drec']}, {'canonical': 'drec', 'type': 'way', 'full': 'drecera', 'tokens': ['drecera', 'drec']}, {'canonical': 'eix', 'type': 'way', 'full': 'eix', 'tokens': ['eix']}, {'canonical': 'eix diagonal', 'type': 'way', 'full': 'eix diagonal', 'tokens': ['eix diagonal']}, {'canonical': 'entr', 'type': 'way', 'full': 'entrada', 'tokens': ['entrada', 'entr']}, {'canonical': 'entr', 'type': 'way', 'full': 'entrada', 'tokens': ['entrada', 'entr']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'gv', 'type': 'way', 'full': 'gran vía', 'tokens': ['gran vía', 'gran via', 'gv', 'g v']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'pdís', 'type': 'way', 'full': 'passadís', 'tokens': ['passadís', 'pdís', 'passadis', 'pdis']}, {'canonical': 'ptge', 'type': 'way', 'full': 'passatge', 'tokens': ['passatge', 'ptge']}, {'canonical': 'pg', 'type': 'way', 'full': 'passeig', 'tokens': ['passeig', 'pg']}, {'canonical': 'pg', 'type': 'way', 'full': 'passeig', 'tokens': ['passeig', 'pg']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'pl', 'type': 'way', 'full': 'plaça', 'tokens': ['plaça', 'pl', 'placa', 'pça', 'pca', 'plç', 'plc']}, {'canonical': 'ptal', 'type': 'way', 'full': 'portal', 'tokens': ['portal', 'ptal']}, {'canonical': 'ptal', 'type': 'way', 'full': 'portal', 'tokens': ['portal', 'ptal']}, {'canonical': 'rbla', 'type': 'way', 'full': 'rambla', 'tokens': ['rambla', 'rbla']}, {'canonical': 'rbla', 'type': 'way', 'full': 'rambla', 'tokens': ['rambla', 'rbla']}, {'canonical': 'rda', 'type': 'way', 'full': 'ronda', 'tokens': ['ronda', 'rda']}, {'canonical': 'rda', 'type': 'way', 'full': 'ronda', 'tokens': ['ronda', 'rda']}, {'canonical': 'rtda', 'type': 'way', 'full': 'rotonda', 'tokens': ['rotonda', 'rtda']}, {'canonical': 'rtda', 'type': 'way', 'full': 'rotonda', 'tokens': ['rotonda', 'rtda']}, {'canonical': 'sort', 'type': 'way', 'full': 'sortida', 'tokens': ['sortida', 'sort']}, {'canonical': 'sort', 'type': 'way', 'full': 'sortida', 'tokens': ['sortida', 'sort']}, {'canonical': 'trval', 'type': 'way', 'full': 'transversal', 'tokens': ['transversal', 'trval', 'trvsal']}, {'canonical': 'trval', 'type': 'way', 'full': 'transversal', 'tokens': ['transversal', 'trval', 'trvsal']}, {'canonical': 'trval', 'type': 'way', 'full': 'transversal', 'tokens': ['transversal', 'trval', 'trvsal']}, {'canonical': 'trav', 'type': 'way', 'full': 'travessera', 'tokens': ['travessera', 'trav']}, {'canonical': 'trav', 'type': 'way', 'full': 'travessera', 'tokens': ['travessera', 'trav']}, {'canonical': 'trv', 'type': 'way', 'full': 'travessia', 'tokens': ['travessia', 'trv', 'trav']}, {'canonical': 'trv', 'type': 'way', 'full': 'travessia', 'tokens': ['travessia', 'trv', 'trav']}, {'canonical': 'trv', 'type': 'way', 'full': 'travessia', 'tokens': ['travessia', 'trv', 'trav']}, {'canonical': 'v', 'type': 'way', 'full': 'via', 'tokens': ['via', 'v']}, {'canonical': 'v', 'type': 'way', 'full': 'via', 'tokens': ['via', 'v']}] \ No newline at end of file diff --git a/.history/tokens/cl_20201005153101.json b/.history/tokens/cl_20201005153101.json new file mode 100644 index 0000000..7ba15a5 --- /dev/null +++ b/.history/tokens/cl_20201005153101.json @@ -0,0 +1,413 @@ +[ + { + "canonical": "auto", + "type": "way", + "full": "autopista", + "tokens": ["autopista", "auto", "autop"] + }, + { + "canonical": "auto", + "type": "way", + "full": "autopista", + "tokens": ["autopista", "auto", "autop"] + }, + { + "canonical": "auto", + "type": "way", + "full": "autopista", + "tokens": ["autopista", "auto", "autop"] + }, + { + "canonical": "autov", + "type": "way", + "full": "autovia", + "tokens": ["autovia", "autov"] + }, + { + "canonical": "autov", + "type": "way", + "full": "autovia", + "tokens": ["autovia", "autov"] + }, + { + "canonical": "av", + "type": "way", + "full": "avinguda", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"] + }, + { + "canonical": "av", + "type": "way", + "full": "avinguda", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"] + }, + { + "canonical": "av", + "type": "way", + "full": "avinguda", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"] + }, + { + "canonical": "av", + "type": "way", + "full": "avinguda", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"] + }, + { + "canonical": "av", + "type": "way", + "full": "avinguda", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"] + }, + { + "canonical": "camí", + "type": "way", + "full": "camí", + "tokens": ["camí", "cami"] + }, + { + "canonical": "camí", + "type": "way", + "full": "camí", + "tokens": ["camí", "cami"] + }, + { + "canonical": "c /", + "type": "way", + "full": "carrer", + "tokens": ["carrer", "carr", "c /"] + }, + { + "canonical": "c /", + "type": "way", + "full": "carrer", + "tokens": ["carrer", "carr", "c /"] + }, + { + "canonical": "cra", + "type": "way", + "full": "carrera", + "tokens": ["carrera", "cra", "carra"] + }, + { + "canonical": "cró", + "type": "way", + "full": "carreró", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"] + }, + { + "canonical": "cró", + "type": "way", + "full": "carreró", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"] + }, + { + "canonical": "cró", + "type": "way", + "full": "carreró", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"] + }, + { + "canonical": "cró", + "type": "way", + "full": "carreró", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"] + }, + { + "canonical": "cró", + "type": "way", + "full": "carreró", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"] + }, + { + "canonical": "ctra", + "type": "way", + "full": "carretera", + "tokens": ["carretera", "ctra"] + }, + { + "canonical": "ctra", + "type": "way", + "full": "carretera", + "tokens": ["carretera", "ctra"] + }, + { + "canonical": "cint", + "type": "way", + "full": "cinturó", + "tokens": ["cinturó", "cint", "cinturo"] + }, + { + "canonical": "cint", + "type": "way", + "full": "cinturó", + "tokens": ["cinturó", "cint", "cinturo"] + }, + { + "canonical": "cint", + "type": "way", + "full": "cinturó", + "tokens": ["cinturó", "cint", "cinturo"] + }, + { + "canonical": "diag", + "type": "way", + "full": "diagonal", + "tokens": ["diagonal", "diag"] + }, + { + "canonical": "diag", + "type": "way", + "full": "diagonal", + "tokens": ["diagonal", "diag"] + }, + { + "canonical": "drec", + "type": "way", + "full": "drecera", + "tokens": ["drecera", "drec"] + }, + { + "canonical": "drec", + "type": "way", + "full": "drecera", + "tokens": ["drecera", "drec"] + }, + { "canonical": "eix", "type": "way", "full": "eix", "tokens": ["eix"] }, + { + "canonical": "eix diagonal", + "type": "way", + "full": "eix diagonal", + "tokens": ["eix diagonal"] + }, + { + "canonical": "entr", + "type": "way", + "full": "entrada", + "tokens": ["entrada", "entr"] + }, + { + "canonical": "entr", + "type": "way", + "full": "entrada", + "tokens": ["entrada", "entr"] + }, + { + "canonical": "gv", + "type": "way", + "full": "gran vía", + "tokens": ["gran vía", "gran via", "gv", "g v"] + }, + { + "canonical": "gv", + "type": "way", + "full": "gran vía", + "tokens": ["gran vía", "gran via", "gv", "g v"] + }, + { + "canonical": "gv", + "type": "way", + "full": "gran vía", + "tokens": ["gran vía", "gran via", "gv", "g v"] + }, + { + "canonical": "gv", + "type": "way", + "full": "gran vía", + "tokens": ["gran vía", "gran via", "gv", "g v"] + }, + { + "canonical": "pdís", + "type": "way", + "full": "passadís", + "tokens": ["passadís", "pdís", "passadis", "pdis"] + }, + { + "canonical": "pdís", + "type": "way", + "full": "passadís", + "tokens": ["passadís", "pdís", "passadis", "pdis"] + }, + { + "canonical": "pdís", + "type": "way", + "full": "passadís", + "tokens": ["passadís", "pdís", "passadis", "pdis"] + }, + { + "canonical": "pdís", + "type": "way", + "full": "passadís", + "tokens": ["passadís", "pdís", "passadis", "pdis"] + }, + { + "canonical": "ptge", + "type": "way", + "full": "passatge", + "tokens": ["passatge", "ptge"] + }, + { + "canonical": "pg", + "type": "way", + "full": "passeig", + "tokens": ["passeig", "pg"] + }, + { + "canonical": "pg", + "type": "way", + "full": "passeig", + "tokens": ["passeig", "pg"] + }, + { + "canonical": "pl", + "type": "way", + "full": "plaça", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"] + }, + { + "canonical": "pl", + "type": "way", + "full": "plaça", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"] + }, + { + "canonical": "pl", + "type": "way", + "full": "plaça", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"] + }, + { + "canonical": "pl", + "type": "way", + "full": "plaça", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"] + }, + { + "canonical": "pl", + "type": "way", + "full": "plaça", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"] + }, + { + "canonical": "pl", + "type": "way", + "full": "plaça", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"] + }, + { + "canonical": "pl", + "type": "way", + "full": "plaça", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"] + }, + { + "canonical": "ptal", + "type": "way", + "full": "portal", + "tokens": ["portal", "ptal"] + }, + { + "canonical": "ptal", + "type": "way", + "full": "portal", + "tokens": ["portal", "ptal"] + }, + { + "canonical": "rbla", + "type": "way", + "full": "rambla", + "tokens": ["rambla", "rbla"] + }, + { + "canonical": "rbla", + "type": "way", + "full": "rambla", + "tokens": ["rambla", "rbla"] + }, + { + "canonical": "rda", + "type": "way", + "full": "ronda", + "tokens": ["ronda", "rda"] + }, + { + "canonical": "rda", + "type": "way", + "full": "ronda", + "tokens": ["ronda", "rda"] + }, + { + "canonical": "rtda", + "type": "way", + "full": "rotonda", + "tokens": ["rotonda", "rtda"] + }, + { + "canonical": "rtda", + "type": "way", + "full": "rotonda", + "tokens": ["rotonda", "rtda"] + }, + { + "canonical": "sort", + "type": "way", + "full": "sortida", + "tokens": ["sortida", "sort"] + }, + { + "canonical": "sort", + "type": "way", + "full": "sortida", + "tokens": ["sortida", "sort"] + }, + { + "canonical": "trval", + "type": "way", + "full": "transversal", + "tokens": ["transversal", "trval", "trvsal"] + }, + { + "canonical": "trval", + "type": "way", + "full": "transversal", + "tokens": ["transversal", "trval", "trvsal"] + }, + { + "canonical": "trval", + "type": "way", + "full": "transversal", + "tokens": ["transversal", "trval", "trvsal"] + }, + { + "canonical": "trav", + "type": "way", + "full": "travessera", + "tokens": ["travessera", "trav"] + }, + { + "canonical": "trav", + "type": "way", + "full": "travessera", + "tokens": ["travessera", "trav"] + }, + { + "canonical": "trv", + "type": "way", + "full": "travessia", + "tokens": ["travessia", "trv", "trav"] + }, + { + "canonical": "trv", + "type": "way", + "full": "travessia", + "tokens": ["travessia", "trv", "trav"] + }, + { + "canonical": "trv", + "type": "way", + "full": "travessia", + "tokens": ["travessia", "trv", "trav"] + }, + { "canonical": "v", "type": "way", "full": "via", "tokens": ["via", "v"] }, + { "canonical": "v", "type": "way", "full": "via", "tokens": ["via", "v"] } +] diff --git a/.history/tokens/cl_20201005153505.json b/.history/tokens/cl_20201005153505.json new file mode 100644 index 0000000..f483f24 --- /dev/null +++ b/.history/tokens/cl_20201005153505.json @@ -0,0 +1,215 @@ +[ + { + "type": "way", + "tokens": ["autopista", "auto", "autop"], + "canonical": "auto", + "full": "autopista" + }, + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr", "c /"], + "canonical": "c /", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["eix diagonal"], + "canonical": "eix diagonal", + "full": "eix diagonal" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { + "type": "way", + "tokens": ["travessia", "trv", "trav"], + "canonical": "trv", + "full": "travessia" + }, + { + "type": "way", + "tokens": ["travessia", "trv", "trav"], + "canonical": "trv", + "full": "travessia" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005153544.json b/.history/tokens/cl_20201005153544.json new file mode 100644 index 0000000..7415256 --- /dev/null +++ b/.history/tokens/cl_20201005153544.json @@ -0,0 +1,203 @@ +[ + { + "type": "way", + "tokens": ["autopista", "auto", "autop"], + "canonical": "auto", + "full": "autopista" + }, + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr", "c /"], + "canonical": "c /", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["eix diagonal"], + "canonical": "eix diagonal", + "full": "eix diagonal" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { + "type": "way", + "tokens": ["travessia", "trv", "trav"], + "canonical": "trv", + "full": "travessia" + }, + { + "type": "way", + "tokens": ["travessia", "trv", "trav"], + "canonical": "trv", + "full": "travessia" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005153549.json b/.history/tokens/cl_20201005153549.json new file mode 100644 index 0000000..1b68020 --- /dev/null +++ b/.history/tokens/cl_20201005153549.json @@ -0,0 +1,197 @@ +[ + { + "type": "way", + "tokens": ["autopista", "auto", "autop"], + "canonical": "auto", + "full": "autopista" + }, + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr", "c /"], + "canonical": "c /", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["eix diagonal"], + "canonical": "eix diagonal", + "full": "eix diagonal" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { + "type": "way", + "tokens": ["travessia", "trv", "trav"], + "canonical": "trv", + "full": "travessia" + }, + { + "type": "way", + "tokens": ["travessia", "trv", "trav"], + "canonical": "trv", + "full": "travessia" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005153847.json b/.history/tokens/cl_20201005153847.json new file mode 100644 index 0000000..08acece --- /dev/null +++ b/.history/tokens/cl_20201005153847.json @@ -0,0 +1,191 @@ +[ + { + "type": "way", + "tokens": ["autopista", "auto", "autop"], + "canonical": "auto", + "full": "autopista" + }, + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr", "c /"], + "canonical": "c /", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["eix diagonal"], + "canonical": "eix diagonal", + "full": "eix diagonal" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { + "type": "way", + "tokens": ["travessia", "trv", "trav"], + "canonical": "trv", + "full": "travessia" + }, + { + "type": "way", + "tokens": ["travessia", "trv", "trav"], + "canonical": "trv", + "full": "travessia" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005153854.json b/.history/tokens/cl_20201005153854.json new file mode 100644 index 0000000..0df6902 --- /dev/null +++ b/.history/tokens/cl_20201005153854.json @@ -0,0 +1,185 @@ +[ + { + "type": "way", + "tokens": ["autopista", "auto", "autop"], + "canonical": "auto", + "full": "autopista" + }, + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr", "c /"], + "canonical": "c /", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { + "type": "way", + "tokens": ["travessia", "trv", "trav"], + "canonical": "trv", + "full": "travessia" + }, + { + "type": "way", + "tokens": ["travessia", "trv", "trav"], + "canonical": "trv", + "full": "travessia" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005153904.json b/.history/tokens/cl_20201005153904.json new file mode 100644 index 0000000..00b5270 --- /dev/null +++ b/.history/tokens/cl_20201005153904.json @@ -0,0 +1,173 @@ +[ + { + "type": "way", + "tokens": ["autopista", "auto", "autop"], + "canonical": "auto", + "full": "autopista" + }, + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr", "c /"], + "canonical": "c /", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { + "type": "way", + "tokens": ["travessia", "trv", "trav"], + "canonical": "trv", + "full": "travessia" + }, + { + "type": "way", + "tokens": ["travessia", "trv", "trav"], + "canonical": "trv", + "full": "travessia" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005153907.json b/.history/tokens/cl_20201005153907.json new file mode 100644 index 0000000..356bb4e --- /dev/null +++ b/.history/tokens/cl_20201005153907.json @@ -0,0 +1,167 @@ +[ + { + "type": "way", + "tokens": ["autopista", "auto", "autop"], + "canonical": "auto", + "full": "autopista" + }, + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr", "c /"], + "canonical": "c /", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { + "type": "way", + "tokens": ["travessia", "trv", "trav"], + "canonical": "trv", + "full": "travessia" + }, + { + "type": "way", + "tokens": ["travessia", "trv", "trav"], + "canonical": "trv", + "full": "travessia" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005153919.json b/.history/tokens/cl_20201005153919.json new file mode 100644 index 0000000..9b9b2f3 --- /dev/null +++ b/.history/tokens/cl_20201005153919.json @@ -0,0 +1,149 @@ +[ + { + "type": "way", + "tokens": ["autopista", "auto", "autop"], + "canonical": "auto", + "full": "autopista" + }, + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr", "c /"], + "canonical": "c /", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { + "type": "way", + "tokens": ["travessia", "trv", "trav"], + "canonical": "trv", + "full": "travessia" + }, + { + "type": "way", + "tokens": ["travessia", "trv", "trav"], + "canonical": "trv", + "full": "travessia" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005153925.json b/.history/tokens/cl_20201005153925.json new file mode 100644 index 0000000..e002b12 --- /dev/null +++ b/.history/tokens/cl_20201005153925.json @@ -0,0 +1,143 @@ +[ + { + "type": "way", + "tokens": ["autopista", "auto", "autop"], + "canonical": "auto", + "full": "autopista" + }, + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr", "c /"], + "canonical": "c /", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { + "type": "way", + "tokens": ["travessia", "trv", "trav"], + "canonical": "trv", + "full": "travessia" + }, + { + "type": "way", + "tokens": ["travessia", "trv", "trav"], + "canonical": "trv", + "full": "travessia" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005153930.json b/.history/tokens/cl_20201005153930.json new file mode 100644 index 0000000..a78c4b5 --- /dev/null +++ b/.history/tokens/cl_20201005153930.json @@ -0,0 +1,137 @@ +[ + { + "type": "way", + "tokens": ["autopista", "auto", "autop"], + "canonical": "auto", + "full": "autopista" + }, + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr", "c /"], + "canonical": "c /", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { + "type": "way", + "tokens": ["travessia", "trv", "trav"], + "canonical": "trv", + "full": "travessia" + }, + { + "type": "way", + "tokens": ["travessia", "trv", "trav"], + "canonical": "trv", + "full": "travessia" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005153940.json b/.history/tokens/cl_20201005153940.json new file mode 100644 index 0000000..bcf075f --- /dev/null +++ b/.history/tokens/cl_20201005153940.json @@ -0,0 +1,125 @@ +[ + { + "type": "way", + "tokens": ["autopista", "auto", "autop"], + "canonical": "auto", + "full": "autopista" + }, + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr", "c /"], + "canonical": "c /", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005153942.json b/.history/tokens/cl_20201005153942.json new file mode 100644 index 0000000..09f2227 --- /dev/null +++ b/.history/tokens/cl_20201005153942.json @@ -0,0 +1,124 @@ +[ + { + "type": "way", + "tokens": ["autopista", "auto", "autop"], + "canonical": "auto", + "full": "autopista" + }, + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr", "c /"], + "canonical": "c /", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" }, +] diff --git a/.history/tokens/cl_20201005153944.json b/.history/tokens/cl_20201005153944.json new file mode 100644 index 0000000..090235a --- /dev/null +++ b/.history/tokens/cl_20201005153944.json @@ -0,0 +1,124 @@ +[ + { + "type": "way", + "tokens": ["autopista", "auto", "autop"], + "canonical": "auto", + "full": "autopista" + }, + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr", "c /"], + "canonical": "c /", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["gran vía", "gran via", "gv", "g v"], + "canonical": "gv", + "full": "gran vía" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005154054.json b/.history/tokens/cl_20201005154054.json new file mode 100644 index 0000000..1a85117 --- /dev/null +++ b/.history/tokens/cl_20201005154054.json @@ -0,0 +1,112 @@ +[ + { + "type": "way", + "tokens": ["autopista", "auto", "autop"], + "canonical": "auto", + "full": "autopista" + }, + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr", "c /"], + "canonical": "c /", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005154058.json b/.history/tokens/cl_20201005154058.json new file mode 100644 index 0000000..1a85117 --- /dev/null +++ b/.history/tokens/cl_20201005154058.json @@ -0,0 +1,112 @@ +[ + { + "type": "way", + "tokens": ["autopista", "auto", "autop"], + "canonical": "auto", + "full": "autopista" + }, + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr", "c /"], + "canonical": "c /", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005154656.json b/.history/tokens/cl_20201005154656.json new file mode 100644 index 0000000..0a1b79a --- /dev/null +++ b/.history/tokens/cl_20201005154656.json @@ -0,0 +1,112 @@ +[ + { + "type": "way", + "tokens": ["autopista", "auto", "autop"], + "canonical": "auto", + "full": "autopista" + }, + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "c /", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005154659.json b/.history/tokens/cl_20201005154659.json new file mode 100644 index 0000000..6997e98 --- /dev/null +++ b/.history/tokens/cl_20201005154659.json @@ -0,0 +1,112 @@ +[ + { + "type": "way", + "tokens": ["autopista", "auto", "autop"], + "canonical": "auto", + "full": "autopista" + }, + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005154736.json b/.history/tokens/cl_20201005154736.json new file mode 100644 index 0000000..1c379a8 --- /dev/null +++ b/.history/tokens/cl_20201005154736.json @@ -0,0 +1,106 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005154800.json b/.history/tokens/cl_20201005154800.json new file mode 100644 index 0000000..09623b8 --- /dev/null +++ b/.history/tokens/cl_20201005154800.json @@ -0,0 +1,106 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda", "Avnda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005154801.json b/.history/tokens/cl_20201005154801.json new file mode 100644 index 0000000..813adb3 --- /dev/null +++ b/.history/tokens/cl_20201005154801.json @@ -0,0 +1,106 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda", "avnda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005154817.json b/.history/tokens/cl_20201005154817.json new file mode 100644 index 0000000..c67a444 --- /dev/null +++ b/.history/tokens/cl_20201005154817.json @@ -0,0 +1,106 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda", "avnda", "Avenida"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005154822.json b/.history/tokens/cl_20201005154822.json new file mode 100644 index 0000000..62888f7 --- /dev/null +++ b/.history/tokens/cl_20201005154822.json @@ -0,0 +1,106 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda", "avnda", "avenida"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005154842.json b/.history/tokens/cl_20201005154842.json new file mode 100644 index 0000000..02bfd83 --- /dev/null +++ b/.history/tokens/cl_20201005154842.json @@ -0,0 +1,107 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda", "avnda", "avenida"], + "canonical": "av", + "full": "avinguda", + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'" + }, + { + "type": "way", + "tokens": ["camí", "cami"], + "canonical": "camí", + "full": "camí" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005154918.json b/.history/tokens/cl_20201005154918.json new file mode 100644 index 0000000..f73775b --- /dev/null +++ b/.history/tokens/cl_20201005154918.json @@ -0,0 +1,101 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda", "avnda", "avenida"], + "canonical": "av", + "full": "avinguda", + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005154946.json b/.history/tokens/cl_20201005154946.json new file mode 100644 index 0000000..3103a49 --- /dev/null +++ b/.history/tokens/cl_20201005154946.json @@ -0,0 +1,102 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda", "avnda", "avenida"], + "canonical": "av", + "full": "avinguda", + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005155031.json b/.history/tokens/cl_20201005155031.json new file mode 100644 index 0000000..f0d1752 --- /dev/null +++ b/.history/tokens/cl_20201005155031.json @@ -0,0 +1,102 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda", "avnda", "avenida"], + "canonical": "av", + "full": "avinguda", + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr", "Cinturón"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005155034.json b/.history/tokens/cl_20201005155034.json new file mode 100644 index 0000000..3103a49 --- /dev/null +++ b/.history/tokens/cl_20201005155034.json @@ -0,0 +1,102 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda", "avnda", "avenida"], + "canonical": "av", + "full": "avinguda", + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005155037.json b/.history/tokens/cl_20201005155037.json new file mode 100644 index 0000000..1c507f2 --- /dev/null +++ b/.history/tokens/cl_20201005155037.json @@ -0,0 +1,102 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda", "avnda", "avenida"], + "canonical": "av", + "full": "avinguda", + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo", "Cinturón"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005155039.json b/.history/tokens/cl_20201005155039.json new file mode 100644 index 0000000..96351c5 --- /dev/null +++ b/.history/tokens/cl_20201005155039.json @@ -0,0 +1,102 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda", "avnda", "avenida"], + "canonical": "av", + "full": "avinguda", + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo", "cinturón"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { "type": "way", "tokens": ["eix"], "canonical": "eix", "full": "eix" }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005155055.json b/.history/tokens/cl_20201005155055.json new file mode 100644 index 0000000..6a7b1e3 --- /dev/null +++ b/.history/tokens/cl_20201005155055.json @@ -0,0 +1,101 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda", "avnda", "avenida"], + "canonical": "av", + "full": "avinguda", + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo", "cinturón"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005155152.json b/.history/tokens/cl_20201005155152.json new file mode 100644 index 0000000..898ecab --- /dev/null +++ b/.history/tokens/cl_20201005155152.json @@ -0,0 +1,101 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda", "avnda", "avenida"], + "canonical": "av", + "full": "avinguda", + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo", "cinturón"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "pz "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005155154.json b/.history/tokens/cl_20201005155154.json new file mode 100644 index 0000000..b5b8616 --- /dev/null +++ b/.history/tokens/cl_20201005155154.json @@ -0,0 +1,101 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda", "avnda", "avenida"], + "canonical": "av", + "full": "avinguda", + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo", "cinturón"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "pz", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005155201.json b/.history/tokens/cl_20201005155201.json new file mode 100644 index 0000000..6a7b1e3 --- /dev/null +++ b/.history/tokens/cl_20201005155201.json @@ -0,0 +1,101 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda", "avnda", "avenida"], + "canonical": "av", + "full": "avinguda", + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo", "cinturón"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005155307.json b/.history/tokens/cl_20201005155307.json new file mode 100644 index 0000000..6a7b1e3 --- /dev/null +++ b/.history/tokens/cl_20201005155307.json @@ -0,0 +1,101 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda", "avnda", "avenida"], + "canonical": "av", + "full": "avinguda", + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo", "cinturón"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005155314.json b/.history/tokens/cl_20201005155314.json new file mode 100644 index 0000000..b204735 --- /dev/null +++ b/.history/tokens/cl_20201005155314.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda", "avnda", "avenida"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo", "cinturón"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005160855.json b/.history/tokens/cl_20201005160855.json new file mode 100644 index 0000000..3f61d0c --- /dev/null +++ b/.history/tokens/cl_20201005160855.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda", "avenida"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo", "cinturón"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005160900.json b/.history/tokens/cl_20201005160900.json new file mode 100644 index 0000000..7c10e8b --- /dev/null +++ b/.history/tokens/cl_20201005160900.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo", "cinturón"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005160910.json b/.history/tokens/cl_20201005160910.json new file mode 100644 index 0000000..7c10e8b --- /dev/null +++ b/.history/tokens/cl_20201005160910.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carreró", "cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo", "cinturón"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005160916.json b/.history/tokens/cl_20201005160916.json new file mode 100644 index 0000000..390f5a4 --- /dev/null +++ b/.history/tokens/cl_20201005160916.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": [""cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo", "cinturón"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005160918.json b/.history/tokens/cl_20201005160918.json new file mode 100644 index 0000000..8bbbf1d --- /dev/null +++ b/.history/tokens/cl_20201005160918.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": [cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo", "cinturón"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005160919.json b/.history/tokens/cl_20201005160919.json new file mode 100644 index 0000000..f3d906e --- /dev/null +++ b/.history/tokens/cl_20201005160919.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carreró" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo", "cinturón"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005160921.json b/.history/tokens/cl_20201005160921.json new file mode 100644 index 0000000..670e56b --- /dev/null +++ b/.history/tokens/cl_20201005160921.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["cró", "carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carrero" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo", "cinturón"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005160925.json b/.history/tokens/cl_20201005160925.json new file mode 100644 index 0000000..dae0b84 --- /dev/null +++ b/.history/tokens/cl_20201005160925.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": [carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carrero" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo", "cinturón"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005160927.json b/.history/tokens/cl_20201005160927.json new file mode 100644 index 0000000..ba62667 --- /dev/null +++ b/.history/tokens/cl_20201005160927.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carrero", "cro", "carro", "carr"], + "canonical": "cró", + "full": "carrero" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo", "cinturón"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005160931.json b/.history/tokens/cl_20201005160931.json new file mode 100644 index 0000000..1500782 --- /dev/null +++ b/.history/tokens/cl_20201005160931.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carrero", "cro", "carro", "carr"], + "canonical": "cro", + "full": "carrero" + }, + { + "type": "way", + "tokens": ["cinturó", "cint", "cinturo", "cinturón"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005160941.json b/.history/tokens/cl_20201005160941.json new file mode 100644 index 0000000..48ac0f4 --- /dev/null +++ b/.history/tokens/cl_20201005160941.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carrero", "cro", "carro", "carr"], + "canonical": "cro", + "full": "carrero" + }, + { + "type": "way", + "tokens": [""cint", "cinturo", "cinturón"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005160943.json b/.history/tokens/cl_20201005160943.json new file mode 100644 index 0000000..8198b29 --- /dev/null +++ b/.history/tokens/cl_20201005160943.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carrero", "cro", "carro", "carr"], + "canonical": "cro", + "full": "carrero" + }, + { + "type": "way", + "tokens": ["cint", "cinturo", "cinturón"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005160946.json b/.history/tokens/cl_20201005160946.json new file mode 100644 index 0000000..6df4e19 --- /dev/null +++ b/.history/tokens/cl_20201005160946.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carrero", "cro", "carro", "carr"], + "canonical": "cro", + "full": "carrero" + }, + { + "type": "way", + "tokens": ["cint", "cinturo", "cinturon"], + "canonical": "cint", + "full": "cinturó" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005160949.json b/.history/tokens/cl_20201005160949.json new file mode 100644 index 0000000..8ebde22 --- /dev/null +++ b/.history/tokens/cl_20201005160949.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carrero", "cro", "carro", "carr"], + "canonical": "cro", + "full": "carrero" + }, + { + "type": "way", + "tokens": ["cint", "cinturo", "cinturon"], + "canonical": "cint", + "full": "cinturon" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadís", "pdís", "passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005160958.json b/.history/tokens/cl_20201005160958.json new file mode 100644 index 0000000..468845d --- /dev/null +++ b/.history/tokens/cl_20201005160958.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carrero", "cro", "carro", "carr"], + "canonical": "cro", + "full": "carrero" + }, + { + "type": "way", + "tokens": ["cint", "cinturo", "cinturon"], + "canonical": "cint", + "full": "cinturon" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadis", "pdis"], + "canonical": "pdís", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005161000.json b/.history/tokens/cl_20201005161000.json new file mode 100644 index 0000000..b27c7ec --- /dev/null +++ b/.history/tokens/cl_20201005161000.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carrero", "cro", "carro", "carr"], + "canonical": "cro", + "full": "carrero" + }, + { + "type": "way", + "tokens": ["cint", "cinturo", "cinturon"], + "canonical": "cint", + "full": "cinturon" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadis", "pdis"], + "canonical": "pdis", + "full": "passadís" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005161003.json b/.history/tokens/cl_20201005161003.json new file mode 100644 index 0000000..297db28 --- /dev/null +++ b/.history/tokens/cl_20201005161003.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carrero", "cro", "carro", "carr"], + "canonical": "cro", + "full": "carrero" + }, + { + "type": "way", + "tokens": ["cint", "cinturo", "cinturon"], + "canonical": "cint", + "full": "cinturon" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadis", "pdis"], + "canonical": "pdis", + "full": "passadis" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["plaça", "pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005161009.json b/.history/tokens/cl_20201005161009.json new file mode 100644 index 0000000..2143c5e --- /dev/null +++ b/.history/tokens/cl_20201005161009.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carrero", "cro", "carro", "carr"], + "canonical": "cro", + "full": "carrero" + }, + { + "type": "way", + "tokens": ["cint", "cinturo", "cinturon"], + "canonical": "cint", + "full": "cinturon" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadis", "pdis"], + "canonical": "pdis", + "full": "passadis" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": [""pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005161010.json b/.history/tokens/cl_20201005161010.json new file mode 100644 index 0000000..dda4ef4 --- /dev/null +++ b/.history/tokens/cl_20201005161010.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carrero", "cro", "carro", "carr"], + "canonical": "cro", + "full": "carrero" + }, + { + "type": "way", + "tokens": ["cint", "cinturo", "cinturon"], + "canonical": "cint", + "full": "cinturon" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadis", "pdis"], + "canonical": "pdis", + "full": "passadis" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["pl", "placa", "pça", "pca", "plç", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005161012.json b/.history/tokens/cl_20201005161012.json new file mode 100644 index 0000000..386002d --- /dev/null +++ b/.history/tokens/cl_20201005161012.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carrero", "cro", "carro", "carr"], + "canonical": "cro", + "full": "carrero" + }, + { + "type": "way", + "tokens": ["cint", "cinturo", "cinturon"], + "canonical": "cint", + "full": "cinturon" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadis", "pdis"], + "canonical": "pdis", + "full": "passadis" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["pl", "placa", "pça", "pca", "plc"], + "canonical": "pl", + "full": "plaça" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005161014.json b/.history/tokens/cl_20201005161014.json new file mode 100644 index 0000000..4afa37d --- /dev/null +++ b/.history/tokens/cl_20201005161014.json @@ -0,0 +1,100 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carrero", "cro", "carro", "carr"], + "canonical": "cro", + "full": "carrero" + }, + { + "type": "way", + "tokens": ["cint", "cinturo", "cinturon"], + "canonical": "cint", + "full": "cinturon" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadis", "pdis"], + "canonical": "pdis", + "full": "passadis" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["pl", "placa", "pça", "pca", "plc"], + "canonical": "pl", + "full": "placa" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, + { "type": "way", "tokens": ["via", "v"], "canonical": "v", "full": "via" } +] diff --git a/.history/tokens/cl_20201005161023.json b/.history/tokens/cl_20201005161023.json new file mode 100644 index 0000000..6d42c39 --- /dev/null +++ b/.history/tokens/cl_20201005161023.json @@ -0,0 +1,99 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carrero", "cro", "carro", "carr"], + "canonical": "cro", + "full": "carrero" + }, + { + "type": "way", + "tokens": ["cint", "cinturo", "cinturon"], + "canonical": "cint", + "full": "cinturon" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadis", "pdis"], + "canonical": "pdis", + "full": "passadis" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["pl", "placa", "pça", "pca", "plc"], + "canonical": "pl", + "full": "placa" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + }, +] diff --git a/.history/tokens/cl_20201005161026.json b/.history/tokens/cl_20201005161026.json new file mode 100644 index 0000000..37129cc --- /dev/null +++ b/.history/tokens/cl_20201005161026.json @@ -0,0 +1,99 @@ +[ + { + "type": "way", + "tokens": ["autovia", "autov"], + "canonical": "autov", + "full": "autovia" + }, + { + "type": "way", + "tokens": ["avinguda", "av", "avd", "avda", "avgda"], + "canonical": "av", + "full": "avinguda" + }, + { + "type": "way", + "tokens": ["carrer", "carr"], + "canonical": "carr", + "full": "carrer", + "note": "translates to 'street'" + }, + { + "type": "way", + "tokens": ["carrero", "cro", "carro", "carr"], + "canonical": "cro", + "full": "carrero" + }, + { + "type": "way", + "tokens": ["cint", "cinturo", "cinturon"], + "canonical": "cint", + "full": "cinturon" + }, + { + "type": "way", + "tokens": ["drecera", "drec"], + "canonical": "drec", + "full": "drecera" + }, + { + "type": "way", + "tokens": ["entrada", "entr"], + "canonical": "entr", + "full": "entrada" + }, + { + "type": "way", + "tokens": ["passadis", "pdis"], + "canonical": "pdis", + "full": "passadis" + }, + { + "type": "way", + "tokens": ["passatge", "ptge"], + "canonical": "ptge", + "full": "passatge" + }, + { + "type": "way", + "tokens": ["passeig", "pg"], + "canonical": "pg", + "full": "passeig" + }, + { + "type": "way", + "tokens": ["pl", "placa", "pça", "pca", "plc"], + "canonical": "pl", + "full": "placa" + }, + { + "type": "way", + "tokens": ["portal", "ptal"], + "canonical": "ptal", + "full": "portal" + }, + { + "type": "way", + "tokens": ["ronda", "rda"], + "canonical": "rda", + "full": "ronda" + }, + { + "type": "way", + "tokens": ["sortida", "sort"], + "canonical": "sort", + "full": "sortida" + }, + { + "type": "way", + "tokens": ["transversal", "trval", "trvsal"], + "canonical": "trval", + "full": "transversal" + }, + { + "type": "way", + "tokens": ["travessera", "trav"], + "canonical": "trav", + "full": "travessera" + } +] diff --git a/.history/tokens/cs_20200818095838.json b/.history/tokens/cs_20200818095838.json new file mode 100644 index 0000000..6f6073f --- /dev/null +++ b/.history/tokens/cs_20200818095838.json @@ -0,0 +1,63 @@ +[ + { + "tokens": ["ulice", "uliční", "ul", "u"], + "full": "ulice", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": ["jih", "j"], + "full": "jih", + "canonical": "j", + "note": "translates to 'south'", + "type": "cardinal" + }, + { + "tokens": ["sever", "s"], + "full": "sever", + "canonical": "s", + "note": "translates to 'north'; applying this only to addresses because in mixed-language layers it ends up doing weird conflations with 'south', which is 's' elsewhere", + "type": "cardinal", + "onlyLayers": ["address"] + }, + { + "tokens": ["východ", "vychod", "v"], + "full": "východ", + "canonical": "v", + "note": "translates to 'east'", + "type": "cardinal" + }, + { + "tokens": ["západ", "zapad", "z"], + "full": "západ", + "canonical": "z", + "note": "translates to 'west'", + "type": "cardinal" + }, + { + "tokens": ["nábřeží", "nabrezi", "nábř", "nabr"], + "full": "nábřeží", + "canonical": "nábř", + "note": "translates to 'seafront'" + }, + { + "tokens": ["náměstí", "nám", "namesti", "nam"], + "full": "náměstí", + "canonical": "nám", + "note": "translates to 'square'" + }, + { + "tokens": ["příčná", "pricna"], + "full": "příčná", + "canonical": "příčná", + "note": "translates to 'traverse'" + }, + { + "tokens": ["třída", "trida", "tř.", "tr"], + "full": "třída", + "canonical": "tř", + "note": "translates to 'avenue'", + "type": "way" + } +] diff --git a/.history/tokens/cs_20220520100635.json b/.history/tokens/cs_20220520100635.json new file mode 100644 index 0000000..86f36a9 --- /dev/null +++ b/.history/tokens/cs_20220520100635.json @@ -0,0 +1,76 @@ +[ + { + "tokens": ["ulice", "uliční", "ul", "u"], + "full": "ulice", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": ["jih", "j"], + "full": "jih", + "canonical": "j", + "note": "translates to 'south'", + "type": "cardinal" + }, + { + "tokens": ["sever", "s"], + "full": "sever", + "canonical": "s", + "note": "translates to 'north'; applying this only to addresses because in mixed-language layers it ends up doing weird conflations with 'south', which is 's' elsewhere", + "type": "cardinal", + "onlyLayers": ["address"] + }, + { + "tokens": ["východ", "vychod", "v"], + "full": "východ", + "canonical": "v", + "note": "translates to 'east'", + "type": "cardinal" + }, + { + "tokens": ["západ", "zapad", "z"], + "full": "západ", + "canonical": "z", + "note": "translates to 'west'", + "type": "cardinal" + }, + { + "tokens": ["nábřeží", "nabrezi", "nábř", "nabr"], + "full": "nábřeží", + "canonical": "nábř", + "note": "translates to 'seafront'" + }, + { + "tokens": ["náměstí", "nám", "namesti", "nam"], + "full": "náměstí", + "canonical": "nám", + "note": "translates to 'square'" + }, + { + "tokens": ["příčná", "pricna"], + "full": "příčná", + "canonical": "příčná", + "note": "translates to 'traverse'" + }, + { + "tokens": ["třída", "trida", "tř.", "tr"], + "full": "třída", + "canonical": "tř", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "$1$2", + "([A-Z]{1,2}[0-9][0-9A-Z]?) ?([0-9][A-Z]{2})" + ], + "full": "([A-Z]{1,2}[0-9][0-9A-Z]?) ?([0-9][A-Z]{2})", + "canonical": "$1$2", + "onlyCountries": ["nl"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true +} +] diff --git a/.history/tokens/cs_20220520100638.json b/.history/tokens/cs_20220520100638.json new file mode 100644 index 0000000..caf861c --- /dev/null +++ b/.history/tokens/cs_20220520100638.json @@ -0,0 +1,76 @@ +[ + { + "tokens": ["ulice", "uliční", "ul", "u"], + "full": "ulice", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": ["jih", "j"], + "full": "jih", + "canonical": "j", + "note": "translates to 'south'", + "type": "cardinal" + }, + { + "tokens": ["sever", "s"], + "full": "sever", + "canonical": "s", + "note": "translates to 'north'; applying this only to addresses because in mixed-language layers it ends up doing weird conflations with 'south', which is 's' elsewhere", + "type": "cardinal", + "onlyLayers": ["address"] + }, + { + "tokens": ["východ", "vychod", "v"], + "full": "východ", + "canonical": "v", + "note": "translates to 'east'", + "type": "cardinal" + }, + { + "tokens": ["západ", "zapad", "z"], + "full": "západ", + "canonical": "z", + "note": "translates to 'west'", + "type": "cardinal" + }, + { + "tokens": ["nábřeží", "nabrezi", "nábř", "nabr"], + "full": "nábřeží", + "canonical": "nábř", + "note": "translates to 'seafront'" + }, + { + "tokens": ["náměstí", "nám", "namesti", "nam"], + "full": "náměstí", + "canonical": "nám", + "note": "translates to 'square'" + }, + { + "tokens": ["příčná", "pricna"], + "full": "příčná", + "canonical": "příčná", + "note": "translates to 'traverse'" + }, + { + "tokens": ["třída", "trida", "tř.", "tr"], + "full": "třída", + "canonical": "tř", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "$1$2", + "([A-Z]{1,2}[0-9][0-9A-Z]?) ?([0-9][A-Z]{2})" + ], + "full": "([A-Z]{1,2}[0-9][0-9A-Z]?) ?([0-9][A-Z]{2})", + "canonical": "$1$2", + "onlyCountries": ["cz"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true +} +] diff --git a/.history/tokens/cs_20220524102632.json b/.history/tokens/cs_20220524102632.json new file mode 100644 index 0000000..84d3b40 --- /dev/null +++ b/.history/tokens/cs_20220524102632.json @@ -0,0 +1,76 @@ +[ + { + "tokens": ["ulice", "uliční", "ul", "u"], + "full": "ulice", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": ["jih", "j"], + "full": "jih", + "canonical": "j", + "note": "translates to 'south'", + "type": "cardinal" + }, + { + "tokens": ["sever", "s"], + "full": "sever", + "canonical": "s", + "note": "translates to 'north'; applying this only to addresses because in mixed-language layers it ends up doing weird conflations with 'south', which is 's' elsewhere", + "type": "cardinal", + "onlyLayers": ["address"] + }, + { + "tokens": ["východ", "vychod", "v"], + "full": "východ", + "canonical": "v", + "note": "translates to 'east'", + "type": "cardinal" + }, + { + "tokens": ["západ", "zapad", "z"], + "full": "západ", + "canonical": "z", + "note": "translates to 'west'", + "type": "cardinal" + }, + { + "tokens": ["nábřeží", "nabrezi", "nábř", "nabr"], + "full": "nábřeží", + "canonical": "nábř", + "note": "translates to 'seafront'" + }, + { + "tokens": ["náměstí", "nám", "namesti", "nam"], + "full": "náměstí", + "canonical": "nám", + "note": "translates to 'square'" + }, + { + "tokens": ["příčná", "pricna"], + "full": "příčná", + "canonical": "příčná", + "note": "translates to 'traverse'" + }, + { + "tokens": ["třída", "trida", "tř.", "tr"], + "full": "třída", + "canonical": "tř", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "$1$2", + "([0-9]{3}) ?([0-9]{2})" + ], + "full": "([A-Z]{1,2}[0-9][0-9A-Z]?) ?([0-9][A-Z]{2})", + "canonical": "$1$2", + "onlyCountries": ["cz"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true +} +] diff --git a/.history/tokens/cs_20220524102635.json b/.history/tokens/cs_20220524102635.json new file mode 100644 index 0000000..2463f95 --- /dev/null +++ b/.history/tokens/cs_20220524102635.json @@ -0,0 +1,76 @@ +[ + { + "tokens": ["ulice", "uliční", "ul", "u"], + "full": "ulice", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": ["jih", "j"], + "full": "jih", + "canonical": "j", + "note": "translates to 'south'", + "type": "cardinal" + }, + { + "tokens": ["sever", "s"], + "full": "sever", + "canonical": "s", + "note": "translates to 'north'; applying this only to addresses because in mixed-language layers it ends up doing weird conflations with 'south', which is 's' elsewhere", + "type": "cardinal", + "onlyLayers": ["address"] + }, + { + "tokens": ["východ", "vychod", "v"], + "full": "východ", + "canonical": "v", + "note": "translates to 'east'", + "type": "cardinal" + }, + { + "tokens": ["západ", "zapad", "z"], + "full": "západ", + "canonical": "z", + "note": "translates to 'west'", + "type": "cardinal" + }, + { + "tokens": ["nábřeží", "nabrezi", "nábř", "nabr"], + "full": "nábřeží", + "canonical": "nábř", + "note": "translates to 'seafront'" + }, + { + "tokens": ["náměstí", "nám", "namesti", "nam"], + "full": "náměstí", + "canonical": "nám", + "note": "translates to 'square'" + }, + { + "tokens": ["příčná", "pricna"], + "full": "příčná", + "canonical": "příčná", + "note": "translates to 'traverse'" + }, + { + "tokens": ["třída", "trida", "tř.", "tr"], + "full": "třída", + "canonical": "tř", + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "$1$2", + "([0-9]{3}) ?([0-9]{2})" + ], + "full": "([0-9]{3}) ?([0-9]{2})", + "canonical": "$1$2", + "onlyCountries": ["cz"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true +} +] diff --git a/.history/tokens/de_20201217113238.json b/.history/tokens/de_20201217113238.json new file mode 100644 index 0000000..a77fa9d --- /dev/null +++ b/.history/tokens/de_20201217113238.json @@ -0,0 +1,412 @@ +[ + { + "tokens": [ + "auf", + "a.d.", + "a.d" + ], + "full": "a.d.", + "canonical": "auf", + "note": "translates to 'on the'" + + }, + { + "tokens": [ + "auf", + "auf der", + "a d" + + ], + "full": "auf der", + "canonical": "auf", + "spanBoundaries": 1, + "note": "translates to 'on the'; same as above, but this group contains two-token phrases" + }, + { + "tokens": [ + "a", + "am", + "an", + "a.d.", + "a.d" + ], + "full": "an der", + "canonical": "a", + "note": "translates to 'at the'" + + }, + { + "tokens": [ + "a", + "an der", + "a d" + ], + "full": "an der", + "canonical": "a", + "spanBoundaries": 1, + "note": "translates to 'at the'; same as above, but this group contains two-token phrases" + + }, + { + "tokens": [ + "i", + "in", + "im", + "i.d.", + "i.d" + ], + "full": "in der", + "canonical": "i", + "note": "translates to 'in the'" + + }, + { + "tokens": [ + "i", + "in der", + "i d" + ], + "full": "in der", + "canonical": "i", + "spanBoundaries": 1, + "note": "translates to 'in the'; same as above, but this group contains two-token phrases" + + }, + { + "tokens": [ + "Bf", + "Bhf", + "Bahnhof" + ], + "full": "Bahnhof", + "canonical": "Bf" + }, + { + "tokens": [ + "bg", + "berg" + ], + "full": "berg", + "canonical": "bg" + }, + { + "tokens": [ + "bg", + "burg" + ], + "full": "burg", + "canonical": "bg" + }, + { + "tokens": [ + "Br", + "Brücke" + ], + "full": "Brücke", + "canonical": "Br", + "onlyLayers": ["address"], + "note": "translates to 'bridge'" + }, + { + "tokens": [ + "Ch", + "Chaussee" + ], + "full": "Chaussee", + "canonical": "Ch", + "onlyLayers": ["address"], + "note": "translates to 'highway'", + "type": "way" + }, + { + "tokens": [ + "D", + "Damm" + ], + "full": "Damm", + "canonical": "D" + }, + { + "tokens": [ + "d", + "der" + ], + "full": "der", + "canonical": "d" + }, + { + "tokens": [ + "df", + "dorf" + ], + "full": "dorf", + "canonical": "df" + }, + { + "tokens": [ + "Dr", + "Doktor" + ], + "full": "Doktor", + "canonical": "Dr" + }, + { + "tokens": [ + "G", + "Gasse" + ], + "full": "Gasse", + "canonical": "G", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Gr", + "Große" + ], + "full": "Große", + "canonical": "Gr" + }, + { + "tokens": [ + "Gr", + "Großer" + ], + "full": "Großer", + "canonical": "Gr" + }, + { + "tokens": [ + "Gr", + "Großes" + ], + "full": "Großes", + "canonical": "Gr" + }, + { + "tokens": [ + "Hbf", + "Hauptbahnhof" + ], + "full": "Hauptbahnhof", + "canonical": "Hbf" + }, + { + "tokens": [ + "Hl", + "Heiligen" + ], + "full": "Heiligen", + "canonical": "Hl" + }, + { + "tokens": [ + "Kl", + "Kleine" + ], + "full": "Kleine", + "canonical": "Kl" + }, + { + "tokens": [ + "Kl", + "Kleiner" + ], + "full": "Kleiner", + "canonical": "Kl" + }, + { + "tokens": [ + "Kl", + "Kleines" + ], + "full": "Kleines", + "canonical": "Kl" + }, + { + "tokens": [ + "Kr", + "Krs", + "Kreis" + ], + "full": "Kreis", + "canonical": "Kr", + "onlyLayers": ["address"], + "note": "translates to 'circle'", + "type": "way" + }, + { + "tokens": [ + "Lk", + "Lkr", + "Lkrs", + "Landkrs", + "Landkreis" + ], + "full": "Landkreis", + "canonical": "Lk" + }, + { + "tokens": [ + "o", + "ob" + ], + "full": "ob", + "canonical": "o" + }, + { + "tokens": [ + "Ob", + "Obere" + ], + "full": "Obere", + "canonical": "Ob" + }, + { + "tokens": [ + "Ob", + "Oberer" + ], + "full": "Oberer", + "canonical": "Ob" + }, + { + "tokens": [ + "Ob", + "Oberes" + ], + "full": "Oberes", + "canonical": "Ob" + }, + { + "tokens": [ + "Pl", + "Platz" + ], + "full": "Platz", + "canonical": "Pl", + "type": "way" + }, + { + "tokens": [ + "Rh", + "Rhein" + ], + "full": "Rhein", + "canonical": "Rh" + }, + { + "tokens": [ + "St", + "Sankt" + ], + "full": "Sankt", + "canonical": "St", + "note": "Reference to a saint" + }, + { + "tokens": [ + "Str", + "Straße", + "Strasse" + ], + "full": "Strasse", + "canonical": "Str", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "U", + "Untere" + ], + "full": "Untere", + "canonical": "U" + }, + { + "tokens": [ + "U", + "Unterer" + ], + "full": "Unterer", + "canonical": "U" + }, + { + "tokens": [ + "U", + "Unteres" + ], + "full": "Unteres", + "canonical": "U" + }, + { + "tokens": [ + "v", + "von" + ], + "full": "von", + "canonical": "v" + }, + { + "tokens": [ + "Wg", + "Weg" + ], + "full": "Weg", + "canonical": "Wg", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "z", + "zum" + ], + "full": "zum", + "canonical": "z" + }, + { + "tokens": [ + "ä", + "ae" + ], + "skipBoundaries": true, + "full": "ä", + "skipDiacriticStripping": true, + "canonical": "ae" + }, + { + "tokens": [ + "ö", + "oe" + ], + "skipBoundaries": true, + "full": "ö", + "skipDiacriticStripping": true, + "canonical": "oe" + }, + { + "tokens": [ + "ü", + "ue" + ], + "skipBoundaries": true, + "full": "ü", + "skipDiacriticStripping": true, + "canonical": "ue" + }, + { + "tokens": [ + "$1 str", + "([^ ]+)(strasse|str|straße)" + ], + "full": "([^ ]+)(strasse|str|straße)", + "canonical": "$1 str", + "regex": true, + "skipDiacriticStripping": true, + "spanBoundaries": 0 + } +] diff --git a/.history/tokens/de_20201217113240.json b/.history/tokens/de_20201217113240.json new file mode 100644 index 0000000..05a1fb9 --- /dev/null +++ b/.history/tokens/de_20201217113240.json @@ -0,0 +1,412 @@ +[ + { + "tokens": [ + "auf", + "a.d.", + "a.d" + ], + "full": "a.d.", + "canonical": "auf", + "note": "translates to 'on the'" + + }, + { + "tokens": [ + "auf", + "auf der", + "a d" + + ], + "full": "auf der", + "canonical": "auf", + "spanBoundaries": 1, + "note": "translates to 'on the'; same as above, but this group contains two-token phrases" + }, + { + "tokens": [ + "a", + "am", + "an", + "a.d.", + "a.d" + ], + "full": "an der", + "canonical": "a", + "note": "translates to 'at the'" + + }, + { + "tokens": [ + "a", + "an der", + "a d" + ], + "full": "an der", + "canonical": "a", + "spanBoundaries": 1, + "note": "translates to 'at the'; same as above, but this group contains two-token phrases" + + }, + { + "tokens": [ + "i", + "in", + "im", + "i.d.", + "i.d" + ], + "full": "in der", + "canonical": "i", + "note": "translates to 'in the'" + + }, + { + "tokens": [ + "i", + "in der", + "i d" + ], + "full": "in der", + "canonical": "i", + "spanBoundaries": 1, + "note": "translates to 'in the'; same as above, but this group contains two-token phrases" + + }, + { + "tokens": [ + "Bf", + "Bhf", + "Bahnhof" + ], + "full": "Bahnhof", + "canonical": "Bf" + }, + { + "tokens": [ + "bg", + "berg" + ], + "full": "berg", + "canonical": "bg" + }, + { + "tokens": [ + "bg", + "burg" + ], + "full": "burg", + "canonical": "bg" + }, + { + "tokens": [ + "Br", + "Brücke" + ], + "full": "Brücke", + "canonical": "Br", + "onlyLayers": ["address"], + "note": "translates to 'bridge'" + }, + { + "tokens": [ + "Ch", + "Chaussee" + ], + "full": "Chaussee", + "canonical": "Ch", + "onlyLayers": ["address"], + "note": "translates to 'highway'", + "type": "way" + }, + { + "tokens": [ + "D", + "Damm" + ], + "full": "Damm", + "canonical": "D" + }, + { + "tokens": [ + "d", + "der" + ], + "full": "der", + "canonical": "d" + }, + { + "tokens": [ + "df", + "dorf" + ], + "full": "dorf", + "canonical": "df" + }, + { + "tokens": [ + "Dr", + "Doktor" + ], + "full": "Doktor", + "canonical": "Dr" + }, + { + "tokens": [ + "G", + "Gasse" + ], + "full": "Gasse", + "canonical": "G", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Gr", + "Große" + ], + "full": "Große", + "canonical": "Gr" + }, + { + "tokens": [ + "Gr", + "Großer" + ], + "full": "Großer", + "canonical": "Gr" + }, + { + "tokens": [ + "Gr", + "Großes" + ], + "full": "Großes", + "canonical": "Gr" + }, + { + "tokens": [ + "Hbf", + "Hauptbahnhof" + ], + "full": "Hauptbahnhof", + "canonical": "Hbf" + }, + { + "tokens": [ + "Hl", + "Heiligen" + ], + "full": "Heiligen", + "canonical": "Hl" + }, + { + "tokens": [ + "Kl", + "Kleine" + ], + "full": "Kleine", + "canonical": "Kl" + }, + { + "tokens": [ + "Kl", + "Kleiner" + ], + "full": "Kleiner", + "canonical": "Kl" + }, + { + "tokens": [ + "Kl", + "Kleines" + ], + "full": "Kleines", + "canonical": "Kl" + }, + { + "tokens": [ + "Kr", + "Krs", + "Kreis" + ], + "full": "Kreis", + "canonical": "Kr", + "onlyLayers": ["address"], + "note": "translates to 'circle'", + "type": "way" + }, + { + "tokens": [ + "Lk", + "Lkr", + "Lkrs", + "Landkrs", + "Landkreis" + ], + "full": "Landkreis", + "canonical": "Lk" + }, + { + "tokens": [ + "o", + "ob" + ], + "full": "ob", + "canonical": "o" + }, + { + "tokens": [ + "Ob", + "Obere" + ], + "full": "Obere", + "canonical": "Ob" + }, + { + "tokens": [ + "Ob", + "Oberer" + ], + "full": "Oberer", + "canonical": "Ob" + }, + { + "tokens": [ + "Ob", + "Oberes" + ], + "full": "Oberes", + "canonical": "Ob" + }, + { + "tokens": [ + "Pl", + "Platz" + ], + "full": "Platz", + "canonical": "Pl", + "type": "way" + }, + { + "tokens": [ + "Rh", + "Rhein" + ], + "full": "Rhein", + "canonical": "Rh" + }, + { + "tokens": [ + "St", + "Sankt" + ], + "full": "Sankt", + "canonical": "St", + "note": "Reference to a saint" + }, + { + "tokens": [ + "Str", + "Straße", + "Strasse" + ], + "full": "Strasse", + "canonical": "Str", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "U", + "Untere" + ], + "full": "Untere", + "canonical": "U" + }, + { + "tokens": [ + "U", + "Unterer" + ], + "full": "Unterer", + "canonical": "U" + }, + { + "tokens": [ + "U", + "Unteres" + ], + "full": "Unteres", + "canonical": "U" + }, + { + "tokens": [ + "v", + "von" + ], + "full": "von", + "canonical": "v" + }, + { + "tokens": [ + "Wg", + "Weg" + ], + "full": "Weg", + "canonical": "Wg", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "z", + "zum" + ], + "full": "zum", + "canonical": "z" + }, + { + "tokens": [ + "ä", + "ae" + ], + "skipBoundaries": true, + "full": "ä", + "skipDiacriticStripping": true, + "canonical": "ae" + }, + { + "tokens": [ + "ö", + "oe" + ], + "skipBoundaries": true, + "full": "ö", + "skipDiacriticStripping": true, + "canonical": "oe" + }, + { + "tokens": [ + "ü", + "ue" + ], + "skipBoundaries": true, + "full": "ü", + "skipDiacriticStripping": true, + "canonical": "ue" + }, + { + "tokens": [ + "$1 str", + "([^ ]+)(strasse|str|straße)" + ], + "full": "([^ ]+)(strasse|str|straße)", + "canonical": "$1 str", + "regex": true, + "skipDiacriticStripping": true, + "spanBoundaries": 0 + } +] diff --git a/.history/tokens/en_20220706101133.json b/.history/tokens/en_20220706101133.json new file mode 100644 index 0000000..b27988a --- /dev/null +++ b/.history/tokens/en_20220706101133.json @@ -0,0 +1,3020 @@ +[ + { + "tokens": [ + "1", + "one" + ], + "full": "one", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "two" + ], + "full": "two", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "three" + ], + "full": "three", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "four" + ], + "full": "four", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "five" + ], + "full": "five", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "six" + ], + "full": "six", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "seven" + ], + "full": "seven", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "eight" + ], + "full": "eight", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nine" + ], + "full": "nine", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ten" + ], + "full": "ten", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "eleven" + ], + "full": "eleven", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "twelve" + ], + "full": "twelve", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "thirteen" + ], + "full": "thirteen", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "fourteen" + ], + "full": "fourteen", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "fifteen" + ], + "full": "fifteen", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "sixteen" + ], + "full": "sixteen", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "seventeen" + ], + "full": "seventeen", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "eighteen" + ], + "full": "eighteen", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "nineteen" + ], + "full": "nineteen", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "twenty" + ], + "full": "twenty", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "10th", + "Tenth" + ], + "full": "Tenth", + "canonical": "10th", + "type": "ordinal" + }, + { + "tokens": [ + "11th", + "Eleventh" + ], + "full": "Eleventh", + "canonical": "11th", + "type": "ordinal" + }, + { + "tokens": [ + "12th", + "Twelfth" + ], + "full": "Twelfth", + "canonical": "12th", + "type": "ordinal" + }, + { + "tokens": [ + "13th", + "Thirteenth" + ], + "full": "Thirteenth", + "canonical": "13th", + "type": "ordinal" + }, + { + "tokens": [ + "14th", + "Fourteenth" + ], + "full": "Fourteenth", + "canonical": "14th", + "type": "ordinal" + }, + { + "tokens": [ + "15th", + "Fifteenth" + ], + "full": "Fifteenth", + "canonical": "15th", + "type": "ordinal" + }, + { + "tokens": [ + "16th", + "Sixteenth" + ], + "full": "Sixteenth", + "canonical": "16th", + "type": "ordinal" + }, + { + "tokens": [ + "17th", + "Seventeenth" + ], + "full": "Seventeenth", + "canonical": "17th", + "type": "ordinal" + }, + { + "tokens": [ + "18th", + "Eighteenth" + ], + "full": "Eighteenth", + "canonical": "18th", + "type": "ordinal" + }, + { + "tokens": [ + "19th", + "Nineteenth" + ], + "full": "Nineteenth", + "canonical": "19th", + "type": "ordinal" + }, + { + "tokens": [ + "1st", + "First" + ], + "full": "First", + "canonical": "1st", + "type": "ordinal" + }, + { + "tokens": [ + "20th", + "Twentieth" + ], + "full": "Twentieth", + "canonical": "20th", + "type": "ordinal" + }, + { + "tokens": [ + "2nd", + "Second" + ], + "full": "Second", + "canonical": "2nd", + "type": "ordinal" + }, + { + "tokens": [ + "3rd", + "Third" + ], + "full": "Third", + "canonical": "3rd", + "type": "ordinal" + }, + { + "tokens": [ + "4th", + "Fourth" + ], + "full": "Fourth", + "canonical": "4th", + "type": "ordinal" + }, + { + "tokens": [ + "5th", + "Fifth" + ], + "full": "Fifth", + "canonical": "5th", + "type": "ordinal" + }, + { + "tokens": [ + "6th", + "Sixth" + ], + "full": "Sixth", + "canonical": "6th", + "type": "ordinal" + }, + { + "tokens": [ + "7th", + "Seventh" + ], + "full": "Seventh", + "canonical": "7th", + "type": "ordinal" + }, + { + "tokens": [ + "8th", + "Eighth" + ], + "full": "Eighth", + "canonical": "8th", + "type": "ordinal" + }, + { + "tokens": [ + "9th", + "Ninth" + ], + "full": "Ninth", + "canonical": "9th", + "type": "ordinal" + }, + { + "tokens": [ + "Accs", + "Access" + ], + "full": "Access", + "canonical": "Accs", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Alwy", + "Alleyway" + ], + "full": "Alleyway", + "canonical": "Alwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Aly", + "Ally", + "Alley" + ], + "full": "Alley", + "canonical": "Aly", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Ambl", + "Amble" + ], + "full": "Amble", + "canonical": "Ambl", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "App", + "Approach" + ], + "full": "Approach", + "canonical": "App", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Apt", + "Apartment" + ], + "full": "Apartment", + "canonical": "Apt" + }, + { + "tokens": [ + "Apts", + "Apartments" + ], + "full": "Apartments", + "canonical": "Apts" + }, + { + "tokens": [ + "Arc", + "Arcade" + ], + "full": "Arcade", + "canonical": "Arc" + }, + { + "tokens": [ + "Artl", + "Arterial" + ], + "full": "Arterial", + "canonical": "Artl", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Arty", + "Artery" + ], + "full": "Artery", + "canonical": "Arty", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Av", + "Ave", + "Avenue" + ], + "full": "Avenue", + "canonical": "Av", + "type": "way" + }, + { + "tokens": [ + "Ba", + "Banan" + ], + "full": "Banan", + "canonical": "Ba" + }, + { + "tokens": [ + "Bch", + "Beach" + ], + "full": "Beach", + "canonical": "Bch" + }, + { + "tokens": [ + "Bg", + "Burg" + ], + "full": "Burg", + "canonical": "Bg" + }, + { + "tokens": [ + "Bgs", + "Burgs" + ], + "full": "Burgs", + "canonical": "Bgs" + }, + { + "tokens": [ + "Blf", + "Bluff" + ], + "full": "Bluff", + "canonical": "Blf" + }, + { + "tokens": [ + "Blk", + "Block" + ], + "full": "Block", + "canonical": "Blk" + }, + { + "tokens": [ + "Br", + "Brace" + ], + "full": "Brace", + "canonical": "Br" + }, + { + "tokens": [ + "Br", + "Branch" + ], + "full": "Branch", + "canonical": "Br", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Brg", + "Bridge" + ], + "full": "Bridge", + "canonical": "Brg", + "onlyLayers": ["address"] + }, + { + "tokens": [ + "Brk", + "Break" + ], + "full": "Break", + "canonical": "Brk" + }, + { + "tokens": [ + "Brk", + "Brook" + ], + "full": "Brook", + "canonical": "Brk" + }, + { + "tokens": [ + "Brks", + "Brooks" + ], + "full": "Brooks", + "canonical": "Brks" + }, + { + "tokens": [ + "Btm", + "Bottom" + ], + "full": "Bottom", + "canonical": "Btm" + }, + { + "tokens": [ + "Blv", + "Blvd", + "Boulevard" + ], + "full": "Boulevard", + "canonical": "Blvd", + "type": "way" + }, + { + "tokens": [ + "Bwlk", + "Boardwalk" + ], + "full": "Boardwalk", + "canonical": "Bwlk", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Byp", + "Bypa", + "Bypass" + ], + "full": "Bypass", + "canonical": "Byp", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Byu", + "Bayou" + ], + "full": "Bayou", + "canonical": "Byu" + }, + { + "tokens": [ + "Bywy", + "Byway" + ], + "full": "Byway", + "canonical": "Bywy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Bzr", + "Bazaar" + ], + "full": "Bazaar", + "canonical": "Bzr" + }, + { + "tokens": [ + "Cantt", + "Cantonment" + ], + "full": "Cantonment", + "canonical": "Cantt" + }, + { + "tokens": [ + "Cct", + "Circuit" + ], + "full": "Circuit", + "canonical": "Cct", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Ch", + "Chase" + ], + "full": "Chase", + "canonical": "Ch", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Chk", + "Chowk" + ], + "full": "Chowk", + "canonical": "Chk" + }, + { + "tokens": [ + "Cir", + "Circle" + ], + "full": "Circle", + "canonical": "Cir", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Cirs", + "Circles" + ], + "full": "Circles", + "canonical": "Cirs", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Cl", + "Clinic" + ], + "full": "Clinic", + "canonical": "Cl" + }, + { + "tokens": [ + "Cl", + "Clo", + "Close" + ], + "full": "Close", + "canonical": "Cl", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Clb", + "Club" + ], + "full": "Club", + "canonical": "Clb" + }, + { + "tokens": [ + "Clf", + "Cliff" + ], + "full": "Cliff", + "canonical": "Clf" + }, + { + "tokens": [ + "Clfs", + "Cliffs" + ], + "full": "Cliffs", + "canonical": "Clfs" + }, + { + "tokens": [ + "Cll", + "Calle" + ], + "full": "Calle", + "canonical": "Cll", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Cly", + "Colony" + ], + "full": "Colony", + "canonical": "Cly" + }, + { + "tokens": [ + "Cmn", + "Common" + ], + "full": "Common", + "canonical": "Cmn" + }, + { + "tokens": [ + "Cmns", + "Commons" + ], + "full": "Commons", + "canonical": "Cmns" + }, + { + "tokens": [ + "Cnl", + "Canal" + ], + "full": "Canal", + "canonical": "Cnl" + }, + { + "tokens": [ + "Cnr", + "Cor", + "Corner" + ], + "full": "Corner", + "canonical": "Cnr" + }, + { + "tokens": [ + "Co", + "County" + ], + "full": "County", + "canonical": "Co" + }, + { + "tokens": [ + "Coll", + "College" + ], + "full": "College", + "canonical": "Coll", + "preferFull": true + }, + { + "tokens": [ + "Con", + "Concourse" + ], + "full": "Concourse", + "canonical": "Con", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Const", + "Constituency" + ], + "full": "Constituency", + "canonical": "Const" + }, + { + "tokens": [ + "Corpn", + "Corporation" + ], + "full": "Corporation", + "canonical": "Corpn" + }, + { + "tokens": [ + "Cp", + "Camp" + ], + "full": "Camp", + "canonical": "Cp" + }, + { + "tokens": [ + "Cpe", + "Cape" + ], + "full": "Cape", + "canonical": "Cpe" + }, + { + "tokens": [ + "Cplx", + "Complex" + ], + "full": "Complex", + "canonical": "Cplx" + }, + { + "tokens": [ + "Cps", + "Copse" + ], + "full": "Copse", + "canonical": "Cps" + }, + { + "tokens": [ + "Crcs", + "Circus" + ], + "full": "Circus", + "canonical": "Crcs" + }, + { + "tokens": [ + "Crk", + "Creek" + ], + "full": "Creek", + "canonical": "Crk" + }, + { + "tokens": [ + "Crpk", + "Carpark" + ], + "full": "Carpark", + "canonical": "Crpk" + }, + { + "tokens": [ + "Crse", + "Course" + ], + "full": "Course", + "canonical": "Crse" + }, + { + "tokens": [ + "Crst", + "Crest" + ], + "full": "Crest", + "canonical": "Crst", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Csac", + "Cul-de-sac" + ], + "full": "Cul-de-sac", + "canonical": "Csac", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 2 + }, + { + "tokens": [ + "Cswy", + "Causeway" + ], + "full": "Causeway", + "canonical": "Cswy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Ct", + "Court" + ], + "full": "Court", + "canonical": "Ct", + "type": "way" + }, + { + "tokens": [ + "Ctr", + "Center", + "Centre" + ], + "full": "Center", + "canonical": "Ctr" + }, + { + "tokens": [ + "Ctrs", + "Centers" + ], + "full": "Centers", + "canonical": "Ctrs" + }, + { + "tokens": [ + "Cts", + "Courts" + ], + "full": "Courts", + "canonical": "Cts", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Ctyd", + "Courtyard" + ], + "full": "Courtyard", + "canonical": "Ctyd" + }, + { + "tokens": [ + "Curv", + "Curve" + ], + "full": "Curve", + "canonical": "Curv", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Cutt", + "Cutting" + ], + "full": "Cutting", + "canonical": "Cutt" + }, + { + "tokens": [ + "Cv", + "Cove" + ], + "full": "Cove", + "canonical": "Cv" + }, + { + "tokens": [ + "Cyn", + "Canyon" + ], + "full": "Canyon", + "canonical": "Cyn" + }, + { + "tokens": [ + "Dl", + "Dale" + ], + "full": "Dale", + "canonical": "Dl" + }, + { + "tokens": [ + "Dm", + "Dam" + ], + "full": "Dam", + "canonical": "Dm" + }, + { + "tokens": [ + "Dr", + "Dv", + "Drive" + ], + "full": "Drive", + "canonical": "Dr", + "type": "way" + }, + { + "tokens": [ + "Dv", + "Divide" + ], + "full": "Divide", + "canonical": "Dv" + }, + { + "tokens": [ + "Drs", + "Drives" + ], + "full": "Drives", + "canonical": "Drs", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Dt", + "District" + ], + "full": "District", + "canonical": "Dt" + }, + { + "tokens": [ + "Dvwy", + "Driveway" + ], + "full": "Driveway", + "canonical": "Dvwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "E", + "Est", + "East" + ], + "full": "East", + "canonical": "E", + "type": "cardinal" + }, + { + "tokens": [ + "Elb", + "Elbow" + ], + "full": "Elbow", + "canonical": "Elb" + }, + { + "tokens": [ + "Ent", + "Entrance" + ], + "full": "Entrance", + "canonical": "Ent", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Esp", + "Esplanade" + ], + "full": "Esplanade", + "canonical": "Esp" + }, + { + "tokens": [ + "Est", + "Estate" + ], + "full": "Estate", + "canonical": "Est" + }, + { + "tokens": [ + "Ests", + "Estates" + ], + "full": "Estates", + "canonical": "Ests" + }, + { + "tokens": [ + "Exp", + "Expy", + "Expressway" + ], + "full": "Expressway", + "canonical": "Exp", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Ext", + "Extension" + ], + "full": "Extension", + "canonical": "Ext" + }, + { + "tokens": [ + "Exts", + "Extensions" + ], + "full": "Extensions", + "canonical": "Exts" + }, + { + "tokens": [ + "Fawy", + "Fairway" + ], + "full": "Fairway", + "canonical": "Fawy" + }, + { + "tokens": [ + "Fld", + "Field" + ], + "full": "Field", + "canonical": "Fld" + }, + { + "tokens": [ + "Flds", + "Fields" + ], + "full": "Fields", + "canonical": "Flds" + }, + { + "tokens": [ + "Fls", + "Falls" + ], + "full": "Falls", + "canonical": "Fls" + }, + { + "tokens": [ + "Flt", + "Flat" + ], + "full": "Flat", + "canonical": "Flt" + }, + { + "tokens": [ + "Ftrl", + "Firetrail" + ], + "full": "Firetrail", + "canonical": "Ftrl" + }, + { + "tokens": [ + "Flts", + "Flats" + ], + "full": "Flats", + "canonical": "Flts" + }, + { + "tokens": [ + "FM", + "Farm-To-Market" + ], + "full": "Farm-To-Market", + "canonical": "FM", + "spanBoundaries": 2 + }, + { + "tokens": [ + "Folw", + "Follow" + ], + "full": "Follow", + "canonical": "Folw" + }, + { + "tokens": [ + "Form", + "Formation" + ], + "full": "Formation", + "canonical": "Form" + }, + { + "tokens": [ + "Frd", + "Ford" + ], + "full": "Ford", + "canonical": "Frd" + }, + { + "tokens": [ + "Frg", + "Forge" + ], + "full": "Forge", + "canonical": "Frg" + }, + { + "tokens": [ + "Frgs", + "Forges" + ], + "full": "Forges", + "canonical": "Frgs" + }, + { + "tokens": [ + "Frk", + "Fork" + ], + "full": "Fork", + "canonical": "Frk", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Frst", + "Forest" + ], + "full": "Forest", + "canonical": "Frst" + }, + { + "tokens": [ + "Frtg", + "Frontage" + ], + "full": "Frontage", + "canonical": "Frtg" + }, + { + "tokens": [ + "Fry", + "Ferry" + ], + "full": "Ferry", + "canonical": "Fry" + }, + { + "tokens": [ + "Ft", + "Feet" + ], + "full": "Feet", + "canonical": "Ft" + }, + { + "tokens": [ + "Ft", + "Fort" + ], + "full": "Fort", + "canonical": "Ft" + }, + { + "tokens": [ + "Ftwy", + "Footway" + ], + "full": "Footway", + "canonical": "Ftwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Fwy", + "Freeway" + ], + "full": "Freeway", + "canonical": "Fwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Gdns", + "Gardens" + ], + "full": "Gardens", + "canonical": "Gdns" + }, + { + "tokens": [ + "Gen", + "General" + ], + "full": "General", + "canonical": "Gen" + }, + { + "tokens": [ + "Gl", + "Galli" + ], + "full": "Galli", + "canonical": "Gl" + }, + { + "tokens": [ + "Glde", + "Glade" + ], + "full": "Glade", + "canonical": "Glde" + }, + { + "tokens": [ + "Govt", + "Government" + ], + "full": "Government", + "canonical": "Govt" + }, + { + "tokens": [ + "Gr", + "Gro", + "Grove" + ], + "full": "Grove", + "canonical": "Gr" + }, + { + "tokens": [ + "Gra", + "Grange" + ], + "full": "Grange", + "canonical": "Gra" + }, + { + "tokens": [ + "Grd", + "Grade" + ], + "full": "Grade", + "canonical": "Grd" + }, + { + "tokens": [ + "Gn", + "Grn", + "Green" + ], + "full": "Green", + "canonical": "Gn" + }, + { + "tokens": [ + "Gte", + "Gate" + ], + "full": "Gate", + "canonical": "Gte" + }, + { + "tokens": [ + "Hbr", + "Harbor" + ], + "full": "Harbor", + "canonical": "Hbr" + }, + { + "tokens": [ + "Hbrs", + "Harbors" + ], + "full": "Harbors", + "canonical": "Hbrs" + }, + { + "tokens": [ + "Hird", + "Highroad" + ], + "full": "Highroad", + "canonical": "Hird", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Hl", + "Hill" + ], + "full": "Hill", + "canonical": "Hl" + }, + { + "tokens": [ + "Hls", + "Hills" + ], + "full": "Hills", + "canonical": "Hls" + }, + { + "tokens": [ + "Holw", + "Hollow" + ], + "full": "Hollow", + "canonical": "Holw" + }, + { + "tokens": [ + "Hosp", + "Hospital" + ], + "full": "Hospital", + "canonical": "Hosp" + }, + { + "tokens": [ + "Ho", + "House" + ], + "full": "House", + "canonical": "Ho" + }, + { + "tokens": [ + "Htl", + "Hotel" + ], + "full": "Hotel", + "canonical": "Htl" + }, + { + "tokens": [ + "Hts", + "Heights" + ], + "full": "Heights", + "canonical": "Hts" + }, + { + "tokens": [ + "Hvn", + "Haven" + ], + "full": "Haven", + "canonical": "Hvn" + }, + { + "tokens": [ + "Hwy", + "Highway" + ], + "full": "Highway", + "canonical": "Hwy", + "type": "way" + }, + { + "tokens": [ + "I", + "Interstate" + ], + "full": "Interstate", + "canonical": "I" + }, + { + "tokens": [ + "Ind", + "Industrial" + ], + "full": "Industrial", + "canonical": "Ind" + }, + { + "tokens": [ + "Intg", + "Interchange" + ], + "full": "Interchange", + "canonical": "Intg" + }, + { + "tokens": [ + "Is", + "Island" + ], + "full": "Island", + "canonical": "Is" + }, + { + "tokens": [ + "Iss", + "Islands" + ], + "full": "Islands", + "canonical": "Iss" + }, + { + "tokens": [ + "Jcts", + "Junctions" + ], + "full": "Junctions", + "canonical": "Jcts" + }, + { + "tokens": [ + "Jn", + "Jct", + "Jnc", + "Junction" + ], + "full": "Junction", + "canonical": "Jn" + }, + { + "tokens": [ + "Jr", + "Junior" + ], + "full": "Junior", + "canonical": "Jr" + }, + { + "tokens": [ + "Knl", + "Knoll" + ], + "full": "Knoll", + "canonical": "Knl" + }, + { + "tokens": [ + "Knls", + "Knolls" + ], + "full": "Knolls", + "canonical": "Knls" + }, + { + "tokens": [ + "Ky", + "Key" + ], + "full": "Key", + "canonical": "Ky" + }, + { + "tokens": [ + "Kys", + "Keys" + ], + "full": "Keys", + "canonical": "Kys" + }, + { + "tokens": [ + "Lp", + "Loop" + ], + "full": "Loop", + "canonical": "Lp" + }, + { + "tokens": [ + "Lck", + "Lock" + ], + "full": "Lock", + "canonical": "Lck" + }, + { + "tokens": [ + "Lcks", + "Locks" + ], + "full": "Locks", + "canonical": "Lcks" + }, + { + "tokens": [ + "Ldg", + "Lodge" + ], + "full": "Lodge", + "canonical": "Ldg" + }, + { + "tokens": [ + "Lf", + "Loaf" + ], + "full": "Loaf", + "canonical": "Lf" + }, + { + "tokens": [ + "Lgt", + "Light" + ], + "full": "Light", + "canonical": "Lgt" + }, + { + "tokens": [ + "Lgts", + "Lights" + ], + "full": "Lights", + "canonical": "Lgts" + }, + { + "tokens": [ + "Lk", + "Lake" + ], + "full": "Lake", + "canonical": "Lk" + }, + { + "tokens": [ + "Lks", + "Lakes" + ], + "full": "Lakes", + "canonical": "Lks" + }, + { + "tokens": [ + "Lkt", + "Lookout" + ], + "full": "Lookout", + "canonical": "Lkt" + }, + { + "tokens": [ + "Ln", + "La", + "Lane" + ], + "full": "Lane", + "canonical": "Ln", + "type": "way" + }, + { + "tokens": [ + "Lndg", + "Landing" + ], + "full": "Landing", + "canonical": "Lndg" + }, + { + "tokens": [ + "Lnwy", + "Laneway" + ], + "full": "Laneway", + "canonical": "Lnwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Lt", + "Lieutenant" + ], + "full": "Lieutenant", + "canonical": "Lt" + }, + { + "tokens": [ + "Lyt", + "Layout" + ], + "full": "Layout", + "canonical": "Lyt" + }, + { + "tokens": [ + "Maj", + "Major" + ], + "full": "Major", + "canonical": "Maj" + }, + { + "tokens": [ + "Mal", + "Mall" + ], + "full": "Mall", + "canonical": "Mal" + }, + { + "tokens": [ + "Mcplty", + "Municipality" + ], + "full": "Municipality", + "canonical": "Mcplty" + }, + { + "tokens": [ + "Mdw", + "Meadow" + ], + "full": "Meadow", + "canonical": "Mdw" + }, + { + "tokens": [ + "Mdws", + "Meadows" + ], + "full": "Meadows", + "canonical": "Mdws" + }, + { + "tokens": [ + "Mws", + "Mews" + ], + "full": "Mews", + "canonical": "Mws" + }, + { + "tokens": [ + "Mg", + "Marg" + ], + "full": "Marg", + "canonical": "Mg" + }, + { + "tokens": [ + "Mhd", + "Moorhead" + ], + "full": "Moorhead", + "canonical": "Mhd" + }, + { + "tokens": [ + "Mkt", + "Market" + ], + "full": "Market", + "canonical": "Mkt" + }, + { + "tokens": [ + "Ml", + "Mill" + ], + "full": "Mill", + "canonical": "Ml" + }, + { + "tokens": [ + "Mndr", + "Meander" + ], + "full": "Meander", + "canonical": "Mndr", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Mnr", + "Manor" + ], + "full": "Manor", + "canonical": "Mnr" + }, + { + "tokens": [ + "Mnrs", + "Manors" + ], + "full": "Manors", + "canonical": "Mnrs" + }, + { + "tokens": [ + "Mq", + "Mosque" + ], + "full": "Mosque", + "canonical": "Mq" + }, + { + "tokens": [ + "Msn", + "Mission" + ], + "full": "Mission", + "canonical": "Msn" + }, + { + "tokens": [ + "Mt", + "Mount" + ], + "full": "Mount", + "canonical": "Mt" + }, + { + "tokens": [ + "Mtn", + "Mountain" + ], + "full": "Mountain", + "canonical": "Mtn" + }, + { + "tokens": [ + "Mtwy", + "Motorway" + ], + "full": "Motorway", + "canonical": "Mtwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "N", + "Nth", + "North" + ], + "full": "North", + "canonical": "N", + "type": "cardinal" + }, + { + "tokens": [ + "Nck", + "Neck" + ], + "full": "Neck", + "canonical": "Nck" + }, + { + "tokens": [ + "NE", + "Northeast" + ], + "full": "Northeast", + "canonical": "NE", + "type": "cardinal" + }, + { + "tokens": [ + "Ngr", + "Nagar" + ], + "full": "Nagar", + "canonical": "Ngr" + }, + { + "tokens": [ + "Nl", + "Nalla" + ], + "full": "Nalla", + "canonical": "Nl" + }, + { + "tokens": [ + "NW", + "Northwest" + ], + "full": "Northwest", + "canonical": "NW", + "type": "cardinal" + }, + { + "tokens": [ + "Off", + "Office" + ], + "full": "Office", + "canonical": "Off" + }, + { + "tokens": [ + "Orch", + "Orchard" + ], + "full": "Orchard", + "canonical": "Orch" + }, + { + "tokens": [ + "Otlk", + "Outlook" + ], + "full": "Outlook", + "canonical": "Otlk" + }, + { + "tokens": [ + "Ovps", + "Overpass" + ], + "full": "Overpass", + "canonical": "Ovps", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Pchyt", + "Panchayat" + ], + "full": "Panchayat", + "canonical": "Pchyt" + }, + { + "tokens": [ + "Pde", + "Parade" + ], + "full": "Parade", + "canonical": "Pde" + }, + { + "tokens": [ + "Pf", + "Platform" + ], + "full": "Platform", + "canonical": "Pf" + }, + { + "tokens": [ + "Ph", + "Phase" + ], + "full": "Phase", + "canonical": "Ph" + }, + { + "tokens": [ + "Piaz", + "Piazza" + ], + "full": "Piazza", + "canonical": "Piaz" + }, + { + "tokens": [ + "Pk", + "Pike" + ], + "full": "Pike", + "canonical": "Pk", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Pk", + "Park" + ], + "full": "Park", + "canonical": "Pk" + }, + { + "tokens": [ + "Pk", + "Peak" + ], + "full": "Peak", + "canonical": "Pk" + }, + { + "tokens": [ + "Pkt", + "Pocket" + ], + "full": "Pocket", + "canonical": "Pkt" + }, + { + "tokens": [ + "Pl", + "Place" + ], + "full": "Place", + "canonical": "Pl", + "type": "way" + }, + { + "tokens": [ + "Pln", + "Plain" + ], + "full": "Plain", + "canonical": "Pln" + }, + { + "tokens": [ + "Plns", + "Plains" + ], + "full": "Plains", + "canonical": "Plns" + }, + { + "tokens": [ + "Plz", + "Plza", + "Plaza" + ], + "full": "Plaza", + "canonical": "Plz" + }, + { + "tokens": [ + "Pr", + "Prairie" + ], + "full": "Prairie", + "canonical": "Pr" + }, + { + "tokens": [ + "Prom", + "Promenade" + ], + "full": "Promenade", + "canonical": "Prom" + }, + { + "tokens": [ + "Prt", + "Port" + ], + "full": "Port", + "canonical": "Prt" + }, + { + "tokens": [ + "Prts", + "Ports" + ], + "full": "Ports", + "canonical": "Prts" + }, + { + "tokens": [ + "Psge", + "Passage" + ], + "full": "Passage", + "canonical": "Psge" + }, + { + "tokens": [ + "Pt", + "Pnt", + "Point" + ], + "full": "Point", + "canonical": "Pt" + }, + { + "tokens": [ + "Pts", + "Points" + ], + "full": "Points", + "canonical": "Pts" + }, + { + "tokens": [ + "Pvt", + "Private" + ], + "full": "Private", + "canonical": "Pvt" + }, + { + "tokens": [ + "Pway", + "Pathway" + ], + "full": "Pathway", + "canonical": "Pway", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Py", + "Pw", + "Pky", + "Pwy", + "Pkwy", + "Prkwy", + "Parkway" + ], + "full": "Parkway", + "canonical": "Pkwy", + "type": "way" + }, + { + "tokens": [ + "Qdrt", + "Quadrant" + ], + "full": "Quadrant", + "canonical": "Qdrt" + }, + { + "tokens": [ + "Qtrs", + "Quarters" + ], + "full": "Quarters", + "canonical": "Qtrs" + }, + { + "tokens": [ + "Qy", + "Quay" + ], + "full": "Quay", + "canonical": "Qy" + }, + { + "tokens": [ + "Qys", + "Quays" + ], + "full": "Quays", + "canonical": "Qys" + }, + { + "tokens": [ + "R", + "Riv", + "River" + ], + "full": "River", + "canonical": "R" + }, + { + "tokens": [ + "Radl", + "Radial" + ], + "full": "Radial", + "canonical": "Radl" + }, + { + "tokens": [ + "Rd", + "Road" + ], + "full": "Road", + "canonical": "Rd", + "type": "way" + }, + { + "tokens": [ + "Rdg", + "Rdge", + "Ridge" + ], + "full": "Ridge", + "canonical": "Rdg", + "preferFull": true + }, + { + "tokens": [ + "Rdgs", + "Ridges" + ], + "full": "Ridges", + "canonical": "Rdgs" + }, + { + "tokens": [ + "Rds", + "Roads" + ], + "full": "Roads", + "canonical": "Rds", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Rly", + "Railway" + ], + "full": "Railway", + "canonical": "Rly" + }, + { + "tokens": [ + "Rmbl", + "Ramble" + ], + "full": "Ramble", + "canonical": "Rmbl" + }, + { + "tokens": [ + "RM", + "Ranch-To-Market" + ], + "full": "Ranch-To-Market", + "canonical": "RM", + "spanBoundaries": 2 + }, + { + "tokens": [ + "Rw", + "Row" + ], + "full": "Row", + "canonical": "Rw" + }, + { + "tokens": [ + "Rpd", + "Rapid" + ], + "full": "Rapid", + "canonical": "Rpd" + }, + { + "tokens": [ + "Rpds", + "Rapids" + ], + "full": "Rapids", + "canonical": "Rpds" + }, + { + "tokens": [ + "Rse", + "Rise" + ], + "full": "Rise", + "canonical": "Rse" + }, + { + "tokens": [ + "Rst", + "Rest" + ], + "full": "Rest", + "canonical": "Rst" + }, + { + "tokens": [ + "Rt", + "Rte", + "Route" + ], + "full": "Route", + "canonical": "Rt", + "type": "way" + }, + { + "tokens": [ + "Rtt", + "Retreat" + ], + "full": "Retreat", + "canonical": "Rtt" + }, + { + "tokens": [ + "Rty", + "Rotary" + ], + "full": "Rotary", + "canonical": "Rty", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Rw", + "Row" + ], + "full": "Row", + "canonical": "Rw" + }, + { + "tokens": [ + "S", + "Sth", + "South" + ], + "full": "South", + "canonical": "S", + "type": "cardinal" + }, + { + "tokens": [ + "Sbwy", + "Subway" + ], + "full": "Subway", + "canonical": "Sbwy" + }, + { + "tokens": [ + "SE", + "Southeast" + ], + "full": "Southeast", + "canonical": "SE", + "type": "cardinal" + }, + { + "tokens": [ + "Sgt", + "Sergeant" + ], + "full": "Sergeant", + "canonical": "Sgt" + }, + { + "tokens": [ + "Shl", + "Shoal" + ], + "full": "Shoal", + "canonical": "Shl" + }, + { + "tokens": [ + "Shls", + "Shoals" + ], + "full": "Shoals", + "canonical": "Shls" + }, + { + "tokens": [ + "Shr", + "Shore" + ], + "full": "Shore", + "canonical": "Shr" + }, + { + "tokens": [ + "Shrs", + "Shores" + ], + "full": "Shores", + "canonical": "Shrs" + }, + { + "tokens": [ + "Shun", + "Shunt" + ], + "full": "Shunt", + "canonical": "Shun" + }, + { + "tokens": [ + "Skwy", + "Skyway" + ], + "full": "Skyway", + "canonical": "Skwy" + }, + { + "tokens": [ + "Smt", + "Summit" + ], + "full": "Summit", + "canonical": "Smt" + }, + { + "tokens": [ + "Spg", + "Spring" + ], + "full": "Spring", + "canonical": "Spg" + }, + { + "tokens": [ + "Spgs", + "Springs" + ], + "full": "Springs", + "canonical": "Spgs" + }, + { + "tokens": [ + "Sq", + "Square" + ], + "full": "Square", + "canonical": "Sq" + }, + { + "tokens": [ + "Sqs", + "Squares" + ], + "full": "Squares", + "canonical": "Sqs" + }, + { + "tokens": [ + "Sr", + "Senior" + ], + "full": "Senior", + "canonical": "Sr" + }, + { + "tokens": [ + "St", + "Saint" + ], + "full": "Saint", + "canonical": "St" + }, + { + "tokens": [ + "St", + "Street" + ], + "full": "Street", + "canonical": "St", + "type": "way" + }, + { + "tokens": [ + "Stn", + "Station" + ], + "full": "Station", + "canonical": "Stn" + }, + { + "tokens": [ + "Std", + "Stadium" + ], + "full": "Stadium", + "canonical": "Std" + }, + { + "tokens": [ + "Stps", + "Steps" + ], + "full": "Steps", + "canonical": "Stps" + }, + { + "tokens": [ + "Stg", + "Stage" + ], + "full": "Stage", + "canonical": "Stg" + }, + { + "tokens": [ + "Strm", + "Stream" + ], + "full": "Stream", + "canonical": "Strm" + }, + { + "tokens": [ + "Sts", + "Streets" + ], + "full": "Streets", + "canonical": "Sts" + }, + { + "tokens": [ + "Svwy", + "Serviceway" + ], + "full": "Serviceway", + "canonical": "Svwy" + }, + { + "tokens": [ + "SW", + "Southwest" + ], + "full": "Southwest", + "canonical": "SW", + "type": "cardinal" + }, + { + "tokens": [ + "Tce", + "Ter", + "Terrace" + ], + "full": "Terrace", + "canonical": "Ter" + }, + { + "tokens": [ + "Tfwy", + "Trafficway" + ], + "full": "Trafficway", + "canonical": "Tfwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Thfr", + "Thoroughfare" + ], + "full": "Thoroughfare", + "canonical": "Thfr", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Thwy", + "Thruway" + ], + "full": "Thruway", + "canonical": "Thwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Tlwy", + "Tollway" + ], + "full": "Tollway", + "canonical": "Tlwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Tpke", + "Turnpike" + ], + "full": "Turnpike", + "canonical": "Tpke", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Tpl", + "Temple" + ], + "full": "Temple", + "canonical": "Tpl" + }, + { + "tokens": [ + "Trce", + "Trace" + ], + "full": "Trace", + "canonical": "Trce" + }, + { + "tokens": [ + "Trk", + "Track" + ], + "full": "Track", + "canonical": "Trk" + }, + { + "tokens": [ + "Tr", + "Trl", + "Trail" + ], + "full": "Trail", + "canonical": "Tr" + }, + { + "tokens": [ + "Tunl", + "Tunnel" + ], + "full": "Tunnel", + "canonical": "Tunl", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Twn", + "Town" + ], + "full": "Town", + "canonical": "Twn" + }, + { + "tokens": [ + "Un", + "Union" + ], + "full": "Union", + "canonical": "Un" + }, + { + "tokens": [ + "Univ", + "University" + ], + "full": "University", + "canonical": "Univ", + "preferFull": true + }, + { + "tokens": [ + "Unp", + "Upas", + "Underpass" + ], + "full": "Underpass", + "canonical": "Upas", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Uns", + "Unions" + ], + "full": "Unions", + "canonical": "Uns" + }, + { + "tokens": [ + "Via", + "Viad", + "Viaduct" + ], + "full": "Viaduct", + "canonical": "Via", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Vis", + "Vsta", + "Vista" + ], + "full": "Vista", + "canonical": "Vis" + }, + { + "tokens": [ + "Vl", + "Ville" + ], + "full": "Ville", + "canonical": "Vl" + }, + { + "tokens": [ + "Vlg", + "Vill", + "Village" + ], + "full": "Village", + "canonical": "Vlg" + }, + { + "tokens": [ + "Vlgs", + "Villages" + ], + "full": "Villages", + "canonical": "Vlgs" + }, + { + "tokens": [ + "Vly", + "Valley" + ], + "full": "Valley", + "canonical": "Vly" + }, + { + "tokens": [ + "Vlys", + "Valleys" + ], + "full": "Valleys", + "canonical": "Vlys" + }, + { + "tokens": [ + "Vw", + "View" + ], + "full": "View", + "canonical": "Vw" + }, + { + "tokens": [ + "Vws", + "Views" + ], + "full": "Views", + "canonical": "Vws" + }, + { + "tokens": [ + "W", + "Wst", + "West" + ], + "full": "West", + "canonical": "W", + "type": "cardinal" + }, + { + "tokens": [ + "Wd", + "Wood" + ], + "full": "Wood", + "canonical": "Wd" + }, + { + "tokens": [ + "Whrf", + "Wharf" + ], + "full": "Wharf", + "canonical": "Whrf" + }, + { + "tokens": [ + "Wkwy", + "Walkway" + ], + "full": "Walkway", + "canonical": "Wkwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Wlk", + "Walk" + ], + "full": "Walk", + "canonical": "Wlk" + }, + { + "tokens": [ + "Wy", + "Way" + ], + "full": "Way", + "canonical": "Wy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "X", + "Cr", + "Cres", + "Crss", + "Cross", + "Crescent" + ], + "full": "Crescent", + "canonical": "X", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Xing", + "Crossing" + ], + "full": "Crossing", + "canonical": "Xing", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "", + "P\\.?O\\.? Box [0-9]+" + ], + "full": "P\\.?O\\.? Box [0-9]+", + "canonical": "", + "spanBoundaries": 2, + "onlyLayers": ["address"], + "type": "box", + "regex": true + }, + { + "tokens": [ + "", + "P\\.? O\\.? Box [0-9]+" + ], + "full": "P\\.? O\\.? Box [0-9]+", + "canonical": "", + "spanBoundaries": 3, + "onlyLayers": ["address"], + "type": "box", + "regex": true + }, + { + "tokens": [ + "", + "(?:suite|ste) #?(?:[A-Z]|\\d+|[A-Z]\\d+|\\d+[A-Z]|\\d+-\\d+[A-Z]?)" + ], + "full": "(?:suite|ste) #?(?:[A-Z]|\\d+|[A-Z]\\d+|\\d+[A-Z]|\\d+-\\d+[A-Z]?)", + "canonical": "", + "spanBoundaries": 1, + "onlyLayers": ["address"], + "type": "unit", + "regex": true + }, + { + "tokens": [ + "Po", + "Post Office" + ], + "full": "Post Office", + "canonical": "Po", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Rs", + "Railway Station" + ], + "full": "Railway Station", + "canonical": "Rs", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Vpo", + "Village Post Office" + ], + "full": "Village Post Office", + "canonical": "Vpo", + "spanBoundaries": 2 + }, + { + "tokens": [ + "NT", + "New Territories" + ], + "full": "New Territories", + "canonical": "NT", + "onlyCountries": ["hk"], + "spanBoundaries": 1 + }, + { + "tokens": [ + "NT", + "N.T." + ], + "full": "N.T.", + "canonical": "NT", + "onlyCountries": ["hk"] + }, + { + "tokens": [ + "", + "(?:apartment|apt|bldg|building|rm|room|unit) #?(?:[A-Z]|\\d+|[A-Z]\\d+|\\d+[A-Z]|\\d+-\\d+[A-Z]?)" + ], + "canonical": "", + "full": "(?:apartment|apt|bldg|building|rm|room|unit) #?(?:[A-Z]|\\d+|[A-Z]\\d+|\\d+[A-Z]|\\d+-\\d+[A-Z]?)", + "regex": true, + "spanBoundaries": 1, + "onlyLayers": ["address"], + "onlyCountries": ["us"], + "type": "unit" + }, + { + "tokens": [ + "", + "(?:floor|fl) #?\\d{1,3}" + ], + "canonical": "", + "full": "(?:floor|fl) #?\\d{1,3}", + "regex": true, + "spanBoundaries": 1, + "onlyLayers": ["address"], + "onlyCountries": ["us"], + "type": "unit" + }, + { + "tokens": [ + "", + "\\d{1,3}(?:st|nd|rd|th) (?:floor|fl)" + ], + "canonical": "", + "full": "\\d{1,3}(?:st|nd|rd|th) (?:floor|fl)", + "regex": true, + "spanBoundaries": 1, + "onlyLayers": ["address"], + "onlyCountries": ["us"], + "type": "unit" + }, + { + "tokens": [ + "$1", + "((?!apartment|apt|bldg|building|rm|room|unit|fl|floor|ste|suite)[a-z]{2,}) # ?(?:[A-Z]|\\d+|[A-Z]\\d+|\\d+[A-Z]|\\d+-\\d+[A-Z]?)" + ], + "canonical": "$1", + "full": "((?!apartment|apt|bldg|building|rm|room|unit|fl|floor|ste|suite)[a-z]{2,}) # ?(?:[A-Z]|\\d+|[A-Z]\\d+|\\d+[A-Z]|\\d+-\\d+[A-Z]?)", + "regex": true, + "spanBoundaries": 1, + "onlyLayers": ["address"], + "onlyCountries": ["us"], + "type": "unit" + }, + { + "tokens": [ + "$1", + "([0-9]+)(?:st|nd|rd|th)" + ], + "canonical": "$1", + "full": "([0-9]+)(?:st|nd|rd|th)", + "regex": true, + "onlyLayers": ["address"], + "onlyCountries": ["us"], + "reduceRelevance": true + }, + { + "tokens": [ + "$1$2", + "([A-Z]{1,2}[0-9][0-9A-Z]?) ?([0-9][A-Z]{2})" + ], + "full": "([A-Z]{1,2}[0-9][0-9A-Z]?) ?([0-9][A-Z]{2})", + "canonical": "$1$2", + "onlyCountries": ["gb"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true + }, + { + "tokens": [ + "$1$2", + "([A-Z]\d[A-Z]) ?(\\d[A-Z]\\d)" + ], + "full": "([A-Z]\\d[A-Z]) ?(\\d[A-Z]\\d)", + "canonical": "$1$2", + "onlyCountries": ["ca"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true + } +] diff --git a/.history/tokens/en_20220706101135.json b/.history/tokens/en_20220706101135.json new file mode 100644 index 0000000..082d7d5 --- /dev/null +++ b/.history/tokens/en_20220706101135.json @@ -0,0 +1,3020 @@ +[ + { + "tokens": [ + "1", + "one" + ], + "full": "one", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "two" + ], + "full": "two", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "three" + ], + "full": "three", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "four" + ], + "full": "four", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "five" + ], + "full": "five", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "six" + ], + "full": "six", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "seven" + ], + "full": "seven", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "eight" + ], + "full": "eight", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nine" + ], + "full": "nine", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ten" + ], + "full": "ten", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "eleven" + ], + "full": "eleven", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "twelve" + ], + "full": "twelve", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "thirteen" + ], + "full": "thirteen", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "fourteen" + ], + "full": "fourteen", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "fifteen" + ], + "full": "fifteen", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "sixteen" + ], + "full": "sixteen", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "seventeen" + ], + "full": "seventeen", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "eighteen" + ], + "full": "eighteen", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "nineteen" + ], + "full": "nineteen", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "twenty" + ], + "full": "twenty", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "10th", + "Tenth" + ], + "full": "Tenth", + "canonical": "10th", + "type": "ordinal" + }, + { + "tokens": [ + "11th", + "Eleventh" + ], + "full": "Eleventh", + "canonical": "11th", + "type": "ordinal" + }, + { + "tokens": [ + "12th", + "Twelfth" + ], + "full": "Twelfth", + "canonical": "12th", + "type": "ordinal" + }, + { + "tokens": [ + "13th", + "Thirteenth" + ], + "full": "Thirteenth", + "canonical": "13th", + "type": "ordinal" + }, + { + "tokens": [ + "14th", + "Fourteenth" + ], + "full": "Fourteenth", + "canonical": "14th", + "type": "ordinal" + }, + { + "tokens": [ + "15th", + "Fifteenth" + ], + "full": "Fifteenth", + "canonical": "15th", + "type": "ordinal" + }, + { + "tokens": [ + "16th", + "Sixteenth" + ], + "full": "Sixteenth", + "canonical": "16th", + "type": "ordinal" + }, + { + "tokens": [ + "17th", + "Seventeenth" + ], + "full": "Seventeenth", + "canonical": "17th", + "type": "ordinal" + }, + { + "tokens": [ + "18th", + "Eighteenth" + ], + "full": "Eighteenth", + "canonical": "18th", + "type": "ordinal" + }, + { + "tokens": [ + "19th", + "Nineteenth" + ], + "full": "Nineteenth", + "canonical": "19th", + "type": "ordinal" + }, + { + "tokens": [ + "1st", + "First" + ], + "full": "First", + "canonical": "1st", + "type": "ordinal" + }, + { + "tokens": [ + "20th", + "Twentieth" + ], + "full": "Twentieth", + "canonical": "20th", + "type": "ordinal" + }, + { + "tokens": [ + "2nd", + "Second" + ], + "full": "Second", + "canonical": "2nd", + "type": "ordinal" + }, + { + "tokens": [ + "3rd", + "Third" + ], + "full": "Third", + "canonical": "3rd", + "type": "ordinal" + }, + { + "tokens": [ + "4th", + "Fourth" + ], + "full": "Fourth", + "canonical": "4th", + "type": "ordinal" + }, + { + "tokens": [ + "5th", + "Fifth" + ], + "full": "Fifth", + "canonical": "5th", + "type": "ordinal" + }, + { + "tokens": [ + "6th", + "Sixth" + ], + "full": "Sixth", + "canonical": "6th", + "type": "ordinal" + }, + { + "tokens": [ + "7th", + "Seventh" + ], + "full": "Seventh", + "canonical": "7th", + "type": "ordinal" + }, + { + "tokens": [ + "8th", + "Eighth" + ], + "full": "Eighth", + "canonical": "8th", + "type": "ordinal" + }, + { + "tokens": [ + "9th", + "Ninth" + ], + "full": "Ninth", + "canonical": "9th", + "type": "ordinal" + }, + { + "tokens": [ + "Accs", + "Access" + ], + "full": "Access", + "canonical": "Accs", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Alwy", + "Alleyway" + ], + "full": "Alleyway", + "canonical": "Alwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Aly", + "Ally", + "Alley" + ], + "full": "Alley", + "canonical": "Aly", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Ambl", + "Amble" + ], + "full": "Amble", + "canonical": "Ambl", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "App", + "Approach" + ], + "full": "Approach", + "canonical": "App", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Apt", + "Apartment" + ], + "full": "Apartment", + "canonical": "Apt" + }, + { + "tokens": [ + "Apts", + "Apartments" + ], + "full": "Apartments", + "canonical": "Apts" + }, + { + "tokens": [ + "Arc", + "Arcade" + ], + "full": "Arcade", + "canonical": "Arc" + }, + { + "tokens": [ + "Artl", + "Arterial" + ], + "full": "Arterial", + "canonical": "Artl", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Arty", + "Artery" + ], + "full": "Artery", + "canonical": "Arty", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Av", + "Ave", + "Avenue" + ], + "full": "Avenue", + "canonical": "Av", + "type": "way" + }, + { + "tokens": [ + "Ba", + "Banan" + ], + "full": "Banan", + "canonical": "Ba" + }, + { + "tokens": [ + "Bch", + "Beach" + ], + "full": "Beach", + "canonical": "Bch" + }, + { + "tokens": [ + "Bg", + "Burg" + ], + "full": "Burg", + "canonical": "Bg" + }, + { + "tokens": [ + "Bgs", + "Burgs" + ], + "full": "Burgs", + "canonical": "Bgs" + }, + { + "tokens": [ + "Blf", + "Bluff" + ], + "full": "Bluff", + "canonical": "Blf" + }, + { + "tokens": [ + "Blk", + "Block" + ], + "full": "Block", + "canonical": "Blk" + }, + { + "tokens": [ + "Br", + "Brace" + ], + "full": "Brace", + "canonical": "Br" + }, + { + "tokens": [ + "Br", + "Branch" + ], + "full": "Branch", + "canonical": "Br", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Brg", + "Bridge" + ], + "full": "Bridge", + "canonical": "Brg", + "onlyLayers": ["address"] + }, + { + "tokens": [ + "Brk", + "Break" + ], + "full": "Break", + "canonical": "Brk" + }, + { + "tokens": [ + "Brk", + "Brook" + ], + "full": "Brook", + "canonical": "Brk" + }, + { + "tokens": [ + "Brks", + "Brooks" + ], + "full": "Brooks", + "canonical": "Brks" + }, + { + "tokens": [ + "Btm", + "Bottom" + ], + "full": "Bottom", + "canonical": "Btm" + }, + { + "tokens": [ + "Blv", + "Blvd", + "Boulevard" + ], + "full": "Boulevard", + "canonical": "Blvd", + "type": "way" + }, + { + "tokens": [ + "Bwlk", + "Boardwalk" + ], + "full": "Boardwalk", + "canonical": "Bwlk", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Byp", + "Bypa", + "Bypass" + ], + "full": "Bypass", + "canonical": "Byp", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Byu", + "Bayou" + ], + "full": "Bayou", + "canonical": "Byu" + }, + { + "tokens": [ + "Bywy", + "Byway" + ], + "full": "Byway", + "canonical": "Bywy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Bzr", + "Bazaar" + ], + "full": "Bazaar", + "canonical": "Bzr" + }, + { + "tokens": [ + "Cantt", + "Cantonment" + ], + "full": "Cantonment", + "canonical": "Cantt" + }, + { + "tokens": [ + "Cct", + "Circuit" + ], + "full": "Circuit", + "canonical": "Cct", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Ch", + "Chase" + ], + "full": "Chase", + "canonical": "Ch", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Chk", + "Chowk" + ], + "full": "Chowk", + "canonical": "Chk" + }, + { + "tokens": [ + "Cir", + "Circle" + ], + "full": "Circle", + "canonical": "Cir", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Cirs", + "Circles" + ], + "full": "Circles", + "canonical": "Cirs", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Cl", + "Clinic" + ], + "full": "Clinic", + "canonical": "Cl" + }, + { + "tokens": [ + "Cl", + "Clo", + "Close" + ], + "full": "Close", + "canonical": "Cl", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Clb", + "Club" + ], + "full": "Club", + "canonical": "Clb" + }, + { + "tokens": [ + "Clf", + "Cliff" + ], + "full": "Cliff", + "canonical": "Clf" + }, + { + "tokens": [ + "Clfs", + "Cliffs" + ], + "full": "Cliffs", + "canonical": "Clfs" + }, + { + "tokens": [ + "Cll", + "Calle" + ], + "full": "Calle", + "canonical": "Cll", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Cly", + "Colony" + ], + "full": "Colony", + "canonical": "Cly" + }, + { + "tokens": [ + "Cmn", + "Common" + ], + "full": "Common", + "canonical": "Cmn" + }, + { + "tokens": [ + "Cmns", + "Commons" + ], + "full": "Commons", + "canonical": "Cmns" + }, + { + "tokens": [ + "Cnl", + "Canal" + ], + "full": "Canal", + "canonical": "Cnl" + }, + { + "tokens": [ + "Cnr", + "Cor", + "Corner" + ], + "full": "Corner", + "canonical": "Cnr" + }, + { + "tokens": [ + "Co", + "County" + ], + "full": "County", + "canonical": "Co" + }, + { + "tokens": [ + "Coll", + "College" + ], + "full": "College", + "canonical": "Coll", + "preferFull": true + }, + { + "tokens": [ + "Con", + "Concourse" + ], + "full": "Concourse", + "canonical": "Con", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Const", + "Constituency" + ], + "full": "Constituency", + "canonical": "Const" + }, + { + "tokens": [ + "Corpn", + "Corporation" + ], + "full": "Corporation", + "canonical": "Corpn" + }, + { + "tokens": [ + "Cp", + "Camp" + ], + "full": "Camp", + "canonical": "Cp" + }, + { + "tokens": [ + "Cpe", + "Cape" + ], + "full": "Cape", + "canonical": "Cpe" + }, + { + "tokens": [ + "Cplx", + "Complex" + ], + "full": "Complex", + "canonical": "Cplx" + }, + { + "tokens": [ + "Cps", + "Copse" + ], + "full": "Copse", + "canonical": "Cps" + }, + { + "tokens": [ + "Crcs", + "Circus" + ], + "full": "Circus", + "canonical": "Crcs" + }, + { + "tokens": [ + "Crk", + "Creek" + ], + "full": "Creek", + "canonical": "Crk" + }, + { + "tokens": [ + "Crpk", + "Carpark" + ], + "full": "Carpark", + "canonical": "Crpk" + }, + { + "tokens": [ + "Crse", + "Course" + ], + "full": "Course", + "canonical": "Crse" + }, + { + "tokens": [ + "Crst", + "Crest" + ], + "full": "Crest", + "canonical": "Crst", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Csac", + "Cul-de-sac" + ], + "full": "Cul-de-sac", + "canonical": "Csac", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 2 + }, + { + "tokens": [ + "Cswy", + "Causeway" + ], + "full": "Causeway", + "canonical": "Cswy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Ct", + "Court" + ], + "full": "Court", + "canonical": "Ct", + "type": "way" + }, + { + "tokens": [ + "Ctr", + "Center", + "Centre" + ], + "full": "Center", + "canonical": "Ctr" + }, + { + "tokens": [ + "Ctrs", + "Centers" + ], + "full": "Centers", + "canonical": "Ctrs" + }, + { + "tokens": [ + "Cts", + "Courts" + ], + "full": "Courts", + "canonical": "Cts", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Ctyd", + "Courtyard" + ], + "full": "Courtyard", + "canonical": "Ctyd" + }, + { + "tokens": [ + "Curv", + "Curve" + ], + "full": "Curve", + "canonical": "Curv", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Cutt", + "Cutting" + ], + "full": "Cutting", + "canonical": "Cutt" + }, + { + "tokens": [ + "Cv", + "Cove" + ], + "full": "Cove", + "canonical": "Cv" + }, + { + "tokens": [ + "Cyn", + "Canyon" + ], + "full": "Canyon", + "canonical": "Cyn" + }, + { + "tokens": [ + "Dl", + "Dale" + ], + "full": "Dale", + "canonical": "Dl" + }, + { + "tokens": [ + "Dm", + "Dam" + ], + "full": "Dam", + "canonical": "Dm" + }, + { + "tokens": [ + "Dr", + "Dv", + "Drive" + ], + "full": "Drive", + "canonical": "Dr", + "type": "way" + }, + { + "tokens": [ + "Dv", + "Divide" + ], + "full": "Divide", + "canonical": "Dv" + }, + { + "tokens": [ + "Drs", + "Drives" + ], + "full": "Drives", + "canonical": "Drs", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Dt", + "District" + ], + "full": "District", + "canonical": "Dt" + }, + { + "tokens": [ + "Dvwy", + "Driveway" + ], + "full": "Driveway", + "canonical": "Dvwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "E", + "Est", + "East" + ], + "full": "East", + "canonical": "E", + "type": "cardinal" + }, + { + "tokens": [ + "Elb", + "Elbow" + ], + "full": "Elbow", + "canonical": "Elb" + }, + { + "tokens": [ + "Ent", + "Entrance" + ], + "full": "Entrance", + "canonical": "Ent", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Esp", + "Esplanade" + ], + "full": "Esplanade", + "canonical": "Esp" + }, + { + "tokens": [ + "Est", + "Estate" + ], + "full": "Estate", + "canonical": "Est" + }, + { + "tokens": [ + "Ests", + "Estates" + ], + "full": "Estates", + "canonical": "Ests" + }, + { + "tokens": [ + "Exp", + "Expy", + "Expressway" + ], + "full": "Expressway", + "canonical": "Exp", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Ext", + "Extension" + ], + "full": "Extension", + "canonical": "Ext" + }, + { + "tokens": [ + "Exts", + "Extensions" + ], + "full": "Extensions", + "canonical": "Exts" + }, + { + "tokens": [ + "Fawy", + "Fairway" + ], + "full": "Fairway", + "canonical": "Fawy" + }, + { + "tokens": [ + "Fld", + "Field" + ], + "full": "Field", + "canonical": "Fld" + }, + { + "tokens": [ + "Flds", + "Fields" + ], + "full": "Fields", + "canonical": "Flds" + }, + { + "tokens": [ + "Fls", + "Falls" + ], + "full": "Falls", + "canonical": "Fls" + }, + { + "tokens": [ + "Flt", + "Flat" + ], + "full": "Flat", + "canonical": "Flt" + }, + { + "tokens": [ + "Ftrl", + "Firetrail" + ], + "full": "Firetrail", + "canonical": "Ftrl" + }, + { + "tokens": [ + "Flts", + "Flats" + ], + "full": "Flats", + "canonical": "Flts" + }, + { + "tokens": [ + "FM", + "Farm-To-Market" + ], + "full": "Farm-To-Market", + "canonical": "FM", + "spanBoundaries": 2 + }, + { + "tokens": [ + "Folw", + "Follow" + ], + "full": "Follow", + "canonical": "Folw" + }, + { + "tokens": [ + "Form", + "Formation" + ], + "full": "Formation", + "canonical": "Form" + }, + { + "tokens": [ + "Frd", + "Ford" + ], + "full": "Ford", + "canonical": "Frd" + }, + { + "tokens": [ + "Frg", + "Forge" + ], + "full": "Forge", + "canonical": "Frg" + }, + { + "tokens": [ + "Frgs", + "Forges" + ], + "full": "Forges", + "canonical": "Frgs" + }, + { + "tokens": [ + "Frk", + "Fork" + ], + "full": "Fork", + "canonical": "Frk", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Frst", + "Forest" + ], + "full": "Forest", + "canonical": "Frst" + }, + { + "tokens": [ + "Frtg", + "Frontage" + ], + "full": "Frontage", + "canonical": "Frtg" + }, + { + "tokens": [ + "Fry", + "Ferry" + ], + "full": "Ferry", + "canonical": "Fry" + }, + { + "tokens": [ + "Ft", + "Feet" + ], + "full": "Feet", + "canonical": "Ft" + }, + { + "tokens": [ + "Ft", + "Fort" + ], + "full": "Fort", + "canonical": "Ft" + }, + { + "tokens": [ + "Ftwy", + "Footway" + ], + "full": "Footway", + "canonical": "Ftwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Fwy", + "Freeway" + ], + "full": "Freeway", + "canonical": "Fwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Gdns", + "Gardens" + ], + "full": "Gardens", + "canonical": "Gdns" + }, + { + "tokens": [ + "Gen", + "General" + ], + "full": "General", + "canonical": "Gen" + }, + { + "tokens": [ + "Gl", + "Galli" + ], + "full": "Galli", + "canonical": "Gl" + }, + { + "tokens": [ + "Glde", + "Glade" + ], + "full": "Glade", + "canonical": "Glde" + }, + { + "tokens": [ + "Govt", + "Government" + ], + "full": "Government", + "canonical": "Govt" + }, + { + "tokens": [ + "Gr", + "Gro", + "Grove" + ], + "full": "Grove", + "canonical": "Gr" + }, + { + "tokens": [ + "Gra", + "Grange" + ], + "full": "Grange", + "canonical": "Gra" + }, + { + "tokens": [ + "Grd", + "Grade" + ], + "full": "Grade", + "canonical": "Grd" + }, + { + "tokens": [ + "Gn", + "Grn", + "Green" + ], + "full": "Green", + "canonical": "Gn" + }, + { + "tokens": [ + "Gte", + "Gate" + ], + "full": "Gate", + "canonical": "Gte" + }, + { + "tokens": [ + "Hbr", + "Harbor" + ], + "full": "Harbor", + "canonical": "Hbr" + }, + { + "tokens": [ + "Hbrs", + "Harbors" + ], + "full": "Harbors", + "canonical": "Hbrs" + }, + { + "tokens": [ + "Hird", + "Highroad" + ], + "full": "Highroad", + "canonical": "Hird", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Hl", + "Hill" + ], + "full": "Hill", + "canonical": "Hl" + }, + { + "tokens": [ + "Hls", + "Hills" + ], + "full": "Hills", + "canonical": "Hls" + }, + { + "tokens": [ + "Holw", + "Hollow" + ], + "full": "Hollow", + "canonical": "Holw" + }, + { + "tokens": [ + "Hosp", + "Hospital" + ], + "full": "Hospital", + "canonical": "Hosp" + }, + { + "tokens": [ + "Ho", + "House" + ], + "full": "House", + "canonical": "Ho" + }, + { + "tokens": [ + "Htl", + "Hotel" + ], + "full": "Hotel", + "canonical": "Htl" + }, + { + "tokens": [ + "Hts", + "Heights" + ], + "full": "Heights", + "canonical": "Hts" + }, + { + "tokens": [ + "Hvn", + "Haven" + ], + "full": "Haven", + "canonical": "Hvn" + }, + { + "tokens": [ + "Hwy", + "Highway" + ], + "full": "Highway", + "canonical": "Hwy", + "type": "way" + }, + { + "tokens": [ + "I", + "Interstate" + ], + "full": "Interstate", + "canonical": "I" + }, + { + "tokens": [ + "Ind", + "Industrial" + ], + "full": "Industrial", + "canonical": "Ind" + }, + { + "tokens": [ + "Intg", + "Interchange" + ], + "full": "Interchange", + "canonical": "Intg" + }, + { + "tokens": [ + "Is", + "Island" + ], + "full": "Island", + "canonical": "Is" + }, + { + "tokens": [ + "Iss", + "Islands" + ], + "full": "Islands", + "canonical": "Iss" + }, + { + "tokens": [ + "Jcts", + "Junctions" + ], + "full": "Junctions", + "canonical": "Jcts" + }, + { + "tokens": [ + "Jn", + "Jct", + "Jnc", + "Junction" + ], + "full": "Junction", + "canonical": "Jn" + }, + { + "tokens": [ + "Jr", + "Junior" + ], + "full": "Junior", + "canonical": "Jr" + }, + { + "tokens": [ + "Knl", + "Knoll" + ], + "full": "Knoll", + "canonical": "Knl" + }, + { + "tokens": [ + "Knls", + "Knolls" + ], + "full": "Knolls", + "canonical": "Knls" + }, + { + "tokens": [ + "Ky", + "Key" + ], + "full": "Key", + "canonical": "Ky" + }, + { + "tokens": [ + "Kys", + "Keys" + ], + "full": "Keys", + "canonical": "Kys" + }, + { + "tokens": [ + "Lp", + "Loop" + ], + "full": "Loop", + "canonical": "Lp" + }, + { + "tokens": [ + "Lck", + "Lock" + ], + "full": "Lock", + "canonical": "Lck" + }, + { + "tokens": [ + "Lcks", + "Locks" + ], + "full": "Locks", + "canonical": "Lcks" + }, + { + "tokens": [ + "Ldg", + "Lodge" + ], + "full": "Lodge", + "canonical": "Ldg" + }, + { + "tokens": [ + "Lf", + "Loaf" + ], + "full": "Loaf", + "canonical": "Lf" + }, + { + "tokens": [ + "Lgt", + "Light" + ], + "full": "Light", + "canonical": "Lgt" + }, + { + "tokens": [ + "Lgts", + "Lights" + ], + "full": "Lights", + "canonical": "Lgts" + }, + { + "tokens": [ + "Lk", + "Lake" + ], + "full": "Lake", + "canonical": "Lk" + }, + { + "tokens": [ + "Lks", + "Lakes" + ], + "full": "Lakes", + "canonical": "Lks" + }, + { + "tokens": [ + "Lkt", + "Lookout" + ], + "full": "Lookout", + "canonical": "Lkt" + }, + { + "tokens": [ + "Ln", + "La", + "Lane" + ], + "full": "Lane", + "canonical": "Ln", + "type": "way" + }, + { + "tokens": [ + "Lndg", + "Landing" + ], + "full": "Landing", + "canonical": "Lndg" + }, + { + "tokens": [ + "Lnwy", + "Laneway" + ], + "full": "Laneway", + "canonical": "Lnwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Lt", + "Lieutenant" + ], + "full": "Lieutenant", + "canonical": "Lt" + }, + { + "tokens": [ + "Lyt", + "Layout" + ], + "full": "Layout", + "canonical": "Lyt" + }, + { + "tokens": [ + "Maj", + "Major" + ], + "full": "Major", + "canonical": "Maj" + }, + { + "tokens": [ + "Mal", + "Mall" + ], + "full": "Mall", + "canonical": "Mal" + }, + { + "tokens": [ + "Mcplty", + "Municipality" + ], + "full": "Municipality", + "canonical": "Mcplty" + }, + { + "tokens": [ + "Mdw", + "Meadow" + ], + "full": "Meadow", + "canonical": "Mdw" + }, + { + "tokens": [ + "Mdws", + "Meadows" + ], + "full": "Meadows", + "canonical": "Mdws" + }, + { + "tokens": [ + "Mws", + "Mews" + ], + "full": "Mews", + "canonical": "Mws" + }, + { + "tokens": [ + "Mg", + "Marg" + ], + "full": "Marg", + "canonical": "Mg" + }, + { + "tokens": [ + "Mhd", + "Moorhead" + ], + "full": "Moorhead", + "canonical": "Mhd" + }, + { + "tokens": [ + "Mkt", + "Market" + ], + "full": "Market", + "canonical": "Mkt" + }, + { + "tokens": [ + "Ml", + "Mill" + ], + "full": "Mill", + "canonical": "Ml" + }, + { + "tokens": [ + "Mndr", + "Meander" + ], + "full": "Meander", + "canonical": "Mndr", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Mnr", + "Manor" + ], + "full": "Manor", + "canonical": "Mnr" + }, + { + "tokens": [ + "Mnrs", + "Manors" + ], + "full": "Manors", + "canonical": "Mnrs" + }, + { + "tokens": [ + "Mq", + "Mosque" + ], + "full": "Mosque", + "canonical": "Mq" + }, + { + "tokens": [ + "Msn", + "Mission" + ], + "full": "Mission", + "canonical": "Msn" + }, + { + "tokens": [ + "Mt", + "Mount" + ], + "full": "Mount", + "canonical": "Mt" + }, + { + "tokens": [ + "Mtn", + "Mountain" + ], + "full": "Mountain", + "canonical": "Mtn" + }, + { + "tokens": [ + "Mtwy", + "Motorway" + ], + "full": "Motorway", + "canonical": "Mtwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "N", + "Nth", + "North" + ], + "full": "North", + "canonical": "N", + "type": "cardinal" + }, + { + "tokens": [ + "Nck", + "Neck" + ], + "full": "Neck", + "canonical": "Nck" + }, + { + "tokens": [ + "NE", + "Northeast" + ], + "full": "Northeast", + "canonical": "NE", + "type": "cardinal" + }, + { + "tokens": [ + "Ngr", + "Nagar" + ], + "full": "Nagar", + "canonical": "Ngr" + }, + { + "tokens": [ + "Nl", + "Nalla" + ], + "full": "Nalla", + "canonical": "Nl" + }, + { + "tokens": [ + "NW", + "Northwest" + ], + "full": "Northwest", + "canonical": "NW", + "type": "cardinal" + }, + { + "tokens": [ + "Off", + "Office" + ], + "full": "Office", + "canonical": "Off" + }, + { + "tokens": [ + "Orch", + "Orchard" + ], + "full": "Orchard", + "canonical": "Orch" + }, + { + "tokens": [ + "Otlk", + "Outlook" + ], + "full": "Outlook", + "canonical": "Otlk" + }, + { + "tokens": [ + "Ovps", + "Overpass" + ], + "full": "Overpass", + "canonical": "Ovps", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Pchyt", + "Panchayat" + ], + "full": "Panchayat", + "canonical": "Pchyt" + }, + { + "tokens": [ + "Pde", + "Parade" + ], + "full": "Parade", + "canonical": "Pde" + }, + { + "tokens": [ + "Pf", + "Platform" + ], + "full": "Platform", + "canonical": "Pf" + }, + { + "tokens": [ + "Ph", + "Phase" + ], + "full": "Phase", + "canonical": "Ph" + }, + { + "tokens": [ + "Piaz", + "Piazza" + ], + "full": "Piazza", + "canonical": "Piaz" + }, + { + "tokens": [ + "Pk", + "Pike" + ], + "full": "Pike", + "canonical": "Pk", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Pk", + "Park" + ], + "full": "Park", + "canonical": "Pk" + }, + { + "tokens": [ + "Pk", + "Peak" + ], + "full": "Peak", + "canonical": "Pk" + }, + { + "tokens": [ + "Pkt", + "Pocket" + ], + "full": "Pocket", + "canonical": "Pkt" + }, + { + "tokens": [ + "Pl", + "Place" + ], + "full": "Place", + "canonical": "Pl", + "type": "way" + }, + { + "tokens": [ + "Pln", + "Plain" + ], + "full": "Plain", + "canonical": "Pln" + }, + { + "tokens": [ + "Plns", + "Plains" + ], + "full": "Plains", + "canonical": "Plns" + }, + { + "tokens": [ + "Plz", + "Plza", + "Plaza" + ], + "full": "Plaza", + "canonical": "Plz" + }, + { + "tokens": [ + "Pr", + "Prairie" + ], + "full": "Prairie", + "canonical": "Pr" + }, + { + "tokens": [ + "Prom", + "Promenade" + ], + "full": "Promenade", + "canonical": "Prom" + }, + { + "tokens": [ + "Prt", + "Port" + ], + "full": "Port", + "canonical": "Prt" + }, + { + "tokens": [ + "Prts", + "Ports" + ], + "full": "Ports", + "canonical": "Prts" + }, + { + "tokens": [ + "Psge", + "Passage" + ], + "full": "Passage", + "canonical": "Psge" + }, + { + "tokens": [ + "Pt", + "Pnt", + "Point" + ], + "full": "Point", + "canonical": "Pt" + }, + { + "tokens": [ + "Pts", + "Points" + ], + "full": "Points", + "canonical": "Pts" + }, + { + "tokens": [ + "Pvt", + "Private" + ], + "full": "Private", + "canonical": "Pvt" + }, + { + "tokens": [ + "Pway", + "Pathway" + ], + "full": "Pathway", + "canonical": "Pway", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Py", + "Pw", + "Pky", + "Pwy", + "Pkwy", + "Prkwy", + "Parkway" + ], + "full": "Parkway", + "canonical": "Pkwy", + "type": "way" + }, + { + "tokens": [ + "Qdrt", + "Quadrant" + ], + "full": "Quadrant", + "canonical": "Qdrt" + }, + { + "tokens": [ + "Qtrs", + "Quarters" + ], + "full": "Quarters", + "canonical": "Qtrs" + }, + { + "tokens": [ + "Qy", + "Quay" + ], + "full": "Quay", + "canonical": "Qy" + }, + { + "tokens": [ + "Qys", + "Quays" + ], + "full": "Quays", + "canonical": "Qys" + }, + { + "tokens": [ + "R", + "Riv", + "River" + ], + "full": "River", + "canonical": "R" + }, + { + "tokens": [ + "Radl", + "Radial" + ], + "full": "Radial", + "canonical": "Radl" + }, + { + "tokens": [ + "Rd", + "Road" + ], + "full": "Road", + "canonical": "Rd", + "type": "way" + }, + { + "tokens": [ + "Rdg", + "Rdge", + "Ridge" + ], + "full": "Ridge", + "canonical": "Rdg", + "preferFull": true + }, + { + "tokens": [ + "Rdgs", + "Ridges" + ], + "full": "Ridges", + "canonical": "Rdgs" + }, + { + "tokens": [ + "Rds", + "Roads" + ], + "full": "Roads", + "canonical": "Rds", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Rly", + "Railway" + ], + "full": "Railway", + "canonical": "Rly" + }, + { + "tokens": [ + "Rmbl", + "Ramble" + ], + "full": "Ramble", + "canonical": "Rmbl" + }, + { + "tokens": [ + "RM", + "Ranch-To-Market" + ], + "full": "Ranch-To-Market", + "canonical": "RM", + "spanBoundaries": 2 + }, + { + "tokens": [ + "Rw", + "Row" + ], + "full": "Row", + "canonical": "Rw" + }, + { + "tokens": [ + "Rpd", + "Rapid" + ], + "full": "Rapid", + "canonical": "Rpd" + }, + { + "tokens": [ + "Rpds", + "Rapids" + ], + "full": "Rapids", + "canonical": "Rpds" + }, + { + "tokens": [ + "Rse", + "Rise" + ], + "full": "Rise", + "canonical": "Rse" + }, + { + "tokens": [ + "Rst", + "Rest" + ], + "full": "Rest", + "canonical": "Rst" + }, + { + "tokens": [ + "Rt", + "Rte", + "Route" + ], + "full": "Route", + "canonical": "Rt", + "type": "way" + }, + { + "tokens": [ + "Rtt", + "Retreat" + ], + "full": "Retreat", + "canonical": "Rtt" + }, + { + "tokens": [ + "Rty", + "Rotary" + ], + "full": "Rotary", + "canonical": "Rty", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Rw", + "Row" + ], + "full": "Row", + "canonical": "Rw" + }, + { + "tokens": [ + "S", + "Sth", + "South" + ], + "full": "South", + "canonical": "S", + "type": "cardinal" + }, + { + "tokens": [ + "Sbwy", + "Subway" + ], + "full": "Subway", + "canonical": "Sbwy" + }, + { + "tokens": [ + "SE", + "Southeast" + ], + "full": "Southeast", + "canonical": "SE", + "type": "cardinal" + }, + { + "tokens": [ + "Sgt", + "Sergeant" + ], + "full": "Sergeant", + "canonical": "Sgt" + }, + { + "tokens": [ + "Shl", + "Shoal" + ], + "full": "Shoal", + "canonical": "Shl" + }, + { + "tokens": [ + "Shls", + "Shoals" + ], + "full": "Shoals", + "canonical": "Shls" + }, + { + "tokens": [ + "Shr", + "Shore" + ], + "full": "Shore", + "canonical": "Shr" + }, + { + "tokens": [ + "Shrs", + "Shores" + ], + "full": "Shores", + "canonical": "Shrs" + }, + { + "tokens": [ + "Shun", + "Shunt" + ], + "full": "Shunt", + "canonical": "Shun" + }, + { + "tokens": [ + "Skwy", + "Skyway" + ], + "full": "Skyway", + "canonical": "Skwy" + }, + { + "tokens": [ + "Smt", + "Summit" + ], + "full": "Summit", + "canonical": "Smt" + }, + { + "tokens": [ + "Spg", + "Spring" + ], + "full": "Spring", + "canonical": "Spg" + }, + { + "tokens": [ + "Spgs", + "Springs" + ], + "full": "Springs", + "canonical": "Spgs" + }, + { + "tokens": [ + "Sq", + "Square" + ], + "full": "Square", + "canonical": "Sq" + }, + { + "tokens": [ + "Sqs", + "Squares" + ], + "full": "Squares", + "canonical": "Sqs" + }, + { + "tokens": [ + "Sr", + "Senior" + ], + "full": "Senior", + "canonical": "Sr" + }, + { + "tokens": [ + "St", + "Saint" + ], + "full": "Saint", + "canonical": "St" + }, + { + "tokens": [ + "St", + "Street" + ], + "full": "Street", + "canonical": "St", + "type": "way" + }, + { + "tokens": [ + "Stn", + "Station" + ], + "full": "Station", + "canonical": "Stn" + }, + { + "tokens": [ + "Std", + "Stadium" + ], + "full": "Stadium", + "canonical": "Std" + }, + { + "tokens": [ + "Stps", + "Steps" + ], + "full": "Steps", + "canonical": "Stps" + }, + { + "tokens": [ + "Stg", + "Stage" + ], + "full": "Stage", + "canonical": "Stg" + }, + { + "tokens": [ + "Strm", + "Stream" + ], + "full": "Stream", + "canonical": "Strm" + }, + { + "tokens": [ + "Sts", + "Streets" + ], + "full": "Streets", + "canonical": "Sts" + }, + { + "tokens": [ + "Svwy", + "Serviceway" + ], + "full": "Serviceway", + "canonical": "Svwy" + }, + { + "tokens": [ + "SW", + "Southwest" + ], + "full": "Southwest", + "canonical": "SW", + "type": "cardinal" + }, + { + "tokens": [ + "Tce", + "Ter", + "Terrace" + ], + "full": "Terrace", + "canonical": "Ter" + }, + { + "tokens": [ + "Tfwy", + "Trafficway" + ], + "full": "Trafficway", + "canonical": "Tfwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Thfr", + "Thoroughfare" + ], + "full": "Thoroughfare", + "canonical": "Thfr", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Thwy", + "Thruway" + ], + "full": "Thruway", + "canonical": "Thwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Tlwy", + "Tollway" + ], + "full": "Tollway", + "canonical": "Tlwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Tpke", + "Turnpike" + ], + "full": "Turnpike", + "canonical": "Tpke", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Tpl", + "Temple" + ], + "full": "Temple", + "canonical": "Tpl" + }, + { + "tokens": [ + "Trce", + "Trace" + ], + "full": "Trace", + "canonical": "Trce" + }, + { + "tokens": [ + "Trk", + "Track" + ], + "full": "Track", + "canonical": "Trk" + }, + { + "tokens": [ + "Tr", + "Trl", + "Trail" + ], + "full": "Trail", + "canonical": "Tr" + }, + { + "tokens": [ + "Tunl", + "Tunnel" + ], + "full": "Tunnel", + "canonical": "Tunl", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Twn", + "Town" + ], + "full": "Town", + "canonical": "Twn" + }, + { + "tokens": [ + "Un", + "Union" + ], + "full": "Union", + "canonical": "Un" + }, + { + "tokens": [ + "Univ", + "University" + ], + "full": "University", + "canonical": "Univ", + "preferFull": true + }, + { + "tokens": [ + "Unp", + "Upas", + "Underpass" + ], + "full": "Underpass", + "canonical": "Upas", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Uns", + "Unions" + ], + "full": "Unions", + "canonical": "Uns" + }, + { + "tokens": [ + "Via", + "Viad", + "Viaduct" + ], + "full": "Viaduct", + "canonical": "Via", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Vis", + "Vsta", + "Vista" + ], + "full": "Vista", + "canonical": "Vis" + }, + { + "tokens": [ + "Vl", + "Ville" + ], + "full": "Ville", + "canonical": "Vl" + }, + { + "tokens": [ + "Vlg", + "Vill", + "Village" + ], + "full": "Village", + "canonical": "Vlg" + }, + { + "tokens": [ + "Vlgs", + "Villages" + ], + "full": "Villages", + "canonical": "Vlgs" + }, + { + "tokens": [ + "Vly", + "Valley" + ], + "full": "Valley", + "canonical": "Vly" + }, + { + "tokens": [ + "Vlys", + "Valleys" + ], + "full": "Valleys", + "canonical": "Vlys" + }, + { + "tokens": [ + "Vw", + "View" + ], + "full": "View", + "canonical": "Vw" + }, + { + "tokens": [ + "Vws", + "Views" + ], + "full": "Views", + "canonical": "Vws" + }, + { + "tokens": [ + "W", + "Wst", + "West" + ], + "full": "West", + "canonical": "W", + "type": "cardinal" + }, + { + "tokens": [ + "Wd", + "Wood" + ], + "full": "Wood", + "canonical": "Wd" + }, + { + "tokens": [ + "Whrf", + "Wharf" + ], + "full": "Wharf", + "canonical": "Whrf" + }, + { + "tokens": [ + "Wkwy", + "Walkway" + ], + "full": "Walkway", + "canonical": "Wkwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Wlk", + "Walk" + ], + "full": "Walk", + "canonical": "Wlk" + }, + { + "tokens": [ + "Wy", + "Way" + ], + "full": "Way", + "canonical": "Wy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "X", + "Cr", + "Cres", + "Crss", + "Cross", + "Crescent" + ], + "full": "Crescent", + "canonical": "X", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Xing", + "Crossing" + ], + "full": "Crossing", + "canonical": "Xing", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "", + "P\\.?O\\.? Box [0-9]+" + ], + "full": "P\\.?O\\.? Box [0-9]+", + "canonical": "", + "spanBoundaries": 2, + "onlyLayers": ["address"], + "type": "box", + "regex": true + }, + { + "tokens": [ + "", + "P\\.? O\\.? Box [0-9]+" + ], + "full": "P\\.? O\\.? Box [0-9]+", + "canonical": "", + "spanBoundaries": 3, + "onlyLayers": ["address"], + "type": "box", + "regex": true + }, + { + "tokens": [ + "", + "(?:suite|ste) #?(?:[A-Z]|\\d+|[A-Z]\\d+|\\d+[A-Z]|\\d+-\\d+[A-Z]?)" + ], + "full": "(?:suite|ste) #?(?:[A-Z]|\\d+|[A-Z]\\d+|\\d+[A-Z]|\\d+-\\d+[A-Z]?)", + "canonical": "", + "spanBoundaries": 1, + "onlyLayers": ["address"], + "type": "unit", + "regex": true + }, + { + "tokens": [ + "Po", + "Post Office" + ], + "full": "Post Office", + "canonical": "Po", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Rs", + "Railway Station" + ], + "full": "Railway Station", + "canonical": "Rs", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Vpo", + "Village Post Office" + ], + "full": "Village Post Office", + "canonical": "Vpo", + "spanBoundaries": 2 + }, + { + "tokens": [ + "NT", + "New Territories" + ], + "full": "New Territories", + "canonical": "NT", + "onlyCountries": ["hk"], + "spanBoundaries": 1 + }, + { + "tokens": [ + "NT", + "N.T." + ], + "full": "N.T.", + "canonical": "NT", + "onlyCountries": ["hk"] + }, + { + "tokens": [ + "", + "(?:apartment|apt|bldg|building|rm|room|unit) #?(?:[A-Z]|\\d+|[A-Z]\\d+|\\d+[A-Z]|\\d+-\\d+[A-Z]?)" + ], + "canonical": "", + "full": "(?:apartment|apt|bldg|building|rm|room|unit) #?(?:[A-Z]|\\d+|[A-Z]\\d+|\\d+[A-Z]|\\d+-\\d+[A-Z]?)", + "regex": true, + "spanBoundaries": 1, + "onlyLayers": ["address"], + "onlyCountries": ["us"], + "type": "unit" + }, + { + "tokens": [ + "", + "(?:floor|fl) #?\\d{1,3}" + ], + "canonical": "", + "full": "(?:floor|fl) #?\\d{1,3}", + "regex": true, + "spanBoundaries": 1, + "onlyLayers": ["address"], + "onlyCountries": ["us"], + "type": "unit" + }, + { + "tokens": [ + "", + "\\d{1,3}(?:st|nd|rd|th) (?:floor|fl)" + ], + "canonical": "", + "full": "\\d{1,3}(?:st|nd|rd|th) (?:floor|fl)", + "regex": true, + "spanBoundaries": 1, + "onlyLayers": ["address"], + "onlyCountries": ["us"], + "type": "unit" + }, + { + "tokens": [ + "$1", + "((?!apartment|apt|bldg|building|rm|room|unit|fl|floor|ste|suite)[a-z]{2,}) # ?(?:[A-Z]|\\d+|[A-Z]\\d+|\\d+[A-Z]|\\d+-\\d+[A-Z]?)" + ], + "canonical": "$1", + "full": "((?!apartment|apt|bldg|building|rm|room|unit|fl|floor|ste|suite)[a-z]{2,}) # ?(?:[A-Z]|\\d+|[A-Z]\\d+|\\d+[A-Z]|\\d+-\\d+[A-Z]?)", + "regex": true, + "spanBoundaries": 1, + "onlyLayers": ["address"], + "onlyCountries": ["us"], + "type": "unit" + }, + { + "tokens": [ + "$1", + "([0-9]+)(?:st|nd|rd|th)" + ], + "canonical": "$1", + "full": "([0-9]+)(?:st|nd|rd|th)", + "regex": true, + "onlyLayers": ["address"], + "onlyCountries": ["us"], + "reduceRelevance": true + }, + { + "tokens": [ + "$1$2", + "([A-Z]{1,2}[0-9][0-9A-Z]?) ?([0-9][A-Z]{2})" + ], + "full": "([A-Z]{1,2}[0-9][0-9A-Z]?) ?([0-9][A-Z]{2})", + "canonical": "$1$2", + "onlyCountries": ["gb"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true + }, + { + "tokens": [ + "$1$2", + "([A-Z]\\d[A-Z]) ?(\\d[A-Z]\\d)" + ], + "full": "([A-Z]\\d[A-Z]) ?(\\d[A-Z]\\d)", + "canonical": "$1$2", + "onlyCountries": ["ca"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true + } +] diff --git a/.history/tokens/en_20220706112923.json b/.history/tokens/en_20220706112923.json new file mode 100644 index 0000000..c32e884 --- /dev/null +++ b/.history/tokens/en_20220706112923.json @@ -0,0 +1,3020 @@ +[ + { + "tokens": [ + "1", + "one" + ], + "full": "one", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "two" + ], + "full": "two", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "three" + ], + "full": "three", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "four" + ], + "full": "four", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "five" + ], + "full": "five", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "six" + ], + "full": "six", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "seven" + ], + "full": "seven", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "eight" + ], + "full": "eight", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nine" + ], + "full": "nine", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ten" + ], + "full": "ten", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "eleven" + ], + "full": "eleven", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "twelve" + ], + "full": "twelve", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "thirteen" + ], + "full": "thirteen", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "fourteen" + ], + "full": "fourteen", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "fifteen" + ], + "full": "fifteen", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "sixteen" + ], + "full": "sixteen", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "seventeen" + ], + "full": "seventeen", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "eighteen" + ], + "full": "eighteen", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "nineteen" + ], + "full": "nineteen", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "twenty" + ], + "full": "twenty", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "10th", + "Tenth" + ], + "full": "Tenth", + "canonical": "10th", + "type": "ordinal" + }, + { + "tokens": [ + "11th", + "Eleventh" + ], + "full": "Eleventh", + "canonical": "11th", + "type": "ordinal" + }, + { + "tokens": [ + "12th", + "Twelfth" + ], + "full": "Twelfth", + "canonical": "12th", + "type": "ordinal" + }, + { + "tokens": [ + "13th", + "Thirteenth" + ], + "full": "Thirteenth", + "canonical": "13th", + "type": "ordinal" + }, + { + "tokens": [ + "14th", + "Fourteenth" + ], + "full": "Fourteenth", + "canonical": "14th", + "type": "ordinal" + }, + { + "tokens": [ + "15th", + "Fifteenth" + ], + "full": "Fifteenth", + "canonical": "15th", + "type": "ordinal" + }, + { + "tokens": [ + "16th", + "Sixteenth" + ], + "full": "Sixteenth", + "canonical": "16th", + "type": "ordinal" + }, + { + "tokens": [ + "17th", + "Seventeenth" + ], + "full": "Seventeenth", + "canonical": "17th", + "type": "ordinal" + }, + { + "tokens": [ + "18th", + "Eighteenth" + ], + "full": "Eighteenth", + "canonical": "18th", + "type": "ordinal" + }, + { + "tokens": [ + "19th", + "Nineteenth" + ], + "full": "Nineteenth", + "canonical": "19th", + "type": "ordinal" + }, + { + "tokens": [ + "1st", + "First" + ], + "full": "First", + "canonical": "1st", + "type": "ordinal" + }, + { + "tokens": [ + "20th", + "Twentieth" + ], + "full": "Twentieth", + "canonical": "20th", + "type": "ordinal" + }, + { + "tokens": [ + "2nd", + "Second" + ], + "full": "Second", + "canonical": "2nd", + "type": "ordinal" + }, + { + "tokens": [ + "3rd", + "Third" + ], + "full": "Third", + "canonical": "3rd", + "type": "ordinal" + }, + { + "tokens": [ + "4th", + "Fourth" + ], + "full": "Fourth", + "canonical": "4th", + "type": "ordinal" + }, + { + "tokens": [ + "5th", + "Fifth" + ], + "full": "Fifth", + "canonical": "5th", + "type": "ordinal" + }, + { + "tokens": [ + "6th", + "Sixth" + ], + "full": "Sixth", + "canonical": "6th", + "type": "ordinal" + }, + { + "tokens": [ + "7th", + "Seventh" + ], + "full": "Seventh", + "canonical": "7th", + "type": "ordinal" + }, + { + "tokens": [ + "8th", + "Eighth" + ], + "full": "Eighth", + "canonical": "8th", + "type": "ordinal" + }, + { + "tokens": [ + "9th", + "Ninth" + ], + "full": "Ninth", + "canonical": "9th", + "type": "ordinal" + }, + { + "tokens": [ + "Accs", + "Access" + ], + "full": "Access", + "canonical": "Accs", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Alwy", + "Alleyway" + ], + "full": "Alleyway", + "canonical": "Alwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Aly", + "Ally", + "Alley" + ], + "full": "Alley", + "canonical": "Aly", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Ambl", + "Amble" + ], + "full": "Amble", + "canonical": "Ambl", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "App", + "Approach" + ], + "full": "Approach", + "canonical": "App", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Apt", + "Apartment" + ], + "full": "Apartment", + "canonical": "Apt" + }, + { + "tokens": [ + "Apts", + "Apartments" + ], + "full": "Apartments", + "canonical": "Apts" + }, + { + "tokens": [ + "Arc", + "Arcade" + ], + "full": "Arcade", + "canonical": "Arc" + }, + { + "tokens": [ + "Artl", + "Arterial" + ], + "full": "Arterial", + "canonical": "Artl", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Arty", + "Artery" + ], + "full": "Artery", + "canonical": "Arty", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Av", + "Ave", + "Avenue" + ], + "full": "Avenue", + "canonical": "Av", + "type": "way" + }, + { + "tokens": [ + "Ba", + "Banan" + ], + "full": "Banan", + "canonical": "Ba" + }, + { + "tokens": [ + "Bch", + "Beach" + ], + "full": "Beach", + "canonical": "Bch" + }, + { + "tokens": [ + "Bg", + "Burg" + ], + "full": "Burg", + "canonical": "Bg" + }, + { + "tokens": [ + "Bgs", + "Burgs" + ], + "full": "Burgs", + "canonical": "Bgs" + }, + { + "tokens": [ + "Blf", + "Bluff" + ], + "full": "Bluff", + "canonical": "Blf" + }, + { + "tokens": [ + "Blk", + "Block" + ], + "full": "Block", + "canonical": "Blk" + }, + { + "tokens": [ + "Br", + "Brace" + ], + "full": "Brace", + "canonical": "Br" + }, + { + "tokens": [ + "Br", + "Branch" + ], + "full": "Branch", + "canonical": "Br", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Brg", + "Bridge" + ], + "full": "Bridge", + "canonical": "Brg", + "onlyLayers": ["address"] + }, + { + "tokens": [ + "Brk", + "Break" + ], + "full": "Break", + "canonical": "Brk" + }, + { + "tokens": [ + "Brk", + "Brook" + ], + "full": "Brook", + "canonical": "Brk" + }, + { + "tokens": [ + "Brks", + "Brooks" + ], + "full": "Brooks", + "canonical": "Brks" + }, + { + "tokens": [ + "Btm", + "Bottom" + ], + "full": "Bottom", + "canonical": "Btm" + }, + { + "tokens": [ + "Blv", + "Blvd", + "Boulevard" + ], + "full": "Boulevard", + "canonical": "Blvd", + "type": "way" + }, + { + "tokens": [ + "Bwlk", + "Boardwalk" + ], + "full": "Boardwalk", + "canonical": "Bwlk", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Byp", + "Bypa", + "Bypass" + ], + "full": "Bypass", + "canonical": "Byp", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Byu", + "Bayou" + ], + "full": "Bayou", + "canonical": "Byu" + }, + { + "tokens": [ + "Bywy", + "Byway" + ], + "full": "Byway", + "canonical": "Bywy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Bzr", + "Bazaar" + ], + "full": "Bazaar", + "canonical": "Bzr" + }, + { + "tokens": [ + "Cantt", + "Cantonment" + ], + "full": "Cantonment", + "canonical": "Cantt" + }, + { + "tokens": [ + "Cct", + "Circuit" + ], + "full": "Circuit", + "canonical": "Cct", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Ch", + "Chase" + ], + "full": "Chase", + "canonical": "Ch", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Chk", + "Chowk" + ], + "full": "Chowk", + "canonical": "Chk" + }, + { + "tokens": [ + "Cir", + "Circle" + ], + "full": "Circle", + "canonical": "Cir", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Cirs", + "Circles" + ], + "full": "Circles", + "canonical": "Cirs", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Cl", + "Clinic" + ], + "full": "Clinic", + "canonical": "Cl" + }, + { + "tokens": [ + "Cl", + "Clo", + "Close" + ], + "full": "Close", + "canonical": "Cl", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Clb", + "Club" + ], + "full": "Club", + "canonical": "Clb" + }, + { + "tokens": [ + "Clf", + "Cliff" + ], + "full": "Cliff", + "canonical": "Clf" + }, + { + "tokens": [ + "Clfs", + "Cliffs" + ], + "full": "Cliffs", + "canonical": "Clfs" + }, + { + "tokens": [ + "Cll", + "Calle" + ], + "full": "Calle", + "canonical": "Cll", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Cly", + "Colony" + ], + "full": "Colony", + "canonical": "Cly" + }, + { + "tokens": [ + "Cmn", + "Common" + ], + "full": "Common", + "canonical": "Cmn" + }, + { + "tokens": [ + "Cmns", + "Commons" + ], + "full": "Commons", + "canonical": "Cmns" + }, + { + "tokens": [ + "Cnl", + "Canal" + ], + "full": "Canal", + "canonical": "Cnl" + }, + { + "tokens": [ + "Cnr", + "Cor", + "Corner" + ], + "full": "Corner", + "canonical": "Cnr" + }, + { + "tokens": [ + "Co", + "County" + ], + "full": "County", + "canonical": "Co" + }, + { + "tokens": [ + "Coll", + "College" + ], + "full": "College", + "canonical": "Coll", + "preferFull": true + }, + { + "tokens": [ + "Con", + "Concourse" + ], + "full": "Concourse", + "canonical": "Con", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Const", + "Constituency" + ], + "full": "Constituency", + "canonical": "Const" + }, + { + "tokens": [ + "Corpn", + "Corporation" + ], + "full": "Corporation", + "canonical": "Corpn" + }, + { + "tokens": [ + "Cp", + "Camp" + ], + "full": "Camp", + "canonical": "Cp" + }, + { + "tokens": [ + "Cpe", + "Cape" + ], + "full": "Cape", + "canonical": "Cpe" + }, + { + "tokens": [ + "Cplx", + "Complex" + ], + "full": "Complex", + "canonical": "Cplx" + }, + { + "tokens": [ + "Cps", + "Copse" + ], + "full": "Copse", + "canonical": "Cps" + }, + { + "tokens": [ + "Crcs", + "Circus" + ], + "full": "Circus", + "canonical": "Crcs" + }, + { + "tokens": [ + "Crk", + "Creek" + ], + "full": "Creek", + "canonical": "Crk" + }, + { + "tokens": [ + "Crpk", + "Carpark" + ], + "full": "Carpark", + "canonical": "Crpk" + }, + { + "tokens": [ + "Crse", + "Course" + ], + "full": "Course", + "canonical": "Crse" + }, + { + "tokens": [ + "Crst", + "Crest" + ], + "full": "Crest", + "canonical": "Crst", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Csac", + "Cul-de-sac" + ], + "full": "Cul-de-sac", + "canonical": "Csac", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 2 + }, + { + "tokens": [ + "Cswy", + "Causeway" + ], + "full": "Causeway", + "canonical": "Cswy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Ct", + "Court" + ], + "full": "Court", + "canonical": "Ct", + "type": "way" + }, + { + "tokens": [ + "Ctr", + "Center", + "Centre" + ], + "full": "Center", + "canonical": "Ctr" + }, + { + "tokens": [ + "Ctrs", + "Centers" + ], + "full": "Centers", + "canonical": "Ctrs" + }, + { + "tokens": [ + "Cts", + "Courts" + ], + "full": "Courts", + "canonical": "Cts", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Ctyd", + "Courtyard" + ], + "full": "Courtyard", + "canonical": "Ctyd" + }, + { + "tokens": [ + "Curv", + "Curve" + ], + "full": "Curve", + "canonical": "Curv", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Cutt", + "Cutting" + ], + "full": "Cutting", + "canonical": "Cutt" + }, + { + "tokens": [ + "Cv", + "Cove" + ], + "full": "Cove", + "canonical": "Cv" + }, + { + "tokens": [ + "Cyn", + "Canyon" + ], + "full": "Canyon", + "canonical": "Cyn" + }, + { + "tokens": [ + "Dl", + "Dale" + ], + "full": "Dale", + "canonical": "Dl" + }, + { + "tokens": [ + "Dm", + "Dam" + ], + "full": "Dam", + "canonical": "Dm" + }, + { + "tokens": [ + "Dr", + "Dv", + "Drive" + ], + "full": "Drive", + "canonical": "Dr", + "type": "way" + }, + { + "tokens": [ + "Dv", + "Divide" + ], + "full": "Divide", + "canonical": "Dv" + }, + { + "tokens": [ + "Drs", + "Drives" + ], + "full": "Drives", + "canonical": "Drs", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Dt", + "District" + ], + "full": "District", + "canonical": "Dt" + }, + { + "tokens": [ + "Dvwy", + "Driveway" + ], + "full": "Driveway", + "canonical": "Dvwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "E", + "Est", + "East" + ], + "full": "East", + "canonical": "E", + "type": "cardinal" + }, + { + "tokens": [ + "Elb", + "Elbow" + ], + "full": "Elbow", + "canonical": "Elb" + }, + { + "tokens": [ + "Ent", + "Entrance" + ], + "full": "Entrance", + "canonical": "Ent", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Esp", + "Esplanade" + ], + "full": "Esplanade", + "canonical": "Esp" + }, + { + "tokens": [ + "Est", + "Estate" + ], + "full": "Estate", + "canonical": "Est" + }, + { + "tokens": [ + "Ests", + "Estates" + ], + "full": "Estates", + "canonical": "Ests" + }, + { + "tokens": [ + "Exp", + "Expy", + "Expressway" + ], + "full": "Expressway", + "canonical": "Exp", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Ext", + "Extension" + ], + "full": "Extension", + "canonical": "Ext" + }, + { + "tokens": [ + "Exts", + "Extensions" + ], + "full": "Extensions", + "canonical": "Exts" + }, + { + "tokens": [ + "Fawy", + "Fairway" + ], + "full": "Fairway", + "canonical": "Fawy" + }, + { + "tokens": [ + "Fld", + "Field" + ], + "full": "Field", + "canonical": "Fld" + }, + { + "tokens": [ + "Flds", + "Fields" + ], + "full": "Fields", + "canonical": "Flds" + }, + { + "tokens": [ + "Fls", + "Falls" + ], + "full": "Falls", + "canonical": "Fls" + }, + { + "tokens": [ + "Flt", + "Flat" + ], + "full": "Flat", + "canonical": "Flt" + }, + { + "tokens": [ + "Ftrl", + "Firetrail" + ], + "full": "Firetrail", + "canonical": "Ftrl" + }, + { + "tokens": [ + "Flts", + "Flats" + ], + "full": "Flats", + "canonical": "Flts" + }, + { + "tokens": [ + "FM", + "Farm-To-Market" + ], + "full": "Farm-To-Market", + "canonical": "FM", + "spanBoundaries": 2 + }, + { + "tokens": [ + "Folw", + "Follow" + ], + "full": "Follow", + "canonical": "Folw" + }, + { + "tokens": [ + "Form", + "Formation" + ], + "full": "Formation", + "canonical": "Form" + }, + { + "tokens": [ + "Frd", + "Ford" + ], + "full": "Ford", + "canonical": "Frd" + }, + { + "tokens": [ + "Frg", + "Forge" + ], + "full": "Forge", + "canonical": "Frg" + }, + { + "tokens": [ + "Frgs", + "Forges" + ], + "full": "Forges", + "canonical": "Frgs" + }, + { + "tokens": [ + "Frk", + "Fork" + ], + "full": "Fork", + "canonical": "Frk", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Frst", + "Forest" + ], + "full": "Forest", + "canonical": "Frst" + }, + { + "tokens": [ + "Frtg", + "Frontage" + ], + "full": "Frontage", + "canonical": "Frtg" + }, + { + "tokens": [ + "Fry", + "Ferry" + ], + "full": "Ferry", + "canonical": "Fry" + }, + { + "tokens": [ + "Ft", + "Feet" + ], + "full": "Feet", + "canonical": "Ft" + }, + { + "tokens": [ + "Ft", + "Fort" + ], + "full": "Fort", + "canonical": "Ft" + }, + { + "tokens": [ + "Ftwy", + "Footway" + ], + "full": "Footway", + "canonical": "Ftwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Fwy", + "Freeway" + ], + "full": "Freeway", + "canonical": "Fwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Gdns", + "Gardens" + ], + "full": "Gardens", + "canonical": "Gdns" + }, + { + "tokens": [ + "Gen", + "General" + ], + "full": "General", + "canonical": "Gen" + }, + { + "tokens": [ + "Gl", + "Galli" + ], + "full": "Galli", + "canonical": "Gl" + }, + { + "tokens": [ + "Glde", + "Glade" + ], + "full": "Glade", + "canonical": "Glde" + }, + { + "tokens": [ + "Govt", + "Government" + ], + "full": "Government", + "canonical": "Govt" + }, + { + "tokens": [ + "Gr", + "Gro", + "Grove" + ], + "full": "Grove", + "canonical": "Gr" + }, + { + "tokens": [ + "Gra", + "Grange" + ], + "full": "Grange", + "canonical": "Gra" + }, + { + "tokens": [ + "Grd", + "Grade" + ], + "full": "Grade", + "canonical": "Grd" + }, + { + "tokens": [ + "Gn", + "Grn", + "Green" + ], + "full": "Green", + "canonical": "Gn" + }, + { + "tokens": [ + "Gte", + "Gate" + ], + "full": "Gate", + "canonical": "Gte" + }, + { + "tokens": [ + "Hbr", + "Harbor" + ], + "full": "Harbor", + "canonical": "Hbr" + }, + { + "tokens": [ + "Hbrs", + "Harbors" + ], + "full": "Harbors", + "canonical": "Hbrs" + }, + { + "tokens": [ + "Hird", + "Highroad" + ], + "full": "Highroad", + "canonical": "Hird", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Hl", + "Hill" + ], + "full": "Hill", + "canonical": "Hl" + }, + { + "tokens": [ + "Hls", + "Hills" + ], + "full": "Hills", + "canonical": "Hls" + }, + { + "tokens": [ + "Holw", + "Hollow" + ], + "full": "Hollow", + "canonical": "Holw" + }, + { + "tokens": [ + "Hosp", + "Hospital" + ], + "full": "Hospital", + "canonical": "Hosp" + }, + { + "tokens": [ + "Ho", + "House" + ], + "full": "House", + "canonical": "Ho" + }, + { + "tokens": [ + "Htl", + "Hotel" + ], + "full": "Hotel", + "canonical": "Htl" + }, + { + "tokens": [ + "Hts", + "Heights" + ], + "full": "Heights", + "canonical": "Hts" + }, + { + "tokens": [ + "Hvn", + "Haven" + ], + "full": "Haven", + "canonical": "Hvn" + }, + { + "tokens": [ + "Hwy", + "Highway" + ], + "full": "Highway", + "canonical": "Hwy", + "type": "way" + }, + { + "tokens": [ + "I", + "Interstate" + ], + "full": "Interstate", + "canonical": "I" + }, + { + "tokens": [ + "Ind", + "Industrial" + ], + "full": "Industrial", + "canonical": "Ind" + }, + { + "tokens": [ + "Intg", + "Interchange" + ], + "full": "Interchange", + "canonical": "Intg" + }, + { + "tokens": [ + "Is", + "Island" + ], + "full": "Island", + "canonical": "Is" + }, + { + "tokens": [ + "Iss", + "Islands" + ], + "full": "Islands", + "canonical": "Iss" + }, + { + "tokens": [ + "Jcts", + "Junctions" + ], + "full": "Junctions", + "canonical": "Jcts" + }, + { + "tokens": [ + "Jn", + "Jct", + "Jnc", + "Junction" + ], + "full": "Junction", + "canonical": "Jn" + }, + { + "tokens": [ + "Jr", + "Junior" + ], + "full": "Junior", + "canonical": "Jr" + }, + { + "tokens": [ + "Knl", + "Knoll" + ], + "full": "Knoll", + "canonical": "Knl" + }, + { + "tokens": [ + "Knls", + "Knolls" + ], + "full": "Knolls", + "canonical": "Knls" + }, + { + "tokens": [ + "Ky", + "Key" + ], + "full": "Key", + "canonical": "Ky" + }, + { + "tokens": [ + "Kys", + "Keys" + ], + "full": "Keys", + "canonical": "Kys" + }, + { + "tokens": [ + "Lp", + "Loop" + ], + "full": "Loop", + "canonical": "Lp" + }, + { + "tokens": [ + "Lck", + "Lock" + ], + "full": "Lock", + "canonical": "Lck" + }, + { + "tokens": [ + "Lcks", + "Locks" + ], + "full": "Locks", + "canonical": "Lcks" + }, + { + "tokens": [ + "Ldg", + "Lodge" + ], + "full": "Lodge", + "canonical": "Ldg" + }, + { + "tokens": [ + "Lf", + "Loaf" + ], + "full": "Loaf", + "canonical": "Lf" + }, + { + "tokens": [ + "Lgt", + "Light" + ], + "full": "Light", + "canonical": "Lgt" + }, + { + "tokens": [ + "Lgts", + "Lights" + ], + "full": "Lights", + "canonical": "Lgts" + }, + { + "tokens": [ + "Lk", + "Lake" + ], + "full": "Lake", + "canonical": "Lk" + }, + { + "tokens": [ + "Lks", + "Lakes" + ], + "full": "Lakes", + "canonical": "Lks" + }, + { + "tokens": [ + "Lkt", + "Lookout" + ], + "full": "Lookout", + "canonical": "Lkt" + }, + { + "tokens": [ + "Ln", + "La", + "Lane" + ], + "full": "Lane", + "canonical": "Ln", + "type": "way" + }, + { + "tokens": [ + "Lndg", + "Landing" + ], + "full": "Landing", + "canonical": "Lndg" + }, + { + "tokens": [ + "Lnwy", + "Laneway" + ], + "full": "Laneway", + "canonical": "Lnwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Lt", + "Lieutenant" + ], + "full": "Lieutenant", + "canonical": "Lt" + }, + { + "tokens": [ + "Lyt", + "Layout" + ], + "full": "Layout", + "canonical": "Lyt" + }, + { + "tokens": [ + "Maj", + "Major" + ], + "full": "Major", + "canonical": "Maj" + }, + { + "tokens": [ + "Mal", + "Mall" + ], + "full": "Mall", + "canonical": "Mal" + }, + { + "tokens": [ + "Mcplty", + "Municipality" + ], + "full": "Municipality", + "canonical": "Mcplty" + }, + { + "tokens": [ + "Mdw", + "Meadow" + ], + "full": "Meadow", + "canonical": "Mdw" + }, + { + "tokens": [ + "Mdws", + "Meadows" + ], + "full": "Meadows", + "canonical": "Mdws" + }, + { + "tokens": [ + "Mws", + "Mews" + ], + "full": "Mews", + "canonical": "Mws" + }, + { + "tokens": [ + "Mg", + "Marg" + ], + "full": "Marg", + "canonical": "Mg" + }, + { + "tokens": [ + "Mhd", + "Moorhead" + ], + "full": "Moorhead", + "canonical": "Mhd" + }, + { + "tokens": [ + "Mkt", + "Market" + ], + "full": "Market", + "canonical": "Mkt" + }, + { + "tokens": [ + "Ml", + "Mill" + ], + "full": "Mill", + "canonical": "Ml" + }, + { + "tokens": [ + "Mndr", + "Meander" + ], + "full": "Meander", + "canonical": "Mndr", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Mnr", + "Manor" + ], + "full": "Manor", + "canonical": "Mnr" + }, + { + "tokens": [ + "Mnrs", + "Manors" + ], + "full": "Manors", + "canonical": "Mnrs" + }, + { + "tokens": [ + "Mq", + "Mosque" + ], + "full": "Mosque", + "canonical": "Mq" + }, + { + "tokens": [ + "Msn", + "Mission" + ], + "full": "Mission", + "canonical": "Msn" + }, + { + "tokens": [ + "Mt", + "Mount" + ], + "full": "Mount", + "canonical": "Mt" + }, + { + "tokens": [ + "Mtn", + "Mountain" + ], + "full": "Mountain", + "canonical": "Mtn" + }, + { + "tokens": [ + "Mtwy", + "Motorway" + ], + "full": "Motorway", + "canonical": "Mtwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "N", + "Nth", + "North" + ], + "full": "North", + "canonical": "N", + "type": "cardinal" + }, + { + "tokens": [ + "Nck", + "Neck" + ], + "full": "Neck", + "canonical": "Nck" + }, + { + "tokens": [ + "NE", + "Northeast" + ], + "full": "Northeast", + "canonical": "NE", + "type": "cardinal" + }, + { + "tokens": [ + "Ngr", + "Nagar" + ], + "full": "Nagar", + "canonical": "Ngr" + }, + { + "tokens": [ + "Nl", + "Nalla" + ], + "full": "Nalla", + "canonical": "Nl" + }, + { + "tokens": [ + "NW", + "Northwest" + ], + "full": "Northwest", + "canonical": "NW", + "type": "cardinal" + }, + { + "tokens": [ + "Off", + "Office" + ], + "full": "Office", + "canonical": "Off" + }, + { + "tokens": [ + "Orch", + "Orchard" + ], + "full": "Orchard", + "canonical": "Orch" + }, + { + "tokens": [ + "Otlk", + "Outlook" + ], + "full": "Outlook", + "canonical": "Otlk" + }, + { + "tokens": [ + "Ovps", + "Overpass" + ], + "full": "Overpass", + "canonical": "Ovps", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Pchyt", + "Panchayat" + ], + "full": "Panchayat", + "canonical": "Pchyt" + }, + { + "tokens": [ + "Pde", + "Parade" + ], + "full": "Parade", + "canonical": "Pde" + }, + { + "tokens": [ + "Pf", + "Platform" + ], + "full": "Platform", + "canonical": "Pf" + }, + { + "tokens": [ + "Ph", + "Phase" + ], + "full": "Phase", + "canonical": "Ph" + }, + { + "tokens": [ + "Piaz", + "Piazza" + ], + "full": "Piazza", + "canonical": "Piaz" + }, + { + "tokens": [ + "Pk", + "Pike" + ], + "full": "Pike", + "canonical": "Pk", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Pk", + "Park" + ], + "full": "Park", + "canonical": "Pk" + }, + { + "tokens": [ + "Pk", + "Peak" + ], + "full": "Peak", + "canonical": "Pk" + }, + { + "tokens": [ + "Pkt", + "Pocket" + ], + "full": "Pocket", + "canonical": "Pkt" + }, + { + "tokens": [ + "Pl", + "Place" + ], + "full": "Place", + "canonical": "Pl", + "type": "way" + }, + { + "tokens": [ + "Pln", + "Plain" + ], + "full": "Plain", + "canonical": "Pln" + }, + { + "tokens": [ + "Plns", + "Plains" + ], + "full": "Plains", + "canonical": "Plns" + }, + { + "tokens": [ + "Plz", + "Plza", + "Plaza" + ], + "full": "Plaza", + "canonical": "Plz" + }, + { + "tokens": [ + "Pr", + "Prairie" + ], + "full": "Prairie", + "canonical": "Pr" + }, + { + "tokens": [ + "Prom", + "Promenade" + ], + "full": "Promenade", + "canonical": "Prom" + }, + { + "tokens": [ + "Prt", + "Port" + ], + "full": "Port", + "canonical": "Prt" + }, + { + "tokens": [ + "Prts", + "Ports" + ], + "full": "Ports", + "canonical": "Prts" + }, + { + "tokens": [ + "Psge", + "Passage" + ], + "full": "Passage", + "canonical": "Psge" + }, + { + "tokens": [ + "Pt", + "Pnt", + "Point" + ], + "full": "Point", + "canonical": "Pt" + }, + { + "tokens": [ + "Pts", + "Points" + ], + "full": "Points", + "canonical": "Pts" + }, + { + "tokens": [ + "Pvt", + "Private" + ], + "full": "Private", + "canonical": "Pvt" + }, + { + "tokens": [ + "Pway", + "Pathway" + ], + "full": "Pathway", + "canonical": "Pway", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Py", + "Pw", + "Pky", + "Pwy", + "Pkwy", + "Prkwy", + "Parkway" + ], + "full": "Parkway", + "canonical": "Pkwy", + "type": "way" + }, + { + "tokens": [ + "Qdrt", + "Quadrant" + ], + "full": "Quadrant", + "canonical": "Qdrt" + }, + { + "tokens": [ + "Qtrs", + "Quarters" + ], + "full": "Quarters", + "canonical": "Qtrs" + }, + { + "tokens": [ + "Qy", + "Quay" + ], + "full": "Quay", + "canonical": "Qy" + }, + { + "tokens": [ + "Qys", + "Quays" + ], + "full": "Quays", + "canonical": "Qys" + }, + { + "tokens": [ + "R", + "Riv", + "River" + ], + "full": "River", + "canonical": "R" + }, + { + "tokens": [ + "Radl", + "Radial" + ], + "full": "Radial", + "canonical": "Radl" + }, + { + "tokens": [ + "Rd", + "Road" + ], + "full": "Road", + "canonical": "Rd", + "type": "way" + }, + { + "tokens": [ + "Rdg", + "Rdge", + "Ridge" + ], + "full": "Ridge", + "canonical": "Rdg", + "preferFull": true + }, + { + "tokens": [ + "Rdgs", + "Ridges" + ], + "full": "Ridges", + "canonical": "Rdgs" + }, + { + "tokens": [ + "Rds", + "Roads" + ], + "full": "Roads", + "canonical": "Rds", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Rly", + "Railway" + ], + "full": "Railway", + "canonical": "Rly" + }, + { + "tokens": [ + "Rmbl", + "Ramble" + ], + "full": "Ramble", + "canonical": "Rmbl" + }, + { + "tokens": [ + "RM", + "Ranch-To-Market" + ], + "full": "Ranch-To-Market", + "canonical": "RM", + "spanBoundaries": 2 + }, + { + "tokens": [ + "Rw", + "Row" + ], + "full": "Row", + "canonical": "Rw" + }, + { + "tokens": [ + "Rpd", + "Rapid" + ], + "full": "Rapid", + "canonical": "Rpd" + }, + { + "tokens": [ + "Rpds", + "Rapids" + ], + "full": "Rapids", + "canonical": "Rpds" + }, + { + "tokens": [ + "Rse", + "Rise" + ], + "full": "Rise", + "canonical": "Rse" + }, + { + "tokens": [ + "Rst", + "Rest" + ], + "full": "Rest", + "canonical": "Rst" + }, + { + "tokens": [ + "Rt", + "Rte", + "Route" + ], + "full": "Route", + "canonical": "Rt", + "type": "way" + }, + { + "tokens": [ + "Rtt", + "Retreat" + ], + "full": "Retreat", + "canonical": "Rtt" + }, + { + "tokens": [ + "Rty", + "Rotary" + ], + "full": "Rotary", + "canonical": "Rty", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Rw", + "Row" + ], + "full": "Row", + "canonical": "Rw" + }, + { + "tokens": [ + "S", + "Sth", + "South" + ], + "full": "South", + "canonical": "S", + "type": "cardinal" + }, + { + "tokens": [ + "Sbwy", + "Subway" + ], + "full": "Subway", + "canonical": "Sbwy" + }, + { + "tokens": [ + "SE", + "Southeast" + ], + "full": "Southeast", + "canonical": "SE", + "type": "cardinal" + }, + { + "tokens": [ + "Sgt", + "Sergeant" + ], + "full": "Sergeant", + "canonical": "Sgt" + }, + { + "tokens": [ + "Shl", + "Shoal" + ], + "full": "Shoal", + "canonical": "Shl" + }, + { + "tokens": [ + "Shls", + "Shoals" + ], + "full": "Shoals", + "canonical": "Shls" + }, + { + "tokens": [ + "Shr", + "Shore" + ], + "full": "Shore", + "canonical": "Shr" + }, + { + "tokens": [ + "Shrs", + "Shores" + ], + "full": "Shores", + "canonical": "Shrs" + }, + { + "tokens": [ + "Shun", + "Shunt" + ], + "full": "Shunt", + "canonical": "Shun" + }, + { + "tokens": [ + "Skwy", + "Skyway" + ], + "full": "Skyway", + "canonical": "Skwy" + }, + { + "tokens": [ + "Smt", + "Summit" + ], + "full": "Summit", + "canonical": "Smt" + }, + { + "tokens": [ + "Spg", + "Spring" + ], + "full": "Spring", + "canonical": "Spg" + }, + { + "tokens": [ + "Spgs", + "Springs" + ], + "full": "Springs", + "canonical": "Spgs" + }, + { + "tokens": [ + "Sq", + "Square" + ], + "full": "Square", + "canonical": "Sq" + }, + { + "tokens": [ + "Sqs", + "Squares" + ], + "full": "Squares", + "canonical": "Sqs" + }, + { + "tokens": [ + "Sr", + "Senior" + ], + "full": "Senior", + "canonical": "Sr" + }, + { + "tokens": [ + "St", + "Saint" + ], + "full": "Saint", + "canonical": "St" + }, + { + "tokens": [ + "St", + "Street" + ], + "full": "Street", + "canonical": "St", + "type": "way" + }, + { + "tokens": [ + "Stn", + "Station" + ], + "full": "Station", + "canonical": "Stn" + }, + { + "tokens": [ + "Std", + "Stadium" + ], + "full": "Stadium", + "canonical": "Std" + }, + { + "tokens": [ + "Stps", + "Steps" + ], + "full": "Steps", + "canonical": "Stps" + }, + { + "tokens": [ + "Stg", + "Stage" + ], + "full": "Stage", + "canonical": "Stg" + }, + { + "tokens": [ + "Strm", + "Stream" + ], + "full": "Stream", + "canonical": "Strm" + }, + { + "tokens": [ + "Sts", + "Streets" + ], + "full": "Streets", + "canonical": "Sts" + }, + { + "tokens": [ + "Svwy", + "Serviceway" + ], + "full": "Serviceway", + "canonical": "Svwy" + }, + { + "tokens": [ + "SW", + "Southwest" + ], + "full": "Southwest", + "canonical": "SW", + "type": "cardinal" + }, + { + "tokens": [ + "Tce", + "Ter", + "Terrace" + ], + "full": "Terrace", + "canonical": "Ter" + }, + { + "tokens": [ + "Tfwy", + "Trafficway" + ], + "full": "Trafficway", + "canonical": "Tfwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Thfr", + "Thoroughfare" + ], + "full": "Thoroughfare", + "canonical": "Thfr", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Thwy", + "Thruway" + ], + "full": "Thruway", + "canonical": "Thwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Tlwy", + "Tollway" + ], + "full": "Tollway", + "canonical": "Tlwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Tpke", + "Turnpike" + ], + "full": "Turnpike", + "canonical": "Tpke", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Tpl", + "Temple" + ], + "full": "Temple", + "canonical": "Tpl" + }, + { + "tokens": [ + "Trce", + "Trace" + ], + "full": "Trace", + "canonical": "Trce" + }, + { + "tokens": [ + "Trk", + "Track" + ], + "full": "Track", + "canonical": "Trk" + }, + { + "tokens": [ + "Tr", + "Trl", + "Trail" + ], + "full": "Trail", + "canonical": "Tr" + }, + { + "tokens": [ + "Tunl", + "Tunnel" + ], + "full": "Tunnel", + "canonical": "Tunl", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Twn", + "Town" + ], + "full": "Town", + "canonical": "Twn" + }, + { + "tokens": [ + "Un", + "Union" + ], + "full": "Union", + "canonical": "Un" + }, + { + "tokens": [ + "Univ", + "University" + ], + "full": "University", + "canonical": "Univ", + "preferFull": true + }, + { + "tokens": [ + "Unp", + "Upas", + "Underpass" + ], + "full": "Underpass", + "canonical": "Upas", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Uns", + "Unions" + ], + "full": "Unions", + "canonical": "Uns" + }, + { + "tokens": [ + "Via", + "Viad", + "Viaduct" + ], + "full": "Viaduct", + "canonical": "Via", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Vis", + "Vsta", + "Vista" + ], + "full": "Vista", + "canonical": "Vis" + }, + { + "tokens": [ + "Vl", + "Ville" + ], + "full": "Ville", + "canonical": "Vl" + }, + { + "tokens": [ + "Vlg", + "Vill", + "Village" + ], + "full": "Village", + "canonical": "Vlg" + }, + { + "tokens": [ + "Vlgs", + "Villages" + ], + "full": "Villages", + "canonical": "Vlgs" + }, + { + "tokens": [ + "Vly", + "Valley" + ], + "full": "Valley", + "canonical": "Vly" + }, + { + "tokens": [ + "Vlys", + "Valleys" + ], + "full": "Valleys", + "canonical": "Vlys" + }, + { + "tokens": [ + "Vw", + "View" + ], + "full": "View", + "canonical": "Vw" + }, + { + "tokens": [ + "Vws", + "Views" + ], + "full": "Views", + "canonical": "Vws" + }, + { + "tokens": [ + "W", + "Wst", + "West" + ], + "full": "West", + "canonical": "W", + "type": "cardinal" + }, + { + "tokens": [ + "Wd", + "Wood" + ], + "full": "Wood", + "canonical": "Wd" + }, + { + "tokens": [ + "Whrf", + "Wharf" + ], + "full": "Wharf", + "canonical": "Whrf" + }, + { + "tokens": [ + "Wkwy", + "Walkway" + ], + "full": "Walkway", + "canonical": "Wkwy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Wlk", + "Walk" + ], + "full": "Walk", + "canonical": "Wlk" + }, + { + "tokens": [ + "Wy", + "Way" + ], + "full": "Way", + "canonical": "Wy", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "X", + "Cr", + "Cres", + "Crss", + "Cross", + "Crescent" + ], + "full": "Crescent", + "canonical": "X", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "Xing", + "Crossing" + ], + "full": "Crossing", + "canonical": "Xing", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "", + "P\\.?O\\.? Box [0-9]+" + ], + "full": "P\\.?O\\.? Box [0-9]+", + "canonical": "", + "spanBoundaries": 2, + "onlyLayers": ["address"], + "type": "box", + "regex": true + }, + { + "tokens": [ + "", + "P\\.? O\\.? Box [0-9]+" + ], + "full": "P\\.? O\\.? Box [0-9]+", + "canonical": "", + "spanBoundaries": 3, + "onlyLayers": ["address"], + "type": "box", + "regex": true + }, + { + "tokens": [ + "", + "(?:suite|ste) #?(?:[A-Z]|\\d+|[A-Z]\\d+|\\d+[A-Z]|\\d+-\\d+[A-Z]?)" + ], + "full": "(?:suite|ste) #?(?:[A-Z]|\\d+|[A-Z]\\d+|\\d+[A-Z]|\\d+-\\d+[A-Z]?)", + "canonical": "", + "spanBoundaries": 1, + "onlyLayers": ["address"], + "type": "unit", + "regex": true + }, + { + "tokens": [ + "Po", + "Post Office" + ], + "full": "Post Office", + "canonical": "Po", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Rs", + "Railway Station" + ], + "full": "Railway Station", + "canonical": "Rs", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Vpo", + "Village Post Office" + ], + "full": "Village Post Office", + "canonical": "Vpo", + "spanBoundaries": 2 + }, + { + "tokens": [ + "NT", + "New Territories" + ], + "full": "New Territories", + "canonical": "NT", + "onlyCountries": ["hk"], + "spanBoundaries": 1 + }, + { + "tokens": [ + "NT", + "N.T." + ], + "full": "N.T.", + "canonical": "NT", + "onlyCountries": ["hk"] + }, + { + "tokens": [ + "", + "(?:apartment|apt|bldg|building|rm|room|unit) #?(?:[A-Z]|\\d+|[A-Z]\\d+|\\d+[A-Z]|\\d+-\\d+[A-Z]?)" + ], + "canonical": "", + "full": "(?:apartment|apt|bldg|building|rm|room|unit) #?(?:[A-Z]|\\d+|[A-Z]\\d+|\\d+[A-Z]|\\d+-\\d+[A-Z]?)", + "regex": true, + "spanBoundaries": 1, + "onlyLayers": ["address"], + "onlyCountries": ["us"], + "type": "unit" + }, + { + "tokens": [ + "", + "(?:floor|fl) #?\\d{1,3}" + ], + "canonical": "", + "full": "(?:floor|fl) #?\\d{1,3}", + "regex": true, + "spanBoundaries": 1, + "onlyLayers": ["address"], + "onlyCountries": ["us"], + "type": "unit" + }, + { + "tokens": [ + "", + "\\d{1,3}(?:st|nd|rd|th) (?:floor|fl)" + ], + "canonical": "", + "full": "\\d{1,3}(?:st|nd|rd|th) (?:floor|fl)", + "regex": true, + "spanBoundaries": 1, + "onlyLayers": ["address"], + "onlyCountries": ["us"], + "type": "unit" + }, + { + "tokens": [ + "$1", + "((?!apartment|apt|bldg|building|rm|room|unit|fl|floor|ste|suite)[a-z]{2,}) # ?(?:[A-Z]|\\d+|[A-Z]\\d+|\\d+[A-Z]|\\d+-\\d+[A-Z]?)" + ], + "canonical": "$1", + "full": "((?!apartment|apt|bldg|building|rm|room|unit|fl|floor|ste|suite)[a-z]{2,}) # ?(?:[A-Z]|\\d+|[A-Z]\\d+|\\d+[A-Z]|\\d+-\\d+[A-Z]?)", + "regex": true, + "spanBoundaries": 1, + "onlyLayers": ["address"], + "onlyCountries": ["us"], + "type": "unit" + }, + { + "tokens": [ + "$1", + "([0-9]+)(?:st|nd|rd|th)" + ], + "canonical": "$1", + "full": "([0-9]+)(?:st|nd|rd|th)", + "regex": true, + "onlyLayers": ["address"], + "onlyCountries": ["us"], + "reduceRelevance": true + }, + { + "tokens": [ + "$1$2", + "([A-Z]{1,2}[0-9][0-9A-Z]?) ?([0-9][A-Z]{2})" + ], + "full": "([A-Z]{1,2}[0-9][0-9A-Z]?) ?([0-9][A-Z]{2})", + "canonical": "$1$2", + "onlyCountries": ["gb"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true + }, + { + "tokens": [ + "$1 $2", + "([A-Z]\\d[A-Z]) ?(\\d[A-Z]\\d)" + ], + "full": "([A-Z]\\d[A-Z]) ?(\\d[A-Z]\\d)", + "canonical": "$1 $2", + "onlyCountries": ["ca"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true + } +] diff --git a/.history/tokens/es_20201214145933.json b/.history/tokens/es_20201214145933.json new file mode 100644 index 0000000..6241226 --- /dev/null +++ b/.history/tokens/es_20201214145933.json @@ -0,0 +1,1715 @@ +[ + { + "tokens": [ + "1", + "un", + "uno", + "una" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "dos" + ], + "full": "dos", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "tres" + ], + "full": "tres", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "quatre", + "cuatro" + ], + "full": "cuatro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "cinc", + "cinco" + ], + "full": "cinco", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "sis", + "seis" + ], + "full": "seis", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "set", + "siete" + ], + "full": "siete", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "vuit", + "ocho" + ], + "full": "ocho", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nou", + "nueve" + ], + "full": "nueve", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "deu", + "diez" + ], + "full": "diez", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "onze", + "once" + ], + "full": "once", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "dotze", + "doce" + ], + "full": "doce", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "tretze", + "trece" + ], + "full": "trece", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "catorze", + "catorce" + ], + "full": "catorce", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "quinze", + "quince" + ], + "full": "quince", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "setze", + "dieciseis" + ], + "full": "dieciseis", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "disset", + "diecisiete" + ], + "full": "diecisiete", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "divuit", + "dieciocho" + ], + "full": "dieciocho", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "dinou", + "diecinueve" + ], + "full": "diecinueve", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "vint", + "veinte" + ], + "full": "veinte", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "Acces", + "Acceso" + ], + "full": "Acceso", + "canonical": "Acces" + }, + { + "tokens": [ + "Aceq", + "Acequia" + ], + "full": "Acequia", + "canonical": "Aceq" + }, + { + "tokens": [ + "Alam", + "Alameda" + ], + "full": "Alameda", + "canonical": "Alam" + }, + { + "tokens": [ + "Alque", + "Alquería" + ], + "full": "Alquería", + "canonical": "Alque" + }, + { + "tokens": [ + "alc", + "alcalde" + ], + "full": "alcalde", + "canonical": "alc", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Andad", + "Andador" + ], + "full": "Andador", + "canonical": "Andad" + }, + { + "tokens": [ + "Angta", + "Angosta" + ], + "full": "Angosta", + "canonical": "Angta" + }, + { + "tokens": [ + "Apdro", + "Apeadero" + ], + "full": "Apeadero", + "canonical": "Apdro" + }, + { + "tokens": [ + "Aptos", + "Apartamentos" + ], + "full": "Apartamentos", + "canonical": "Aptos" + }, + { + "tokens": [ + "Arb", + "Arboleda" + ], + "full": "Arboleda", + "canonical": "Arb" + }, + { + "tokens": [ + "Arral", + "Arrabal" + ], + "full": "Arrabal", + "canonical": "Arral" + }, + { + "tokens": [ + "Arry", + "Arroyo" + ], + "full": "Arroyo", + "canonical": "Arry" + }, + { + "tokens": [ + "Auto", + "Autopista" + ], + "full": "Autopista", + "canonical": "Auto", + "onlyLayers": ["address"], + "note": "translates to 'freeway'", + "type": "way" + }, + { + "tokens": [ + "Autov", + "Autovía" + ], + "full": "Autovía", + "canonical": "Autov", + "onlyLayers": ["address"], + "note": "translates to 'dual carriageway'", + "type": "way" + }, + { + "tokens": [ + "Av", + "Avd", + "Avda", + "Avnda", + "Avenida", + "Avinguda" + ], + "full": "Avenida", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'", + "type": "way" + }, + { + "tokens": [ + "Bda", + "Banda" + ], + "full": "Banda", + "canonical": "B" + }, + { + "tokens": [ + "Balnr", + "Balneario" + ], + "full": "Balneario", + "canonical": "Balnr" + }, + { + "tokens": [ + "Barda", + "Barriada" + ], + "full": "Barriada", + "canonical": "Barda" + }, + { + "tokens": [ + "Bjada", + "Bajada" + ], + "full": "Bajada", + "canonical": "Bjada" + }, + { + "tokens": [ + "Blque", + "Bloque" + ], + "full": "Bloque", + "canonical": "Blque" + }, + { + "tokens": [ + "Bo", + "Barro", + "Barrio" + ], + "full": "Barrio", + "canonical": "Bo", + "type": "way" + }, + { + "tokens": [ + "Bqllo", + "Barranquil" + ], + "full": "Barranquil", + "canonical": "Bqllo" + }, + { + "tokens": [ + "Branc", + "Barranco" + ], + "full": "Barranco", + "canonical": "Branc" + }, + { + "tokens": [ + "Brzal", + "Brazal" + ], + "full": "Brazal", + "canonical": "Brzal" + }, + { + "tokens": [ + "Bulev", + "Bulevar" + ], + "full": "Bulevar", + "canonical": "Bulev", + "onlyLayers": ["address"], + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "Ca", + "Canada" + ], + "full": "Canada", + "canonical": "Ca", + "type": "way" + }, + { + "tokens": [ + "Campg", + "Camping" + ], + "full": "Camping", + "canonical": "Campg" + }, + { + "tokens": [ + "Cant", + "Cantón" + ], + "full": "Cantón", + "canonical": "Cant" + }, + { + "tokens": [ + "Canti", + "Cantina" + ], + "full": "Cantina", + "canonical": "Canti" + }, + { + "tokens": [ + "Cantr", + "Cantera" + ], + "full": "Cantera", + "canonical": "Cantr" + }, + { + "tokens": [ + "Cbtiz", + "Cobertizo" + ], + "full": "Cobertizo", + "canonical": "Cbtiz" + }, + { + "tokens": [ + "Ccvcn", + "Circunvalación" + ], + "full": "Circunvalación", + "canonical": "Ccvcn" + }, + { + "tokens": [ + "Chlet", + "Chalet" + ], + "full": "Chalet", + "canonical": "Chlet" + }, + { + "tokens": [ + "Cint", + "Cinturón" + ], + "full": "Cinturón", + "canonical": "Cint" + }, + { + "tokens": [ + "Cjla", + "Callejuela" + ], + "full": "Callejuela", + "canonical": "Cjla", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Cj", + "Cjon", + "Cllon", + "Callej", + "Callejón" + ], + "full": "Callejón", + "canonical": "Cj", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Cjto", + "Conjunto" + ], + "full": "Conjunto", + "canonical": "Cjto" + }, + { + "tokens": [ + "cer", + "cda", + "cerrada" + ], + "full": "cerrada", + "canonical": "cer", + "type": "way", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "C", + "Ca", + "Cl", + "Cll", + "Call", + "Calle", + "Carrer" + ], + "full": "Calle", + "canonical": "Cl", + "onlyLayers": ["address"], + "note": "translates to 'street' ('carrer' is Catalan)", + "type": "way" + }, + { + "tokens": [ + "kr", + "kra", + "cr", + "cra", + "carr", + "carra", + "carrera" + ], + "full": "carrera", + "canonical": "cr", + "type": "way" + }, + { + "tokens": [ + "Cllja", + "Calleja" + ], + "full": "Calleja", + "canonical": "Cllja", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Cllzo", + "Callizo" + ], + "full": "Callizo", + "canonical": "Cllzo" + }, + { + "tokens": [ + "Cm", + "Cno", + "Cam", + "Cmno", + "Cami", + "Camino" + ], + "full": "Camino", + "canonical": "Cm", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "Cnvto", + "Convento" + ], + "full": "Convento", + "canonical": "Cnvto" + }, + { + "tokens": [ + "Col", + "Colonia" + ], + "full": "Colonia", + "canonical": "Col" + }, + { + "tokens": [ + "Compj", + "Complejo" + ], + "full": "Complejo", + "canonical": "Compj" + }, + { + "tokens": [ + "Coop", + "Cooperativa" + ], + "full": "Cooperativa", + "canonical": "Coop" + }, + { + "tokens": [ + "Coste", + "Costera" + ], + "full": "Costera", + "canonical": "Coste" + }, + { + "tokens": [ + "Cro", + "Carrero" + ], + "full": "Carrero", + "canonical": "Cro" + }, + { + "tokens": [ + "Crral", + "Corral" + ], + "full": "Corral", + "canonical": "Crral" + }, + { + "tokens": [ + "Crrdo", + "Corredor" + ], + "full": "Corredor", + "canonical": "Crrdo" + }, + { + "tokens": [ + "Crril", + "Carril" + ], + "full": "Carril", + "canonical": "Crril", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Crrlo", + "Corralillo" + ], + "full": "Corralillo", + "canonical": "Crrlo" + }, + { + "tokens": [ + "Crtil", + "Carretil" + ], + "full": "Carretil", + "canonical": "Crtil" + }, + { + "tokens": [ + "Crtjo", + "Cortijo" + ], + "full": "Cortijo", + "canonical": "Crtjo" + }, + { + "tokens": [ + "Csrio", + "Caserío" + ], + "full": "Caserío", + "canonical": "Csrio" + }, + { + "tokens": [ + "Cstan", + "Costanilla" + ], + "full": "Costanilla", + "canonical": "Cstan" + }, + { + "tokens": [ + "Cr", + "Ctra", + "Carretera" + ], + "full": "Carretera", + "canonical": "Cr", + "onlyLayers": ["address"], + "note": "translates to 'highway'", + "type": "way" + }, + { + "tokens": [ + "Ctrin", + "Carreterín" + ], + "full": "Carreterín", + "canonical": "Ctrin", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "Cuadr", + "Cuadra" + ], + "full": "Cuadra", + "canonical": "Cuadr" + }, + { + "tokens": [ + "Custa", + "Cuesta" + ], + "full": "Cuesta", + "canonical": "Custa" + }, + { + "tokens": [ + "Czada", + "Calzada" + ], + "full": "Calzada", + "canonical": "Czada", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "d", + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "en" + ], + "full": "en", + "canonical": "en", + "type": "determiner", + "note": "to handle d'en" + }, + { + "tokens": [ + "dr" + ], + "full": "dr", + "canonical": "dr", + "type": "way" + }, + { + "tokens": [ + "div", + "divina" + ], + "full": "divina", + "canonical": "div" + }, + { + "tokens": [ + "ds" + ], + "full": "ds", + "canonical": "ds", + "type": "way" + }, + { + "tokens": [ + "dr", + "doctor" + ], + "full": "dr", + "canonical": "doctor", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "dels" + ], + "full": "dels", + "canonical": "dels", + "type": "determiner" + }, + { + "tokens": [ + "don", + "dona" + ], + "full": "dona", + "canonical": "don", + "type": "determiner" + }, + { + "tokens": [ + "Demar", + "Demarcación" + ], + "full": "Demarcación", + "canonical": "Demar" + }, + { + "tokens": [ + "Dhsa", + "Dehesa" + ], + "full": "Dehesa", + "canonical": "Dhsa" + }, + { + "tokens": [ + "Diag", + "Diagonal" + ], + "full": "Diagonal", + "canonical": "Diag" + }, + { + "tokens": [ + "Disem", + "Diseminado", + "Diseminados" + ], + "full": "Diseminado", + "canonical": "Disem" + }, + { + "tokens": [ + "el" + ], + "full": "el", + "canonical": "el", + "type": "determiner" + }, + { + "tokens": [ + "Edifc", + "Edificio" + ], + "full": "Edificio", + "canonical": "Edifc" + }, + { + "tokens": [ + "Empr", + "Empresa" + ], + "full": "Empresa", + "canonical": "Empr" + }, + { + "tokens": [ + "Entd", + "Entrada" + ], + "full": "Entrada", + "canonical": "Entd" + }, + { + "tokens": [ + "Esca", + "Escalera" + ], + "full": "Escalera", + "canonical": "Esca" + }, + { + "tokens": [ + "Escal", + "Escalinata" + ], + "full": "Escalinata", + "canonical": "Escal" + }, + { + "tokens": [ + "Eslda", + "Espalda" + ], + "full": "Espalda", + "canonical": "Eslda" + }, + { + "tokens": [ + "Estcn", + "Estación" + ], + "full": "Estación", + "canonical": "Estcn" + }, + { + "tokens": [ + "Estda", + "Estrada" + ], + "full": "Estrada", + "canonical": "Estda" + }, + { + "tokens": [ + "Expla", + "Explanada" + ], + "full": "Explanada", + "canonical": "Expla" + }, + { + "tokens": [ + "Extrm", + "Extramuros" + ], + "full": "Extramuros", + "canonical": "Extrm" + }, + { + "tokens": [ + "Extrr", + "Extrarradio" + ], + "full": "Extrarradio", + "canonical": "Extrr" + }, + { + "tokens": [ + "Fca", + "Fbrca", + "Fábrica" + ], + "full": "Fábrica", + "canonical": "Fca" + }, + { + "tokens": [ + "Gale", + "Galería" + ], + "full": "Galería", + "canonical": "Gale" + }, + { + "tokens": [ + "Granj", + "Granja" + ], + "full": "Granja", + "canonical": "Granj" + }, + { + "tokens": [ + "G", + "Gta", + "Glorieta" + ], + "full": "Glorieta", + "canonical": "Gta", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Hipod", + "Hipódromo" + ], + "full": "Hipódromo", + "canonical": "Hipod" + }, + { + "tokens": [ + "Jdin", + "Jardín" + ], + "full": "Jardín", + "canonical": "Jdin" + }, + { + "tokens": [ + "K", + "Kalea", + "Karrika" + ], + "full": "Karrika", + "canonical": "K", + "note": "translates to 'street' ('kalea' is Catalan)", + "type": "way" + }, + { + "tokens": [ + "L", + "La" + ], + "full": "La", + "canonical": "La", + "type": "determiner" + }, + { + "tokens": [ + "Les" + ], + "full": "Les", + "canonical": "Les", + "type": "determiner" + }, + { + "tokens": [ + "Las" + ], + "full": "Las", + "canonical": "Las", + "type": "determiner" + }, + { + "tokens": [ + "Los" + ], + "full": "Los", + "canonical": "Los", + "type": "determiner" + }, + { + "tokens": [ + "Ldera", + "Ladera" + ], + "full": "Ladera", + "canonical": "Ldera" + }, + { + "tokens": [ + "Llnra", + "Llanura" + ], + "full": "Llanura", + "canonical": "Llnra" + }, + { + "tokens": [ + "Malec", + "Malecón" + ], + "full": "Malecón", + "canonical": "Malec" + }, + { + "tokens": [ + "Martine", + "Martinez" + ], + "full": "Martinez", + "canonical": "Martine" + }, + { + "tokens": [ + "Merc", + "Mercado" + ], + "full": "Mercado", + "canonical": "Merc" + }, + { + "tokens": [ + "Mrdor", + "Mirador" + ], + "full": "Mirador", + "canonical": "Mrdor" + }, + { + "tokens": [ + "Mtrio", + "Monasterio" + ], + "full": "Monasterio", + "canonical": "Mtrio" + }, + { + "tokens": [ + "Muell", + "Muelle" + ], + "full": "Muelle", + "canonical": "Muell" + }, + { + "tokens": [ + "N" + ], + "full": "N", + "canonical": "N", + "type": "determiner", + "note": "as part of a street n' (example: n'arai)" + }, + { + "tokens": [ + "Ncleo", + "Núcleo" + ], + "full": "Núcleo", + "canonical": "Ncleo" + }, + { + "tokens": [ + "Palac", + "Palacio" + ], + "full": "Palacio", + "canonical": "Palac" + }, + { + "tokens": [ + "Pant", + "Pantano" + ], + "full": "Pantano", + "canonical": "Pant" + }, + { + "tokens": [ + "Parti", + "Particular" + ], + "full": "Particular", + "canonical": "Parti" + }, + { + "tokens": [ + "Pbdo", + "Poblado" + ], + "full": "Poblado", + "canonical": "Pbdo" + }, + { + "tokens": [ + "Pblo", + "Pueblo" + ], + "full": "Pueblo", + "canonical": "Pblo" + }, + { + "tokens": [ + "Pl", + "Pz", + "Pza", + "Plza", + "Placa", + "Plaça", + "Plaza", + "Praza" + ], + "full": "Plaza", + "canonical": "Pl", + "type": "way", + "note": "'Praza' is Glacian for square" + }, + { + "tokens": [ + "Plzla", + "Plazuela" + ], + "full": "Plazuela", + "canonical": "Plzla" + }, + { + "tokens": [ + "Pnte", + "Puente" + ], + "full": "Puente", + "canonical": "Pnte" + }, + { + "tokens": [ + "P", + "Po", + "Ps", + "Pso", + "Paseo", + "Passeig" + ], + "full": "Paseo", + "canonical": "Po", + "onlyLayers": ["address"], + "note": "translates to 'walk'", + "type": "way" + }, + { + "tokens": [ + "Polig", + "Polígono" + ], + "full": "Polígono", + "canonical": "Polig" + }, + { + "tokens": [ + "Pque", + "Parque", + "Parq", + "Pq", + "Pqe" + ], + "full": "Parque", + "canonical": "Pq", + "note": "translates to 'park'", + "type": "way" + }, + { + "tokens": [ + "Praje", + "Paraje" + ], + "full": "Paraje", + "canonical": "Praje" + }, + { + "tokens": [ + "Prol", + "Prolongación" + ], + "full": "Prolongación", + "canonical": "Prol" + }, + { + "tokens": [ + "Prtal", + "Portal" + ], + "full": "Portal", + "canonical": "Prtal" + }, + { + "tokens": [ + "Prtco", + "Pórtico" + ], + "full": "Pórtico", + "canonical": "Prtco" + }, + { + "tokens": [ + "Przla", + "Prazuela" + ], + "full": "Prazuela", + "canonical": "Przla" + }, + { + "tokens": [ + "Psaje", + "Pasaje" + ], + "full": "Pasaje", + "canonical": "Psaje", + "onlyLayers": ["address"], + "note": "translates to 'passage'", + "type": "way" + }, + { + "tokens": [ + "pj", + "passatge" + ], + "full": "passatge", + "canonical": "pj", + "onlyLayers": ["address"], + "note": "translates to 'passatge'", + "type": "way" + }, + { + "tokens": [ + "Psllo", + "Pasillo" + ], + "full": "Pasillo", + "canonical": "Psllo" + }, + { + "tokens": [ + "Pta", + "Puerta" + ], + "full": "Puerta", + "canonical": "Pta" + }, + { + "tokens": [ + "Ptda", + "Partida" + ], + "full": "Partida", + "canonical": "Ptda" + }, + { + "tokens": [ + "Ptilo", + "Portillo" + ], + "full": "Portillo", + "canonical": "Ptilo" + }, + { + "tokens": [ + "Pto", + "Puerto" + ], + "full": "Puerto", + "canonical": "Pto" + }, + { + "tokens": [ + "Pzo", + "Pasadizo" + ], + "full": "Pasadizo", + "canonical": "Pzo" + }, + { + "tokens": [ + "Pzta", + "Plazoleta" + ], + "full": "Plazoleta", + "canonical": "Pzta" + }, + { + "tokens": [ + "Rampa", + "Rampla" + ], + "full": "Rampla", + "canonical": "Rampa" + }, + { + "tokens": [ + "Rbla", + "Rambla" + ], + "full": "Rambla", + "canonical": "Rbla" + }, + { + "tokens": [ + "Rbra", + "Ribera", + "Rivera" + ], + "full": "Ribera", + "canonical": "Rbra" + }, + { + "tokens": [ + "Rcda", + "Rinconada" + ], + "full": "Rinconada", + "canonical": "Rcda" + }, + { + "tokens": [ + "Rd", + "Ronda" + ], + "full": "Ronda", + "canonical": "Rd" + }, + { + "tokens": [ + "Resid", + "Residencial" + ], + "full": "Residencial", + "canonical": "Resid" + }, + { + "tokens": [ + "rincón", + "rincon", + "rcon", + "rin", + "rncn", + "rncon" + ], + "full": "rincón", + "canonical": "rin", + "type": "way" + }, + { + "tokens": [ + "retorno", + "ret", + "rt" + ], + "full": "retorno", + "canonical": "rt", + "type": "way", + "note": "translates to 'return'" + }, + { + "tokens": [ + "Rtda", + "Rotonda" + ], + "full": "Rotonda", + "canonical": "Rtda", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "Ru", + "Rua", + "Rúa" + ], + "full": "Rúa", + "canonical": "Ru" + }, + { + "tokens": [ + "ruta", + "rta" + ], + "full": "ruta", + "canonical": "rta", + "note": "translates to 'route'", + "type": "way" + }, + { + "tokens": [ + "S", + "San", + "Sant" + ], + "full": "San", + "canonical": "S" + }, + { + "tokens": [ + "Sanat", + "Sanatorio" + ], + "full": "Sanatorio", + "canonical": "Sanat" + }, + { + "tokens": [ + "Santu", + "Santuario" + ], + "full": "Santuario", + "canonical": "Santu" + }, + { + "tokens": [ + "Sbida", + "Subida" + ], + "full": "Subida", + "canonical": "Sbida" + }, + { + "tokens": [ + "Sect", + "Sector" + ], + "full": "Sector", + "canonical": "Sect" + }, + { + "tokens": [ + "Sedra", + "Sendera" + ], + "full": "Sendera", + "canonical": "Sedra" + }, + { + "tokens": [ + "Send", + "Sendero" + ], + "full": "Sendero", + "canonical": "Send" + }, + { + "tokens": [ + "Sta", + "Santa" + ], + "full": "Santa", + "canonical": "Sta" + }, + { + "tokens": [ + "Trans", + "Tránsito" + ], + "full": "Tránsito", + "canonical": "Trans" + }, + { + "tokens": [ + "Tras", + "Trasera" + ], + "full": "Trasera", + "canonical": "Tras" + }, + { + "tokens": [ + "Tr", + "Trva", + "Travesia", + "Travessia" + ], + "full": "Travesia", + "canonical": "Tr", + "type": "way" + + }, + { + "tokens": [ + "To", + "Trrnt", + "Torrente" + ], + "full": "Torrente", + "canonical": "To", + "type": "way" + }, + { + "tokens": [ + "Trval", + "Transversal" + ], + "full": "Transversal", + "canonical": "Trval" + }, + { + "tokens": [ + "ur" + ], + "full": "ur", + "canonical": "ur", + "type": "way" + }, + { + "tokens": [ + "Urb", + "Urbanización" + ], + "full": "Urbanización", + "canonical": "Urb" + }, + { + "tokens": [ + "Vcto", + "Viaducto" + ], + "full": "Viaducto", + "canonical": "Vcto" + }, + { + "tokens": [ + "Vecin", + "Vecindario" + ], + "full": "Vecindario", + "canonical": "Vecin" + }, + { + "tokens": [ + "Ver", + "Vreda", + "Vereda" + ], + "full": "Vereda", + "canonical": "Ver" + }, + { + "tokens": [ + "Vvdas", + "Viviendas" + ], + "full": "Viviendas", + "canonical": "Vvdas" + }, + { + "tokens": [ + "CH", + "Camino hondo" + ], + "full": "Camino hondo", + "canonical": "CH", + "spanBoundaries": 1 + }, + { + "tokens": [ + "CN", + "Camino nuevo" + ], + "full": "Camino nuevo", + "canonical": "CN", + "spanBoundaries": 1 + }, + { + "tokens": [ + "CV", + "Camino viejo" + ], + "full": "Camino viejo", + "canonical": "CV", + "spanBoundaries": 1 + }, + { + "tokens": [ + "PI", + "Pgind" + ], + "full": "Pgind", + "canonical": "PI" + }, + { + "tokens": [ + "PI", + "Polígono industrial" + ], + "full": "Polígono industrial", + "canonical": "PI", + "spanBoundaries": 1 + }, + { + "tokens": [ + "pk", + "Punto kilométrico" + ], + "full": "Punto kilométrico", + "canonical": "pk", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Psmar", + "Paseo marítimo" + ], + "full": "Paseo marítimo", + "canonical": "Psmar", + "spanBoundaries": 1 + }, + { + "tokens": [ + "y" + ], + "full": "y", + "canonical": "y", + "type": "determiner" + }, + { + "tokens": [ + "gv", + "gran via" + ], + "full": "gran via", + "canonical": "gv", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/es_20201214145946.json b/.history/tokens/es_20201214145946.json new file mode 100644 index 0000000..1fc015d --- /dev/null +++ b/.history/tokens/es_20201214145946.json @@ -0,0 +1,1714 @@ +[ + { + "tokens": [ + "1", + "un", + "uno", + "una" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "dos" + ], + "full": "dos", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "tres" + ], + "full": "tres", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "quatre", + "cuatro" + ], + "full": "cuatro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "cinc", + "cinco" + ], + "full": "cinco", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "sis", + "seis" + ], + "full": "seis", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "set", + "siete" + ], + "full": "siete", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "vuit", + "ocho" + ], + "full": "ocho", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nou", + "nueve" + ], + "full": "nueve", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "deu", + "diez" + ], + "full": "diez", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "onze", + "once" + ], + "full": "once", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "dotze", + "doce" + ], + "full": "doce", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "tretze", + "trece" + ], + "full": "trece", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "catorze", + "catorce" + ], + "full": "catorce", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "quinze", + "quince" + ], + "full": "quince", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "setze", + "dieciseis" + ], + "full": "dieciseis", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "disset", + "diecisiete" + ], + "full": "diecisiete", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "divuit", + "dieciocho" + ], + "full": "dieciocho", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "dinou", + "diecinueve" + ], + "full": "diecinueve", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "vint", + "veinte" + ], + "full": "veinte", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "Acces", + "Acceso" + ], + "full": "Acceso", + "canonical": "Acces" + }, + { + "tokens": [ + "Aceq", + "Acequia" + ], + "full": "Acequia", + "canonical": "Aceq" + }, + { + "tokens": [ + "Alam", + "Alameda" + ], + "full": "Alameda", + "canonical": "Alam" + }, + { + "tokens": [ + "Alque", + "Alquería" + ], + "full": "Alquería", + "canonical": "Alque" + }, + { + "tokens": [ + "alc", + "alcalde" + ], + "full": "alcalde", + "canonical": "alc", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Andad", + "Andador" + ], + "full": "Andador", + "canonical": "Andad" + }, + { + "tokens": [ + "Angta", + "Angosta" + ], + "full": "Angosta", + "canonical": "Angta" + }, + { + "tokens": [ + "Apdro", + "Apeadero" + ], + "full": "Apeadero", + "canonical": "Apdro" + }, + { + "tokens": [ + "Aptos", + "Apartamentos" + ], + "full": "Apartamentos", + "canonical": "Aptos" + }, + { + "tokens": [ + "Arb", + "Arboleda" + ], + "full": "Arboleda", + "canonical": "Arb" + }, + { + "tokens": [ + "Arral", + "Arrabal" + ], + "full": "Arrabal", + "canonical": "Arral" + }, + { + "tokens": [ + "Arry", + "Arroyo" + ], + "full": "Arroyo", + "canonical": "Arry" + }, + { + "tokens": [ + "Auto", + "Autopista" + ], + "full": "Autopista", + "canonical": "Auto", + "onlyLayers": ["address"], + "note": "translates to 'freeway'", + "type": "way" + }, + { + "tokens": [ + "Autov", + "Autovía" + ], + "full": "Autovía", + "canonical": "Autov", + "onlyLayers": ["address"], + "note": "translates to 'dual carriageway'", + "type": "way" + }, + { + "tokens": [ + "Av", + "Avd", + "Avda", + "Avnda", + "Avenida", + "Avinguda" + ], + "full": "Avenida", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'", + "type": "way" + }, + { + "tokens": [ + "Bda", + "Banda" + ], + "full": "Banda", + "canonical": "B" + }, + { + "tokens": [ + "Balnr", + "Balneario" + ], + "full": "Balneario", + "canonical": "Balnr" + }, + { + "tokens": [ + "Barda", + "Barriada" + ], + "full": "Barriada", + "canonical": "Barda" + }, + { + "tokens": [ + "Bjada", + "Bajada" + ], + "full": "Bajada", + "canonical": "Bjada" + }, + { + "tokens": [ + "Blque", + "Bloque" + ], + "full": "Bloque", + "canonical": "Blque" + }, + { + "tokens": [ + "Bo", + "Barro", + "Barrio" + ], + "full": "Barrio", + "canonical": "Bo", + "type": "way" + }, + { + "tokens": [ + "Bqllo", + "Barranquil" + ], + "full": "Barranquil", + "canonical": "Bqllo" + }, + { + "tokens": [ + "Branc", + "Barranco" + ], + "full": "Barranco", + "canonical": "Branc" + }, + { + "tokens": [ + "Brzal", + "Brazal" + ], + "full": "Brazal", + "canonical": "Brzal" + }, + { + "tokens": [ + "Bulev", + "Bulevar" + ], + "full": "Bulevar", + "canonical": "Bulev", + "onlyLayers": ["address"], + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "Ca", + "Canada" + ], + "full": "Canada", + "canonical": "Ca", + "type": "way" + }, + { + "tokens": [ + "Campg", + "Camping" + ], + "full": "Camping", + "canonical": "Campg" + }, + { + "tokens": [ + "Cant", + "Cantón" + ], + "full": "Cantón", + "canonical": "Cant" + }, + { + "tokens": [ + "Canti", + "Cantina" + ], + "full": "Cantina", + "canonical": "Canti" + }, + { + "tokens": [ + "Cantr", + "Cantera" + ], + "full": "Cantera", + "canonical": "Cantr" + }, + { + "tokens": [ + "Cbtiz", + "Cobertizo" + ], + "full": "Cobertizo", + "canonical": "Cbtiz" + }, + { + "tokens": [ + "Ccvcn", + "Circunvalación" + ], + "full": "Circunvalación", + "canonical": "Ccvcn" + }, + { + "tokens": [ + "Chlet", + "Chalet" + ], + "full": "Chalet", + "canonical": "Chlet" + }, + { + "tokens": [ + "Cint", + "Cinturón" + ], + "full": "Cinturón", + "canonical": "Cint" + }, + { + "tokens": [ + "Cjla", + "Callejuela" + ], + "full": "Callejuela", + "canonical": "Cjla", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Cj", + "Cjon", + "Cllon", + "Callej", + "Callejón" + ], + "full": "Callejón", + "canonical": "Cj", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Cjto", + "Conjunto" + ], + "full": "Conjunto", + "canonical": "Cjto" + }, + { + "tokens": [ + "cer", + "cda", + "cerrada" + ], + "full": "cerrada", + "canonical": "cer", + "type": "way", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Ca", + "Cl", + "Cll", + "Call", + "Calle", + "Carrer" + ], + "full": "Calle", + "canonical": "Cl", + "onlyLayers": ["address"], + "note": "translates to 'street' ('carrer' is Catalan)", + "type": "way" + }, + { + "tokens": [ + "kr", + "kra", + "cr", + "cra", + "carr", + "carra", + "carrera" + ], + "full": "carrera", + "canonical": "cr", + "type": "way" + }, + { + "tokens": [ + "Cllja", + "Calleja" + ], + "full": "Calleja", + "canonical": "Cllja", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Cllzo", + "Callizo" + ], + "full": "Callizo", + "canonical": "Cllzo" + }, + { + "tokens": [ + "Cm", + "Cno", + "Cam", + "Cmno", + "Cami", + "Camino" + ], + "full": "Camino", + "canonical": "Cm", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "Cnvto", + "Convento" + ], + "full": "Convento", + "canonical": "Cnvto" + }, + { + "tokens": [ + "Col", + "Colonia" + ], + "full": "Colonia", + "canonical": "Col" + }, + { + "tokens": [ + "Compj", + "Complejo" + ], + "full": "Complejo", + "canonical": "Compj" + }, + { + "tokens": [ + "Coop", + "Cooperativa" + ], + "full": "Cooperativa", + "canonical": "Coop" + }, + { + "tokens": [ + "Coste", + "Costera" + ], + "full": "Costera", + "canonical": "Coste" + }, + { + "tokens": [ + "Cro", + "Carrero" + ], + "full": "Carrero", + "canonical": "Cro" + }, + { + "tokens": [ + "Crral", + "Corral" + ], + "full": "Corral", + "canonical": "Crral" + }, + { + "tokens": [ + "Crrdo", + "Corredor" + ], + "full": "Corredor", + "canonical": "Crrdo" + }, + { + "tokens": [ + "Crril", + "Carril" + ], + "full": "Carril", + "canonical": "Crril", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Crrlo", + "Corralillo" + ], + "full": "Corralillo", + "canonical": "Crrlo" + }, + { + "tokens": [ + "Crtil", + "Carretil" + ], + "full": "Carretil", + "canonical": "Crtil" + }, + { + "tokens": [ + "Crtjo", + "Cortijo" + ], + "full": "Cortijo", + "canonical": "Crtjo" + }, + { + "tokens": [ + "Csrio", + "Caserío" + ], + "full": "Caserío", + "canonical": "Csrio" + }, + { + "tokens": [ + "Cstan", + "Costanilla" + ], + "full": "Costanilla", + "canonical": "Cstan" + }, + { + "tokens": [ + "Cr", + "Ctra", + "Carretera" + ], + "full": "Carretera", + "canonical": "Cr", + "onlyLayers": ["address"], + "note": "translates to 'highway'", + "type": "way" + }, + { + "tokens": [ + "Ctrin", + "Carreterín" + ], + "full": "Carreterín", + "canonical": "Ctrin", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "Cuadr", + "Cuadra" + ], + "full": "Cuadra", + "canonical": "Cuadr" + }, + { + "tokens": [ + "Custa", + "Cuesta" + ], + "full": "Cuesta", + "canonical": "Custa" + }, + { + "tokens": [ + "Czada", + "Calzada" + ], + "full": "Calzada", + "canonical": "Czada", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "d", + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "en" + ], + "full": "en", + "canonical": "en", + "type": "determiner", + "note": "to handle d'en" + }, + { + "tokens": [ + "dr" + ], + "full": "dr", + "canonical": "dr", + "type": "way" + }, + { + "tokens": [ + "div", + "divina" + ], + "full": "divina", + "canonical": "div" + }, + { + "tokens": [ + "ds" + ], + "full": "ds", + "canonical": "ds", + "type": "way" + }, + { + "tokens": [ + "dr", + "doctor" + ], + "full": "dr", + "canonical": "doctor", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "dels" + ], + "full": "dels", + "canonical": "dels", + "type": "determiner" + }, + { + "tokens": [ + "don", + "dona" + ], + "full": "dona", + "canonical": "don", + "type": "determiner" + }, + { + "tokens": [ + "Demar", + "Demarcación" + ], + "full": "Demarcación", + "canonical": "Demar" + }, + { + "tokens": [ + "Dhsa", + "Dehesa" + ], + "full": "Dehesa", + "canonical": "Dhsa" + }, + { + "tokens": [ + "Diag", + "Diagonal" + ], + "full": "Diagonal", + "canonical": "Diag" + }, + { + "tokens": [ + "Disem", + "Diseminado", + "Diseminados" + ], + "full": "Diseminado", + "canonical": "Disem" + }, + { + "tokens": [ + "el" + ], + "full": "el", + "canonical": "el", + "type": "determiner" + }, + { + "tokens": [ + "Edifc", + "Edificio" + ], + "full": "Edificio", + "canonical": "Edifc" + }, + { + "tokens": [ + "Empr", + "Empresa" + ], + "full": "Empresa", + "canonical": "Empr" + }, + { + "tokens": [ + "Entd", + "Entrada" + ], + "full": "Entrada", + "canonical": "Entd" + }, + { + "tokens": [ + "Esca", + "Escalera" + ], + "full": "Escalera", + "canonical": "Esca" + }, + { + "tokens": [ + "Escal", + "Escalinata" + ], + "full": "Escalinata", + "canonical": "Escal" + }, + { + "tokens": [ + "Eslda", + "Espalda" + ], + "full": "Espalda", + "canonical": "Eslda" + }, + { + "tokens": [ + "Estcn", + "Estación" + ], + "full": "Estación", + "canonical": "Estcn" + }, + { + "tokens": [ + "Estda", + "Estrada" + ], + "full": "Estrada", + "canonical": "Estda" + }, + { + "tokens": [ + "Expla", + "Explanada" + ], + "full": "Explanada", + "canonical": "Expla" + }, + { + "tokens": [ + "Extrm", + "Extramuros" + ], + "full": "Extramuros", + "canonical": "Extrm" + }, + { + "tokens": [ + "Extrr", + "Extrarradio" + ], + "full": "Extrarradio", + "canonical": "Extrr" + }, + { + "tokens": [ + "Fca", + "Fbrca", + "Fábrica" + ], + "full": "Fábrica", + "canonical": "Fca" + }, + { + "tokens": [ + "Gale", + "Galería" + ], + "full": "Galería", + "canonical": "Gale" + }, + { + "tokens": [ + "Granj", + "Granja" + ], + "full": "Granja", + "canonical": "Granj" + }, + { + "tokens": [ + "G", + "Gta", + "Glorieta" + ], + "full": "Glorieta", + "canonical": "Gta", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Hipod", + "Hipódromo" + ], + "full": "Hipódromo", + "canonical": "Hipod" + }, + { + "tokens": [ + "Jdin", + "Jardín" + ], + "full": "Jardín", + "canonical": "Jdin" + }, + { + "tokens": [ + "K", + "Kalea", + "Karrika" + ], + "full": "Karrika", + "canonical": "K", + "note": "translates to 'street' ('kalea' is Catalan)", + "type": "way" + }, + { + "tokens": [ + "L", + "La" + ], + "full": "La", + "canonical": "La", + "type": "determiner" + }, + { + "tokens": [ + "Les" + ], + "full": "Les", + "canonical": "Les", + "type": "determiner" + }, + { + "tokens": [ + "Las" + ], + "full": "Las", + "canonical": "Las", + "type": "determiner" + }, + { + "tokens": [ + "Los" + ], + "full": "Los", + "canonical": "Los", + "type": "determiner" + }, + { + "tokens": [ + "Ldera", + "Ladera" + ], + "full": "Ladera", + "canonical": "Ldera" + }, + { + "tokens": [ + "Llnra", + "Llanura" + ], + "full": "Llanura", + "canonical": "Llnra" + }, + { + "tokens": [ + "Malec", + "Malecón" + ], + "full": "Malecón", + "canonical": "Malec" + }, + { + "tokens": [ + "Martine", + "Martinez" + ], + "full": "Martinez", + "canonical": "Martine" + }, + { + "tokens": [ + "Merc", + "Mercado" + ], + "full": "Mercado", + "canonical": "Merc" + }, + { + "tokens": [ + "Mrdor", + "Mirador" + ], + "full": "Mirador", + "canonical": "Mrdor" + }, + { + "tokens": [ + "Mtrio", + "Monasterio" + ], + "full": "Monasterio", + "canonical": "Mtrio" + }, + { + "tokens": [ + "Muell", + "Muelle" + ], + "full": "Muelle", + "canonical": "Muell" + }, + { + "tokens": [ + "N" + ], + "full": "N", + "canonical": "N", + "type": "determiner", + "note": "as part of a street n' (example: n'arai)" + }, + { + "tokens": [ + "Ncleo", + "Núcleo" + ], + "full": "Núcleo", + "canonical": "Ncleo" + }, + { + "tokens": [ + "Palac", + "Palacio" + ], + "full": "Palacio", + "canonical": "Palac" + }, + { + "tokens": [ + "Pant", + "Pantano" + ], + "full": "Pantano", + "canonical": "Pant" + }, + { + "tokens": [ + "Parti", + "Particular" + ], + "full": "Particular", + "canonical": "Parti" + }, + { + "tokens": [ + "Pbdo", + "Poblado" + ], + "full": "Poblado", + "canonical": "Pbdo" + }, + { + "tokens": [ + "Pblo", + "Pueblo" + ], + "full": "Pueblo", + "canonical": "Pblo" + }, + { + "tokens": [ + "Pl", + "Pz", + "Pza", + "Plza", + "Placa", + "Plaça", + "Plaza", + "Praza" + ], + "full": "Plaza", + "canonical": "Pl", + "type": "way", + "note": "'Praza' is Glacian for square" + }, + { + "tokens": [ + "Plzla", + "Plazuela" + ], + "full": "Plazuela", + "canonical": "Plzla" + }, + { + "tokens": [ + "Pnte", + "Puente" + ], + "full": "Puente", + "canonical": "Pnte" + }, + { + "tokens": [ + "P", + "Po", + "Ps", + "Pso", + "Paseo", + "Passeig" + ], + "full": "Paseo", + "canonical": "Po", + "onlyLayers": ["address"], + "note": "translates to 'walk'", + "type": "way" + }, + { + "tokens": [ + "Polig", + "Polígono" + ], + "full": "Polígono", + "canonical": "Polig" + }, + { + "tokens": [ + "Pque", + "Parque", + "Parq", + "Pq", + "Pqe" + ], + "full": "Parque", + "canonical": "Pq", + "note": "translates to 'park'", + "type": "way" + }, + { + "tokens": [ + "Praje", + "Paraje" + ], + "full": "Paraje", + "canonical": "Praje" + }, + { + "tokens": [ + "Prol", + "Prolongación" + ], + "full": "Prolongación", + "canonical": "Prol" + }, + { + "tokens": [ + "Prtal", + "Portal" + ], + "full": "Portal", + "canonical": "Prtal" + }, + { + "tokens": [ + "Prtco", + "Pórtico" + ], + "full": "Pórtico", + "canonical": "Prtco" + }, + { + "tokens": [ + "Przla", + "Prazuela" + ], + "full": "Prazuela", + "canonical": "Przla" + }, + { + "tokens": [ + "Psaje", + "Pasaje" + ], + "full": "Pasaje", + "canonical": "Psaje", + "onlyLayers": ["address"], + "note": "translates to 'passage'", + "type": "way" + }, + { + "tokens": [ + "pj", + "passatge" + ], + "full": "passatge", + "canonical": "pj", + "onlyLayers": ["address"], + "note": "translates to 'passatge'", + "type": "way" + }, + { + "tokens": [ + "Psllo", + "Pasillo" + ], + "full": "Pasillo", + "canonical": "Psllo" + }, + { + "tokens": [ + "Pta", + "Puerta" + ], + "full": "Puerta", + "canonical": "Pta" + }, + { + "tokens": [ + "Ptda", + "Partida" + ], + "full": "Partida", + "canonical": "Ptda" + }, + { + "tokens": [ + "Ptilo", + "Portillo" + ], + "full": "Portillo", + "canonical": "Ptilo" + }, + { + "tokens": [ + "Pto", + "Puerto" + ], + "full": "Puerto", + "canonical": "Pto" + }, + { + "tokens": [ + "Pzo", + "Pasadizo" + ], + "full": "Pasadizo", + "canonical": "Pzo" + }, + { + "tokens": [ + "Pzta", + "Plazoleta" + ], + "full": "Plazoleta", + "canonical": "Pzta" + }, + { + "tokens": [ + "Rampa", + "Rampla" + ], + "full": "Rampla", + "canonical": "Rampa" + }, + { + "tokens": [ + "Rbla", + "Rambla" + ], + "full": "Rambla", + "canonical": "Rbla" + }, + { + "tokens": [ + "Rbra", + "Ribera", + "Rivera" + ], + "full": "Ribera", + "canonical": "Rbra" + }, + { + "tokens": [ + "Rcda", + "Rinconada" + ], + "full": "Rinconada", + "canonical": "Rcda" + }, + { + "tokens": [ + "Rd", + "Ronda" + ], + "full": "Ronda", + "canonical": "Rd" + }, + { + "tokens": [ + "Resid", + "Residencial" + ], + "full": "Residencial", + "canonical": "Resid" + }, + { + "tokens": [ + "rincón", + "rincon", + "rcon", + "rin", + "rncn", + "rncon" + ], + "full": "rincón", + "canonical": "rin", + "type": "way" + }, + { + "tokens": [ + "retorno", + "ret", + "rt" + ], + "full": "retorno", + "canonical": "rt", + "type": "way", + "note": "translates to 'return'" + }, + { + "tokens": [ + "Rtda", + "Rotonda" + ], + "full": "Rotonda", + "canonical": "Rtda", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "Ru", + "Rua", + "Rúa" + ], + "full": "Rúa", + "canonical": "Ru" + }, + { + "tokens": [ + "ruta", + "rta" + ], + "full": "ruta", + "canonical": "rta", + "note": "translates to 'route'", + "type": "way" + }, + { + "tokens": [ + "S", + "San", + "Sant" + ], + "full": "San", + "canonical": "S" + }, + { + "tokens": [ + "Sanat", + "Sanatorio" + ], + "full": "Sanatorio", + "canonical": "Sanat" + }, + { + "tokens": [ + "Santu", + "Santuario" + ], + "full": "Santuario", + "canonical": "Santu" + }, + { + "tokens": [ + "Sbida", + "Subida" + ], + "full": "Subida", + "canonical": "Sbida" + }, + { + "tokens": [ + "Sect", + "Sector" + ], + "full": "Sector", + "canonical": "Sect" + }, + { + "tokens": [ + "Sedra", + "Sendera" + ], + "full": "Sendera", + "canonical": "Sedra" + }, + { + "tokens": [ + "Send", + "Sendero" + ], + "full": "Sendero", + "canonical": "Send" + }, + { + "tokens": [ + "Sta", + "Santa" + ], + "full": "Santa", + "canonical": "Sta" + }, + { + "tokens": [ + "Trans", + "Tránsito" + ], + "full": "Tránsito", + "canonical": "Trans" + }, + { + "tokens": [ + "Tras", + "Trasera" + ], + "full": "Trasera", + "canonical": "Tras" + }, + { + "tokens": [ + "Tr", + "Trva", + "Travesia", + "Travessia" + ], + "full": "Travesia", + "canonical": "Tr", + "type": "way" + + }, + { + "tokens": [ + "To", + "Trrnt", + "Torrente" + ], + "full": "Torrente", + "canonical": "To", + "type": "way" + }, + { + "tokens": [ + "Trval", + "Transversal" + ], + "full": "Transversal", + "canonical": "Trval" + }, + { + "tokens": [ + "ur" + ], + "full": "ur", + "canonical": "ur", + "type": "way" + }, + { + "tokens": [ + "Urb", + "Urbanización" + ], + "full": "Urbanización", + "canonical": "Urb" + }, + { + "tokens": [ + "Vcto", + "Viaducto" + ], + "full": "Viaducto", + "canonical": "Vcto" + }, + { + "tokens": [ + "Vecin", + "Vecindario" + ], + "full": "Vecindario", + "canonical": "Vecin" + }, + { + "tokens": [ + "Ver", + "Vreda", + "Vereda" + ], + "full": "Vereda", + "canonical": "Ver" + }, + { + "tokens": [ + "Vvdas", + "Viviendas" + ], + "full": "Viviendas", + "canonical": "Vvdas" + }, + { + "tokens": [ + "CH", + "Camino hondo" + ], + "full": "Camino hondo", + "canonical": "CH", + "spanBoundaries": 1 + }, + { + "tokens": [ + "CN", + "Camino nuevo" + ], + "full": "Camino nuevo", + "canonical": "CN", + "spanBoundaries": 1 + }, + { + "tokens": [ + "CV", + "Camino viejo" + ], + "full": "Camino viejo", + "canonical": "CV", + "spanBoundaries": 1 + }, + { + "tokens": [ + "PI", + "Pgind" + ], + "full": "Pgind", + "canonical": "PI" + }, + { + "tokens": [ + "PI", + "Polígono industrial" + ], + "full": "Polígono industrial", + "canonical": "PI", + "spanBoundaries": 1 + }, + { + "tokens": [ + "pk", + "Punto kilométrico" + ], + "full": "Punto kilométrico", + "canonical": "pk", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Psmar", + "Paseo marítimo" + ], + "full": "Paseo marítimo", + "canonical": "Psmar", + "spanBoundaries": 1 + }, + { + "tokens": [ + "y" + ], + "full": "y", + "canonical": "y", + "type": "determiner" + }, + { + "tokens": [ + "gv", + "gran via" + ], + "full": "gran via", + "canonical": "gv", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/es_20201214145959.json b/.history/tokens/es_20201214145959.json new file mode 100644 index 0000000..a320922 --- /dev/null +++ b/.history/tokens/es_20201214145959.json @@ -0,0 +1,1713 @@ +[ + { + "tokens": [ + "1", + "un", + "uno", + "una" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "dos" + ], + "full": "dos", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "tres" + ], + "full": "tres", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "quatre", + "cuatro" + ], + "full": "cuatro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "cinc", + "cinco" + ], + "full": "cinco", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "sis", + "seis" + ], + "full": "seis", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "set", + "siete" + ], + "full": "siete", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "vuit", + "ocho" + ], + "full": "ocho", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nou", + "nueve" + ], + "full": "nueve", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "deu", + "diez" + ], + "full": "diez", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "onze", + "once" + ], + "full": "once", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "dotze", + "doce" + ], + "full": "doce", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "tretze", + "trece" + ], + "full": "trece", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "catorze", + "catorce" + ], + "full": "catorce", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "quinze", + "quince" + ], + "full": "quince", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "setze", + "dieciseis" + ], + "full": "dieciseis", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "disset", + "diecisiete" + ], + "full": "diecisiete", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "divuit", + "dieciocho" + ], + "full": "dieciocho", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "dinou", + "diecinueve" + ], + "full": "diecinueve", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "vint", + "veinte" + ], + "full": "veinte", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "Acces", + "Acceso" + ], + "full": "Acceso", + "canonical": "Acces" + }, + { + "tokens": [ + "Aceq", + "Acequia" + ], + "full": "Acequia", + "canonical": "Aceq" + }, + { + "tokens": [ + "Alam", + "Alameda" + ], + "full": "Alameda", + "canonical": "Alam" + }, + { + "tokens": [ + "Alque", + "Alquería" + ], + "full": "Alquería", + "canonical": "Alque" + }, + { + "tokens": [ + "alc", + "alcalde" + ], + "full": "alcalde", + "canonical": "alc", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Andad", + "Andador" + ], + "full": "Andador", + "canonical": "Andad" + }, + { + "tokens": [ + "Angta", + "Angosta" + ], + "full": "Angosta", + "canonical": "Angta" + }, + { + "tokens": [ + "Apdro", + "Apeadero" + ], + "full": "Apeadero", + "canonical": "Apdro" + }, + { + "tokens": [ + "Aptos", + "Apartamentos" + ], + "full": "Apartamentos", + "canonical": "Aptos" + }, + { + "tokens": [ + "Arb", + "Arboleda" + ], + "full": "Arboleda", + "canonical": "Arb" + }, + { + "tokens": [ + "Arral", + "Arrabal" + ], + "full": "Arrabal", + "canonical": "Arral" + }, + { + "tokens": [ + "Arry", + "Arroyo" + ], + "full": "Arroyo", + "canonical": "Arry" + }, + { + "tokens": [ + "Auto", + "Autopista" + ], + "full": "Autopista", + "canonical": "Auto", + "onlyLayers": ["address"], + "note": "translates to 'freeway'", + "type": "way" + }, + { + "tokens": [ + "Autov", + "Autovía" + ], + "full": "Autovía", + "canonical": "Autov", + "onlyLayers": ["address"], + "note": "translates to 'dual carriageway'", + "type": "way" + }, + { + "tokens": [ + "Av", + "Avd", + "Avda", + "Avnda", + "Avenida", + "Avinguda" + ], + "full": "Avenida", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'", + "type": "way" + }, + { + "tokens": [ + "Bda", + "Banda" + ], + "full": "Banda", + "canonical": "B" + }, + { + "tokens": [ + "Balnr", + "Balneario" + ], + "full": "Balneario", + "canonical": "Balnr" + }, + { + "tokens": [ + "Barda", + "Barriada" + ], + "full": "Barriada", + "canonical": "Barda" + }, + { + "tokens": [ + "Bjada", + "Bajada" + ], + "full": "Bajada", + "canonical": "Bjada" + }, + { + "tokens": [ + "Blque", + "Bloque" + ], + "full": "Bloque", + "canonical": "Blque" + }, + { + "tokens": [ + "Bo", + "Barro", + "Barrio" + ], + "full": "Barrio", + "canonical": "Bo", + "type": "way" + }, + { + "tokens": [ + "Bqllo", + "Barranquil" + ], + "full": "Barranquil", + "canonical": "Bqllo" + }, + { + "tokens": [ + "Branc", + "Barranco" + ], + "full": "Barranco", + "canonical": "Branc" + }, + { + "tokens": [ + "Brzal", + "Brazal" + ], + "full": "Brazal", + "canonical": "Brzal" + }, + { + "tokens": [ + "Bulev", + "Bulevar" + ], + "full": "Bulevar", + "canonical": "Bulev", + "onlyLayers": ["address"], + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "Ca", + "Canada" + ], + "full": "Canada", + "canonical": "Ca", + "type": "way" + }, + { + "tokens": [ + "Campg", + "Camping" + ], + "full": "Camping", + "canonical": "Campg" + }, + { + "tokens": [ + "Cant", + "Cantón" + ], + "full": "Cantón", + "canonical": "Cant" + }, + { + "tokens": [ + "Canti", + "Cantina" + ], + "full": "Cantina", + "canonical": "Canti" + }, + { + "tokens": [ + "Cantr", + "Cantera" + ], + "full": "Cantera", + "canonical": "Cantr" + }, + { + "tokens": [ + "Cbtiz", + "Cobertizo" + ], + "full": "Cobertizo", + "canonical": "Cbtiz" + }, + { + "tokens": [ + "Ccvcn", + "Circunvalación" + ], + "full": "Circunvalación", + "canonical": "Ccvcn" + }, + { + "tokens": [ + "Chlet", + "Chalet" + ], + "full": "Chalet", + "canonical": "Chlet" + }, + { + "tokens": [ + "Cint", + "Cinturón" + ], + "full": "Cinturón", + "canonical": "Cint" + }, + { + "tokens": [ + "Cjla", + "Callejuela" + ], + "full": "Callejuela", + "canonical": "Cjla", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Cj", + "Cjon", + "Cllon", + "Callej", + "Callejón" + ], + "full": "Callejón", + "canonical": "Cj", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Cjto", + "Conjunto" + ], + "full": "Conjunto", + "canonical": "Cjto" + }, + { + "tokens": [ + "cer", + "cda", + "cerrada" + ], + "full": "cerrada", + "canonical": "cer", + "type": "way", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Ca", + "Cl", + "Cll", + "Call", + "Calle", + "Carrer" + ], + "full": "Calle", + "canonical": "Cl", + "onlyLayers": ["address"], + "note": "translates to 'street' ('carrer' is Catalan)", + "type": "way" + }, + { + "tokens": [ + "kr", + "kra", + "cr", + "cra", + "carr", + "carra", + "carrera" + ], + "full": "carrera", + "canonical": "cr", + "type": "way" + }, + { + "tokens": [ + "Cllja", + "Calleja" + ], + "full": "Calleja", + "canonical": "Cllja", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Cllzo", + "Callizo" + ], + "full": "Callizo", + "canonical": "Cllzo" + }, + { + "tokens": [ + "Cm", + "Cno", + "Cam", + "Cmno", + "Cami", + "Camino" + ], + "full": "Camino", + "canonical": "Cm", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "Cnvto", + "Convento" + ], + "full": "Convento", + "canonical": "Cnvto" + }, + { + "tokens": [ + "Col", + "Colonia" + ], + "full": "Colonia", + "canonical": "Col" + }, + { + "tokens": [ + "Compj", + "Complejo" + ], + "full": "Complejo", + "canonical": "Compj" + }, + { + "tokens": [ + "Coop", + "Cooperativa" + ], + "full": "Cooperativa", + "canonical": "Coop" + }, + { + "tokens": [ + "Coste", + "Costera" + ], + "full": "Costera", + "canonical": "Coste" + }, + { + "tokens": [ + "Cro", + "Carrero" + ], + "full": "Carrero", + "canonical": "Cro" + }, + { + "tokens": [ + "Crral", + "Corral" + ], + "full": "Corral", + "canonical": "Crral" + }, + { + "tokens": [ + "Crrdo", + "Corredor" + ], + "full": "Corredor", + "canonical": "Crrdo" + }, + { + "tokens": [ + "Crril", + "Carril" + ], + "full": "Carril", + "canonical": "Crril", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Crrlo", + "Corralillo" + ], + "full": "Corralillo", + "canonical": "Crrlo" + }, + { + "tokens": [ + "Crtil", + "Carretil" + ], + "full": "Carretil", + "canonical": "Crtil" + }, + { + "tokens": [ + "Crtjo", + "Cortijo" + ], + "full": "Cortijo", + "canonical": "Crtjo" + }, + { + "tokens": [ + "Csrio", + "Caserío" + ], + "full": "Caserío", + "canonical": "Csrio" + }, + { + "tokens": [ + "Cstan", + "Costanilla" + ], + "full": "Costanilla", + "canonical": "Cstan" + }, + { + "tokens": [ + "Cr", + "Ctra", + "Carretera" + ], + "full": "Carretera", + "canonical": "Cr", + "onlyLayers": ["address"], + "note": "translates to 'highway'", + "type": "way" + }, + { + "tokens": [ + "Ctrin", + "Carreterín" + ], + "full": "Carreterín", + "canonical": "Ctrin", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "Cuadr", + "Cuadra" + ], + "full": "Cuadra", + "canonical": "Cuadr" + }, + { + "tokens": [ + "Custa", + "Cuesta" + ], + "full": "Cuesta", + "canonical": "Custa" + }, + { + "tokens": [ + "Czada", + "Calzada" + ], + "full": "Calzada", + "canonical": "Czada", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "en" + ], + "full": "en", + "canonical": "en", + "type": "determiner", + "note": "to handle d'en" + }, + { + "tokens": [ + "dr" + ], + "full": "dr", + "canonical": "dr", + "type": "way" + }, + { + "tokens": [ + "div", + "divina" + ], + "full": "divina", + "canonical": "div" + }, + { + "tokens": [ + "ds" + ], + "full": "ds", + "canonical": "ds", + "type": "way" + }, + { + "tokens": [ + "dr", + "doctor" + ], + "full": "dr", + "canonical": "doctor", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "dels" + ], + "full": "dels", + "canonical": "dels", + "type": "determiner" + }, + { + "tokens": [ + "don", + "dona" + ], + "full": "dona", + "canonical": "don", + "type": "determiner" + }, + { + "tokens": [ + "Demar", + "Demarcación" + ], + "full": "Demarcación", + "canonical": "Demar" + }, + { + "tokens": [ + "Dhsa", + "Dehesa" + ], + "full": "Dehesa", + "canonical": "Dhsa" + }, + { + "tokens": [ + "Diag", + "Diagonal" + ], + "full": "Diagonal", + "canonical": "Diag" + }, + { + "tokens": [ + "Disem", + "Diseminado", + "Diseminados" + ], + "full": "Diseminado", + "canonical": "Disem" + }, + { + "tokens": [ + "el" + ], + "full": "el", + "canonical": "el", + "type": "determiner" + }, + { + "tokens": [ + "Edifc", + "Edificio" + ], + "full": "Edificio", + "canonical": "Edifc" + }, + { + "tokens": [ + "Empr", + "Empresa" + ], + "full": "Empresa", + "canonical": "Empr" + }, + { + "tokens": [ + "Entd", + "Entrada" + ], + "full": "Entrada", + "canonical": "Entd" + }, + { + "tokens": [ + "Esca", + "Escalera" + ], + "full": "Escalera", + "canonical": "Esca" + }, + { + "tokens": [ + "Escal", + "Escalinata" + ], + "full": "Escalinata", + "canonical": "Escal" + }, + { + "tokens": [ + "Eslda", + "Espalda" + ], + "full": "Espalda", + "canonical": "Eslda" + }, + { + "tokens": [ + "Estcn", + "Estación" + ], + "full": "Estación", + "canonical": "Estcn" + }, + { + "tokens": [ + "Estda", + "Estrada" + ], + "full": "Estrada", + "canonical": "Estda" + }, + { + "tokens": [ + "Expla", + "Explanada" + ], + "full": "Explanada", + "canonical": "Expla" + }, + { + "tokens": [ + "Extrm", + "Extramuros" + ], + "full": "Extramuros", + "canonical": "Extrm" + }, + { + "tokens": [ + "Extrr", + "Extrarradio" + ], + "full": "Extrarradio", + "canonical": "Extrr" + }, + { + "tokens": [ + "Fca", + "Fbrca", + "Fábrica" + ], + "full": "Fábrica", + "canonical": "Fca" + }, + { + "tokens": [ + "Gale", + "Galería" + ], + "full": "Galería", + "canonical": "Gale" + }, + { + "tokens": [ + "Granj", + "Granja" + ], + "full": "Granja", + "canonical": "Granj" + }, + { + "tokens": [ + "G", + "Gta", + "Glorieta" + ], + "full": "Glorieta", + "canonical": "Gta", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Hipod", + "Hipódromo" + ], + "full": "Hipódromo", + "canonical": "Hipod" + }, + { + "tokens": [ + "Jdin", + "Jardín" + ], + "full": "Jardín", + "canonical": "Jdin" + }, + { + "tokens": [ + "K", + "Kalea", + "Karrika" + ], + "full": "Karrika", + "canonical": "K", + "note": "translates to 'street' ('kalea' is Catalan)", + "type": "way" + }, + { + "tokens": [ + "L", + "La" + ], + "full": "La", + "canonical": "La", + "type": "determiner" + }, + { + "tokens": [ + "Les" + ], + "full": "Les", + "canonical": "Les", + "type": "determiner" + }, + { + "tokens": [ + "Las" + ], + "full": "Las", + "canonical": "Las", + "type": "determiner" + }, + { + "tokens": [ + "Los" + ], + "full": "Los", + "canonical": "Los", + "type": "determiner" + }, + { + "tokens": [ + "Ldera", + "Ladera" + ], + "full": "Ladera", + "canonical": "Ldera" + }, + { + "tokens": [ + "Llnra", + "Llanura" + ], + "full": "Llanura", + "canonical": "Llnra" + }, + { + "tokens": [ + "Malec", + "Malecón" + ], + "full": "Malecón", + "canonical": "Malec" + }, + { + "tokens": [ + "Martine", + "Martinez" + ], + "full": "Martinez", + "canonical": "Martine" + }, + { + "tokens": [ + "Merc", + "Mercado" + ], + "full": "Mercado", + "canonical": "Merc" + }, + { + "tokens": [ + "Mrdor", + "Mirador" + ], + "full": "Mirador", + "canonical": "Mrdor" + }, + { + "tokens": [ + "Mtrio", + "Monasterio" + ], + "full": "Monasterio", + "canonical": "Mtrio" + }, + { + "tokens": [ + "Muell", + "Muelle" + ], + "full": "Muelle", + "canonical": "Muell" + }, + { + "tokens": [ + "N" + ], + "full": "N", + "canonical": "N", + "type": "determiner", + "note": "as part of a street n' (example: n'arai)" + }, + { + "tokens": [ + "Ncleo", + "Núcleo" + ], + "full": "Núcleo", + "canonical": "Ncleo" + }, + { + "tokens": [ + "Palac", + "Palacio" + ], + "full": "Palacio", + "canonical": "Palac" + }, + { + "tokens": [ + "Pant", + "Pantano" + ], + "full": "Pantano", + "canonical": "Pant" + }, + { + "tokens": [ + "Parti", + "Particular" + ], + "full": "Particular", + "canonical": "Parti" + }, + { + "tokens": [ + "Pbdo", + "Poblado" + ], + "full": "Poblado", + "canonical": "Pbdo" + }, + { + "tokens": [ + "Pblo", + "Pueblo" + ], + "full": "Pueblo", + "canonical": "Pblo" + }, + { + "tokens": [ + "Pl", + "Pz", + "Pza", + "Plza", + "Placa", + "Plaça", + "Plaza", + "Praza" + ], + "full": "Plaza", + "canonical": "Pl", + "type": "way", + "note": "'Praza' is Glacian for square" + }, + { + "tokens": [ + "Plzla", + "Plazuela" + ], + "full": "Plazuela", + "canonical": "Plzla" + }, + { + "tokens": [ + "Pnte", + "Puente" + ], + "full": "Puente", + "canonical": "Pnte" + }, + { + "tokens": [ + "P", + "Po", + "Ps", + "Pso", + "Paseo", + "Passeig" + ], + "full": "Paseo", + "canonical": "Po", + "onlyLayers": ["address"], + "note": "translates to 'walk'", + "type": "way" + }, + { + "tokens": [ + "Polig", + "Polígono" + ], + "full": "Polígono", + "canonical": "Polig" + }, + { + "tokens": [ + "Pque", + "Parque", + "Parq", + "Pq", + "Pqe" + ], + "full": "Parque", + "canonical": "Pq", + "note": "translates to 'park'", + "type": "way" + }, + { + "tokens": [ + "Praje", + "Paraje" + ], + "full": "Paraje", + "canonical": "Praje" + }, + { + "tokens": [ + "Prol", + "Prolongación" + ], + "full": "Prolongación", + "canonical": "Prol" + }, + { + "tokens": [ + "Prtal", + "Portal" + ], + "full": "Portal", + "canonical": "Prtal" + }, + { + "tokens": [ + "Prtco", + "Pórtico" + ], + "full": "Pórtico", + "canonical": "Prtco" + }, + { + "tokens": [ + "Przla", + "Prazuela" + ], + "full": "Prazuela", + "canonical": "Przla" + }, + { + "tokens": [ + "Psaje", + "Pasaje" + ], + "full": "Pasaje", + "canonical": "Psaje", + "onlyLayers": ["address"], + "note": "translates to 'passage'", + "type": "way" + }, + { + "tokens": [ + "pj", + "passatge" + ], + "full": "passatge", + "canonical": "pj", + "onlyLayers": ["address"], + "note": "translates to 'passatge'", + "type": "way" + }, + { + "tokens": [ + "Psllo", + "Pasillo" + ], + "full": "Pasillo", + "canonical": "Psllo" + }, + { + "tokens": [ + "Pta", + "Puerta" + ], + "full": "Puerta", + "canonical": "Pta" + }, + { + "tokens": [ + "Ptda", + "Partida" + ], + "full": "Partida", + "canonical": "Ptda" + }, + { + "tokens": [ + "Ptilo", + "Portillo" + ], + "full": "Portillo", + "canonical": "Ptilo" + }, + { + "tokens": [ + "Pto", + "Puerto" + ], + "full": "Puerto", + "canonical": "Pto" + }, + { + "tokens": [ + "Pzo", + "Pasadizo" + ], + "full": "Pasadizo", + "canonical": "Pzo" + }, + { + "tokens": [ + "Pzta", + "Plazoleta" + ], + "full": "Plazoleta", + "canonical": "Pzta" + }, + { + "tokens": [ + "Rampa", + "Rampla" + ], + "full": "Rampla", + "canonical": "Rampa" + }, + { + "tokens": [ + "Rbla", + "Rambla" + ], + "full": "Rambla", + "canonical": "Rbla" + }, + { + "tokens": [ + "Rbra", + "Ribera", + "Rivera" + ], + "full": "Ribera", + "canonical": "Rbra" + }, + { + "tokens": [ + "Rcda", + "Rinconada" + ], + "full": "Rinconada", + "canonical": "Rcda" + }, + { + "tokens": [ + "Rd", + "Ronda" + ], + "full": "Ronda", + "canonical": "Rd" + }, + { + "tokens": [ + "Resid", + "Residencial" + ], + "full": "Residencial", + "canonical": "Resid" + }, + { + "tokens": [ + "rincón", + "rincon", + "rcon", + "rin", + "rncn", + "rncon" + ], + "full": "rincón", + "canonical": "rin", + "type": "way" + }, + { + "tokens": [ + "retorno", + "ret", + "rt" + ], + "full": "retorno", + "canonical": "rt", + "type": "way", + "note": "translates to 'return'" + }, + { + "tokens": [ + "Rtda", + "Rotonda" + ], + "full": "Rotonda", + "canonical": "Rtda", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "Ru", + "Rua", + "Rúa" + ], + "full": "Rúa", + "canonical": "Ru" + }, + { + "tokens": [ + "ruta", + "rta" + ], + "full": "ruta", + "canonical": "rta", + "note": "translates to 'route'", + "type": "way" + }, + { + "tokens": [ + "S", + "San", + "Sant" + ], + "full": "San", + "canonical": "S" + }, + { + "tokens": [ + "Sanat", + "Sanatorio" + ], + "full": "Sanatorio", + "canonical": "Sanat" + }, + { + "tokens": [ + "Santu", + "Santuario" + ], + "full": "Santuario", + "canonical": "Santu" + }, + { + "tokens": [ + "Sbida", + "Subida" + ], + "full": "Subida", + "canonical": "Sbida" + }, + { + "tokens": [ + "Sect", + "Sector" + ], + "full": "Sector", + "canonical": "Sect" + }, + { + "tokens": [ + "Sedra", + "Sendera" + ], + "full": "Sendera", + "canonical": "Sedra" + }, + { + "tokens": [ + "Send", + "Sendero" + ], + "full": "Sendero", + "canonical": "Send" + }, + { + "tokens": [ + "Sta", + "Santa" + ], + "full": "Santa", + "canonical": "Sta" + }, + { + "tokens": [ + "Trans", + "Tránsito" + ], + "full": "Tránsito", + "canonical": "Trans" + }, + { + "tokens": [ + "Tras", + "Trasera" + ], + "full": "Trasera", + "canonical": "Tras" + }, + { + "tokens": [ + "Tr", + "Trva", + "Travesia", + "Travessia" + ], + "full": "Travesia", + "canonical": "Tr", + "type": "way" + + }, + { + "tokens": [ + "To", + "Trrnt", + "Torrente" + ], + "full": "Torrente", + "canonical": "To", + "type": "way" + }, + { + "tokens": [ + "Trval", + "Transversal" + ], + "full": "Transversal", + "canonical": "Trval" + }, + { + "tokens": [ + "ur" + ], + "full": "ur", + "canonical": "ur", + "type": "way" + }, + { + "tokens": [ + "Urb", + "Urbanización" + ], + "full": "Urbanización", + "canonical": "Urb" + }, + { + "tokens": [ + "Vcto", + "Viaducto" + ], + "full": "Viaducto", + "canonical": "Vcto" + }, + { + "tokens": [ + "Vecin", + "Vecindario" + ], + "full": "Vecindario", + "canonical": "Vecin" + }, + { + "tokens": [ + "Ver", + "Vreda", + "Vereda" + ], + "full": "Vereda", + "canonical": "Ver" + }, + { + "tokens": [ + "Vvdas", + "Viviendas" + ], + "full": "Viviendas", + "canonical": "Vvdas" + }, + { + "tokens": [ + "CH", + "Camino hondo" + ], + "full": "Camino hondo", + "canonical": "CH", + "spanBoundaries": 1 + }, + { + "tokens": [ + "CN", + "Camino nuevo" + ], + "full": "Camino nuevo", + "canonical": "CN", + "spanBoundaries": 1 + }, + { + "tokens": [ + "CV", + "Camino viejo" + ], + "full": "Camino viejo", + "canonical": "CV", + "spanBoundaries": 1 + }, + { + "tokens": [ + "PI", + "Pgind" + ], + "full": "Pgind", + "canonical": "PI" + }, + { + "tokens": [ + "PI", + "Polígono industrial" + ], + "full": "Polígono industrial", + "canonical": "PI", + "spanBoundaries": 1 + }, + { + "tokens": [ + "pk", + "Punto kilométrico" + ], + "full": "Punto kilométrico", + "canonical": "pk", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Psmar", + "Paseo marítimo" + ], + "full": "Paseo marítimo", + "canonical": "Psmar", + "spanBoundaries": 1 + }, + { + "tokens": [ + "y" + ], + "full": "y", + "canonical": "y", + "type": "determiner" + }, + { + "tokens": [ + "gv", + "gran via" + ], + "full": "gran via", + "canonical": "gv", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/es_20201214150001.json b/.history/tokens/es_20201214150001.json new file mode 100644 index 0000000..1fc015d --- /dev/null +++ b/.history/tokens/es_20201214150001.json @@ -0,0 +1,1714 @@ +[ + { + "tokens": [ + "1", + "un", + "uno", + "una" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "dos" + ], + "full": "dos", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "tres" + ], + "full": "tres", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "quatre", + "cuatro" + ], + "full": "cuatro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "cinc", + "cinco" + ], + "full": "cinco", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "sis", + "seis" + ], + "full": "seis", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "set", + "siete" + ], + "full": "siete", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "vuit", + "ocho" + ], + "full": "ocho", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nou", + "nueve" + ], + "full": "nueve", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "deu", + "diez" + ], + "full": "diez", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "onze", + "once" + ], + "full": "once", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "dotze", + "doce" + ], + "full": "doce", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "tretze", + "trece" + ], + "full": "trece", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "catorze", + "catorce" + ], + "full": "catorce", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "quinze", + "quince" + ], + "full": "quince", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "setze", + "dieciseis" + ], + "full": "dieciseis", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "disset", + "diecisiete" + ], + "full": "diecisiete", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "divuit", + "dieciocho" + ], + "full": "dieciocho", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "dinou", + "diecinueve" + ], + "full": "diecinueve", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "vint", + "veinte" + ], + "full": "veinte", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "Acces", + "Acceso" + ], + "full": "Acceso", + "canonical": "Acces" + }, + { + "tokens": [ + "Aceq", + "Acequia" + ], + "full": "Acequia", + "canonical": "Aceq" + }, + { + "tokens": [ + "Alam", + "Alameda" + ], + "full": "Alameda", + "canonical": "Alam" + }, + { + "tokens": [ + "Alque", + "Alquería" + ], + "full": "Alquería", + "canonical": "Alque" + }, + { + "tokens": [ + "alc", + "alcalde" + ], + "full": "alcalde", + "canonical": "alc", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Andad", + "Andador" + ], + "full": "Andador", + "canonical": "Andad" + }, + { + "tokens": [ + "Angta", + "Angosta" + ], + "full": "Angosta", + "canonical": "Angta" + }, + { + "tokens": [ + "Apdro", + "Apeadero" + ], + "full": "Apeadero", + "canonical": "Apdro" + }, + { + "tokens": [ + "Aptos", + "Apartamentos" + ], + "full": "Apartamentos", + "canonical": "Aptos" + }, + { + "tokens": [ + "Arb", + "Arboleda" + ], + "full": "Arboleda", + "canonical": "Arb" + }, + { + "tokens": [ + "Arral", + "Arrabal" + ], + "full": "Arrabal", + "canonical": "Arral" + }, + { + "tokens": [ + "Arry", + "Arroyo" + ], + "full": "Arroyo", + "canonical": "Arry" + }, + { + "tokens": [ + "Auto", + "Autopista" + ], + "full": "Autopista", + "canonical": "Auto", + "onlyLayers": ["address"], + "note": "translates to 'freeway'", + "type": "way" + }, + { + "tokens": [ + "Autov", + "Autovía" + ], + "full": "Autovía", + "canonical": "Autov", + "onlyLayers": ["address"], + "note": "translates to 'dual carriageway'", + "type": "way" + }, + { + "tokens": [ + "Av", + "Avd", + "Avda", + "Avnda", + "Avenida", + "Avinguda" + ], + "full": "Avenida", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'", + "type": "way" + }, + { + "tokens": [ + "Bda", + "Banda" + ], + "full": "Banda", + "canonical": "B" + }, + { + "tokens": [ + "Balnr", + "Balneario" + ], + "full": "Balneario", + "canonical": "Balnr" + }, + { + "tokens": [ + "Barda", + "Barriada" + ], + "full": "Barriada", + "canonical": "Barda" + }, + { + "tokens": [ + "Bjada", + "Bajada" + ], + "full": "Bajada", + "canonical": "Bjada" + }, + { + "tokens": [ + "Blque", + "Bloque" + ], + "full": "Bloque", + "canonical": "Blque" + }, + { + "tokens": [ + "Bo", + "Barro", + "Barrio" + ], + "full": "Barrio", + "canonical": "Bo", + "type": "way" + }, + { + "tokens": [ + "Bqllo", + "Barranquil" + ], + "full": "Barranquil", + "canonical": "Bqllo" + }, + { + "tokens": [ + "Branc", + "Barranco" + ], + "full": "Barranco", + "canonical": "Branc" + }, + { + "tokens": [ + "Brzal", + "Brazal" + ], + "full": "Brazal", + "canonical": "Brzal" + }, + { + "tokens": [ + "Bulev", + "Bulevar" + ], + "full": "Bulevar", + "canonical": "Bulev", + "onlyLayers": ["address"], + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "Ca", + "Canada" + ], + "full": "Canada", + "canonical": "Ca", + "type": "way" + }, + { + "tokens": [ + "Campg", + "Camping" + ], + "full": "Camping", + "canonical": "Campg" + }, + { + "tokens": [ + "Cant", + "Cantón" + ], + "full": "Cantón", + "canonical": "Cant" + }, + { + "tokens": [ + "Canti", + "Cantina" + ], + "full": "Cantina", + "canonical": "Canti" + }, + { + "tokens": [ + "Cantr", + "Cantera" + ], + "full": "Cantera", + "canonical": "Cantr" + }, + { + "tokens": [ + "Cbtiz", + "Cobertizo" + ], + "full": "Cobertizo", + "canonical": "Cbtiz" + }, + { + "tokens": [ + "Ccvcn", + "Circunvalación" + ], + "full": "Circunvalación", + "canonical": "Ccvcn" + }, + { + "tokens": [ + "Chlet", + "Chalet" + ], + "full": "Chalet", + "canonical": "Chlet" + }, + { + "tokens": [ + "Cint", + "Cinturón" + ], + "full": "Cinturón", + "canonical": "Cint" + }, + { + "tokens": [ + "Cjla", + "Callejuela" + ], + "full": "Callejuela", + "canonical": "Cjla", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Cj", + "Cjon", + "Cllon", + "Callej", + "Callejón" + ], + "full": "Callejón", + "canonical": "Cj", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Cjto", + "Conjunto" + ], + "full": "Conjunto", + "canonical": "Cjto" + }, + { + "tokens": [ + "cer", + "cda", + "cerrada" + ], + "full": "cerrada", + "canonical": "cer", + "type": "way", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Ca", + "Cl", + "Cll", + "Call", + "Calle", + "Carrer" + ], + "full": "Calle", + "canonical": "Cl", + "onlyLayers": ["address"], + "note": "translates to 'street' ('carrer' is Catalan)", + "type": "way" + }, + { + "tokens": [ + "kr", + "kra", + "cr", + "cra", + "carr", + "carra", + "carrera" + ], + "full": "carrera", + "canonical": "cr", + "type": "way" + }, + { + "tokens": [ + "Cllja", + "Calleja" + ], + "full": "Calleja", + "canonical": "Cllja", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Cllzo", + "Callizo" + ], + "full": "Callizo", + "canonical": "Cllzo" + }, + { + "tokens": [ + "Cm", + "Cno", + "Cam", + "Cmno", + "Cami", + "Camino" + ], + "full": "Camino", + "canonical": "Cm", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "Cnvto", + "Convento" + ], + "full": "Convento", + "canonical": "Cnvto" + }, + { + "tokens": [ + "Col", + "Colonia" + ], + "full": "Colonia", + "canonical": "Col" + }, + { + "tokens": [ + "Compj", + "Complejo" + ], + "full": "Complejo", + "canonical": "Compj" + }, + { + "tokens": [ + "Coop", + "Cooperativa" + ], + "full": "Cooperativa", + "canonical": "Coop" + }, + { + "tokens": [ + "Coste", + "Costera" + ], + "full": "Costera", + "canonical": "Coste" + }, + { + "tokens": [ + "Cro", + "Carrero" + ], + "full": "Carrero", + "canonical": "Cro" + }, + { + "tokens": [ + "Crral", + "Corral" + ], + "full": "Corral", + "canonical": "Crral" + }, + { + "tokens": [ + "Crrdo", + "Corredor" + ], + "full": "Corredor", + "canonical": "Crrdo" + }, + { + "tokens": [ + "Crril", + "Carril" + ], + "full": "Carril", + "canonical": "Crril", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Crrlo", + "Corralillo" + ], + "full": "Corralillo", + "canonical": "Crrlo" + }, + { + "tokens": [ + "Crtil", + "Carretil" + ], + "full": "Carretil", + "canonical": "Crtil" + }, + { + "tokens": [ + "Crtjo", + "Cortijo" + ], + "full": "Cortijo", + "canonical": "Crtjo" + }, + { + "tokens": [ + "Csrio", + "Caserío" + ], + "full": "Caserío", + "canonical": "Csrio" + }, + { + "tokens": [ + "Cstan", + "Costanilla" + ], + "full": "Costanilla", + "canonical": "Cstan" + }, + { + "tokens": [ + "Cr", + "Ctra", + "Carretera" + ], + "full": "Carretera", + "canonical": "Cr", + "onlyLayers": ["address"], + "note": "translates to 'highway'", + "type": "way" + }, + { + "tokens": [ + "Ctrin", + "Carreterín" + ], + "full": "Carreterín", + "canonical": "Ctrin", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "Cuadr", + "Cuadra" + ], + "full": "Cuadra", + "canonical": "Cuadr" + }, + { + "tokens": [ + "Custa", + "Cuesta" + ], + "full": "Cuesta", + "canonical": "Custa" + }, + { + "tokens": [ + "Czada", + "Calzada" + ], + "full": "Calzada", + "canonical": "Czada", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "d", + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "en" + ], + "full": "en", + "canonical": "en", + "type": "determiner", + "note": "to handle d'en" + }, + { + "tokens": [ + "dr" + ], + "full": "dr", + "canonical": "dr", + "type": "way" + }, + { + "tokens": [ + "div", + "divina" + ], + "full": "divina", + "canonical": "div" + }, + { + "tokens": [ + "ds" + ], + "full": "ds", + "canonical": "ds", + "type": "way" + }, + { + "tokens": [ + "dr", + "doctor" + ], + "full": "dr", + "canonical": "doctor", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "dels" + ], + "full": "dels", + "canonical": "dels", + "type": "determiner" + }, + { + "tokens": [ + "don", + "dona" + ], + "full": "dona", + "canonical": "don", + "type": "determiner" + }, + { + "tokens": [ + "Demar", + "Demarcación" + ], + "full": "Demarcación", + "canonical": "Demar" + }, + { + "tokens": [ + "Dhsa", + "Dehesa" + ], + "full": "Dehesa", + "canonical": "Dhsa" + }, + { + "tokens": [ + "Diag", + "Diagonal" + ], + "full": "Diagonal", + "canonical": "Diag" + }, + { + "tokens": [ + "Disem", + "Diseminado", + "Diseminados" + ], + "full": "Diseminado", + "canonical": "Disem" + }, + { + "tokens": [ + "el" + ], + "full": "el", + "canonical": "el", + "type": "determiner" + }, + { + "tokens": [ + "Edifc", + "Edificio" + ], + "full": "Edificio", + "canonical": "Edifc" + }, + { + "tokens": [ + "Empr", + "Empresa" + ], + "full": "Empresa", + "canonical": "Empr" + }, + { + "tokens": [ + "Entd", + "Entrada" + ], + "full": "Entrada", + "canonical": "Entd" + }, + { + "tokens": [ + "Esca", + "Escalera" + ], + "full": "Escalera", + "canonical": "Esca" + }, + { + "tokens": [ + "Escal", + "Escalinata" + ], + "full": "Escalinata", + "canonical": "Escal" + }, + { + "tokens": [ + "Eslda", + "Espalda" + ], + "full": "Espalda", + "canonical": "Eslda" + }, + { + "tokens": [ + "Estcn", + "Estación" + ], + "full": "Estación", + "canonical": "Estcn" + }, + { + "tokens": [ + "Estda", + "Estrada" + ], + "full": "Estrada", + "canonical": "Estda" + }, + { + "tokens": [ + "Expla", + "Explanada" + ], + "full": "Explanada", + "canonical": "Expla" + }, + { + "tokens": [ + "Extrm", + "Extramuros" + ], + "full": "Extramuros", + "canonical": "Extrm" + }, + { + "tokens": [ + "Extrr", + "Extrarradio" + ], + "full": "Extrarradio", + "canonical": "Extrr" + }, + { + "tokens": [ + "Fca", + "Fbrca", + "Fábrica" + ], + "full": "Fábrica", + "canonical": "Fca" + }, + { + "tokens": [ + "Gale", + "Galería" + ], + "full": "Galería", + "canonical": "Gale" + }, + { + "tokens": [ + "Granj", + "Granja" + ], + "full": "Granja", + "canonical": "Granj" + }, + { + "tokens": [ + "G", + "Gta", + "Glorieta" + ], + "full": "Glorieta", + "canonical": "Gta", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Hipod", + "Hipódromo" + ], + "full": "Hipódromo", + "canonical": "Hipod" + }, + { + "tokens": [ + "Jdin", + "Jardín" + ], + "full": "Jardín", + "canonical": "Jdin" + }, + { + "tokens": [ + "K", + "Kalea", + "Karrika" + ], + "full": "Karrika", + "canonical": "K", + "note": "translates to 'street' ('kalea' is Catalan)", + "type": "way" + }, + { + "tokens": [ + "L", + "La" + ], + "full": "La", + "canonical": "La", + "type": "determiner" + }, + { + "tokens": [ + "Les" + ], + "full": "Les", + "canonical": "Les", + "type": "determiner" + }, + { + "tokens": [ + "Las" + ], + "full": "Las", + "canonical": "Las", + "type": "determiner" + }, + { + "tokens": [ + "Los" + ], + "full": "Los", + "canonical": "Los", + "type": "determiner" + }, + { + "tokens": [ + "Ldera", + "Ladera" + ], + "full": "Ladera", + "canonical": "Ldera" + }, + { + "tokens": [ + "Llnra", + "Llanura" + ], + "full": "Llanura", + "canonical": "Llnra" + }, + { + "tokens": [ + "Malec", + "Malecón" + ], + "full": "Malecón", + "canonical": "Malec" + }, + { + "tokens": [ + "Martine", + "Martinez" + ], + "full": "Martinez", + "canonical": "Martine" + }, + { + "tokens": [ + "Merc", + "Mercado" + ], + "full": "Mercado", + "canonical": "Merc" + }, + { + "tokens": [ + "Mrdor", + "Mirador" + ], + "full": "Mirador", + "canonical": "Mrdor" + }, + { + "tokens": [ + "Mtrio", + "Monasterio" + ], + "full": "Monasterio", + "canonical": "Mtrio" + }, + { + "tokens": [ + "Muell", + "Muelle" + ], + "full": "Muelle", + "canonical": "Muell" + }, + { + "tokens": [ + "N" + ], + "full": "N", + "canonical": "N", + "type": "determiner", + "note": "as part of a street n' (example: n'arai)" + }, + { + "tokens": [ + "Ncleo", + "Núcleo" + ], + "full": "Núcleo", + "canonical": "Ncleo" + }, + { + "tokens": [ + "Palac", + "Palacio" + ], + "full": "Palacio", + "canonical": "Palac" + }, + { + "tokens": [ + "Pant", + "Pantano" + ], + "full": "Pantano", + "canonical": "Pant" + }, + { + "tokens": [ + "Parti", + "Particular" + ], + "full": "Particular", + "canonical": "Parti" + }, + { + "tokens": [ + "Pbdo", + "Poblado" + ], + "full": "Poblado", + "canonical": "Pbdo" + }, + { + "tokens": [ + "Pblo", + "Pueblo" + ], + "full": "Pueblo", + "canonical": "Pblo" + }, + { + "tokens": [ + "Pl", + "Pz", + "Pza", + "Plza", + "Placa", + "Plaça", + "Plaza", + "Praza" + ], + "full": "Plaza", + "canonical": "Pl", + "type": "way", + "note": "'Praza' is Glacian for square" + }, + { + "tokens": [ + "Plzla", + "Plazuela" + ], + "full": "Plazuela", + "canonical": "Plzla" + }, + { + "tokens": [ + "Pnte", + "Puente" + ], + "full": "Puente", + "canonical": "Pnte" + }, + { + "tokens": [ + "P", + "Po", + "Ps", + "Pso", + "Paseo", + "Passeig" + ], + "full": "Paseo", + "canonical": "Po", + "onlyLayers": ["address"], + "note": "translates to 'walk'", + "type": "way" + }, + { + "tokens": [ + "Polig", + "Polígono" + ], + "full": "Polígono", + "canonical": "Polig" + }, + { + "tokens": [ + "Pque", + "Parque", + "Parq", + "Pq", + "Pqe" + ], + "full": "Parque", + "canonical": "Pq", + "note": "translates to 'park'", + "type": "way" + }, + { + "tokens": [ + "Praje", + "Paraje" + ], + "full": "Paraje", + "canonical": "Praje" + }, + { + "tokens": [ + "Prol", + "Prolongación" + ], + "full": "Prolongación", + "canonical": "Prol" + }, + { + "tokens": [ + "Prtal", + "Portal" + ], + "full": "Portal", + "canonical": "Prtal" + }, + { + "tokens": [ + "Prtco", + "Pórtico" + ], + "full": "Pórtico", + "canonical": "Prtco" + }, + { + "tokens": [ + "Przla", + "Prazuela" + ], + "full": "Prazuela", + "canonical": "Przla" + }, + { + "tokens": [ + "Psaje", + "Pasaje" + ], + "full": "Pasaje", + "canonical": "Psaje", + "onlyLayers": ["address"], + "note": "translates to 'passage'", + "type": "way" + }, + { + "tokens": [ + "pj", + "passatge" + ], + "full": "passatge", + "canonical": "pj", + "onlyLayers": ["address"], + "note": "translates to 'passatge'", + "type": "way" + }, + { + "tokens": [ + "Psllo", + "Pasillo" + ], + "full": "Pasillo", + "canonical": "Psllo" + }, + { + "tokens": [ + "Pta", + "Puerta" + ], + "full": "Puerta", + "canonical": "Pta" + }, + { + "tokens": [ + "Ptda", + "Partida" + ], + "full": "Partida", + "canonical": "Ptda" + }, + { + "tokens": [ + "Ptilo", + "Portillo" + ], + "full": "Portillo", + "canonical": "Ptilo" + }, + { + "tokens": [ + "Pto", + "Puerto" + ], + "full": "Puerto", + "canonical": "Pto" + }, + { + "tokens": [ + "Pzo", + "Pasadizo" + ], + "full": "Pasadizo", + "canonical": "Pzo" + }, + { + "tokens": [ + "Pzta", + "Plazoleta" + ], + "full": "Plazoleta", + "canonical": "Pzta" + }, + { + "tokens": [ + "Rampa", + "Rampla" + ], + "full": "Rampla", + "canonical": "Rampa" + }, + { + "tokens": [ + "Rbla", + "Rambla" + ], + "full": "Rambla", + "canonical": "Rbla" + }, + { + "tokens": [ + "Rbra", + "Ribera", + "Rivera" + ], + "full": "Ribera", + "canonical": "Rbra" + }, + { + "tokens": [ + "Rcda", + "Rinconada" + ], + "full": "Rinconada", + "canonical": "Rcda" + }, + { + "tokens": [ + "Rd", + "Ronda" + ], + "full": "Ronda", + "canonical": "Rd" + }, + { + "tokens": [ + "Resid", + "Residencial" + ], + "full": "Residencial", + "canonical": "Resid" + }, + { + "tokens": [ + "rincón", + "rincon", + "rcon", + "rin", + "rncn", + "rncon" + ], + "full": "rincón", + "canonical": "rin", + "type": "way" + }, + { + "tokens": [ + "retorno", + "ret", + "rt" + ], + "full": "retorno", + "canonical": "rt", + "type": "way", + "note": "translates to 'return'" + }, + { + "tokens": [ + "Rtda", + "Rotonda" + ], + "full": "Rotonda", + "canonical": "Rtda", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "Ru", + "Rua", + "Rúa" + ], + "full": "Rúa", + "canonical": "Ru" + }, + { + "tokens": [ + "ruta", + "rta" + ], + "full": "ruta", + "canonical": "rta", + "note": "translates to 'route'", + "type": "way" + }, + { + "tokens": [ + "S", + "San", + "Sant" + ], + "full": "San", + "canonical": "S" + }, + { + "tokens": [ + "Sanat", + "Sanatorio" + ], + "full": "Sanatorio", + "canonical": "Sanat" + }, + { + "tokens": [ + "Santu", + "Santuario" + ], + "full": "Santuario", + "canonical": "Santu" + }, + { + "tokens": [ + "Sbida", + "Subida" + ], + "full": "Subida", + "canonical": "Sbida" + }, + { + "tokens": [ + "Sect", + "Sector" + ], + "full": "Sector", + "canonical": "Sect" + }, + { + "tokens": [ + "Sedra", + "Sendera" + ], + "full": "Sendera", + "canonical": "Sedra" + }, + { + "tokens": [ + "Send", + "Sendero" + ], + "full": "Sendero", + "canonical": "Send" + }, + { + "tokens": [ + "Sta", + "Santa" + ], + "full": "Santa", + "canonical": "Sta" + }, + { + "tokens": [ + "Trans", + "Tránsito" + ], + "full": "Tránsito", + "canonical": "Trans" + }, + { + "tokens": [ + "Tras", + "Trasera" + ], + "full": "Trasera", + "canonical": "Tras" + }, + { + "tokens": [ + "Tr", + "Trva", + "Travesia", + "Travessia" + ], + "full": "Travesia", + "canonical": "Tr", + "type": "way" + + }, + { + "tokens": [ + "To", + "Trrnt", + "Torrente" + ], + "full": "Torrente", + "canonical": "To", + "type": "way" + }, + { + "tokens": [ + "Trval", + "Transversal" + ], + "full": "Transversal", + "canonical": "Trval" + }, + { + "tokens": [ + "ur" + ], + "full": "ur", + "canonical": "ur", + "type": "way" + }, + { + "tokens": [ + "Urb", + "Urbanización" + ], + "full": "Urbanización", + "canonical": "Urb" + }, + { + "tokens": [ + "Vcto", + "Viaducto" + ], + "full": "Viaducto", + "canonical": "Vcto" + }, + { + "tokens": [ + "Vecin", + "Vecindario" + ], + "full": "Vecindario", + "canonical": "Vecin" + }, + { + "tokens": [ + "Ver", + "Vreda", + "Vereda" + ], + "full": "Vereda", + "canonical": "Ver" + }, + { + "tokens": [ + "Vvdas", + "Viviendas" + ], + "full": "Viviendas", + "canonical": "Vvdas" + }, + { + "tokens": [ + "CH", + "Camino hondo" + ], + "full": "Camino hondo", + "canonical": "CH", + "spanBoundaries": 1 + }, + { + "tokens": [ + "CN", + "Camino nuevo" + ], + "full": "Camino nuevo", + "canonical": "CN", + "spanBoundaries": 1 + }, + { + "tokens": [ + "CV", + "Camino viejo" + ], + "full": "Camino viejo", + "canonical": "CV", + "spanBoundaries": 1 + }, + { + "tokens": [ + "PI", + "Pgind" + ], + "full": "Pgind", + "canonical": "PI" + }, + { + "tokens": [ + "PI", + "Polígono industrial" + ], + "full": "Polígono industrial", + "canonical": "PI", + "spanBoundaries": 1 + }, + { + "tokens": [ + "pk", + "Punto kilométrico" + ], + "full": "Punto kilométrico", + "canonical": "pk", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Psmar", + "Paseo marítimo" + ], + "full": "Paseo marítimo", + "canonical": "Psmar", + "spanBoundaries": 1 + }, + { + "tokens": [ + "y" + ], + "full": "y", + "canonical": "y", + "type": "determiner" + }, + { + "tokens": [ + "gv", + "gran via" + ], + "full": "gran via", + "canonical": "gv", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/es_20201214150014.json b/.history/tokens/es_20201214150014.json new file mode 100644 index 0000000..05fdcbb --- /dev/null +++ b/.history/tokens/es_20201214150014.json @@ -0,0 +1,1713 @@ +[ + { + "tokens": [ + "1", + "un", + "uno", + "una" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "dos" + ], + "full": "dos", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "tres" + ], + "full": "tres", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "quatre", + "cuatro" + ], + "full": "cuatro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "cinc", + "cinco" + ], + "full": "cinco", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "sis", + "seis" + ], + "full": "seis", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "set", + "siete" + ], + "full": "siete", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "vuit", + "ocho" + ], + "full": "ocho", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nou", + "nueve" + ], + "full": "nueve", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "deu", + "diez" + ], + "full": "diez", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "onze", + "once" + ], + "full": "once", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "dotze", + "doce" + ], + "full": "doce", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "tretze", + "trece" + ], + "full": "trece", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "catorze", + "catorce" + ], + "full": "catorce", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "quinze", + "quince" + ], + "full": "quince", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "setze", + "dieciseis" + ], + "full": "dieciseis", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "disset", + "diecisiete" + ], + "full": "diecisiete", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "divuit", + "dieciocho" + ], + "full": "dieciocho", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "dinou", + "diecinueve" + ], + "full": "diecinueve", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "vint", + "veinte" + ], + "full": "veinte", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "Acces", + "Acceso" + ], + "full": "Acceso", + "canonical": "Acces" + }, + { + "tokens": [ + "Aceq", + "Acequia" + ], + "full": "Acequia", + "canonical": "Aceq" + }, + { + "tokens": [ + "Alam", + "Alameda" + ], + "full": "Alameda", + "canonical": "Alam" + }, + { + "tokens": [ + "Alque", + "Alquería" + ], + "full": "Alquería", + "canonical": "Alque" + }, + { + "tokens": [ + "alc", + "alcalde" + ], + "full": "alcalde", + "canonical": "alc", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Andad", + "Andador" + ], + "full": "Andador", + "canonical": "Andad" + }, + { + "tokens": [ + "Angta", + "Angosta" + ], + "full": "Angosta", + "canonical": "Angta" + }, + { + "tokens": [ + "Apdro", + "Apeadero" + ], + "full": "Apeadero", + "canonical": "Apdro" + }, + { + "tokens": [ + "Aptos", + "Apartamentos" + ], + "full": "Apartamentos", + "canonical": "Aptos" + }, + { + "tokens": [ + "Arb", + "Arboleda" + ], + "full": "Arboleda", + "canonical": "Arb" + }, + { + "tokens": [ + "Arral", + "Arrabal" + ], + "full": "Arrabal", + "canonical": "Arral" + }, + { + "tokens": [ + "Arry", + "Arroyo" + ], + "full": "Arroyo", + "canonical": "Arry" + }, + { + "tokens": [ + "Auto", + "Autopista" + ], + "full": "Autopista", + "canonical": "Auto", + "onlyLayers": ["address"], + "note": "translates to 'freeway'", + "type": "way" + }, + { + "tokens": [ + "Autov", + "Autovía" + ], + "full": "Autovía", + "canonical": "Autov", + "onlyLayers": ["address"], + "note": "translates to 'dual carriageway'", + "type": "way" + }, + { + "tokens": [ + "Av", + "Avd", + "Avda", + "Avnda", + "Avenida", + "Avinguda" + ], + "full": "Avenida", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'", + "type": "way" + }, + { + "tokens": [ + "Bda", + "Banda" + ], + "full": "Banda", + "canonical": "B" + }, + { + "tokens": [ + "Balnr", + "Balneario" + ], + "full": "Balneario", + "canonical": "Balnr" + }, + { + "tokens": [ + "Barda", + "Barriada" + ], + "full": "Barriada", + "canonical": "Barda" + }, + { + "tokens": [ + "Bjada", + "Bajada" + ], + "full": "Bajada", + "canonical": "Bjada" + }, + { + "tokens": [ + "Blque", + "Bloque" + ], + "full": "Bloque", + "canonical": "Blque" + }, + { + "tokens": [ + "Bo", + "Barro", + "Barrio" + ], + "full": "Barrio", + "canonical": "Bo", + "type": "way" + }, + { + "tokens": [ + "Bqllo", + "Barranquil" + ], + "full": "Barranquil", + "canonical": "Bqllo" + }, + { + "tokens": [ + "Branc", + "Barranco" + ], + "full": "Barranco", + "canonical": "Branc" + }, + { + "tokens": [ + "Brzal", + "Brazal" + ], + "full": "Brazal", + "canonical": "Brzal" + }, + { + "tokens": [ + "Bulev", + "Bulevar" + ], + "full": "Bulevar", + "canonical": "Bulev", + "onlyLayers": ["address"], + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "Ca", + "Canada" + ], + "full": "Canada", + "canonical": "Ca", + "type": "way" + }, + { + "tokens": [ + "Campg", + "Camping" + ], + "full": "Camping", + "canonical": "Campg" + }, + { + "tokens": [ + "Cant", + "Cantón" + ], + "full": "Cantón", + "canonical": "Cant" + }, + { + "tokens": [ + "Canti", + "Cantina" + ], + "full": "Cantina", + "canonical": "Canti" + }, + { + "tokens": [ + "Cantr", + "Cantera" + ], + "full": "Cantera", + "canonical": "Cantr" + }, + { + "tokens": [ + "Cbtiz", + "Cobertizo" + ], + "full": "Cobertizo", + "canonical": "Cbtiz" + }, + { + "tokens": [ + "Ccvcn", + "Circunvalación" + ], + "full": "Circunvalación", + "canonical": "Ccvcn" + }, + { + "tokens": [ + "Chlet", + "Chalet" + ], + "full": "Chalet", + "canonical": "Chlet" + }, + { + "tokens": [ + "Cint", + "Cinturón" + ], + "full": "Cinturón", + "canonical": "Cint" + }, + { + "tokens": [ + "Cjla", + "Callejuela" + ], + "full": "Callejuela", + "canonical": "Cjla", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Cj", + "Cjon", + "Cllon", + "Callej", + "Callejón" + ], + "full": "Callejón", + "canonical": "Cj", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Cjto", + "Conjunto" + ], + "full": "Conjunto", + "canonical": "Cjto" + }, + { + "tokens": [ + "cer", + "cda", + "cerrada" + ], + "full": "cerrada", + "canonical": "cer", + "type": "way", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Ca", + "Cl", + "Cll", + "Call", + "Calle", + "Carrer" + ], + "full": "Calle", + "canonical": "Cl", + "onlyLayers": ["address"], + "note": "translates to 'street' ('carrer' is Catalan)", + "type": "way" + }, + { + "tokens": [ + "kr", + "kra", + "cr", + "cra", + "carr", + "carra", + "carrera" + ], + "full": "carrera", + "canonical": "cr", + "type": "way" + }, + { + "tokens": [ + "Cllja", + "Calleja" + ], + "full": "Calleja", + "canonical": "Cllja", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Cllzo", + "Callizo" + ], + "full": "Callizo", + "canonical": "Cllzo" + }, + { + "tokens": [ + "Cm", + "Cno", + "Cam", + "Cmno", + "Cami", + "Camino" + ], + "full": "Camino", + "canonical": "Cm", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "Cnvto", + "Convento" + ], + "full": "Convento", + "canonical": "Cnvto" + }, + { + "tokens": [ + "Col", + "Colonia" + ], + "full": "Colonia", + "canonical": "Col" + }, + { + "tokens": [ + "Compj", + "Complejo" + ], + "full": "Complejo", + "canonical": "Compj" + }, + { + "tokens": [ + "Coop", + "Cooperativa" + ], + "full": "Cooperativa", + "canonical": "Coop" + }, + { + "tokens": [ + "Coste", + "Costera" + ], + "full": "Costera", + "canonical": "Coste" + }, + { + "tokens": [ + "Cro", + "Carrero" + ], + "full": "Carrero", + "canonical": "Cro" + }, + { + "tokens": [ + "Crral", + "Corral" + ], + "full": "Corral", + "canonical": "Crral" + }, + { + "tokens": [ + "Crrdo", + "Corredor" + ], + "full": "Corredor", + "canonical": "Crrdo" + }, + { + "tokens": [ + "Crril", + "Carril" + ], + "full": "Carril", + "canonical": "Crril", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Crrlo", + "Corralillo" + ], + "full": "Corralillo", + "canonical": "Crrlo" + }, + { + "tokens": [ + "Crtil", + "Carretil" + ], + "full": "Carretil", + "canonical": "Crtil" + }, + { + "tokens": [ + "Crtjo", + "Cortijo" + ], + "full": "Cortijo", + "canonical": "Crtjo" + }, + { + "tokens": [ + "Csrio", + "Caserío" + ], + "full": "Caserío", + "canonical": "Csrio" + }, + { + "tokens": [ + "Cstan", + "Costanilla" + ], + "full": "Costanilla", + "canonical": "Cstan" + }, + { + "tokens": [ + "Cr", + "Ctra", + "Carretera" + ], + "full": "Carretera", + "canonical": "Cr", + "onlyLayers": ["address"], + "note": "translates to 'highway'", + "type": "way" + }, + { + "tokens": [ + "Ctrin", + "Carreterín" + ], + "full": "Carreterín", + "canonical": "Ctrin", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "Cuadr", + "Cuadra" + ], + "full": "Cuadra", + "canonical": "Cuadr" + }, + { + "tokens": [ + "Custa", + "Cuesta" + ], + "full": "Cuesta", + "canonical": "Custa" + }, + { + "tokens": [ + "Czada", + "Calzada" + ], + "full": "Calzada", + "canonical": "Czada", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "d", + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "en" + ], + "full": "en", + "canonical": "en", + "type": "determiner", + "note": "to handle d'en" + }, + { + "tokens": [ + "dr" + ], + "full": "dr", + "canonical": "dr", + "type": "way" + }, + { + "tokens": [ + "div", + "divina" + ], + "full": "divina", + "canonical": "div" + }, + { + "tokens": [ + "ds" + ], + "full": "ds", + "canonical": "ds", + "type": "way" + }, + { + "tokens": [ + "dr", + "doctor" + ], + "full": "dr", + "canonical": "doctor", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "dels" + ], + "full": "dels", + "canonical": "dels", + "type": "determiner" + }, + { + "tokens": [ + "don", + "dona" + ], + "full": "dona", + "canonical": "don", + "type": "determiner" + }, + { + "tokens": [ + "Demar", + "Demarcación" + ], + "full": "Demarcación", + "canonical": "Demar" + }, + { + "tokens": [ + "Dhsa", + "Dehesa" + ], + "full": "Dehesa", + "canonical": "Dhsa" + }, + { + "tokens": [ + "Diag", + "Diagonal" + ], + "full": "Diagonal", + "canonical": "Diag" + }, + { + "tokens": [ + "Disem", + "Diseminado", + "Diseminados" + ], + "full": "Diseminado", + "canonical": "Disem" + }, + { + "tokens": [ + "el" + ], + "full": "el", + "canonical": "el", + "type": "determiner" + }, + { + "tokens": [ + "Edifc", + "Edificio" + ], + "full": "Edificio", + "canonical": "Edifc" + }, + { + "tokens": [ + "Empr", + "Empresa" + ], + "full": "Empresa", + "canonical": "Empr" + }, + { + "tokens": [ + "Entd", + "Entrada" + ], + "full": "Entrada", + "canonical": "Entd" + }, + { + "tokens": [ + "Esca", + "Escalera" + ], + "full": "Escalera", + "canonical": "Esca" + }, + { + "tokens": [ + "Escal", + "Escalinata" + ], + "full": "Escalinata", + "canonical": "Escal" + }, + { + "tokens": [ + "Eslda", + "Espalda" + ], + "full": "Espalda", + "canonical": "Eslda" + }, + { + "tokens": [ + "Estcn", + "Estación" + ], + "full": "Estación", + "canonical": "Estcn" + }, + { + "tokens": [ + "Estda", + "Estrada" + ], + "full": "Estrada", + "canonical": "Estda" + }, + { + "tokens": [ + "Expla", + "Explanada" + ], + "full": "Explanada", + "canonical": "Expla" + }, + { + "tokens": [ + "Extrm", + "Extramuros" + ], + "full": "Extramuros", + "canonical": "Extrm" + }, + { + "tokens": [ + "Extrr", + "Extrarradio" + ], + "full": "Extrarradio", + "canonical": "Extrr" + }, + { + "tokens": [ + "Fca", + "Fbrca", + "Fábrica" + ], + "full": "Fábrica", + "canonical": "Fca" + }, + { + "tokens": [ + "Gale", + "Galería" + ], + "full": "Galería", + "canonical": "Gale" + }, + { + "tokens": [ + "Granj", + "Granja" + ], + "full": "Granja", + "canonical": "Granj" + }, + { + "tokens": [ + "Gta", + "Glorieta" + ], + "full": "Glorieta", + "canonical": "Gta", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Hipod", + "Hipódromo" + ], + "full": "Hipódromo", + "canonical": "Hipod" + }, + { + "tokens": [ + "Jdin", + "Jardín" + ], + "full": "Jardín", + "canonical": "Jdin" + }, + { + "tokens": [ + "K", + "Kalea", + "Karrika" + ], + "full": "Karrika", + "canonical": "K", + "note": "translates to 'street' ('kalea' is Catalan)", + "type": "way" + }, + { + "tokens": [ + "L", + "La" + ], + "full": "La", + "canonical": "La", + "type": "determiner" + }, + { + "tokens": [ + "Les" + ], + "full": "Les", + "canonical": "Les", + "type": "determiner" + }, + { + "tokens": [ + "Las" + ], + "full": "Las", + "canonical": "Las", + "type": "determiner" + }, + { + "tokens": [ + "Los" + ], + "full": "Los", + "canonical": "Los", + "type": "determiner" + }, + { + "tokens": [ + "Ldera", + "Ladera" + ], + "full": "Ladera", + "canonical": "Ldera" + }, + { + "tokens": [ + "Llnra", + "Llanura" + ], + "full": "Llanura", + "canonical": "Llnra" + }, + { + "tokens": [ + "Malec", + "Malecón" + ], + "full": "Malecón", + "canonical": "Malec" + }, + { + "tokens": [ + "Martine", + "Martinez" + ], + "full": "Martinez", + "canonical": "Martine" + }, + { + "tokens": [ + "Merc", + "Mercado" + ], + "full": "Mercado", + "canonical": "Merc" + }, + { + "tokens": [ + "Mrdor", + "Mirador" + ], + "full": "Mirador", + "canonical": "Mrdor" + }, + { + "tokens": [ + "Mtrio", + "Monasterio" + ], + "full": "Monasterio", + "canonical": "Mtrio" + }, + { + "tokens": [ + "Muell", + "Muelle" + ], + "full": "Muelle", + "canonical": "Muell" + }, + { + "tokens": [ + "N" + ], + "full": "N", + "canonical": "N", + "type": "determiner", + "note": "as part of a street n' (example: n'arai)" + }, + { + "tokens": [ + "Ncleo", + "Núcleo" + ], + "full": "Núcleo", + "canonical": "Ncleo" + }, + { + "tokens": [ + "Palac", + "Palacio" + ], + "full": "Palacio", + "canonical": "Palac" + }, + { + "tokens": [ + "Pant", + "Pantano" + ], + "full": "Pantano", + "canonical": "Pant" + }, + { + "tokens": [ + "Parti", + "Particular" + ], + "full": "Particular", + "canonical": "Parti" + }, + { + "tokens": [ + "Pbdo", + "Poblado" + ], + "full": "Poblado", + "canonical": "Pbdo" + }, + { + "tokens": [ + "Pblo", + "Pueblo" + ], + "full": "Pueblo", + "canonical": "Pblo" + }, + { + "tokens": [ + "Pl", + "Pz", + "Pza", + "Plza", + "Placa", + "Plaça", + "Plaza", + "Praza" + ], + "full": "Plaza", + "canonical": "Pl", + "type": "way", + "note": "'Praza' is Glacian for square" + }, + { + "tokens": [ + "Plzla", + "Plazuela" + ], + "full": "Plazuela", + "canonical": "Plzla" + }, + { + "tokens": [ + "Pnte", + "Puente" + ], + "full": "Puente", + "canonical": "Pnte" + }, + { + "tokens": [ + "P", + "Po", + "Ps", + "Pso", + "Paseo", + "Passeig" + ], + "full": "Paseo", + "canonical": "Po", + "onlyLayers": ["address"], + "note": "translates to 'walk'", + "type": "way" + }, + { + "tokens": [ + "Polig", + "Polígono" + ], + "full": "Polígono", + "canonical": "Polig" + }, + { + "tokens": [ + "Pque", + "Parque", + "Parq", + "Pq", + "Pqe" + ], + "full": "Parque", + "canonical": "Pq", + "note": "translates to 'park'", + "type": "way" + }, + { + "tokens": [ + "Praje", + "Paraje" + ], + "full": "Paraje", + "canonical": "Praje" + }, + { + "tokens": [ + "Prol", + "Prolongación" + ], + "full": "Prolongación", + "canonical": "Prol" + }, + { + "tokens": [ + "Prtal", + "Portal" + ], + "full": "Portal", + "canonical": "Prtal" + }, + { + "tokens": [ + "Prtco", + "Pórtico" + ], + "full": "Pórtico", + "canonical": "Prtco" + }, + { + "tokens": [ + "Przla", + "Prazuela" + ], + "full": "Prazuela", + "canonical": "Przla" + }, + { + "tokens": [ + "Psaje", + "Pasaje" + ], + "full": "Pasaje", + "canonical": "Psaje", + "onlyLayers": ["address"], + "note": "translates to 'passage'", + "type": "way" + }, + { + "tokens": [ + "pj", + "passatge" + ], + "full": "passatge", + "canonical": "pj", + "onlyLayers": ["address"], + "note": "translates to 'passatge'", + "type": "way" + }, + { + "tokens": [ + "Psllo", + "Pasillo" + ], + "full": "Pasillo", + "canonical": "Psllo" + }, + { + "tokens": [ + "Pta", + "Puerta" + ], + "full": "Puerta", + "canonical": "Pta" + }, + { + "tokens": [ + "Ptda", + "Partida" + ], + "full": "Partida", + "canonical": "Ptda" + }, + { + "tokens": [ + "Ptilo", + "Portillo" + ], + "full": "Portillo", + "canonical": "Ptilo" + }, + { + "tokens": [ + "Pto", + "Puerto" + ], + "full": "Puerto", + "canonical": "Pto" + }, + { + "tokens": [ + "Pzo", + "Pasadizo" + ], + "full": "Pasadizo", + "canonical": "Pzo" + }, + { + "tokens": [ + "Pzta", + "Plazoleta" + ], + "full": "Plazoleta", + "canonical": "Pzta" + }, + { + "tokens": [ + "Rampa", + "Rampla" + ], + "full": "Rampla", + "canonical": "Rampa" + }, + { + "tokens": [ + "Rbla", + "Rambla" + ], + "full": "Rambla", + "canonical": "Rbla" + }, + { + "tokens": [ + "Rbra", + "Ribera", + "Rivera" + ], + "full": "Ribera", + "canonical": "Rbra" + }, + { + "tokens": [ + "Rcda", + "Rinconada" + ], + "full": "Rinconada", + "canonical": "Rcda" + }, + { + "tokens": [ + "Rd", + "Ronda" + ], + "full": "Ronda", + "canonical": "Rd" + }, + { + "tokens": [ + "Resid", + "Residencial" + ], + "full": "Residencial", + "canonical": "Resid" + }, + { + "tokens": [ + "rincón", + "rincon", + "rcon", + "rin", + "rncn", + "rncon" + ], + "full": "rincón", + "canonical": "rin", + "type": "way" + }, + { + "tokens": [ + "retorno", + "ret", + "rt" + ], + "full": "retorno", + "canonical": "rt", + "type": "way", + "note": "translates to 'return'" + }, + { + "tokens": [ + "Rtda", + "Rotonda" + ], + "full": "Rotonda", + "canonical": "Rtda", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "Ru", + "Rua", + "Rúa" + ], + "full": "Rúa", + "canonical": "Ru" + }, + { + "tokens": [ + "ruta", + "rta" + ], + "full": "ruta", + "canonical": "rta", + "note": "translates to 'route'", + "type": "way" + }, + { + "tokens": [ + "S", + "San", + "Sant" + ], + "full": "San", + "canonical": "S" + }, + { + "tokens": [ + "Sanat", + "Sanatorio" + ], + "full": "Sanatorio", + "canonical": "Sanat" + }, + { + "tokens": [ + "Santu", + "Santuario" + ], + "full": "Santuario", + "canonical": "Santu" + }, + { + "tokens": [ + "Sbida", + "Subida" + ], + "full": "Subida", + "canonical": "Sbida" + }, + { + "tokens": [ + "Sect", + "Sector" + ], + "full": "Sector", + "canonical": "Sect" + }, + { + "tokens": [ + "Sedra", + "Sendera" + ], + "full": "Sendera", + "canonical": "Sedra" + }, + { + "tokens": [ + "Send", + "Sendero" + ], + "full": "Sendero", + "canonical": "Send" + }, + { + "tokens": [ + "Sta", + "Santa" + ], + "full": "Santa", + "canonical": "Sta" + }, + { + "tokens": [ + "Trans", + "Tránsito" + ], + "full": "Tránsito", + "canonical": "Trans" + }, + { + "tokens": [ + "Tras", + "Trasera" + ], + "full": "Trasera", + "canonical": "Tras" + }, + { + "tokens": [ + "Tr", + "Trva", + "Travesia", + "Travessia" + ], + "full": "Travesia", + "canonical": "Tr", + "type": "way" + + }, + { + "tokens": [ + "To", + "Trrnt", + "Torrente" + ], + "full": "Torrente", + "canonical": "To", + "type": "way" + }, + { + "tokens": [ + "Trval", + "Transversal" + ], + "full": "Transversal", + "canonical": "Trval" + }, + { + "tokens": [ + "ur" + ], + "full": "ur", + "canonical": "ur", + "type": "way" + }, + { + "tokens": [ + "Urb", + "Urbanización" + ], + "full": "Urbanización", + "canonical": "Urb" + }, + { + "tokens": [ + "Vcto", + "Viaducto" + ], + "full": "Viaducto", + "canonical": "Vcto" + }, + { + "tokens": [ + "Vecin", + "Vecindario" + ], + "full": "Vecindario", + "canonical": "Vecin" + }, + { + "tokens": [ + "Ver", + "Vreda", + "Vereda" + ], + "full": "Vereda", + "canonical": "Ver" + }, + { + "tokens": [ + "Vvdas", + "Viviendas" + ], + "full": "Viviendas", + "canonical": "Vvdas" + }, + { + "tokens": [ + "CH", + "Camino hondo" + ], + "full": "Camino hondo", + "canonical": "CH", + "spanBoundaries": 1 + }, + { + "tokens": [ + "CN", + "Camino nuevo" + ], + "full": "Camino nuevo", + "canonical": "CN", + "spanBoundaries": 1 + }, + { + "tokens": [ + "CV", + "Camino viejo" + ], + "full": "Camino viejo", + "canonical": "CV", + "spanBoundaries": 1 + }, + { + "tokens": [ + "PI", + "Pgind" + ], + "full": "Pgind", + "canonical": "PI" + }, + { + "tokens": [ + "PI", + "Polígono industrial" + ], + "full": "Polígono industrial", + "canonical": "PI", + "spanBoundaries": 1 + }, + { + "tokens": [ + "pk", + "Punto kilométrico" + ], + "full": "Punto kilométrico", + "canonical": "pk", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Psmar", + "Paseo marítimo" + ], + "full": "Paseo marítimo", + "canonical": "Psmar", + "spanBoundaries": 1 + }, + { + "tokens": [ + "y" + ], + "full": "y", + "canonical": "y", + "type": "determiner" + }, + { + "tokens": [ + "gv", + "gran via" + ], + "full": "gran via", + "canonical": "gv", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/es_20201214150018.json b/.history/tokens/es_20201214150018.json new file mode 100644 index 0000000..5977117 --- /dev/null +++ b/.history/tokens/es_20201214150018.json @@ -0,0 +1,1713 @@ +[ + { + "tokens": [ + "1", + "un", + "uno", + "una" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "dos" + ], + "full": "dos", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "tres" + ], + "full": "tres", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "quatre", + "cuatro" + ], + "full": "cuatro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "cinc", + "cinco" + ], + "full": "cinco", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "sis", + "seis" + ], + "full": "seis", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "set", + "siete" + ], + "full": "siete", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "vuit", + "ocho" + ], + "full": "ocho", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nou", + "nueve" + ], + "full": "nueve", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "deu", + "diez" + ], + "full": "diez", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "onze", + "once" + ], + "full": "once", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "dotze", + "doce" + ], + "full": "doce", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "tretze", + "trece" + ], + "full": "trece", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "catorze", + "catorce" + ], + "full": "catorce", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "quinze", + "quince" + ], + "full": "quince", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "setze", + "dieciseis" + ], + "full": "dieciseis", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "disset", + "diecisiete" + ], + "full": "diecisiete", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "divuit", + "dieciocho" + ], + "full": "dieciocho", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "dinou", + "diecinueve" + ], + "full": "diecinueve", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "vint", + "veinte" + ], + "full": "veinte", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "Acces", + "Acceso" + ], + "full": "Acceso", + "canonical": "Acces" + }, + { + "tokens": [ + "Aceq", + "Acequia" + ], + "full": "Acequia", + "canonical": "Aceq" + }, + { + "tokens": [ + "Alam", + "Alameda" + ], + "full": "Alameda", + "canonical": "Alam" + }, + { + "tokens": [ + "Alque", + "Alquería" + ], + "full": "Alquería", + "canonical": "Alque" + }, + { + "tokens": [ + "alc", + "alcalde" + ], + "full": "alcalde", + "canonical": "alc", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Andad", + "Andador" + ], + "full": "Andador", + "canonical": "Andad" + }, + { + "tokens": [ + "Angta", + "Angosta" + ], + "full": "Angosta", + "canonical": "Angta" + }, + { + "tokens": [ + "Apdro", + "Apeadero" + ], + "full": "Apeadero", + "canonical": "Apdro" + }, + { + "tokens": [ + "Aptos", + "Apartamentos" + ], + "full": "Apartamentos", + "canonical": "Aptos" + }, + { + "tokens": [ + "Arb", + "Arboleda" + ], + "full": "Arboleda", + "canonical": "Arb" + }, + { + "tokens": [ + "Arral", + "Arrabal" + ], + "full": "Arrabal", + "canonical": "Arral" + }, + { + "tokens": [ + "Arry", + "Arroyo" + ], + "full": "Arroyo", + "canonical": "Arry" + }, + { + "tokens": [ + "Auto", + "Autopista" + ], + "full": "Autopista", + "canonical": "Auto", + "onlyLayers": ["address"], + "note": "translates to 'freeway'", + "type": "way" + }, + { + "tokens": [ + "Autov", + "Autovía" + ], + "full": "Autovía", + "canonical": "Autov", + "onlyLayers": ["address"], + "note": "translates to 'dual carriageway'", + "type": "way" + }, + { + "tokens": [ + "Av", + "Avd", + "Avda", + "Avnda", + "Avenida", + "Avinguda" + ], + "full": "Avenida", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'", + "type": "way" + }, + { + "tokens": [ + "Bda", + "Banda" + ], + "full": "Banda", + "canonical": "B" + }, + { + "tokens": [ + "Balnr", + "Balneario" + ], + "full": "Balneario", + "canonical": "Balnr" + }, + { + "tokens": [ + "Barda", + "Barriada" + ], + "full": "Barriada", + "canonical": "Barda" + }, + { + "tokens": [ + "Bjada", + "Bajada" + ], + "full": "Bajada", + "canonical": "Bjada" + }, + { + "tokens": [ + "Blque", + "Bloque" + ], + "full": "Bloque", + "canonical": "Blque" + }, + { + "tokens": [ + "Bo", + "Barro", + "Barrio" + ], + "full": "Barrio", + "canonical": "Bo", + "type": "way" + }, + { + "tokens": [ + "Bqllo", + "Barranquil" + ], + "full": "Barranquil", + "canonical": "Bqllo" + }, + { + "tokens": [ + "Branc", + "Barranco" + ], + "full": "Barranco", + "canonical": "Branc" + }, + { + "tokens": [ + "Brzal", + "Brazal" + ], + "full": "Brazal", + "canonical": "Brzal" + }, + { + "tokens": [ + "Bulev", + "Bulevar" + ], + "full": "Bulevar", + "canonical": "Bulev", + "onlyLayers": ["address"], + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "Ca", + "Canada" + ], + "full": "Canada", + "canonical": "Ca", + "type": "way" + }, + { + "tokens": [ + "Campg", + "Camping" + ], + "full": "Camping", + "canonical": "Campg" + }, + { + "tokens": [ + "Cant", + "Cantón" + ], + "full": "Cantón", + "canonical": "Cant" + }, + { + "tokens": [ + "Canti", + "Cantina" + ], + "full": "Cantina", + "canonical": "Canti" + }, + { + "tokens": [ + "Cantr", + "Cantera" + ], + "full": "Cantera", + "canonical": "Cantr" + }, + { + "tokens": [ + "Cbtiz", + "Cobertizo" + ], + "full": "Cobertizo", + "canonical": "Cbtiz" + }, + { + "tokens": [ + "Ccvcn", + "Circunvalación" + ], + "full": "Circunvalación", + "canonical": "Ccvcn" + }, + { + "tokens": [ + "Chlet", + "Chalet" + ], + "full": "Chalet", + "canonical": "Chlet" + }, + { + "tokens": [ + "Cint", + "Cinturón" + ], + "full": "Cinturón", + "canonical": "Cint" + }, + { + "tokens": [ + "Cjla", + "Callejuela" + ], + "full": "Callejuela", + "canonical": "Cjla", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Cj", + "Cjon", + "Cllon", + "Callej", + "Callejón" + ], + "full": "Callejón", + "canonical": "Cj", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Cjto", + "Conjunto" + ], + "full": "Conjunto", + "canonical": "Cjto" + }, + { + "tokens": [ + "cer", + "cda", + "cerrada" + ], + "full": "cerrada", + "canonical": "cer", + "type": "way", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Ca", + "Cl", + "Cll", + "Call", + "Calle", + "Carrer" + ], + "full": "Calle", + "canonical": "Cl", + "onlyLayers": ["address"], + "note": "translates to 'street' ('carrer' is Catalan)", + "type": "way" + }, + { + "tokens": [ + "kr", + "kra", + "cr", + "cra", + "carr", + "carra", + "carrera" + ], + "full": "carrera", + "canonical": "cr", + "type": "way" + }, + { + "tokens": [ + "Cllja", + "Calleja" + ], + "full": "Calleja", + "canonical": "Cllja", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Cllzo", + "Callizo" + ], + "full": "Callizo", + "canonical": "Cllzo" + }, + { + "tokens": [ + "Cm", + "Cno", + "Cam", + "Cmno", + "Cami", + "Camino" + ], + "full": "Camino", + "canonical": "Cm", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "Cnvto", + "Convento" + ], + "full": "Convento", + "canonical": "Cnvto" + }, + { + "tokens": [ + "Col", + "Colonia" + ], + "full": "Colonia", + "canonical": "Col" + }, + { + "tokens": [ + "Compj", + "Complejo" + ], + "full": "Complejo", + "canonical": "Compj" + }, + { + "tokens": [ + "Coop", + "Cooperativa" + ], + "full": "Cooperativa", + "canonical": "Coop" + }, + { + "tokens": [ + "Coste", + "Costera" + ], + "full": "Costera", + "canonical": "Coste" + }, + { + "tokens": [ + "Cro", + "Carrero" + ], + "full": "Carrero", + "canonical": "Cro" + }, + { + "tokens": [ + "Crral", + "Corral" + ], + "full": "Corral", + "canonical": "Crral" + }, + { + "tokens": [ + "Crrdo", + "Corredor" + ], + "full": "Corredor", + "canonical": "Crrdo" + }, + { + "tokens": [ + "Crril", + "Carril" + ], + "full": "Carril", + "canonical": "Crril", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Crrlo", + "Corralillo" + ], + "full": "Corralillo", + "canonical": "Crrlo" + }, + { + "tokens": [ + "Crtil", + "Carretil" + ], + "full": "Carretil", + "canonical": "Crtil" + }, + { + "tokens": [ + "Crtjo", + "Cortijo" + ], + "full": "Cortijo", + "canonical": "Crtjo" + }, + { + "tokens": [ + "Csrio", + "Caserío" + ], + "full": "Caserío", + "canonical": "Csrio" + }, + { + "tokens": [ + "Cstan", + "Costanilla" + ], + "full": "Costanilla", + "canonical": "Cstan" + }, + { + "tokens": [ + "Cr", + "Ctra", + "Carretera" + ], + "full": "Carretera", + "canonical": "Cr", + "onlyLayers": ["address"], + "note": "translates to 'highway'", + "type": "way" + }, + { + "tokens": [ + "Ctrin", + "Carreterín" + ], + "full": "Carreterín", + "canonical": "Ctrin", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "Cuadr", + "Cuadra" + ], + "full": "Cuadra", + "canonical": "Cuadr" + }, + { + "tokens": [ + "Custa", + "Cuesta" + ], + "full": "Cuesta", + "canonical": "Custa" + }, + { + "tokens": [ + "Czada", + "Calzada" + ], + "full": "Calzada", + "canonical": "Czada", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "d", + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "en" + ], + "full": "en", + "canonical": "en", + "type": "determiner", + "note": "to handle d'en" + }, + { + "tokens": [ + "dr" + ], + "full": "dr", + "canonical": "dr", + "type": "way" + }, + { + "tokens": [ + "div", + "divina" + ], + "full": "divina", + "canonical": "div" + }, + { + "tokens": [ + "ds" + ], + "full": "ds", + "canonical": "ds", + "type": "way" + }, + { + "tokens": [ + "dr", + "doctor" + ], + "full": "dr", + "canonical": "doctor", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "dels" + ], + "full": "dels", + "canonical": "dels", + "type": "determiner" + }, + { + "tokens": [ + "don", + "dona" + ], + "full": "dona", + "canonical": "don", + "type": "determiner" + }, + { + "tokens": [ + "Demar", + "Demarcación" + ], + "full": "Demarcación", + "canonical": "Demar" + }, + { + "tokens": [ + "Dhsa", + "Dehesa" + ], + "full": "Dehesa", + "canonical": "Dhsa" + }, + { + "tokens": [ + "Diag", + "Diagonal" + ], + "full": "Diagonal", + "canonical": "Diag" + }, + { + "tokens": [ + "Disem", + "Diseminado", + "Diseminados" + ], + "full": "Diseminado", + "canonical": "Disem" + }, + { + "tokens": [ + "el" + ], + "full": "el", + "canonical": "el", + "type": "determiner" + }, + { + "tokens": [ + "Edifc", + "Edificio" + ], + "full": "Edificio", + "canonical": "Edifc" + }, + { + "tokens": [ + "Empr", + "Empresa" + ], + "full": "Empresa", + "canonical": "Empr" + }, + { + "tokens": [ + "Entd", + "Entrada" + ], + "full": "Entrada", + "canonical": "Entd" + }, + { + "tokens": [ + "Esca", + "Escalera" + ], + "full": "Escalera", + "canonical": "Esca" + }, + { + "tokens": [ + "Escal", + "Escalinata" + ], + "full": "Escalinata", + "canonical": "Escal" + }, + { + "tokens": [ + "Eslda", + "Espalda" + ], + "full": "Espalda", + "canonical": "Eslda" + }, + { + "tokens": [ + "Estcn", + "Estación" + ], + "full": "Estación", + "canonical": "Estcn" + }, + { + "tokens": [ + "Estda", + "Estrada" + ], + "full": "Estrada", + "canonical": "Estda" + }, + { + "tokens": [ + "Expla", + "Explanada" + ], + "full": "Explanada", + "canonical": "Expla" + }, + { + "tokens": [ + "Extrm", + "Extramuros" + ], + "full": "Extramuros", + "canonical": "Extrm" + }, + { + "tokens": [ + "Extrr", + "Extrarradio" + ], + "full": "Extrarradio", + "canonical": "Extrr" + }, + { + "tokens": [ + "Fca", + "Fbrca", + "Fábrica" + ], + "full": "Fábrica", + "canonical": "Fca" + }, + { + "tokens": [ + "Gale", + "Galería" + ], + "full": "Galería", + "canonical": "Gale" + }, + { + "tokens": [ + "Granj", + "Granja" + ], + "full": "Granja", + "canonical": "Granj" + }, + { + "tokens": [ + "Gta", + "Glorieta" + ], + "full": "Glorieta", + "canonical": "Gta", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Hipod", + "Hipódromo" + ], + "full": "Hipódromo", + "canonical": "Hipod" + }, + { + "tokens": [ + "Jdin", + "Jardín" + ], + "full": "Jardín", + "canonical": "Jdin" + }, + { + "tokens": [ + "K" + "Kalea", + "Karrika" + ], + "full": "Karrika", + "canonical": "K", + "note": "translates to 'street' ('kalea' is Catalan)", + "type": "way" + }, + { + "tokens": [ + "L", + "La" + ], + "full": "La", + "canonical": "La", + "type": "determiner" + }, + { + "tokens": [ + "Les" + ], + "full": "Les", + "canonical": "Les", + "type": "determiner" + }, + { + "tokens": [ + "Las" + ], + "full": "Las", + "canonical": "Las", + "type": "determiner" + }, + { + "tokens": [ + "Los" + ], + "full": "Los", + "canonical": "Los", + "type": "determiner" + }, + { + "tokens": [ + "Ldera", + "Ladera" + ], + "full": "Ladera", + "canonical": "Ldera" + }, + { + "tokens": [ + "Llnra", + "Llanura" + ], + "full": "Llanura", + "canonical": "Llnra" + }, + { + "tokens": [ + "Malec", + "Malecón" + ], + "full": "Malecón", + "canonical": "Malec" + }, + { + "tokens": [ + "Martine", + "Martinez" + ], + "full": "Martinez", + "canonical": "Martine" + }, + { + "tokens": [ + "Merc", + "Mercado" + ], + "full": "Mercado", + "canonical": "Merc" + }, + { + "tokens": [ + "Mrdor", + "Mirador" + ], + "full": "Mirador", + "canonical": "Mrdor" + }, + { + "tokens": [ + "Mtrio", + "Monasterio" + ], + "full": "Monasterio", + "canonical": "Mtrio" + }, + { + "tokens": [ + "Muell", + "Muelle" + ], + "full": "Muelle", + "canonical": "Muell" + }, + { + "tokens": [ + "N" + ], + "full": "N", + "canonical": "N", + "type": "determiner", + "note": "as part of a street n' (example: n'arai)" + }, + { + "tokens": [ + "Ncleo", + "Núcleo" + ], + "full": "Núcleo", + "canonical": "Ncleo" + }, + { + "tokens": [ + "Palac", + "Palacio" + ], + "full": "Palacio", + "canonical": "Palac" + }, + { + "tokens": [ + "Pant", + "Pantano" + ], + "full": "Pantano", + "canonical": "Pant" + }, + { + "tokens": [ + "Parti", + "Particular" + ], + "full": "Particular", + "canonical": "Parti" + }, + { + "tokens": [ + "Pbdo", + "Poblado" + ], + "full": "Poblado", + "canonical": "Pbdo" + }, + { + "tokens": [ + "Pblo", + "Pueblo" + ], + "full": "Pueblo", + "canonical": "Pblo" + }, + { + "tokens": [ + "Pl", + "Pz", + "Pza", + "Plza", + "Placa", + "Plaça", + "Plaza", + "Praza" + ], + "full": "Plaza", + "canonical": "Pl", + "type": "way", + "note": "'Praza' is Glacian for square" + }, + { + "tokens": [ + "Plzla", + "Plazuela" + ], + "full": "Plazuela", + "canonical": "Plzla" + }, + { + "tokens": [ + "Pnte", + "Puente" + ], + "full": "Puente", + "canonical": "Pnte" + }, + { + "tokens": [ + "P", + "Po", + "Ps", + "Pso", + "Paseo", + "Passeig" + ], + "full": "Paseo", + "canonical": "Po", + "onlyLayers": ["address"], + "note": "translates to 'walk'", + "type": "way" + }, + { + "tokens": [ + "Polig", + "Polígono" + ], + "full": "Polígono", + "canonical": "Polig" + }, + { + "tokens": [ + "Pque", + "Parque", + "Parq", + "Pq", + "Pqe" + ], + "full": "Parque", + "canonical": "Pq", + "note": "translates to 'park'", + "type": "way" + }, + { + "tokens": [ + "Praje", + "Paraje" + ], + "full": "Paraje", + "canonical": "Praje" + }, + { + "tokens": [ + "Prol", + "Prolongación" + ], + "full": "Prolongación", + "canonical": "Prol" + }, + { + "tokens": [ + "Prtal", + "Portal" + ], + "full": "Portal", + "canonical": "Prtal" + }, + { + "tokens": [ + "Prtco", + "Pórtico" + ], + "full": "Pórtico", + "canonical": "Prtco" + }, + { + "tokens": [ + "Przla", + "Prazuela" + ], + "full": "Prazuela", + "canonical": "Przla" + }, + { + "tokens": [ + "Psaje", + "Pasaje" + ], + "full": "Pasaje", + "canonical": "Psaje", + "onlyLayers": ["address"], + "note": "translates to 'passage'", + "type": "way" + }, + { + "tokens": [ + "pj", + "passatge" + ], + "full": "passatge", + "canonical": "pj", + "onlyLayers": ["address"], + "note": "translates to 'passatge'", + "type": "way" + }, + { + "tokens": [ + "Psllo", + "Pasillo" + ], + "full": "Pasillo", + "canonical": "Psllo" + }, + { + "tokens": [ + "Pta", + "Puerta" + ], + "full": "Puerta", + "canonical": "Pta" + }, + { + "tokens": [ + "Ptda", + "Partida" + ], + "full": "Partida", + "canonical": "Ptda" + }, + { + "tokens": [ + "Ptilo", + "Portillo" + ], + "full": "Portillo", + "canonical": "Ptilo" + }, + { + "tokens": [ + "Pto", + "Puerto" + ], + "full": "Puerto", + "canonical": "Pto" + }, + { + "tokens": [ + "Pzo", + "Pasadizo" + ], + "full": "Pasadizo", + "canonical": "Pzo" + }, + { + "tokens": [ + "Pzta", + "Plazoleta" + ], + "full": "Plazoleta", + "canonical": "Pzta" + }, + { + "tokens": [ + "Rampa", + "Rampla" + ], + "full": "Rampla", + "canonical": "Rampa" + }, + { + "tokens": [ + "Rbla", + "Rambla" + ], + "full": "Rambla", + "canonical": "Rbla" + }, + { + "tokens": [ + "Rbra", + "Ribera", + "Rivera" + ], + "full": "Ribera", + "canonical": "Rbra" + }, + { + "tokens": [ + "Rcda", + "Rinconada" + ], + "full": "Rinconada", + "canonical": "Rcda" + }, + { + "tokens": [ + "Rd", + "Ronda" + ], + "full": "Ronda", + "canonical": "Rd" + }, + { + "tokens": [ + "Resid", + "Residencial" + ], + "full": "Residencial", + "canonical": "Resid" + }, + { + "tokens": [ + "rincón", + "rincon", + "rcon", + "rin", + "rncn", + "rncon" + ], + "full": "rincón", + "canonical": "rin", + "type": "way" + }, + { + "tokens": [ + "retorno", + "ret", + "rt" + ], + "full": "retorno", + "canonical": "rt", + "type": "way", + "note": "translates to 'return'" + }, + { + "tokens": [ + "Rtda", + "Rotonda" + ], + "full": "Rotonda", + "canonical": "Rtda", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "Ru", + "Rua", + "Rúa" + ], + "full": "Rúa", + "canonical": "Ru" + }, + { + "tokens": [ + "ruta", + "rta" + ], + "full": "ruta", + "canonical": "rta", + "note": "translates to 'route'", + "type": "way" + }, + { + "tokens": [ + "S", + "San", + "Sant" + ], + "full": "San", + "canonical": "S" + }, + { + "tokens": [ + "Sanat", + "Sanatorio" + ], + "full": "Sanatorio", + "canonical": "Sanat" + }, + { + "tokens": [ + "Santu", + "Santuario" + ], + "full": "Santuario", + "canonical": "Santu" + }, + { + "tokens": [ + "Sbida", + "Subida" + ], + "full": "Subida", + "canonical": "Sbida" + }, + { + "tokens": [ + "Sect", + "Sector" + ], + "full": "Sector", + "canonical": "Sect" + }, + { + "tokens": [ + "Sedra", + "Sendera" + ], + "full": "Sendera", + "canonical": "Sedra" + }, + { + "tokens": [ + "Send", + "Sendero" + ], + "full": "Sendero", + "canonical": "Send" + }, + { + "tokens": [ + "Sta", + "Santa" + ], + "full": "Santa", + "canonical": "Sta" + }, + { + "tokens": [ + "Trans", + "Tránsito" + ], + "full": "Tránsito", + "canonical": "Trans" + }, + { + "tokens": [ + "Tras", + "Trasera" + ], + "full": "Trasera", + "canonical": "Tras" + }, + { + "tokens": [ + "Tr", + "Trva", + "Travesia", + "Travessia" + ], + "full": "Travesia", + "canonical": "Tr", + "type": "way" + + }, + { + "tokens": [ + "To", + "Trrnt", + "Torrente" + ], + "full": "Torrente", + "canonical": "To", + "type": "way" + }, + { + "tokens": [ + "Trval", + "Transversal" + ], + "full": "Transversal", + "canonical": "Trval" + }, + { + "tokens": [ + "ur" + ], + "full": "ur", + "canonical": "ur", + "type": "way" + }, + { + "tokens": [ + "Urb", + "Urbanización" + ], + "full": "Urbanización", + "canonical": "Urb" + }, + { + "tokens": [ + "Vcto", + "Viaducto" + ], + "full": "Viaducto", + "canonical": "Vcto" + }, + { + "tokens": [ + "Vecin", + "Vecindario" + ], + "full": "Vecindario", + "canonical": "Vecin" + }, + { + "tokens": [ + "Ver", + "Vreda", + "Vereda" + ], + "full": "Vereda", + "canonical": "Ver" + }, + { + "tokens": [ + "Vvdas", + "Viviendas" + ], + "full": "Viviendas", + "canonical": "Vvdas" + }, + { + "tokens": [ + "CH", + "Camino hondo" + ], + "full": "Camino hondo", + "canonical": "CH", + "spanBoundaries": 1 + }, + { + "tokens": [ + "CN", + "Camino nuevo" + ], + "full": "Camino nuevo", + "canonical": "CN", + "spanBoundaries": 1 + }, + { + "tokens": [ + "CV", + "Camino viejo" + ], + "full": "Camino viejo", + "canonical": "CV", + "spanBoundaries": 1 + }, + { + "tokens": [ + "PI", + "Pgind" + ], + "full": "Pgind", + "canonical": "PI" + }, + { + "tokens": [ + "PI", + "Polígono industrial" + ], + "full": "Polígono industrial", + "canonical": "PI", + "spanBoundaries": 1 + }, + { + "tokens": [ + "pk", + "Punto kilométrico" + ], + "full": "Punto kilométrico", + "canonical": "pk", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Psmar", + "Paseo marítimo" + ], + "full": "Paseo marítimo", + "canonical": "Psmar", + "spanBoundaries": 1 + }, + { + "tokens": [ + "y" + ], + "full": "y", + "canonical": "y", + "type": "determiner" + }, + { + "tokens": [ + "gv", + "gran via" + ], + "full": "gran via", + "canonical": "gv", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/es_20201214150020.json b/.history/tokens/es_20201214150020.json new file mode 100644 index 0000000..462c94e --- /dev/null +++ b/.history/tokens/es_20201214150020.json @@ -0,0 +1,1712 @@ +[ + { + "tokens": [ + "1", + "un", + "uno", + "una" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "dos" + ], + "full": "dos", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "tres" + ], + "full": "tres", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "quatre", + "cuatro" + ], + "full": "cuatro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "cinc", + "cinco" + ], + "full": "cinco", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "sis", + "seis" + ], + "full": "seis", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "set", + "siete" + ], + "full": "siete", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "vuit", + "ocho" + ], + "full": "ocho", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nou", + "nueve" + ], + "full": "nueve", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "deu", + "diez" + ], + "full": "diez", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "onze", + "once" + ], + "full": "once", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "dotze", + "doce" + ], + "full": "doce", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "tretze", + "trece" + ], + "full": "trece", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "catorze", + "catorce" + ], + "full": "catorce", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "quinze", + "quince" + ], + "full": "quince", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "setze", + "dieciseis" + ], + "full": "dieciseis", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "disset", + "diecisiete" + ], + "full": "diecisiete", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "divuit", + "dieciocho" + ], + "full": "dieciocho", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "dinou", + "diecinueve" + ], + "full": "diecinueve", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "vint", + "veinte" + ], + "full": "veinte", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "Acces", + "Acceso" + ], + "full": "Acceso", + "canonical": "Acces" + }, + { + "tokens": [ + "Aceq", + "Acequia" + ], + "full": "Acequia", + "canonical": "Aceq" + }, + { + "tokens": [ + "Alam", + "Alameda" + ], + "full": "Alameda", + "canonical": "Alam" + }, + { + "tokens": [ + "Alque", + "Alquería" + ], + "full": "Alquería", + "canonical": "Alque" + }, + { + "tokens": [ + "alc", + "alcalde" + ], + "full": "alcalde", + "canonical": "alc", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Andad", + "Andador" + ], + "full": "Andador", + "canonical": "Andad" + }, + { + "tokens": [ + "Angta", + "Angosta" + ], + "full": "Angosta", + "canonical": "Angta" + }, + { + "tokens": [ + "Apdro", + "Apeadero" + ], + "full": "Apeadero", + "canonical": "Apdro" + }, + { + "tokens": [ + "Aptos", + "Apartamentos" + ], + "full": "Apartamentos", + "canonical": "Aptos" + }, + { + "tokens": [ + "Arb", + "Arboleda" + ], + "full": "Arboleda", + "canonical": "Arb" + }, + { + "tokens": [ + "Arral", + "Arrabal" + ], + "full": "Arrabal", + "canonical": "Arral" + }, + { + "tokens": [ + "Arry", + "Arroyo" + ], + "full": "Arroyo", + "canonical": "Arry" + }, + { + "tokens": [ + "Auto", + "Autopista" + ], + "full": "Autopista", + "canonical": "Auto", + "onlyLayers": ["address"], + "note": "translates to 'freeway'", + "type": "way" + }, + { + "tokens": [ + "Autov", + "Autovía" + ], + "full": "Autovía", + "canonical": "Autov", + "onlyLayers": ["address"], + "note": "translates to 'dual carriageway'", + "type": "way" + }, + { + "tokens": [ + "Av", + "Avd", + "Avda", + "Avnda", + "Avenida", + "Avinguda" + ], + "full": "Avenida", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'", + "type": "way" + }, + { + "tokens": [ + "Bda", + "Banda" + ], + "full": "Banda", + "canonical": "B" + }, + { + "tokens": [ + "Balnr", + "Balneario" + ], + "full": "Balneario", + "canonical": "Balnr" + }, + { + "tokens": [ + "Barda", + "Barriada" + ], + "full": "Barriada", + "canonical": "Barda" + }, + { + "tokens": [ + "Bjada", + "Bajada" + ], + "full": "Bajada", + "canonical": "Bjada" + }, + { + "tokens": [ + "Blque", + "Bloque" + ], + "full": "Bloque", + "canonical": "Blque" + }, + { + "tokens": [ + "Bo", + "Barro", + "Barrio" + ], + "full": "Barrio", + "canonical": "Bo", + "type": "way" + }, + { + "tokens": [ + "Bqllo", + "Barranquil" + ], + "full": "Barranquil", + "canonical": "Bqllo" + }, + { + "tokens": [ + "Branc", + "Barranco" + ], + "full": "Barranco", + "canonical": "Branc" + }, + { + "tokens": [ + "Brzal", + "Brazal" + ], + "full": "Brazal", + "canonical": "Brzal" + }, + { + "tokens": [ + "Bulev", + "Bulevar" + ], + "full": "Bulevar", + "canonical": "Bulev", + "onlyLayers": ["address"], + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "Ca", + "Canada" + ], + "full": "Canada", + "canonical": "Ca", + "type": "way" + }, + { + "tokens": [ + "Campg", + "Camping" + ], + "full": "Camping", + "canonical": "Campg" + }, + { + "tokens": [ + "Cant", + "Cantón" + ], + "full": "Cantón", + "canonical": "Cant" + }, + { + "tokens": [ + "Canti", + "Cantina" + ], + "full": "Cantina", + "canonical": "Canti" + }, + { + "tokens": [ + "Cantr", + "Cantera" + ], + "full": "Cantera", + "canonical": "Cantr" + }, + { + "tokens": [ + "Cbtiz", + "Cobertizo" + ], + "full": "Cobertizo", + "canonical": "Cbtiz" + }, + { + "tokens": [ + "Ccvcn", + "Circunvalación" + ], + "full": "Circunvalación", + "canonical": "Ccvcn" + }, + { + "tokens": [ + "Chlet", + "Chalet" + ], + "full": "Chalet", + "canonical": "Chlet" + }, + { + "tokens": [ + "Cint", + "Cinturón" + ], + "full": "Cinturón", + "canonical": "Cint" + }, + { + "tokens": [ + "Cjla", + "Callejuela" + ], + "full": "Callejuela", + "canonical": "Cjla", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Cj", + "Cjon", + "Cllon", + "Callej", + "Callejón" + ], + "full": "Callejón", + "canonical": "Cj", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Cjto", + "Conjunto" + ], + "full": "Conjunto", + "canonical": "Cjto" + }, + { + "tokens": [ + "cer", + "cda", + "cerrada" + ], + "full": "cerrada", + "canonical": "cer", + "type": "way", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Ca", + "Cl", + "Cll", + "Call", + "Calle", + "Carrer" + ], + "full": "Calle", + "canonical": "Cl", + "onlyLayers": ["address"], + "note": "translates to 'street' ('carrer' is Catalan)", + "type": "way" + }, + { + "tokens": [ + "kr", + "kra", + "cr", + "cra", + "carr", + "carra", + "carrera" + ], + "full": "carrera", + "canonical": "cr", + "type": "way" + }, + { + "tokens": [ + "Cllja", + "Calleja" + ], + "full": "Calleja", + "canonical": "Cllja", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Cllzo", + "Callizo" + ], + "full": "Callizo", + "canonical": "Cllzo" + }, + { + "tokens": [ + "Cm", + "Cno", + "Cam", + "Cmno", + "Cami", + "Camino" + ], + "full": "Camino", + "canonical": "Cm", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "Cnvto", + "Convento" + ], + "full": "Convento", + "canonical": "Cnvto" + }, + { + "tokens": [ + "Col", + "Colonia" + ], + "full": "Colonia", + "canonical": "Col" + }, + { + "tokens": [ + "Compj", + "Complejo" + ], + "full": "Complejo", + "canonical": "Compj" + }, + { + "tokens": [ + "Coop", + "Cooperativa" + ], + "full": "Cooperativa", + "canonical": "Coop" + }, + { + "tokens": [ + "Coste", + "Costera" + ], + "full": "Costera", + "canonical": "Coste" + }, + { + "tokens": [ + "Cro", + "Carrero" + ], + "full": "Carrero", + "canonical": "Cro" + }, + { + "tokens": [ + "Crral", + "Corral" + ], + "full": "Corral", + "canonical": "Crral" + }, + { + "tokens": [ + "Crrdo", + "Corredor" + ], + "full": "Corredor", + "canonical": "Crrdo" + }, + { + "tokens": [ + "Crril", + "Carril" + ], + "full": "Carril", + "canonical": "Crril", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Crrlo", + "Corralillo" + ], + "full": "Corralillo", + "canonical": "Crrlo" + }, + { + "tokens": [ + "Crtil", + "Carretil" + ], + "full": "Carretil", + "canonical": "Crtil" + }, + { + "tokens": [ + "Crtjo", + "Cortijo" + ], + "full": "Cortijo", + "canonical": "Crtjo" + }, + { + "tokens": [ + "Csrio", + "Caserío" + ], + "full": "Caserío", + "canonical": "Csrio" + }, + { + "tokens": [ + "Cstan", + "Costanilla" + ], + "full": "Costanilla", + "canonical": "Cstan" + }, + { + "tokens": [ + "Cr", + "Ctra", + "Carretera" + ], + "full": "Carretera", + "canonical": "Cr", + "onlyLayers": ["address"], + "note": "translates to 'highway'", + "type": "way" + }, + { + "tokens": [ + "Ctrin", + "Carreterín" + ], + "full": "Carreterín", + "canonical": "Ctrin", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "Cuadr", + "Cuadra" + ], + "full": "Cuadra", + "canonical": "Cuadr" + }, + { + "tokens": [ + "Custa", + "Cuesta" + ], + "full": "Cuesta", + "canonical": "Custa" + }, + { + "tokens": [ + "Czada", + "Calzada" + ], + "full": "Calzada", + "canonical": "Czada", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "d", + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "en" + ], + "full": "en", + "canonical": "en", + "type": "determiner", + "note": "to handle d'en" + }, + { + "tokens": [ + "dr" + ], + "full": "dr", + "canonical": "dr", + "type": "way" + }, + { + "tokens": [ + "div", + "divina" + ], + "full": "divina", + "canonical": "div" + }, + { + "tokens": [ + "ds" + ], + "full": "ds", + "canonical": "ds", + "type": "way" + }, + { + "tokens": [ + "dr", + "doctor" + ], + "full": "dr", + "canonical": "doctor", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "dels" + ], + "full": "dels", + "canonical": "dels", + "type": "determiner" + }, + { + "tokens": [ + "don", + "dona" + ], + "full": "dona", + "canonical": "don", + "type": "determiner" + }, + { + "tokens": [ + "Demar", + "Demarcación" + ], + "full": "Demarcación", + "canonical": "Demar" + }, + { + "tokens": [ + "Dhsa", + "Dehesa" + ], + "full": "Dehesa", + "canonical": "Dhsa" + }, + { + "tokens": [ + "Diag", + "Diagonal" + ], + "full": "Diagonal", + "canonical": "Diag" + }, + { + "tokens": [ + "Disem", + "Diseminado", + "Diseminados" + ], + "full": "Diseminado", + "canonical": "Disem" + }, + { + "tokens": [ + "el" + ], + "full": "el", + "canonical": "el", + "type": "determiner" + }, + { + "tokens": [ + "Edifc", + "Edificio" + ], + "full": "Edificio", + "canonical": "Edifc" + }, + { + "tokens": [ + "Empr", + "Empresa" + ], + "full": "Empresa", + "canonical": "Empr" + }, + { + "tokens": [ + "Entd", + "Entrada" + ], + "full": "Entrada", + "canonical": "Entd" + }, + { + "tokens": [ + "Esca", + "Escalera" + ], + "full": "Escalera", + "canonical": "Esca" + }, + { + "tokens": [ + "Escal", + "Escalinata" + ], + "full": "Escalinata", + "canonical": "Escal" + }, + { + "tokens": [ + "Eslda", + "Espalda" + ], + "full": "Espalda", + "canonical": "Eslda" + }, + { + "tokens": [ + "Estcn", + "Estación" + ], + "full": "Estación", + "canonical": "Estcn" + }, + { + "tokens": [ + "Estda", + "Estrada" + ], + "full": "Estrada", + "canonical": "Estda" + }, + { + "tokens": [ + "Expla", + "Explanada" + ], + "full": "Explanada", + "canonical": "Expla" + }, + { + "tokens": [ + "Extrm", + "Extramuros" + ], + "full": "Extramuros", + "canonical": "Extrm" + }, + { + "tokens": [ + "Extrr", + "Extrarradio" + ], + "full": "Extrarradio", + "canonical": "Extrr" + }, + { + "tokens": [ + "Fca", + "Fbrca", + "Fábrica" + ], + "full": "Fábrica", + "canonical": "Fca" + }, + { + "tokens": [ + "Gale", + "Galería" + ], + "full": "Galería", + "canonical": "Gale" + }, + { + "tokens": [ + "Granj", + "Granja" + ], + "full": "Granja", + "canonical": "Granj" + }, + { + "tokens": [ + "Gta", + "Glorieta" + ], + "full": "Glorieta", + "canonical": "Gta", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Hipod", + "Hipódromo" + ], + "full": "Hipódromo", + "canonical": "Hipod" + }, + { + "tokens": [ + "Jdin", + "Jardín" + ], + "full": "Jardín", + "canonical": "Jdin" + }, + { + "tokens": [ + "Kalea", + "Karrika" + ], + "full": "Karrika", + "canonical": "K", + "note": "translates to 'street' ('kalea' is Catalan)", + "type": "way" + }, + { + "tokens": [ + "L", + "La" + ], + "full": "La", + "canonical": "La", + "type": "determiner" + }, + { + "tokens": [ + "Les" + ], + "full": "Les", + "canonical": "Les", + "type": "determiner" + }, + { + "tokens": [ + "Las" + ], + "full": "Las", + "canonical": "Las", + "type": "determiner" + }, + { + "tokens": [ + "Los" + ], + "full": "Los", + "canonical": "Los", + "type": "determiner" + }, + { + "tokens": [ + "Ldera", + "Ladera" + ], + "full": "Ladera", + "canonical": "Ldera" + }, + { + "tokens": [ + "Llnra", + "Llanura" + ], + "full": "Llanura", + "canonical": "Llnra" + }, + { + "tokens": [ + "Malec", + "Malecón" + ], + "full": "Malecón", + "canonical": "Malec" + }, + { + "tokens": [ + "Martine", + "Martinez" + ], + "full": "Martinez", + "canonical": "Martine" + }, + { + "tokens": [ + "Merc", + "Mercado" + ], + "full": "Mercado", + "canonical": "Merc" + }, + { + "tokens": [ + "Mrdor", + "Mirador" + ], + "full": "Mirador", + "canonical": "Mrdor" + }, + { + "tokens": [ + "Mtrio", + "Monasterio" + ], + "full": "Monasterio", + "canonical": "Mtrio" + }, + { + "tokens": [ + "Muell", + "Muelle" + ], + "full": "Muelle", + "canonical": "Muell" + }, + { + "tokens": [ + "N" + ], + "full": "N", + "canonical": "N", + "type": "determiner", + "note": "as part of a street n' (example: n'arai)" + }, + { + "tokens": [ + "Ncleo", + "Núcleo" + ], + "full": "Núcleo", + "canonical": "Ncleo" + }, + { + "tokens": [ + "Palac", + "Palacio" + ], + "full": "Palacio", + "canonical": "Palac" + }, + { + "tokens": [ + "Pant", + "Pantano" + ], + "full": "Pantano", + "canonical": "Pant" + }, + { + "tokens": [ + "Parti", + "Particular" + ], + "full": "Particular", + "canonical": "Parti" + }, + { + "tokens": [ + "Pbdo", + "Poblado" + ], + "full": "Poblado", + "canonical": "Pbdo" + }, + { + "tokens": [ + "Pblo", + "Pueblo" + ], + "full": "Pueblo", + "canonical": "Pblo" + }, + { + "tokens": [ + "Pl", + "Pz", + "Pza", + "Plza", + "Placa", + "Plaça", + "Plaza", + "Praza" + ], + "full": "Plaza", + "canonical": "Pl", + "type": "way", + "note": "'Praza' is Glacian for square" + }, + { + "tokens": [ + "Plzla", + "Plazuela" + ], + "full": "Plazuela", + "canonical": "Plzla" + }, + { + "tokens": [ + "Pnte", + "Puente" + ], + "full": "Puente", + "canonical": "Pnte" + }, + { + "tokens": [ + "P", + "Po", + "Ps", + "Pso", + "Paseo", + "Passeig" + ], + "full": "Paseo", + "canonical": "Po", + "onlyLayers": ["address"], + "note": "translates to 'walk'", + "type": "way" + }, + { + "tokens": [ + "Polig", + "Polígono" + ], + "full": "Polígono", + "canonical": "Polig" + }, + { + "tokens": [ + "Pque", + "Parque", + "Parq", + "Pq", + "Pqe" + ], + "full": "Parque", + "canonical": "Pq", + "note": "translates to 'park'", + "type": "way" + }, + { + "tokens": [ + "Praje", + "Paraje" + ], + "full": "Paraje", + "canonical": "Praje" + }, + { + "tokens": [ + "Prol", + "Prolongación" + ], + "full": "Prolongación", + "canonical": "Prol" + }, + { + "tokens": [ + "Prtal", + "Portal" + ], + "full": "Portal", + "canonical": "Prtal" + }, + { + "tokens": [ + "Prtco", + "Pórtico" + ], + "full": "Pórtico", + "canonical": "Prtco" + }, + { + "tokens": [ + "Przla", + "Prazuela" + ], + "full": "Prazuela", + "canonical": "Przla" + }, + { + "tokens": [ + "Psaje", + "Pasaje" + ], + "full": "Pasaje", + "canonical": "Psaje", + "onlyLayers": ["address"], + "note": "translates to 'passage'", + "type": "way" + }, + { + "tokens": [ + "pj", + "passatge" + ], + "full": "passatge", + "canonical": "pj", + "onlyLayers": ["address"], + "note": "translates to 'passatge'", + "type": "way" + }, + { + "tokens": [ + "Psllo", + "Pasillo" + ], + "full": "Pasillo", + "canonical": "Psllo" + }, + { + "tokens": [ + "Pta", + "Puerta" + ], + "full": "Puerta", + "canonical": "Pta" + }, + { + "tokens": [ + "Ptda", + "Partida" + ], + "full": "Partida", + "canonical": "Ptda" + }, + { + "tokens": [ + "Ptilo", + "Portillo" + ], + "full": "Portillo", + "canonical": "Ptilo" + }, + { + "tokens": [ + "Pto", + "Puerto" + ], + "full": "Puerto", + "canonical": "Pto" + }, + { + "tokens": [ + "Pzo", + "Pasadizo" + ], + "full": "Pasadizo", + "canonical": "Pzo" + }, + { + "tokens": [ + "Pzta", + "Plazoleta" + ], + "full": "Plazoleta", + "canonical": "Pzta" + }, + { + "tokens": [ + "Rampa", + "Rampla" + ], + "full": "Rampla", + "canonical": "Rampa" + }, + { + "tokens": [ + "Rbla", + "Rambla" + ], + "full": "Rambla", + "canonical": "Rbla" + }, + { + "tokens": [ + "Rbra", + "Ribera", + "Rivera" + ], + "full": "Ribera", + "canonical": "Rbra" + }, + { + "tokens": [ + "Rcda", + "Rinconada" + ], + "full": "Rinconada", + "canonical": "Rcda" + }, + { + "tokens": [ + "Rd", + "Ronda" + ], + "full": "Ronda", + "canonical": "Rd" + }, + { + "tokens": [ + "Resid", + "Residencial" + ], + "full": "Residencial", + "canonical": "Resid" + }, + { + "tokens": [ + "rincón", + "rincon", + "rcon", + "rin", + "rncn", + "rncon" + ], + "full": "rincón", + "canonical": "rin", + "type": "way" + }, + { + "tokens": [ + "retorno", + "ret", + "rt" + ], + "full": "retorno", + "canonical": "rt", + "type": "way", + "note": "translates to 'return'" + }, + { + "tokens": [ + "Rtda", + "Rotonda" + ], + "full": "Rotonda", + "canonical": "Rtda", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "Ru", + "Rua", + "Rúa" + ], + "full": "Rúa", + "canonical": "Ru" + }, + { + "tokens": [ + "ruta", + "rta" + ], + "full": "ruta", + "canonical": "rta", + "note": "translates to 'route'", + "type": "way" + }, + { + "tokens": [ + "S", + "San", + "Sant" + ], + "full": "San", + "canonical": "S" + }, + { + "tokens": [ + "Sanat", + "Sanatorio" + ], + "full": "Sanatorio", + "canonical": "Sanat" + }, + { + "tokens": [ + "Santu", + "Santuario" + ], + "full": "Santuario", + "canonical": "Santu" + }, + { + "tokens": [ + "Sbida", + "Subida" + ], + "full": "Subida", + "canonical": "Sbida" + }, + { + "tokens": [ + "Sect", + "Sector" + ], + "full": "Sector", + "canonical": "Sect" + }, + { + "tokens": [ + "Sedra", + "Sendera" + ], + "full": "Sendera", + "canonical": "Sedra" + }, + { + "tokens": [ + "Send", + "Sendero" + ], + "full": "Sendero", + "canonical": "Send" + }, + { + "tokens": [ + "Sta", + "Santa" + ], + "full": "Santa", + "canonical": "Sta" + }, + { + "tokens": [ + "Trans", + "Tránsito" + ], + "full": "Tránsito", + "canonical": "Trans" + }, + { + "tokens": [ + "Tras", + "Trasera" + ], + "full": "Trasera", + "canonical": "Tras" + }, + { + "tokens": [ + "Tr", + "Trva", + "Travesia", + "Travessia" + ], + "full": "Travesia", + "canonical": "Tr", + "type": "way" + + }, + { + "tokens": [ + "To", + "Trrnt", + "Torrente" + ], + "full": "Torrente", + "canonical": "To", + "type": "way" + }, + { + "tokens": [ + "Trval", + "Transversal" + ], + "full": "Transversal", + "canonical": "Trval" + }, + { + "tokens": [ + "ur" + ], + "full": "ur", + "canonical": "ur", + "type": "way" + }, + { + "tokens": [ + "Urb", + "Urbanización" + ], + "full": "Urbanización", + "canonical": "Urb" + }, + { + "tokens": [ + "Vcto", + "Viaducto" + ], + "full": "Viaducto", + "canonical": "Vcto" + }, + { + "tokens": [ + "Vecin", + "Vecindario" + ], + "full": "Vecindario", + "canonical": "Vecin" + }, + { + "tokens": [ + "Ver", + "Vreda", + "Vereda" + ], + "full": "Vereda", + "canonical": "Ver" + }, + { + "tokens": [ + "Vvdas", + "Viviendas" + ], + "full": "Viviendas", + "canonical": "Vvdas" + }, + { + "tokens": [ + "CH", + "Camino hondo" + ], + "full": "Camino hondo", + "canonical": "CH", + "spanBoundaries": 1 + }, + { + "tokens": [ + "CN", + "Camino nuevo" + ], + "full": "Camino nuevo", + "canonical": "CN", + "spanBoundaries": 1 + }, + { + "tokens": [ + "CV", + "Camino viejo" + ], + "full": "Camino viejo", + "canonical": "CV", + "spanBoundaries": 1 + }, + { + "tokens": [ + "PI", + "Pgind" + ], + "full": "Pgind", + "canonical": "PI" + }, + { + "tokens": [ + "PI", + "Polígono industrial" + ], + "full": "Polígono industrial", + "canonical": "PI", + "spanBoundaries": 1 + }, + { + "tokens": [ + "pk", + "Punto kilométrico" + ], + "full": "Punto kilométrico", + "canonical": "pk", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Psmar", + "Paseo marítimo" + ], + "full": "Paseo marítimo", + "canonical": "Psmar", + "spanBoundaries": 1 + }, + { + "tokens": [ + "y" + ], + "full": "y", + "canonical": "y", + "type": "determiner" + }, + { + "tokens": [ + "gv", + "gran via" + ], + "full": "gran via", + "canonical": "gv", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/es_20201214150036.json b/.history/tokens/es_20201214150036.json new file mode 100644 index 0000000..9e7c728 --- /dev/null +++ b/.history/tokens/es_20201214150036.json @@ -0,0 +1,1711 @@ +[ + { + "tokens": [ + "1", + "un", + "uno", + "una" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "dos" + ], + "full": "dos", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "tres" + ], + "full": "tres", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "quatre", + "cuatro" + ], + "full": "cuatro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "cinc", + "cinco" + ], + "full": "cinco", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "sis", + "seis" + ], + "full": "seis", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "set", + "siete" + ], + "full": "siete", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "vuit", + "ocho" + ], + "full": "ocho", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nou", + "nueve" + ], + "full": "nueve", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "deu", + "diez" + ], + "full": "diez", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "onze", + "once" + ], + "full": "once", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "dotze", + "doce" + ], + "full": "doce", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "tretze", + "trece" + ], + "full": "trece", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "catorze", + "catorce" + ], + "full": "catorce", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "quinze", + "quince" + ], + "full": "quince", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "setze", + "dieciseis" + ], + "full": "dieciseis", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "disset", + "diecisiete" + ], + "full": "diecisiete", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "divuit", + "dieciocho" + ], + "full": "dieciocho", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "dinou", + "diecinueve" + ], + "full": "diecinueve", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "vint", + "veinte" + ], + "full": "veinte", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "Acces", + "Acceso" + ], + "full": "Acceso", + "canonical": "Acces" + }, + { + "tokens": [ + "Aceq", + "Acequia" + ], + "full": "Acequia", + "canonical": "Aceq" + }, + { + "tokens": [ + "Alam", + "Alameda" + ], + "full": "Alameda", + "canonical": "Alam" + }, + { + "tokens": [ + "Alque", + "Alquería" + ], + "full": "Alquería", + "canonical": "Alque" + }, + { + "tokens": [ + "alc", + "alcalde" + ], + "full": "alcalde", + "canonical": "alc", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Andad", + "Andador" + ], + "full": "Andador", + "canonical": "Andad" + }, + { + "tokens": [ + "Angta", + "Angosta" + ], + "full": "Angosta", + "canonical": "Angta" + }, + { + "tokens": [ + "Apdro", + "Apeadero" + ], + "full": "Apeadero", + "canonical": "Apdro" + }, + { + "tokens": [ + "Aptos", + "Apartamentos" + ], + "full": "Apartamentos", + "canonical": "Aptos" + }, + { + "tokens": [ + "Arb", + "Arboleda" + ], + "full": "Arboleda", + "canonical": "Arb" + }, + { + "tokens": [ + "Arral", + "Arrabal" + ], + "full": "Arrabal", + "canonical": "Arral" + }, + { + "tokens": [ + "Arry", + "Arroyo" + ], + "full": "Arroyo", + "canonical": "Arry" + }, + { + "tokens": [ + "Auto", + "Autopista" + ], + "full": "Autopista", + "canonical": "Auto", + "onlyLayers": ["address"], + "note": "translates to 'freeway'", + "type": "way" + }, + { + "tokens": [ + "Autov", + "Autovía" + ], + "full": "Autovía", + "canonical": "Autov", + "onlyLayers": ["address"], + "note": "translates to 'dual carriageway'", + "type": "way" + }, + { + "tokens": [ + "Av", + "Avd", + "Avda", + "Avnda", + "Avenida", + "Avinguda" + ], + "full": "Avenida", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'", + "type": "way" + }, + { + "tokens": [ + "Bda", + "Banda" + ], + "full": "Banda", + "canonical": "B" + }, + { + "tokens": [ + "Balnr", + "Balneario" + ], + "full": "Balneario", + "canonical": "Balnr" + }, + { + "tokens": [ + "Barda", + "Barriada" + ], + "full": "Barriada", + "canonical": "Barda" + }, + { + "tokens": [ + "Bjada", + "Bajada" + ], + "full": "Bajada", + "canonical": "Bjada" + }, + { + "tokens": [ + "Blque", + "Bloque" + ], + "full": "Bloque", + "canonical": "Blque" + }, + { + "tokens": [ + "Bo", + "Barro", + "Barrio" + ], + "full": "Barrio", + "canonical": "Bo", + "type": "way" + }, + { + "tokens": [ + "Bqllo", + "Barranquil" + ], + "full": "Barranquil", + "canonical": "Bqllo" + }, + { + "tokens": [ + "Branc", + "Barranco" + ], + "full": "Barranco", + "canonical": "Branc" + }, + { + "tokens": [ + "Brzal", + "Brazal" + ], + "full": "Brazal", + "canonical": "Brzal" + }, + { + "tokens": [ + "Bulev", + "Bulevar" + ], + "full": "Bulevar", + "canonical": "Bulev", + "onlyLayers": ["address"], + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "Ca", + "Canada" + ], + "full": "Canada", + "canonical": "Ca", + "type": "way" + }, + { + "tokens": [ + "Campg", + "Camping" + ], + "full": "Camping", + "canonical": "Campg" + }, + { + "tokens": [ + "Cant", + "Cantón" + ], + "full": "Cantón", + "canonical": "Cant" + }, + { + "tokens": [ + "Canti", + "Cantina" + ], + "full": "Cantina", + "canonical": "Canti" + }, + { + "tokens": [ + "Cantr", + "Cantera" + ], + "full": "Cantera", + "canonical": "Cantr" + }, + { + "tokens": [ + "Cbtiz", + "Cobertizo" + ], + "full": "Cobertizo", + "canonical": "Cbtiz" + }, + { + "tokens": [ + "Ccvcn", + "Circunvalación" + ], + "full": "Circunvalación", + "canonical": "Ccvcn" + }, + { + "tokens": [ + "Chlet", + "Chalet" + ], + "full": "Chalet", + "canonical": "Chlet" + }, + { + "tokens": [ + "Cint", + "Cinturón" + ], + "full": "Cinturón", + "canonical": "Cint" + }, + { + "tokens": [ + "Cjla", + "Callejuela" + ], + "full": "Callejuela", + "canonical": "Cjla", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Cj", + "Cjon", + "Cllon", + "Callej", + "Callejón" + ], + "full": "Callejón", + "canonical": "Cj", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Cjto", + "Conjunto" + ], + "full": "Conjunto", + "canonical": "Cjto" + }, + { + "tokens": [ + "cer", + "cda", + "cerrada" + ], + "full": "cerrada", + "canonical": "cer", + "type": "way", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Ca", + "Cl", + "Cll", + "Call", + "Calle", + "Carrer" + ], + "full": "Calle", + "canonical": "Cl", + "onlyLayers": ["address"], + "note": "translates to 'street' ('carrer' is Catalan)", + "type": "way" + }, + { + "tokens": [ + "kr", + "kra", + "cr", + "cra", + "carr", + "carra", + "carrera" + ], + "full": "carrera", + "canonical": "cr", + "type": "way" + }, + { + "tokens": [ + "Cllja", + "Calleja" + ], + "full": "Calleja", + "canonical": "Cllja", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Cllzo", + "Callizo" + ], + "full": "Callizo", + "canonical": "Cllzo" + }, + { + "tokens": [ + "Cm", + "Cno", + "Cam", + "Cmno", + "Cami", + "Camino" + ], + "full": "Camino", + "canonical": "Cm", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "Cnvto", + "Convento" + ], + "full": "Convento", + "canonical": "Cnvto" + }, + { + "tokens": [ + "Col", + "Colonia" + ], + "full": "Colonia", + "canonical": "Col" + }, + { + "tokens": [ + "Compj", + "Complejo" + ], + "full": "Complejo", + "canonical": "Compj" + }, + { + "tokens": [ + "Coop", + "Cooperativa" + ], + "full": "Cooperativa", + "canonical": "Coop" + }, + { + "tokens": [ + "Coste", + "Costera" + ], + "full": "Costera", + "canonical": "Coste" + }, + { + "tokens": [ + "Cro", + "Carrero" + ], + "full": "Carrero", + "canonical": "Cro" + }, + { + "tokens": [ + "Crral", + "Corral" + ], + "full": "Corral", + "canonical": "Crral" + }, + { + "tokens": [ + "Crrdo", + "Corredor" + ], + "full": "Corredor", + "canonical": "Crrdo" + }, + { + "tokens": [ + "Crril", + "Carril" + ], + "full": "Carril", + "canonical": "Crril", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Crrlo", + "Corralillo" + ], + "full": "Corralillo", + "canonical": "Crrlo" + }, + { + "tokens": [ + "Crtil", + "Carretil" + ], + "full": "Carretil", + "canonical": "Crtil" + }, + { + "tokens": [ + "Crtjo", + "Cortijo" + ], + "full": "Cortijo", + "canonical": "Crtjo" + }, + { + "tokens": [ + "Csrio", + "Caserío" + ], + "full": "Caserío", + "canonical": "Csrio" + }, + { + "tokens": [ + "Cstan", + "Costanilla" + ], + "full": "Costanilla", + "canonical": "Cstan" + }, + { + "tokens": [ + "Cr", + "Ctra", + "Carretera" + ], + "full": "Carretera", + "canonical": "Cr", + "onlyLayers": ["address"], + "note": "translates to 'highway'", + "type": "way" + }, + { + "tokens": [ + "Ctrin", + "Carreterín" + ], + "full": "Carreterín", + "canonical": "Ctrin", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "Cuadr", + "Cuadra" + ], + "full": "Cuadra", + "canonical": "Cuadr" + }, + { + "tokens": [ + "Custa", + "Cuesta" + ], + "full": "Cuesta", + "canonical": "Custa" + }, + { + "tokens": [ + "Czada", + "Calzada" + ], + "full": "Calzada", + "canonical": "Czada", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "d", + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "en" + ], + "full": "en", + "canonical": "en", + "type": "determiner", + "note": "to handle d'en" + }, + { + "tokens": [ + "dr" + ], + "full": "dr", + "canonical": "dr", + "type": "way" + }, + { + "tokens": [ + "div", + "divina" + ], + "full": "divina", + "canonical": "div" + }, + { + "tokens": [ + "ds" + ], + "full": "ds", + "canonical": "ds", + "type": "way" + }, + { + "tokens": [ + "dr", + "doctor" + ], + "full": "dr", + "canonical": "doctor", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "dels" + ], + "full": "dels", + "canonical": "dels", + "type": "determiner" + }, + { + "tokens": [ + "don", + "dona" + ], + "full": "dona", + "canonical": "don", + "type": "determiner" + }, + { + "tokens": [ + "Demar", + "Demarcación" + ], + "full": "Demarcación", + "canonical": "Demar" + }, + { + "tokens": [ + "Dhsa", + "Dehesa" + ], + "full": "Dehesa", + "canonical": "Dhsa" + }, + { + "tokens": [ + "Diag", + "Diagonal" + ], + "full": "Diagonal", + "canonical": "Diag" + }, + { + "tokens": [ + "Disem", + "Diseminado", + "Diseminados" + ], + "full": "Diseminado", + "canonical": "Disem" + }, + { + "tokens": [ + "el" + ], + "full": "el", + "canonical": "el", + "type": "determiner" + }, + { + "tokens": [ + "Edifc", + "Edificio" + ], + "full": "Edificio", + "canonical": "Edifc" + }, + { + "tokens": [ + "Empr", + "Empresa" + ], + "full": "Empresa", + "canonical": "Empr" + }, + { + "tokens": [ + "Entd", + "Entrada" + ], + "full": "Entrada", + "canonical": "Entd" + }, + { + "tokens": [ + "Esca", + "Escalera" + ], + "full": "Escalera", + "canonical": "Esca" + }, + { + "tokens": [ + "Escal", + "Escalinata" + ], + "full": "Escalinata", + "canonical": "Escal" + }, + { + "tokens": [ + "Eslda", + "Espalda" + ], + "full": "Espalda", + "canonical": "Eslda" + }, + { + "tokens": [ + "Estcn", + "Estación" + ], + "full": "Estación", + "canonical": "Estcn" + }, + { + "tokens": [ + "Estda", + "Estrada" + ], + "full": "Estrada", + "canonical": "Estda" + }, + { + "tokens": [ + "Expla", + "Explanada" + ], + "full": "Explanada", + "canonical": "Expla" + }, + { + "tokens": [ + "Extrm", + "Extramuros" + ], + "full": "Extramuros", + "canonical": "Extrm" + }, + { + "tokens": [ + "Extrr", + "Extrarradio" + ], + "full": "Extrarradio", + "canonical": "Extrr" + }, + { + "tokens": [ + "Fca", + "Fbrca", + "Fábrica" + ], + "full": "Fábrica", + "canonical": "Fca" + }, + { + "tokens": [ + "Gale", + "Galería" + ], + "full": "Galería", + "canonical": "Gale" + }, + { + "tokens": [ + "Granj", + "Granja" + ], + "full": "Granja", + "canonical": "Granj" + }, + { + "tokens": [ + "Gta", + "Glorieta" + ], + "full": "Glorieta", + "canonical": "Gta", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Hipod", + "Hipódromo" + ], + "full": "Hipódromo", + "canonical": "Hipod" + }, + { + "tokens": [ + "Jdin", + "Jardín" + ], + "full": "Jardín", + "canonical": "Jdin" + }, + { + "tokens": [ + "Kalea", + "Karrika" + ], + "full": "Karrika", + "canonical": "K", + "note": "translates to 'street' ('kalea' is Catalan)", + "type": "way" + }, + { + "tokens": [ + "L", + "La" + ], + "full": "La", + "canonical": "La", + "type": "determiner" + }, + { + "tokens": [ + "Les" + ], + "full": "Les", + "canonical": "Les", + "type": "determiner" + }, + { + "tokens": [ + "Las" + ], + "full": "Las", + "canonical": "Las", + "type": "determiner" + }, + { + "tokens": [ + "Los" + ], + "full": "Los", + "canonical": "Los", + "type": "determiner" + }, + { + "tokens": [ + "Ldera", + "Ladera" + ], + "full": "Ladera", + "canonical": "Ldera" + }, + { + "tokens": [ + "Llnra", + "Llanura" + ], + "full": "Llanura", + "canonical": "Llnra" + }, + { + "tokens": [ + "Malec", + "Malecón" + ], + "full": "Malecón", + "canonical": "Malec" + }, + { + "tokens": [ + "Martine", + "Martinez" + ], + "full": "Martinez", + "canonical": "Martine" + }, + { + "tokens": [ + "Merc", + "Mercado" + ], + "full": "Mercado", + "canonical": "Merc" + }, + { + "tokens": [ + "Mrdor", + "Mirador" + ], + "full": "Mirador", + "canonical": "Mrdor" + }, + { + "tokens": [ + "Mtrio", + "Monasterio" + ], + "full": "Monasterio", + "canonical": "Mtrio" + }, + { + "tokens": [ + "Muell", + "Muelle" + ], + "full": "Muelle", + "canonical": "Muell" + }, + { + "tokens": [ + "N" + ], + "full": "N", + "canonical": "N", + "type": "determiner", + "note": "as part of a street n' (example: n'arai)" + }, + { + "tokens": [ + "Ncleo", + "Núcleo" + ], + "full": "Núcleo", + "canonical": "Ncleo" + }, + { + "tokens": [ + "Palac", + "Palacio" + ], + "full": "Palacio", + "canonical": "Palac" + }, + { + "tokens": [ + "Pant", + "Pantano" + ], + "full": "Pantano", + "canonical": "Pant" + }, + { + "tokens": [ + "Parti", + "Particular" + ], + "full": "Particular", + "canonical": "Parti" + }, + { + "tokens": [ + "Pbdo", + "Poblado" + ], + "full": "Poblado", + "canonical": "Pbdo" + }, + { + "tokens": [ + "Pblo", + "Pueblo" + ], + "full": "Pueblo", + "canonical": "Pblo" + }, + { + "tokens": [ + "Pl", + "Pz", + "Pza", + "Plza", + "Placa", + "Plaça", + "Plaza", + "Praza" + ], + "full": "Plaza", + "canonical": "Pl", + "type": "way", + "note": "'Praza' is Glacian for square" + }, + { + "tokens": [ + "Plzla", + "Plazuela" + ], + "full": "Plazuela", + "canonical": "Plzla" + }, + { + "tokens": [ + "Pnte", + "Puente" + ], + "full": "Puente", + "canonical": "Pnte" + }, + { + "tokens": [ + "Po", + "Ps", + "Pso", + "Paseo", + "Passeig" + ], + "full": "Paseo", + "canonical": "Po", + "onlyLayers": ["address"], + "note": "translates to 'walk'", + "type": "way" + }, + { + "tokens": [ + "Polig", + "Polígono" + ], + "full": "Polígono", + "canonical": "Polig" + }, + { + "tokens": [ + "Pque", + "Parque", + "Parq", + "Pq", + "Pqe" + ], + "full": "Parque", + "canonical": "Pq", + "note": "translates to 'park'", + "type": "way" + }, + { + "tokens": [ + "Praje", + "Paraje" + ], + "full": "Paraje", + "canonical": "Praje" + }, + { + "tokens": [ + "Prol", + "Prolongación" + ], + "full": "Prolongación", + "canonical": "Prol" + }, + { + "tokens": [ + "Prtal", + "Portal" + ], + "full": "Portal", + "canonical": "Prtal" + }, + { + "tokens": [ + "Prtco", + "Pórtico" + ], + "full": "Pórtico", + "canonical": "Prtco" + }, + { + "tokens": [ + "Przla", + "Prazuela" + ], + "full": "Prazuela", + "canonical": "Przla" + }, + { + "tokens": [ + "Psaje", + "Pasaje" + ], + "full": "Pasaje", + "canonical": "Psaje", + "onlyLayers": ["address"], + "note": "translates to 'passage'", + "type": "way" + }, + { + "tokens": [ + "pj", + "passatge" + ], + "full": "passatge", + "canonical": "pj", + "onlyLayers": ["address"], + "note": "translates to 'passatge'", + "type": "way" + }, + { + "tokens": [ + "Psllo", + "Pasillo" + ], + "full": "Pasillo", + "canonical": "Psllo" + }, + { + "tokens": [ + "Pta", + "Puerta" + ], + "full": "Puerta", + "canonical": "Pta" + }, + { + "tokens": [ + "Ptda", + "Partida" + ], + "full": "Partida", + "canonical": "Ptda" + }, + { + "tokens": [ + "Ptilo", + "Portillo" + ], + "full": "Portillo", + "canonical": "Ptilo" + }, + { + "tokens": [ + "Pto", + "Puerto" + ], + "full": "Puerto", + "canonical": "Pto" + }, + { + "tokens": [ + "Pzo", + "Pasadizo" + ], + "full": "Pasadizo", + "canonical": "Pzo" + }, + { + "tokens": [ + "Pzta", + "Plazoleta" + ], + "full": "Plazoleta", + "canonical": "Pzta" + }, + { + "tokens": [ + "Rampa", + "Rampla" + ], + "full": "Rampla", + "canonical": "Rampa" + }, + { + "tokens": [ + "Rbla", + "Rambla" + ], + "full": "Rambla", + "canonical": "Rbla" + }, + { + "tokens": [ + "Rbra", + "Ribera", + "Rivera" + ], + "full": "Ribera", + "canonical": "Rbra" + }, + { + "tokens": [ + "Rcda", + "Rinconada" + ], + "full": "Rinconada", + "canonical": "Rcda" + }, + { + "tokens": [ + "Rd", + "Ronda" + ], + "full": "Ronda", + "canonical": "Rd" + }, + { + "tokens": [ + "Resid", + "Residencial" + ], + "full": "Residencial", + "canonical": "Resid" + }, + { + "tokens": [ + "rincón", + "rincon", + "rcon", + "rin", + "rncn", + "rncon" + ], + "full": "rincón", + "canonical": "rin", + "type": "way" + }, + { + "tokens": [ + "retorno", + "ret", + "rt" + ], + "full": "retorno", + "canonical": "rt", + "type": "way", + "note": "translates to 'return'" + }, + { + "tokens": [ + "Rtda", + "Rotonda" + ], + "full": "Rotonda", + "canonical": "Rtda", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "Ru", + "Rua", + "Rúa" + ], + "full": "Rúa", + "canonical": "Ru" + }, + { + "tokens": [ + "ruta", + "rta" + ], + "full": "ruta", + "canonical": "rta", + "note": "translates to 'route'", + "type": "way" + }, + { + "tokens": [ + "S", + "San", + "Sant" + ], + "full": "San", + "canonical": "S" + }, + { + "tokens": [ + "Sanat", + "Sanatorio" + ], + "full": "Sanatorio", + "canonical": "Sanat" + }, + { + "tokens": [ + "Santu", + "Santuario" + ], + "full": "Santuario", + "canonical": "Santu" + }, + { + "tokens": [ + "Sbida", + "Subida" + ], + "full": "Subida", + "canonical": "Sbida" + }, + { + "tokens": [ + "Sect", + "Sector" + ], + "full": "Sector", + "canonical": "Sect" + }, + { + "tokens": [ + "Sedra", + "Sendera" + ], + "full": "Sendera", + "canonical": "Sedra" + }, + { + "tokens": [ + "Send", + "Sendero" + ], + "full": "Sendero", + "canonical": "Send" + }, + { + "tokens": [ + "Sta", + "Santa" + ], + "full": "Santa", + "canonical": "Sta" + }, + { + "tokens": [ + "Trans", + "Tránsito" + ], + "full": "Tránsito", + "canonical": "Trans" + }, + { + "tokens": [ + "Tras", + "Trasera" + ], + "full": "Trasera", + "canonical": "Tras" + }, + { + "tokens": [ + "Tr", + "Trva", + "Travesia", + "Travessia" + ], + "full": "Travesia", + "canonical": "Tr", + "type": "way" + + }, + { + "tokens": [ + "To", + "Trrnt", + "Torrente" + ], + "full": "Torrente", + "canonical": "To", + "type": "way" + }, + { + "tokens": [ + "Trval", + "Transversal" + ], + "full": "Transversal", + "canonical": "Trval" + }, + { + "tokens": [ + "ur" + ], + "full": "ur", + "canonical": "ur", + "type": "way" + }, + { + "tokens": [ + "Urb", + "Urbanización" + ], + "full": "Urbanización", + "canonical": "Urb" + }, + { + "tokens": [ + "Vcto", + "Viaducto" + ], + "full": "Viaducto", + "canonical": "Vcto" + }, + { + "tokens": [ + "Vecin", + "Vecindario" + ], + "full": "Vecindario", + "canonical": "Vecin" + }, + { + "tokens": [ + "Ver", + "Vreda", + "Vereda" + ], + "full": "Vereda", + "canonical": "Ver" + }, + { + "tokens": [ + "Vvdas", + "Viviendas" + ], + "full": "Viviendas", + "canonical": "Vvdas" + }, + { + "tokens": [ + "CH", + "Camino hondo" + ], + "full": "Camino hondo", + "canonical": "CH", + "spanBoundaries": 1 + }, + { + "tokens": [ + "CN", + "Camino nuevo" + ], + "full": "Camino nuevo", + "canonical": "CN", + "spanBoundaries": 1 + }, + { + "tokens": [ + "CV", + "Camino viejo" + ], + "full": "Camino viejo", + "canonical": "CV", + "spanBoundaries": 1 + }, + { + "tokens": [ + "PI", + "Pgind" + ], + "full": "Pgind", + "canonical": "PI" + }, + { + "tokens": [ + "PI", + "Polígono industrial" + ], + "full": "Polígono industrial", + "canonical": "PI", + "spanBoundaries": 1 + }, + { + "tokens": [ + "pk", + "Punto kilométrico" + ], + "full": "Punto kilométrico", + "canonical": "pk", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Psmar", + "Paseo marítimo" + ], + "full": "Paseo marítimo", + "canonical": "Psmar", + "spanBoundaries": 1 + }, + { + "tokens": [ + "y" + ], + "full": "y", + "canonical": "y", + "type": "determiner" + }, + { + "tokens": [ + "gv", + "gran via" + ], + "full": "gran via", + "canonical": "gv", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/es_20201214150049.json b/.history/tokens/es_20201214150049.json new file mode 100644 index 0000000..be813f7 --- /dev/null +++ b/.history/tokens/es_20201214150049.json @@ -0,0 +1,1710 @@ +[ + { + "tokens": [ + "1", + "un", + "uno", + "una" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "dos" + ], + "full": "dos", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "tres" + ], + "full": "tres", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "quatre", + "cuatro" + ], + "full": "cuatro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "cinc", + "cinco" + ], + "full": "cinco", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "sis", + "seis" + ], + "full": "seis", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "set", + "siete" + ], + "full": "siete", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "vuit", + "ocho" + ], + "full": "ocho", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nou", + "nueve" + ], + "full": "nueve", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "deu", + "diez" + ], + "full": "diez", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "onze", + "once" + ], + "full": "once", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "dotze", + "doce" + ], + "full": "doce", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "tretze", + "trece" + ], + "full": "trece", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "catorze", + "catorce" + ], + "full": "catorce", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "quinze", + "quince" + ], + "full": "quince", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "setze", + "dieciseis" + ], + "full": "dieciseis", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "disset", + "diecisiete" + ], + "full": "diecisiete", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "divuit", + "dieciocho" + ], + "full": "dieciocho", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "dinou", + "diecinueve" + ], + "full": "diecinueve", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "vint", + "veinte" + ], + "full": "veinte", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "Acces", + "Acceso" + ], + "full": "Acceso", + "canonical": "Acces" + }, + { + "tokens": [ + "Aceq", + "Acequia" + ], + "full": "Acequia", + "canonical": "Aceq" + }, + { + "tokens": [ + "Alam", + "Alameda" + ], + "full": "Alameda", + "canonical": "Alam" + }, + { + "tokens": [ + "Alque", + "Alquería" + ], + "full": "Alquería", + "canonical": "Alque" + }, + { + "tokens": [ + "alc", + "alcalde" + ], + "full": "alcalde", + "canonical": "alc", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Andad", + "Andador" + ], + "full": "Andador", + "canonical": "Andad" + }, + { + "tokens": [ + "Angta", + "Angosta" + ], + "full": "Angosta", + "canonical": "Angta" + }, + { + "tokens": [ + "Apdro", + "Apeadero" + ], + "full": "Apeadero", + "canonical": "Apdro" + }, + { + "tokens": [ + "Aptos", + "Apartamentos" + ], + "full": "Apartamentos", + "canonical": "Aptos" + }, + { + "tokens": [ + "Arb", + "Arboleda" + ], + "full": "Arboleda", + "canonical": "Arb" + }, + { + "tokens": [ + "Arral", + "Arrabal" + ], + "full": "Arrabal", + "canonical": "Arral" + }, + { + "tokens": [ + "Arry", + "Arroyo" + ], + "full": "Arroyo", + "canonical": "Arry" + }, + { + "tokens": [ + "Auto", + "Autopista" + ], + "full": "Autopista", + "canonical": "Auto", + "onlyLayers": ["address"], + "note": "translates to 'freeway'", + "type": "way" + }, + { + "tokens": [ + "Autov", + "Autovía" + ], + "full": "Autovía", + "canonical": "Autov", + "onlyLayers": ["address"], + "note": "translates to 'dual carriageway'", + "type": "way" + }, + { + "tokens": [ + "Av", + "Avd", + "Avda", + "Avnda", + "Avenida", + "Avinguda" + ], + "full": "Avenida", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'", + "type": "way" + }, + { + "tokens": [ + "Bda", + "Banda" + ], + "full": "Banda", + "canonical": "B" + }, + { + "tokens": [ + "Balnr", + "Balneario" + ], + "full": "Balneario", + "canonical": "Balnr" + }, + { + "tokens": [ + "Barda", + "Barriada" + ], + "full": "Barriada", + "canonical": "Barda" + }, + { + "tokens": [ + "Bjada", + "Bajada" + ], + "full": "Bajada", + "canonical": "Bjada" + }, + { + "tokens": [ + "Blque", + "Bloque" + ], + "full": "Bloque", + "canonical": "Blque" + }, + { + "tokens": [ + "Bo", + "Barro", + "Barrio" + ], + "full": "Barrio", + "canonical": "Bo", + "type": "way" + }, + { + "tokens": [ + "Bqllo", + "Barranquil" + ], + "full": "Barranquil", + "canonical": "Bqllo" + }, + { + "tokens": [ + "Branc", + "Barranco" + ], + "full": "Barranco", + "canonical": "Branc" + }, + { + "tokens": [ + "Brzal", + "Brazal" + ], + "full": "Brazal", + "canonical": "Brzal" + }, + { + "tokens": [ + "Bulev", + "Bulevar" + ], + "full": "Bulevar", + "canonical": "Bulev", + "onlyLayers": ["address"], + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "Ca", + "Canada" + ], + "full": "Canada", + "canonical": "Ca", + "type": "way" + }, + { + "tokens": [ + "Campg", + "Camping" + ], + "full": "Camping", + "canonical": "Campg" + }, + { + "tokens": [ + "Cant", + "Cantón" + ], + "full": "Cantón", + "canonical": "Cant" + }, + { + "tokens": [ + "Canti", + "Cantina" + ], + "full": "Cantina", + "canonical": "Canti" + }, + { + "tokens": [ + "Cantr", + "Cantera" + ], + "full": "Cantera", + "canonical": "Cantr" + }, + { + "tokens": [ + "Cbtiz", + "Cobertizo" + ], + "full": "Cobertizo", + "canonical": "Cbtiz" + }, + { + "tokens": [ + "Ccvcn", + "Circunvalación" + ], + "full": "Circunvalación", + "canonical": "Ccvcn" + }, + { + "tokens": [ + "Chlet", + "Chalet" + ], + "full": "Chalet", + "canonical": "Chlet" + }, + { + "tokens": [ + "Cint", + "Cinturón" + ], + "full": "Cinturón", + "canonical": "Cint" + }, + { + "tokens": [ + "Cjla", + "Callejuela" + ], + "full": "Callejuela", + "canonical": "Cjla", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Cj", + "Cjon", + "Cllon", + "Callej", + "Callejón" + ], + "full": "Callejón", + "canonical": "Cj", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Cjto", + "Conjunto" + ], + "full": "Conjunto", + "canonical": "Cjto" + }, + { + "tokens": [ + "cer", + "cda", + "cerrada" + ], + "full": "cerrada", + "canonical": "cer", + "type": "way", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Ca", + "Cl", + "Cll", + "Call", + "Calle", + "Carrer" + ], + "full": "Calle", + "canonical": "Cl", + "onlyLayers": ["address"], + "note": "translates to 'street' ('carrer' is Catalan)", + "type": "way" + }, + { + "tokens": [ + "kr", + "kra", + "cr", + "cra", + "carr", + "carra", + "carrera" + ], + "full": "carrera", + "canonical": "cr", + "type": "way" + }, + { + "tokens": [ + "Cllja", + "Calleja" + ], + "full": "Calleja", + "canonical": "Cllja", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Cllzo", + "Callizo" + ], + "full": "Callizo", + "canonical": "Cllzo" + }, + { + "tokens": [ + "Cm", + "Cno", + "Cam", + "Cmno", + "Cami", + "Camino" + ], + "full": "Camino", + "canonical": "Cm", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "Cnvto", + "Convento" + ], + "full": "Convento", + "canonical": "Cnvto" + }, + { + "tokens": [ + "Col", + "Colonia" + ], + "full": "Colonia", + "canonical": "Col" + }, + { + "tokens": [ + "Compj", + "Complejo" + ], + "full": "Complejo", + "canonical": "Compj" + }, + { + "tokens": [ + "Coop", + "Cooperativa" + ], + "full": "Cooperativa", + "canonical": "Coop" + }, + { + "tokens": [ + "Coste", + "Costera" + ], + "full": "Costera", + "canonical": "Coste" + }, + { + "tokens": [ + "Cro", + "Carrero" + ], + "full": "Carrero", + "canonical": "Cro" + }, + { + "tokens": [ + "Crral", + "Corral" + ], + "full": "Corral", + "canonical": "Crral" + }, + { + "tokens": [ + "Crrdo", + "Corredor" + ], + "full": "Corredor", + "canonical": "Crrdo" + }, + { + "tokens": [ + "Crril", + "Carril" + ], + "full": "Carril", + "canonical": "Crril", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Crrlo", + "Corralillo" + ], + "full": "Corralillo", + "canonical": "Crrlo" + }, + { + "tokens": [ + "Crtil", + "Carretil" + ], + "full": "Carretil", + "canonical": "Crtil" + }, + { + "tokens": [ + "Crtjo", + "Cortijo" + ], + "full": "Cortijo", + "canonical": "Crtjo" + }, + { + "tokens": [ + "Csrio", + "Caserío" + ], + "full": "Caserío", + "canonical": "Csrio" + }, + { + "tokens": [ + "Cstan", + "Costanilla" + ], + "full": "Costanilla", + "canonical": "Cstan" + }, + { + "tokens": [ + "Cr", + "Ctra", + "Carretera" + ], + "full": "Carretera", + "canonical": "Cr", + "onlyLayers": ["address"], + "note": "translates to 'highway'", + "type": "way" + }, + { + "tokens": [ + "Ctrin", + "Carreterín" + ], + "full": "Carreterín", + "canonical": "Ctrin", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "Cuadr", + "Cuadra" + ], + "full": "Cuadra", + "canonical": "Cuadr" + }, + { + "tokens": [ + "Custa", + "Cuesta" + ], + "full": "Cuesta", + "canonical": "Custa" + }, + { + "tokens": [ + "Czada", + "Calzada" + ], + "full": "Calzada", + "canonical": "Czada", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "d", + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "en" + ], + "full": "en", + "canonical": "en", + "type": "determiner", + "note": "to handle d'en" + }, + { + "tokens": [ + "dr" + ], + "full": "dr", + "canonical": "dr", + "type": "way" + }, + { + "tokens": [ + "div", + "divina" + ], + "full": "divina", + "canonical": "div" + }, + { + "tokens": [ + "ds" + ], + "full": "ds", + "canonical": "ds", + "type": "way" + }, + { + "tokens": [ + "dr", + "doctor" + ], + "full": "dr", + "canonical": "doctor", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "dels" + ], + "full": "dels", + "canonical": "dels", + "type": "determiner" + }, + { + "tokens": [ + "don", + "dona" + ], + "full": "dona", + "canonical": "don", + "type": "determiner" + }, + { + "tokens": [ + "Demar", + "Demarcación" + ], + "full": "Demarcación", + "canonical": "Demar" + }, + { + "tokens": [ + "Dhsa", + "Dehesa" + ], + "full": "Dehesa", + "canonical": "Dhsa" + }, + { + "tokens": [ + "Diag", + "Diagonal" + ], + "full": "Diagonal", + "canonical": "Diag" + }, + { + "tokens": [ + "Disem", + "Diseminado", + "Diseminados" + ], + "full": "Diseminado", + "canonical": "Disem" + }, + { + "tokens": [ + "el" + ], + "full": "el", + "canonical": "el", + "type": "determiner" + }, + { + "tokens": [ + "Edifc", + "Edificio" + ], + "full": "Edificio", + "canonical": "Edifc" + }, + { + "tokens": [ + "Empr", + "Empresa" + ], + "full": "Empresa", + "canonical": "Empr" + }, + { + "tokens": [ + "Entd", + "Entrada" + ], + "full": "Entrada", + "canonical": "Entd" + }, + { + "tokens": [ + "Esca", + "Escalera" + ], + "full": "Escalera", + "canonical": "Esca" + }, + { + "tokens": [ + "Escal", + "Escalinata" + ], + "full": "Escalinata", + "canonical": "Escal" + }, + { + "tokens": [ + "Eslda", + "Espalda" + ], + "full": "Espalda", + "canonical": "Eslda" + }, + { + "tokens": [ + "Estcn", + "Estación" + ], + "full": "Estación", + "canonical": "Estcn" + }, + { + "tokens": [ + "Estda", + "Estrada" + ], + "full": "Estrada", + "canonical": "Estda" + }, + { + "tokens": [ + "Expla", + "Explanada" + ], + "full": "Explanada", + "canonical": "Expla" + }, + { + "tokens": [ + "Extrm", + "Extramuros" + ], + "full": "Extramuros", + "canonical": "Extrm" + }, + { + "tokens": [ + "Extrr", + "Extrarradio" + ], + "full": "Extrarradio", + "canonical": "Extrr" + }, + { + "tokens": [ + "Fca", + "Fbrca", + "Fábrica" + ], + "full": "Fábrica", + "canonical": "Fca" + }, + { + "tokens": [ + "Gale", + "Galería" + ], + "full": "Galería", + "canonical": "Gale" + }, + { + "tokens": [ + "Granj", + "Granja" + ], + "full": "Granja", + "canonical": "Granj" + }, + { + "tokens": [ + "Gta", + "Glorieta" + ], + "full": "Glorieta", + "canonical": "Gta", + "onlyCountries": ["es"] + }, + { + "tokens": [ + "Hipod", + "Hipódromo" + ], + "full": "Hipódromo", + "canonical": "Hipod" + }, + { + "tokens": [ + "Jdin", + "Jardín" + ], + "full": "Jardín", + "canonical": "Jdin" + }, + { + "tokens": [ + "Kalea", + "Karrika" + ], + "full": "Karrika", + "canonical": "K", + "note": "translates to 'street' ('kalea' is Catalan)", + "type": "way" + }, + { + "tokens": [ + "L", + "La" + ], + "full": "La", + "canonical": "La", + "type": "determiner" + }, + { + "tokens": [ + "Les" + ], + "full": "Les", + "canonical": "Les", + "type": "determiner" + }, + { + "tokens": [ + "Las" + ], + "full": "Las", + "canonical": "Las", + "type": "determiner" + }, + { + "tokens": [ + "Los" + ], + "full": "Los", + "canonical": "Los", + "type": "determiner" + }, + { + "tokens": [ + "Ldera", + "Ladera" + ], + "full": "Ladera", + "canonical": "Ldera" + }, + { + "tokens": [ + "Llnra", + "Llanura" + ], + "full": "Llanura", + "canonical": "Llnra" + }, + { + "tokens": [ + "Malec", + "Malecón" + ], + "full": "Malecón", + "canonical": "Malec" + }, + { + "tokens": [ + "Martine", + "Martinez" + ], + "full": "Martinez", + "canonical": "Martine" + }, + { + "tokens": [ + "Merc", + "Mercado" + ], + "full": "Mercado", + "canonical": "Merc" + }, + { + "tokens": [ + "Mrdor", + "Mirador" + ], + "full": "Mirador", + "canonical": "Mrdor" + }, + { + "tokens": [ + "Mtrio", + "Monasterio" + ], + "full": "Monasterio", + "canonical": "Mtrio" + }, + { + "tokens": [ + "Muell", + "Muelle" + ], + "full": "Muelle", + "canonical": "Muell" + }, + { + "tokens": [ + "N" + ], + "full": "N", + "canonical": "N", + "type": "determiner", + "note": "as part of a street n' (example: n'arai)" + }, + { + "tokens": [ + "Ncleo", + "Núcleo" + ], + "full": "Núcleo", + "canonical": "Ncleo" + }, + { + "tokens": [ + "Palac", + "Palacio" + ], + "full": "Palacio", + "canonical": "Palac" + }, + { + "tokens": [ + "Pant", + "Pantano" + ], + "full": "Pantano", + "canonical": "Pant" + }, + { + "tokens": [ + "Parti", + "Particular" + ], + "full": "Particular", + "canonical": "Parti" + }, + { + "tokens": [ + "Pbdo", + "Poblado" + ], + "full": "Poblado", + "canonical": "Pbdo" + }, + { + "tokens": [ + "Pblo", + "Pueblo" + ], + "full": "Pueblo", + "canonical": "Pblo" + }, + { + "tokens": [ + "Pl", + "Pz", + "Pza", + "Plza", + "Placa", + "Plaça", + "Plaza", + "Praza" + ], + "full": "Plaza", + "canonical": "Pl", + "type": "way", + "note": "'Praza' is Glacian for square" + }, + { + "tokens": [ + "Plzla", + "Plazuela" + ], + "full": "Plazuela", + "canonical": "Plzla" + }, + { + "tokens": [ + "Pnte", + "Puente" + ], + "full": "Puente", + "canonical": "Pnte" + }, + { + "tokens": [ + "Po", + "Ps", + "Pso", + "Paseo", + "Passeig" + ], + "full": "Paseo", + "canonical": "Po", + "onlyLayers": ["address"], + "note": "translates to 'walk'", + "type": "way" + }, + { + "tokens": [ + "Polig", + "Polígono" + ], + "full": "Polígono", + "canonical": "Polig" + }, + { + "tokens": [ + "Pque", + "Parque", + "Parq", + "Pq", + "Pqe" + ], + "full": "Parque", + "canonical": "Pq", + "note": "translates to 'park'", + "type": "way" + }, + { + "tokens": [ + "Praje", + "Paraje" + ], + "full": "Paraje", + "canonical": "Praje" + }, + { + "tokens": [ + "Prol", + "Prolongación" + ], + "full": "Prolongación", + "canonical": "Prol" + }, + { + "tokens": [ + "Prtal", + "Portal" + ], + "full": "Portal", + "canonical": "Prtal" + }, + { + "tokens": [ + "Prtco", + "Pórtico" + ], + "full": "Pórtico", + "canonical": "Prtco" + }, + { + "tokens": [ + "Przla", + "Prazuela" + ], + "full": "Prazuela", + "canonical": "Przla" + }, + { + "tokens": [ + "Psaje", + "Pasaje" + ], + "full": "Pasaje", + "canonical": "Psaje", + "onlyLayers": ["address"], + "note": "translates to 'passage'", + "type": "way" + }, + { + "tokens": [ + "pj", + "passatge" + ], + "full": "passatge", + "canonical": "pj", + "onlyLayers": ["address"], + "note": "translates to 'passatge'", + "type": "way" + }, + { + "tokens": [ + "Psllo", + "Pasillo" + ], + "full": "Pasillo", + "canonical": "Psllo" + }, + { + "tokens": [ + "Pta", + "Puerta" + ], + "full": "Puerta", + "canonical": "Pta" + }, + { + "tokens": [ + "Ptda", + "Partida" + ], + "full": "Partida", + "canonical": "Ptda" + }, + { + "tokens": [ + "Ptilo", + "Portillo" + ], + "full": "Portillo", + "canonical": "Ptilo" + }, + { + "tokens": [ + "Pto", + "Puerto" + ], + "full": "Puerto", + "canonical": "Pto" + }, + { + "tokens": [ + "Pzo", + "Pasadizo" + ], + "full": "Pasadizo", + "canonical": "Pzo" + }, + { + "tokens": [ + "Pzta", + "Plazoleta" + ], + "full": "Plazoleta", + "canonical": "Pzta" + }, + { + "tokens": [ + "Rampa", + "Rampla" + ], + "full": "Rampla", + "canonical": "Rampa" + }, + { + "tokens": [ + "Rbla", + "Rambla" + ], + "full": "Rambla", + "canonical": "Rbla" + }, + { + "tokens": [ + "Rbra", + "Ribera", + "Rivera" + ], + "full": "Ribera", + "canonical": "Rbra" + }, + { + "tokens": [ + "Rcda", + "Rinconada" + ], + "full": "Rinconada", + "canonical": "Rcda" + }, + { + "tokens": [ + "Rd", + "Ronda" + ], + "full": "Ronda", + "canonical": "Rd" + }, + { + "tokens": [ + "Resid", + "Residencial" + ], + "full": "Residencial", + "canonical": "Resid" + }, + { + "tokens": [ + "rincón", + "rincon", + "rcon", + "rin", + "rncn", + "rncon" + ], + "full": "rincón", + "canonical": "rin", + "type": "way" + }, + { + "tokens": [ + "retorno", + "ret", + "rt" + ], + "full": "retorno", + "canonical": "rt", + "type": "way", + "note": "translates to 'return'" + }, + { + "tokens": [ + "Rtda", + "Rotonda" + ], + "full": "Rotonda", + "canonical": "Rtda", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "Ru", + "Rua", + "Rúa" + ], + "full": "Rúa", + "canonical": "Ru" + }, + { + "tokens": [ + "ruta", + "rta" + ], + "full": "ruta", + "canonical": "rta", + "note": "translates to 'route'", + "type": "way" + }, + { + "tokens": [ + "San", + "Sant" + ], + "full": "San", + "canonical": "S" + }, + { + "tokens": [ + "Sanat", + "Sanatorio" + ], + "full": "Sanatorio", + "canonical": "Sanat" + }, + { + "tokens": [ + "Santu", + "Santuario" + ], + "full": "Santuario", + "canonical": "Santu" + }, + { + "tokens": [ + "Sbida", + "Subida" + ], + "full": "Subida", + "canonical": "Sbida" + }, + { + "tokens": [ + "Sect", + "Sector" + ], + "full": "Sector", + "canonical": "Sect" + }, + { + "tokens": [ + "Sedra", + "Sendera" + ], + "full": "Sendera", + "canonical": "Sedra" + }, + { + "tokens": [ + "Send", + "Sendero" + ], + "full": "Sendero", + "canonical": "Send" + }, + { + "tokens": [ + "Sta", + "Santa" + ], + "full": "Santa", + "canonical": "Sta" + }, + { + "tokens": [ + "Trans", + "Tránsito" + ], + "full": "Tránsito", + "canonical": "Trans" + }, + { + "tokens": [ + "Tras", + "Trasera" + ], + "full": "Trasera", + "canonical": "Tras" + }, + { + "tokens": [ + "Tr", + "Trva", + "Travesia", + "Travessia" + ], + "full": "Travesia", + "canonical": "Tr", + "type": "way" + + }, + { + "tokens": [ + "To", + "Trrnt", + "Torrente" + ], + "full": "Torrente", + "canonical": "To", + "type": "way" + }, + { + "tokens": [ + "Trval", + "Transversal" + ], + "full": "Transversal", + "canonical": "Trval" + }, + { + "tokens": [ + "ur" + ], + "full": "ur", + "canonical": "ur", + "type": "way" + }, + { + "tokens": [ + "Urb", + "Urbanización" + ], + "full": "Urbanización", + "canonical": "Urb" + }, + { + "tokens": [ + "Vcto", + "Viaducto" + ], + "full": "Viaducto", + "canonical": "Vcto" + }, + { + "tokens": [ + "Vecin", + "Vecindario" + ], + "full": "Vecindario", + "canonical": "Vecin" + }, + { + "tokens": [ + "Ver", + "Vreda", + "Vereda" + ], + "full": "Vereda", + "canonical": "Ver" + }, + { + "tokens": [ + "Vvdas", + "Viviendas" + ], + "full": "Viviendas", + "canonical": "Vvdas" + }, + { + "tokens": [ + "CH", + "Camino hondo" + ], + "full": "Camino hondo", + "canonical": "CH", + "spanBoundaries": 1 + }, + { + "tokens": [ + "CN", + "Camino nuevo" + ], + "full": "Camino nuevo", + "canonical": "CN", + "spanBoundaries": 1 + }, + { + "tokens": [ + "CV", + "Camino viejo" + ], + "full": "Camino viejo", + "canonical": "CV", + "spanBoundaries": 1 + }, + { + "tokens": [ + "PI", + "Pgind" + ], + "full": "Pgind", + "canonical": "PI" + }, + { + "tokens": [ + "PI", + "Polígono industrial" + ], + "full": "Polígono industrial", + "canonical": "PI", + "spanBoundaries": 1 + }, + { + "tokens": [ + "pk", + "Punto kilométrico" + ], + "full": "Punto kilométrico", + "canonical": "pk", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Psmar", + "Paseo marítimo" + ], + "full": "Paseo marítimo", + "canonical": "Psmar", + "spanBoundaries": 1 + }, + { + "tokens": [ + "y" + ], + "full": "y", + "canonical": "y", + "type": "determiner" + }, + { + "tokens": [ + "gv", + "gran via" + ], + "full": "gran via", + "canonical": "gv", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/fr_20220531085812.json b/.history/tokens/fr_20220531085812.json new file mode 100644 index 0000000..f51efda --- /dev/null +++ b/.history/tokens/fr_20220531085812.json @@ -0,0 +1,1357 @@ +[ + { + "tokens": [ + "0", + "zero" + ], + "full": "zero", + "canonical": "0", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "1", + "un", + "une" + ], + "full": "une", + "canonical": "1", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "2", + "deux" + ], + "full": "deux", + "canonical": "2", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "3", + "trois" + ], + "full": "trois", + "canonical": "3", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "4", + "quatre", + "quatres" + ], + "full": "quatre", + "canonical": "4", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "5", + "cinq" + ], + "full": "cinq", + "canonical": "5", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "6", + "six" + ], + "full": "six", + "canonical": "6", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "7", + "sept" + ], + "full": "sept", + "canonical": "7", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "8", + "huit" + ], + "full": "huit", + "canonical": "8", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "9", + "neuf" + ], + "full": "neuf", + "canonical": "9", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "10", + "dix" + ], + "full": "dix", + "canonical": "10", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "11", + "onze" + ], + "full": "onze", + "canonical": "11", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "12", + "douze" + ], + "full": "douze", + "canonical": "12", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "13", + "treize" + ], + "full": "treize", + "canonical": "13", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "14", + "quatorze" + ], + "full": "quatorze", + "canonical": "14", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "15", + "quinze" + ], + "full": "quinze", + "canonical": "15", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "16", + "seize" + ], + "full": "seize", + "canonical": "16", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "17", + "dix sept" + ], + "full": "dix sept", + "canonical": "17", + "type": "number", + "spanBoundaries": 1, + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "18", + "dix huit" + ], + "full": "dix huit", + "canonical": "18", + "type": "number", + "spanBoundaries": 1, + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "19", + "dix neuf" + ], + "full": "dix neuf", + "canonical": "19", + "type": "number", + "spanBoundaries": 1, + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "20", + "vingt" + ], + "full": "twenty", + "canonical": "20", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "10e", + "Dixième" + ], + "full": "Dixième", + "canonical": "10e", + "type": "ordinal" + }, + { + "tokens": [ + "11e", + "Onzième" + ], + "full": "Onzième", + "canonical": "11e", + "type": "ordinal" + }, + { + "tokens": [ + "12e", + "Douzième" + ], + "full": "Douzième", + "canonical": "12e", + "type": "ordinal" + }, + { + "tokens": [ + "13e", + "Treizième" + ], + "full": "Treizième", + "canonical": "13e", + "type": "ordinal" + }, + { + "tokens": [ + "14e", + "Quatorzième" + ], + "full": "Quatorzième", + "canonical": "14e", + "type": "ordinal" + }, + { + "tokens": [ + "15e", + "Quinzième" + ], + "full": "Quinzième", + "canonical": "15e", + "type": "ordinal" + }, + { + "tokens": [ + "16e", + "Seizième" + ], + "full": "Seizième", + "canonical": "16e", + "type": "ordinal" + }, + { + "tokens": [ + "17e", + "Dix-septième" + ], + "full": "Dix-septième", + "canonical": "17e", + "type": "ordinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "18e", + "Dix-huitième" + ], + "full": "Dix-huitième", + "canonical": "18e", + "type": "ordinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "19e", + "Dix-neuvième" + ], + "full": "Dix-neuvième", + "canonical": "19e", + "type": "ordinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "1er", + "Premier" + ], + "full": "Premier", + "canonical": "1er", + "type": "ordinal" + }, + { + "tokens": [ + "1ere", + "Première" + ], + "full": "Première", + "canonical": "1ere", + "type": "ordinal" + }, + { + "tokens": [ + "20e", + "Vingtième" + ], + "full": "Vingtième", + "canonical": "20e", + "type": "ordinal" + }, + { + "tokens": [ + "2e", + "Deuxième" + ], + "full": "Deuxième", + "canonical": "2e", + "type": "ordinal" + }, + { + "tokens": [ + "3e", + "Troisième" + ], + "full": "Troisième", + "canonical": "3e", + "type": "ordinal" + }, + { + "tokens": [ + "4e", + "Quatrième" + ], + "full": "Quatrième", + "canonical": "4e", + "type": "ordinal" + }, + { + "tokens": [ + "5e", + "Cinquième" + ], + "full": "Cinquième", + "canonical": "5e", + "type": "ordinal" + }, + { + "tokens": [ + "6e", + "Sixième" + ], + "full": "Sixième", + "canonical": "6e", + "type": "ordinal" + }, + { + "tokens": [ + "7e", + "Septième" + ], + "full": "Septième", + "canonical": "7e", + "type": "ordinal" + }, + { + "tokens": [ + "8e", + "Huitième" + ], + "full": "Huitième", + "canonical": "8e", + "type": "ordinal" + }, + { + "tokens": [ + "9e", + "Neuvième" + ], + "full": "Neuvième", + "canonical": "9e", + "type": "ordinal" + }, + { + "tokens": [ + "au" + ], + "full": "au", + "canonical": "au", + "type": "determiner" + }, + { + "tokens": [ + "aux" + ], + "full": "aux", + "canonical": "aux", + "type": "determiner" + }, + { + "tokens": [ + "A", + "Aut", + "Autoroute" + ], + "full": "Autoroute", + "canonical": "A", + "onlyLayers": ["address"], + "note": "translates to 'highway'", + "type": "way" + }, + { + "tokens": [ + "Abb", + "Abbaye" + ], + "full": "Abbaye", + "canonical": "Abb" + }, + { + "tokens": [ + "Agl", + "Agglomération" + ], + "full": "Agglomération", + "canonical": "Agl" + }, + { + "tokens": [ + "All", + "Allée", + "Allee" + ], + "full": "Allée", + "canonical": "All", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "alls", + "allees", + "allées" + ], + "full": "allées", + "canonical": "alls", + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "App", + "Appartement" + ], + "full": "Appartement", + "canonical": "App" + }, + { + "tokens": [ + "Arr", + "Arrondissement" + ], + "full": "Arrondissement", + "canonical": "Arr" + }, + { + "tokens": [ + "Av", + "Avenue", + "Avenues" + ], + "full": "Avenue", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Bat", + "Batîment" + ], + "full": "Batîment", + "canonical": "Bat" + }, + { + "tokens": [ + "Bd", + "Boul", + "Blvd", + "Boulevard" + ], + "full": "Boulevard", + "canonical": "Bd", + "onlyLayers": ["address"], + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "carriera" + ], + "full": "carriera", + "canonical": "carriera", + "note": "synonym to 'rue' in Occitan", + "type": "way" + }, + { + "tokens": [ + "clos" + ], + "full": "clos", + "canonical": "clos", + "note": "translates to 'enclosure'" + }, + { + "tokens": [ + "Ch", + "Che", + "Chemin", + "Chemins" + ], + "full": "Chemin", + "canonical": "Ch", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "chem", + "cheminement" + ], + "full": "cheminement", + "canonical": "chem", + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "Ch", + "Chaussée" + ], + "full": "Chaussée", + "canonical": "Ch", + "onlyLayers": ["address"], + "note": "translates to 'roadway'", + "type": "way" + }, + { + "tokens": [ + "Cht", + "Chateau" + ], + "full": "Chateau", + "canonical": "Cht", + "type": "way" + }, + { + "tokens": [ + "Cour" + ], + "full": "Cour", + "canonical": "Cour", + "note": "translates to 'course'", + "type": "way" + }, + { + "tokens": [ + "Crs", + "Cours" + ], + "full": "Cours", + "canonical": "Crs", + "onlyLayers": ["address"], + "note": "translates to 'course'", + "type": "way" + }, + { + "tokens": [ + "Crx", + "Croix" + ], + "full": "Croix", + "canonical": "Crx" + }, + { + "tokens": [ + "Ctre", + "Centre" + ], + "full": "Centre", + "canonical": "Ctre" + }, + { + "tokens": [ + "Dr", + "Docteur", + "Docteurs" + ], + "full": "Docteur", + "canonical": "Dr" + }, + { + "tokens": [ + "E", + "Est" + ], + "full": "Est", + "canonical": "E", + "type": "cardinal" + }, + { + "tokens": [ + "Esc", + "Escalier" + ], + "full": "Escalier", + "canonical": "Esc" + }, + { + "tokens": [ + "Espl", + "Esplanade" + ], + "full": "Esplanade", + "canonical": "Espl" + }, + { + "tokens": [ + "Etg", + "Etage" + ], + "full": "Etage", + "canonical": "Etg" + }, + { + "tokens": [ + "Fbg", + "Faubourg" + ], + "full": "Faubourg", + "canonical": "Fbg" + }, + { + "tokens": [ + "Fl", + "Fleuve" + ], + "full": "Fleuve", + "canonical": "Fl" + }, + { + "tokens": [ + "général", + "general", + "gén", + "gen", + "gal" + ], + "full": "general", + "canonical": "gen" + }, + { + "tokens": [ + "Hop", + "Hôpital" + ], + "full": "Hôpital", + "canonical": "Hop" + }, + { + "tokens": [ + "Ht", + "Haut" + ], + "full": "Haut", + "canonical": "Ht" + }, + { + "tokens": [ + "Hte", + "Haute" + ], + "full": "Haute", + "canonical": "Hte" + }, + { + "tokens": [ + "Imm", + "Immeuble" + ], + "full": "Immeuble", + "canonical": "Imm" + }, + { + "tokens": [ + "Imp", + "Impasse", + "Impasses" + ], + "full": "Impasse", + "canonical": "Imp", + "note": "translates to 'dead end'", + "type": "way" + }, + { + "tokens": [ + "lieu" + ], + "full": "lieu", + "canonical": "lieu", + "note": "translates to 'place'", + "type": "way" + }, + { + "tokens": [ + "ld", + "ldit", + "lieudit" + ], + "full": "ldit", + "canonical": "ld", + "note": "geographical place so small it's what people call it locally without having any political/administrative identity. A few houses grouped together out in the countryside but nothing more" + }, + { + "tokens": [ + "l-dit", + "l dit", + "lieu-dit", + "lieu dit" + ], + "full": "Lieu-dit", + "canonical": "Ld", + "spanBoundaries": 1, + "note": "geographical place so small it's what people call it locally without having any political/administrative identity. A few houses grouped together out in the countryside but nothing more" + }, + { + "tokens": [ + "lt", + "lieutenant" + ], + "full": "lieutenant", + "canonical": "lt" + }, + { + "tokens": [ + "lgén", + "lgen" + ], + "full": "leiutenant general", + "canonical": "lgen" + }, + { + "tokens": [ + "l gén", + "l gen", + "lieutenant général", + "leiutenant general" + ], + "full": "leiutenant general", + "canonical": "l gen", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Lot", + "Lotissement" + ], + "full": "Lotissement", + "canonical": "Lot" + }, + { + "tokens": [ + "M", + "Monsieur" + ], + "full": "Monsieur", + "canonical": "M" + }, + { + "tokens": [ + "Mal", + "Maréchal" + ], + "full": "Maréchal", + "canonical": "Mal" + }, + { + "tokens": [ + "Me", + "Maître" + ], + "full": "Maître", + "canonical": "Me" + }, + { + "tokens": [ + "Mlle", + "Mademoiselle" + ], + "full": "Mademoiselle", + "canonical": "Mlle" + }, + { + "tokens": [ + "Mme", + "Madame" + ], + "full": "Madame", + "canonical": "Mme" + }, + { + "tokens": [ + "Mte", + "Montée" + ], + "full": "Montée", + "canonical": "Mte" + }, + { + "tokens": [ + "mgén", + "mgen" + ], + "full": "major general", + "canonical": "mgen" + }, + { + "tokens": [ + "m gén", + "m gen", + "maj gen", + "maj general", + "major gen", + "major général", + "major general" + ], + "full": "major general", + "canonical": "m gen", + "spanBoundaries": 1 + }, + { + "tokens": [ + "mln", + "moulin" + ], + "full": "moulin", + "canonical": "mln" + }, + { + "tokens": [ + "N", + "Nord" + ], + "full": "Nord", + "canonical": "N", + "type": "cardinal" + }, + { + "tokens": [ + "NE", + "Nord-Est" + ], + "full": "Nord-Est", + "canonical": "NE", + "type": "cardinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "NO", + "Nord-Ouest" + ], + "full": "Nord-Ouest", + "canonical": "NO", + "type": "cardinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "O", + "Ouest" + ], + "full": "Ouest", + "canonical": "O", + "type": "cardinal" + }, + { + "tokens": [ + "Pas", + "Psg", + "Passage" + ], + "full": "Passage", + "canonical": "Pas", + "type": "way" + }, + { + "tokens": [ + "Pl", + "Place", + "Placette" + ], + "full": "Place", + "canonical": "Pl", + "type": "way" + }, + { + "tokens": [ + "Pont" + ], + "full": "Pont", + "canonical": "Pont", + "type": "way" + }, + { + "tokens": [ + "Pas", + "Psg", + "Passage" + ], + "full": "Passage", + "canonical": "Pas", + "type": "way" + }, + { + "tokens": [ + "Prom", + "Promenade" + ], + "full": "Promenade", + "canonical": "Prom" + }, + { + "tokens": [ + "Pt", + "Petit" + ], + "full": "Petit", + "canonical": "Pt" + }, + { + "tokens": [ + "Pte", + "Porte" + ], + "full": "Porte", + "canonical": "Pte" + }, + { + "tokens": [ + "R", + "Rue" + ], + "full": "Rue", + "canonical": "R", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "Res", + "Résidence" + ], + "full": "Résidence", + "canonical": "Res", + "type": "way" + }, + { + "tokens": [ + "Rle", + "Rlle", + "Ruelle" + ], + "full": "Ruelle", + "canonical": "Rlle", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "rpt", + "rd pt", + "rond point", + "rond-point" + ], + "full": "rond point", + "canonical": "rpt", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "rpt", + "rdpt", + "rondpoint" + ], + "full": "rondpoint", + "canonical": "rpt", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "Rte", + "Route", + "Routes" + ], + "full": "Route", + "canonical": "Rte", + "note": "translates to 'alley'", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "S", + "Sud" + ], + "full": "Sud", + "canonical": "S", + "type": "cardinal" + }, + { + "tokens": [ + "SE", + "Sud-Est" + ], + "full": "Sud-Est", + "canonical": "SE", + "type": "cardinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SO", + "Sud-Ouest" + ], + "full": "Sud-Ouest", + "canonical": "SO", + "type": "cardinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Sq", + "Square" + ], + "full": "Square", + "canonical": "Sq" + }, + { + "tokens": [ + "St", + "Saint" + ], + "full": "Saint", + "canonical": "St" + }, + { + "tokens": [ + "Ste", + "Sainte" + ], + "full": "Sainte", + "canonical": "Ste" + }, + { + "tokens": [ + "Stes", + "Saintes" + ], + "full": "Saintes", + "canonical": "Stes" + }, + { + "tokens": [ + "sent", + "sentier" + ], + "full": "sentier", + "canonical": "sent", + "type": "way" + }, + { + "tokens": [ + "sen", + "sente" + ], + "full": "sente", + "canonical": "sen", + "type": "way" + }, + { + "tokens": [ + "Univ", + "Université" + ], + "full": "Université", + "canonical": "Univ" + }, + { + "tokens": [ + "Vlge", + "Village" + ], + "full": "Village", + "canonical": "Vlge" + }, + { + "tokens": [ + "Vve", + "Veuve" + ], + "full": "Veuve", + "canonical": "Vve" + }, + { + "tokens": [ + "ven", + "venelle" + ], + "full": "venelle", + "canonical": "ven", + "type": "way" + }, + { + "tokens": [ + "BP", + "Boîte Postale" + ], + "full": "Boîte Postale", + "canonical": "BP", + "spanBoundaries": 1, + "onlyLayers": ["address"], + "type": "box" + }, + { + "tokens": [ + "Ccal", + "Centre Commercial" + ], + "full": "Centre Commercial", + "canonical": "Ccal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "E", + "Route Européenne" + ], + "full": "Route Européenne", + "canonical": "E", + "spanBoundaries": 1 + }, + { + "tokens": [ + "RN", + "Route Nationale" + ], + "full": "Route Nationale", + "canonical": "RN", + "spanBoundaries": 1 + }, + { + "tokens": [ + "rampe", + "rpe", + "rmpe", + "rmp" + ], + "full": "rampe", + "canonical": "rmp", + "type": "way" + }, + { + "tokens": [ + "Za", + "Zone d'activité" + ], + "full": "Zone d'activité", + "canonical": "Za", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Du" + ], + "full": "Du", + "canonical": "Du", + "note": "translates to 'of'", + "type": "determiner" + }, + { + "tokens": [ + "De" + ], + "full": "De", + "canonical": "De", + "note": "translates to 'of'", + "type": "determiner" + }, + { + "tokens": [ + "Des" + ], + "full": "Des", + "canonical": "Des", + "note": "translates to 'of'", + "type": "determiner" + }, + { + "tokens": [ + "Le" + ], + "full": "Le", + "canonical": "Le", + "type": "determiner" + }, + { + "tokens": [ + "La" + ], + "full": "La", + "canonical": "La", + "type": "determiner" + }, + { + "tokens": [ + "Les" + ], + "full": "Les", + "canonical": "Les", + "type": "determiner" + }, + { + "tokens": [ + "zone industrielle", + "zi" + ], + "full": "zone industrielle", + "canonical": "zi", + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "voi", + "voie" + ], + "full": "voie", + "canonical": "voi", + "type": "way" + }, + { + "tokens": [ + "passe", + "pass" + ], + "full": "passe", + "canonical": "pass", + "type": "way" + }, + { + "tokens": [ + "ple", + "passerelle" + ], + "full": "passerelle", + "canonical": "ple", + "note": "translates to 'bridge'", + "type": "way" + }, + { + "tokens": [ + "res", + "residence" + ], + "full": "residence", + "canonical": "res", + "type": "way" + }, + { + "tokens": [ + "bois" + ], + "full": "bois", + "canonical": "bois", + "type": "way" + }, + { + "tokens": [ + "ham", + "hameau" + ], + "full": "hameau", + "canonical": "ham", + "type": "way" + }, + { + "tokens": [ + "$1$2", + "(l|d) ([aeiouhy][^ ]+)" + ], + "onlyLayers": ["address"], + "onlyCountries": ["fr", "ca"], + "full": "(l|d) ([aeiouhy][^ ]+)", + "canonical": "$1$2", + "regex": true, + "spanBoundaries": 1 + } + { + "tokens": [ + "$1$2", + "([A-Z]\\d[A-Z]) ?(\\d[A-Z]\\d)" + ], + "full": "([A-Z]\\d[A-Z]) ?(\\d[A-Z]\\d)", + "canonical": "$1$2", + "onlyCountries": ["ca"], + "onlyLayers": ["postcode"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true + } +] diff --git a/.history/tokens/fr_20220531085814.json b/.history/tokens/fr_20220531085814.json new file mode 100644 index 0000000..0f0d557 --- /dev/null +++ b/.history/tokens/fr_20220531085814.json @@ -0,0 +1,1357 @@ +[ + { + "tokens": [ + "0", + "zero" + ], + "full": "zero", + "canonical": "0", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "1", + "un", + "une" + ], + "full": "une", + "canonical": "1", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "2", + "deux" + ], + "full": "deux", + "canonical": "2", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "3", + "trois" + ], + "full": "trois", + "canonical": "3", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "4", + "quatre", + "quatres" + ], + "full": "quatre", + "canonical": "4", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "5", + "cinq" + ], + "full": "cinq", + "canonical": "5", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "6", + "six" + ], + "full": "six", + "canonical": "6", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "7", + "sept" + ], + "full": "sept", + "canonical": "7", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "8", + "huit" + ], + "full": "huit", + "canonical": "8", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "9", + "neuf" + ], + "full": "neuf", + "canonical": "9", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "10", + "dix" + ], + "full": "dix", + "canonical": "10", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "11", + "onze" + ], + "full": "onze", + "canonical": "11", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "12", + "douze" + ], + "full": "douze", + "canonical": "12", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "13", + "treize" + ], + "full": "treize", + "canonical": "13", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "14", + "quatorze" + ], + "full": "quatorze", + "canonical": "14", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "15", + "quinze" + ], + "full": "quinze", + "canonical": "15", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "16", + "seize" + ], + "full": "seize", + "canonical": "16", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "17", + "dix sept" + ], + "full": "dix sept", + "canonical": "17", + "type": "number", + "spanBoundaries": 1, + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "18", + "dix huit" + ], + "full": "dix huit", + "canonical": "18", + "type": "number", + "spanBoundaries": 1, + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "19", + "dix neuf" + ], + "full": "dix neuf", + "canonical": "19", + "type": "number", + "spanBoundaries": 1, + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "20", + "vingt" + ], + "full": "twenty", + "canonical": "20", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "10e", + "Dixième" + ], + "full": "Dixième", + "canonical": "10e", + "type": "ordinal" + }, + { + "tokens": [ + "11e", + "Onzième" + ], + "full": "Onzième", + "canonical": "11e", + "type": "ordinal" + }, + { + "tokens": [ + "12e", + "Douzième" + ], + "full": "Douzième", + "canonical": "12e", + "type": "ordinal" + }, + { + "tokens": [ + "13e", + "Treizième" + ], + "full": "Treizième", + "canonical": "13e", + "type": "ordinal" + }, + { + "tokens": [ + "14e", + "Quatorzième" + ], + "full": "Quatorzième", + "canonical": "14e", + "type": "ordinal" + }, + { + "tokens": [ + "15e", + "Quinzième" + ], + "full": "Quinzième", + "canonical": "15e", + "type": "ordinal" + }, + { + "tokens": [ + "16e", + "Seizième" + ], + "full": "Seizième", + "canonical": "16e", + "type": "ordinal" + }, + { + "tokens": [ + "17e", + "Dix-septième" + ], + "full": "Dix-septième", + "canonical": "17e", + "type": "ordinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "18e", + "Dix-huitième" + ], + "full": "Dix-huitième", + "canonical": "18e", + "type": "ordinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "19e", + "Dix-neuvième" + ], + "full": "Dix-neuvième", + "canonical": "19e", + "type": "ordinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "1er", + "Premier" + ], + "full": "Premier", + "canonical": "1er", + "type": "ordinal" + }, + { + "tokens": [ + "1ere", + "Première" + ], + "full": "Première", + "canonical": "1ere", + "type": "ordinal" + }, + { + "tokens": [ + "20e", + "Vingtième" + ], + "full": "Vingtième", + "canonical": "20e", + "type": "ordinal" + }, + { + "tokens": [ + "2e", + "Deuxième" + ], + "full": "Deuxième", + "canonical": "2e", + "type": "ordinal" + }, + { + "tokens": [ + "3e", + "Troisième" + ], + "full": "Troisième", + "canonical": "3e", + "type": "ordinal" + }, + { + "tokens": [ + "4e", + "Quatrième" + ], + "full": "Quatrième", + "canonical": "4e", + "type": "ordinal" + }, + { + "tokens": [ + "5e", + "Cinquième" + ], + "full": "Cinquième", + "canonical": "5e", + "type": "ordinal" + }, + { + "tokens": [ + "6e", + "Sixième" + ], + "full": "Sixième", + "canonical": "6e", + "type": "ordinal" + }, + { + "tokens": [ + "7e", + "Septième" + ], + "full": "Septième", + "canonical": "7e", + "type": "ordinal" + }, + { + "tokens": [ + "8e", + "Huitième" + ], + "full": "Huitième", + "canonical": "8e", + "type": "ordinal" + }, + { + "tokens": [ + "9e", + "Neuvième" + ], + "full": "Neuvième", + "canonical": "9e", + "type": "ordinal" + }, + { + "tokens": [ + "au" + ], + "full": "au", + "canonical": "au", + "type": "determiner" + }, + { + "tokens": [ + "aux" + ], + "full": "aux", + "canonical": "aux", + "type": "determiner" + }, + { + "tokens": [ + "A", + "Aut", + "Autoroute" + ], + "full": "Autoroute", + "canonical": "A", + "onlyLayers": ["address"], + "note": "translates to 'highway'", + "type": "way" + }, + { + "tokens": [ + "Abb", + "Abbaye" + ], + "full": "Abbaye", + "canonical": "Abb" + }, + { + "tokens": [ + "Agl", + "Agglomération" + ], + "full": "Agglomération", + "canonical": "Agl" + }, + { + "tokens": [ + "All", + "Allée", + "Allee" + ], + "full": "Allée", + "canonical": "All", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "alls", + "allees", + "allées" + ], + "full": "allées", + "canonical": "alls", + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "App", + "Appartement" + ], + "full": "Appartement", + "canonical": "App" + }, + { + "tokens": [ + "Arr", + "Arrondissement" + ], + "full": "Arrondissement", + "canonical": "Arr" + }, + { + "tokens": [ + "Av", + "Avenue", + "Avenues" + ], + "full": "Avenue", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Bat", + "Batîment" + ], + "full": "Batîment", + "canonical": "Bat" + }, + { + "tokens": [ + "Bd", + "Boul", + "Blvd", + "Boulevard" + ], + "full": "Boulevard", + "canonical": "Bd", + "onlyLayers": ["address"], + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "carriera" + ], + "full": "carriera", + "canonical": "carriera", + "note": "synonym to 'rue' in Occitan", + "type": "way" + }, + { + "tokens": [ + "clos" + ], + "full": "clos", + "canonical": "clos", + "note": "translates to 'enclosure'" + }, + { + "tokens": [ + "Ch", + "Che", + "Chemin", + "Chemins" + ], + "full": "Chemin", + "canonical": "Ch", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "chem", + "cheminement" + ], + "full": "cheminement", + "canonical": "chem", + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "Ch", + "Chaussée" + ], + "full": "Chaussée", + "canonical": "Ch", + "onlyLayers": ["address"], + "note": "translates to 'roadway'", + "type": "way" + }, + { + "tokens": [ + "Cht", + "Chateau" + ], + "full": "Chateau", + "canonical": "Cht", + "type": "way" + }, + { + "tokens": [ + "Cour" + ], + "full": "Cour", + "canonical": "Cour", + "note": "translates to 'course'", + "type": "way" + }, + { + "tokens": [ + "Crs", + "Cours" + ], + "full": "Cours", + "canonical": "Crs", + "onlyLayers": ["address"], + "note": "translates to 'course'", + "type": "way" + }, + { + "tokens": [ + "Crx", + "Croix" + ], + "full": "Croix", + "canonical": "Crx" + }, + { + "tokens": [ + "Ctre", + "Centre" + ], + "full": "Centre", + "canonical": "Ctre" + }, + { + "tokens": [ + "Dr", + "Docteur", + "Docteurs" + ], + "full": "Docteur", + "canonical": "Dr" + }, + { + "tokens": [ + "E", + "Est" + ], + "full": "Est", + "canonical": "E", + "type": "cardinal" + }, + { + "tokens": [ + "Esc", + "Escalier" + ], + "full": "Escalier", + "canonical": "Esc" + }, + { + "tokens": [ + "Espl", + "Esplanade" + ], + "full": "Esplanade", + "canonical": "Espl" + }, + { + "tokens": [ + "Etg", + "Etage" + ], + "full": "Etage", + "canonical": "Etg" + }, + { + "tokens": [ + "Fbg", + "Faubourg" + ], + "full": "Faubourg", + "canonical": "Fbg" + }, + { + "tokens": [ + "Fl", + "Fleuve" + ], + "full": "Fleuve", + "canonical": "Fl" + }, + { + "tokens": [ + "général", + "general", + "gén", + "gen", + "gal" + ], + "full": "general", + "canonical": "gen" + }, + { + "tokens": [ + "Hop", + "Hôpital" + ], + "full": "Hôpital", + "canonical": "Hop" + }, + { + "tokens": [ + "Ht", + "Haut" + ], + "full": "Haut", + "canonical": "Ht" + }, + { + "tokens": [ + "Hte", + "Haute" + ], + "full": "Haute", + "canonical": "Hte" + }, + { + "tokens": [ + "Imm", + "Immeuble" + ], + "full": "Immeuble", + "canonical": "Imm" + }, + { + "tokens": [ + "Imp", + "Impasse", + "Impasses" + ], + "full": "Impasse", + "canonical": "Imp", + "note": "translates to 'dead end'", + "type": "way" + }, + { + "tokens": [ + "lieu" + ], + "full": "lieu", + "canonical": "lieu", + "note": "translates to 'place'", + "type": "way" + }, + { + "tokens": [ + "ld", + "ldit", + "lieudit" + ], + "full": "ldit", + "canonical": "ld", + "note": "geographical place so small it's what people call it locally without having any political/administrative identity. A few houses grouped together out in the countryside but nothing more" + }, + { + "tokens": [ + "l-dit", + "l dit", + "lieu-dit", + "lieu dit" + ], + "full": "Lieu-dit", + "canonical": "Ld", + "spanBoundaries": 1, + "note": "geographical place so small it's what people call it locally without having any political/administrative identity. A few houses grouped together out in the countryside but nothing more" + }, + { + "tokens": [ + "lt", + "lieutenant" + ], + "full": "lieutenant", + "canonical": "lt" + }, + { + "tokens": [ + "lgén", + "lgen" + ], + "full": "leiutenant general", + "canonical": "lgen" + }, + { + "tokens": [ + "l gén", + "l gen", + "lieutenant général", + "leiutenant general" + ], + "full": "leiutenant general", + "canonical": "l gen", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Lot", + "Lotissement" + ], + "full": "Lotissement", + "canonical": "Lot" + }, + { + "tokens": [ + "M", + "Monsieur" + ], + "full": "Monsieur", + "canonical": "M" + }, + { + "tokens": [ + "Mal", + "Maréchal" + ], + "full": "Maréchal", + "canonical": "Mal" + }, + { + "tokens": [ + "Me", + "Maître" + ], + "full": "Maître", + "canonical": "Me" + }, + { + "tokens": [ + "Mlle", + "Mademoiselle" + ], + "full": "Mademoiselle", + "canonical": "Mlle" + }, + { + "tokens": [ + "Mme", + "Madame" + ], + "full": "Madame", + "canonical": "Mme" + }, + { + "tokens": [ + "Mte", + "Montée" + ], + "full": "Montée", + "canonical": "Mte" + }, + { + "tokens": [ + "mgén", + "mgen" + ], + "full": "major general", + "canonical": "mgen" + }, + { + "tokens": [ + "m gén", + "m gen", + "maj gen", + "maj general", + "major gen", + "major général", + "major general" + ], + "full": "major general", + "canonical": "m gen", + "spanBoundaries": 1 + }, + { + "tokens": [ + "mln", + "moulin" + ], + "full": "moulin", + "canonical": "mln" + }, + { + "tokens": [ + "N", + "Nord" + ], + "full": "Nord", + "canonical": "N", + "type": "cardinal" + }, + { + "tokens": [ + "NE", + "Nord-Est" + ], + "full": "Nord-Est", + "canonical": "NE", + "type": "cardinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "NO", + "Nord-Ouest" + ], + "full": "Nord-Ouest", + "canonical": "NO", + "type": "cardinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "O", + "Ouest" + ], + "full": "Ouest", + "canonical": "O", + "type": "cardinal" + }, + { + "tokens": [ + "Pas", + "Psg", + "Passage" + ], + "full": "Passage", + "canonical": "Pas", + "type": "way" + }, + { + "tokens": [ + "Pl", + "Place", + "Placette" + ], + "full": "Place", + "canonical": "Pl", + "type": "way" + }, + { + "tokens": [ + "Pont" + ], + "full": "Pont", + "canonical": "Pont", + "type": "way" + }, + { + "tokens": [ + "Pas", + "Psg", + "Passage" + ], + "full": "Passage", + "canonical": "Pas", + "type": "way" + }, + { + "tokens": [ + "Prom", + "Promenade" + ], + "full": "Promenade", + "canonical": "Prom" + }, + { + "tokens": [ + "Pt", + "Petit" + ], + "full": "Petit", + "canonical": "Pt" + }, + { + "tokens": [ + "Pte", + "Porte" + ], + "full": "Porte", + "canonical": "Pte" + }, + { + "tokens": [ + "R", + "Rue" + ], + "full": "Rue", + "canonical": "R", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "Res", + "Résidence" + ], + "full": "Résidence", + "canonical": "Res", + "type": "way" + }, + { + "tokens": [ + "Rle", + "Rlle", + "Ruelle" + ], + "full": "Ruelle", + "canonical": "Rlle", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "rpt", + "rd pt", + "rond point", + "rond-point" + ], + "full": "rond point", + "canonical": "rpt", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "rpt", + "rdpt", + "rondpoint" + ], + "full": "rondpoint", + "canonical": "rpt", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "Rte", + "Route", + "Routes" + ], + "full": "Route", + "canonical": "Rte", + "note": "translates to 'alley'", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "S", + "Sud" + ], + "full": "Sud", + "canonical": "S", + "type": "cardinal" + }, + { + "tokens": [ + "SE", + "Sud-Est" + ], + "full": "Sud-Est", + "canonical": "SE", + "type": "cardinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SO", + "Sud-Ouest" + ], + "full": "Sud-Ouest", + "canonical": "SO", + "type": "cardinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Sq", + "Square" + ], + "full": "Square", + "canonical": "Sq" + }, + { + "tokens": [ + "St", + "Saint" + ], + "full": "Saint", + "canonical": "St" + }, + { + "tokens": [ + "Ste", + "Sainte" + ], + "full": "Sainte", + "canonical": "Ste" + }, + { + "tokens": [ + "Stes", + "Saintes" + ], + "full": "Saintes", + "canonical": "Stes" + }, + { + "tokens": [ + "sent", + "sentier" + ], + "full": "sentier", + "canonical": "sent", + "type": "way" + }, + { + "tokens": [ + "sen", + "sente" + ], + "full": "sente", + "canonical": "sen", + "type": "way" + }, + { + "tokens": [ + "Univ", + "Université" + ], + "full": "Université", + "canonical": "Univ" + }, + { + "tokens": [ + "Vlge", + "Village" + ], + "full": "Village", + "canonical": "Vlge" + }, + { + "tokens": [ + "Vve", + "Veuve" + ], + "full": "Veuve", + "canonical": "Vve" + }, + { + "tokens": [ + "ven", + "venelle" + ], + "full": "venelle", + "canonical": "ven", + "type": "way" + }, + { + "tokens": [ + "BP", + "Boîte Postale" + ], + "full": "Boîte Postale", + "canonical": "BP", + "spanBoundaries": 1, + "onlyLayers": ["address"], + "type": "box" + }, + { + "tokens": [ + "Ccal", + "Centre Commercial" + ], + "full": "Centre Commercial", + "canonical": "Ccal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "E", + "Route Européenne" + ], + "full": "Route Européenne", + "canonical": "E", + "spanBoundaries": 1 + }, + { + "tokens": [ + "RN", + "Route Nationale" + ], + "full": "Route Nationale", + "canonical": "RN", + "spanBoundaries": 1 + }, + { + "tokens": [ + "rampe", + "rpe", + "rmpe", + "rmp" + ], + "full": "rampe", + "canonical": "rmp", + "type": "way" + }, + { + "tokens": [ + "Za", + "Zone d'activité" + ], + "full": "Zone d'activité", + "canonical": "Za", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Du" + ], + "full": "Du", + "canonical": "Du", + "note": "translates to 'of'", + "type": "determiner" + }, + { + "tokens": [ + "De" + ], + "full": "De", + "canonical": "De", + "note": "translates to 'of'", + "type": "determiner" + }, + { + "tokens": [ + "Des" + ], + "full": "Des", + "canonical": "Des", + "note": "translates to 'of'", + "type": "determiner" + }, + { + "tokens": [ + "Le" + ], + "full": "Le", + "canonical": "Le", + "type": "determiner" + }, + { + "tokens": [ + "La" + ], + "full": "La", + "canonical": "La", + "type": "determiner" + }, + { + "tokens": [ + "Les" + ], + "full": "Les", + "canonical": "Les", + "type": "determiner" + }, + { + "tokens": [ + "zone industrielle", + "zi" + ], + "full": "zone industrielle", + "canonical": "zi", + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "voi", + "voie" + ], + "full": "voie", + "canonical": "voi", + "type": "way" + }, + { + "tokens": [ + "passe", + "pass" + ], + "full": "passe", + "canonical": "pass", + "type": "way" + }, + { + "tokens": [ + "ple", + "passerelle" + ], + "full": "passerelle", + "canonical": "ple", + "note": "translates to 'bridge'", + "type": "way" + }, + { + "tokens": [ + "res", + "residence" + ], + "full": "residence", + "canonical": "res", + "type": "way" + }, + { + "tokens": [ + "bois" + ], + "full": "bois", + "canonical": "bois", + "type": "way" + }, + { + "tokens": [ + "ham", + "hameau" + ], + "full": "hameau", + "canonical": "ham", + "type": "way" + }, + { + "tokens": [ + "$1$2", + "(l|d) ([aeiouhy][^ ]+)" + ], + "onlyLayers": ["address"], + "onlyCountries": ["fr", "ca"], + "full": "(l|d) ([aeiouhy][^ ]+)", + "canonical": "$1$2", + "regex": true, + "spanBoundaries": 1 + }, + { + "tokens": [ + "$1$2", + "([A-Z]\\d[A-Z]) ?(\\d[A-Z]\\d)" + ], + "full": "([A-Z]\\d[A-Z]) ?(\\d[A-Z]\\d)", + "canonical": "$1$2", + "onlyCountries": ["ca"], + "onlyLayers": ["postcode"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true + } +] diff --git a/.history/tokens/fr_20220602075155.json b/.history/tokens/fr_20220602075155.json new file mode 100644 index 0000000..0b889c7 --- /dev/null +++ b/.history/tokens/fr_20220602075155.json @@ -0,0 +1,1357 @@ +[ + { + "tokens": [ + "0", + "zero" + ], + "full": "zero", + "canonical": "0", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "1", + "un", + "une" + ], + "full": "une", + "canonical": "1", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "2", + "deux" + ], + "full": "deux", + "canonical": "2", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "3", + "trois" + ], + "full": "trois", + "canonical": "3", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "4", + "quatre", + "quatres" + ], + "full": "quatre", + "canonical": "4", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "5", + "cinq" + ], + "full": "cinq", + "canonical": "5", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "6", + "six" + ], + "full": "six", + "canonical": "6", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "7", + "sept" + ], + "full": "sept", + "canonical": "7", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "8", + "huit" + ], + "full": "huit", + "canonical": "8", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "9", + "neuf" + ], + "full": "neuf", + "canonical": "9", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "10", + "dix" + ], + "full": "dix", + "canonical": "10", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "11", + "onze" + ], + "full": "onze", + "canonical": "11", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "12", + "douze" + ], + "full": "douze", + "canonical": "12", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "13", + "treize" + ], + "full": "treize", + "canonical": "13", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "14", + "quatorze" + ], + "full": "quatorze", + "canonical": "14", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "15", + "quinze" + ], + "full": "quinze", + "canonical": "15", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "16", + "seize" + ], + "full": "seize", + "canonical": "16", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "17", + "dix sept" + ], + "full": "dix sept", + "canonical": "17", + "type": "number", + "spanBoundaries": 1, + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "18", + "dix huit" + ], + "full": "dix huit", + "canonical": "18", + "type": "number", + "spanBoundaries": 1, + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "19", + "dix neuf" + ], + "full": "dix neuf", + "canonical": "19", + "type": "number", + "spanBoundaries": 1, + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "20", + "vingt" + ], + "full": "twenty", + "canonical": "20", + "type": "number", + "onlyUseWhile": ["processing"] + }, + { + "tokens": [ + "10e", + "Dixième" + ], + "full": "Dixième", + "canonical": "10e", + "type": "ordinal" + }, + { + "tokens": [ + "11e", + "Onzième" + ], + "full": "Onzième", + "canonical": "11e", + "type": "ordinal" + }, + { + "tokens": [ + "12e", + "Douzième" + ], + "full": "Douzième", + "canonical": "12e", + "type": "ordinal" + }, + { + "tokens": [ + "13e", + "Treizième" + ], + "full": "Treizième", + "canonical": "13e", + "type": "ordinal" + }, + { + "tokens": [ + "14e", + "Quatorzième" + ], + "full": "Quatorzième", + "canonical": "14e", + "type": "ordinal" + }, + { + "tokens": [ + "15e", + "Quinzième" + ], + "full": "Quinzième", + "canonical": "15e", + "type": "ordinal" + }, + { + "tokens": [ + "16e", + "Seizième" + ], + "full": "Seizième", + "canonical": "16e", + "type": "ordinal" + }, + { + "tokens": [ + "17e", + "Dix-septième" + ], + "full": "Dix-septième", + "canonical": "17e", + "type": "ordinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "18e", + "Dix-huitième" + ], + "full": "Dix-huitième", + "canonical": "18e", + "type": "ordinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "19e", + "Dix-neuvième" + ], + "full": "Dix-neuvième", + "canonical": "19e", + "type": "ordinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "1er", + "Premier" + ], + "full": "Premier", + "canonical": "1er", + "type": "ordinal" + }, + { + "tokens": [ + "1ere", + "Première" + ], + "full": "Première", + "canonical": "1ere", + "type": "ordinal" + }, + { + "tokens": [ + "20e", + "Vingtième" + ], + "full": "Vingtième", + "canonical": "20e", + "type": "ordinal" + }, + { + "tokens": [ + "2e", + "Deuxième" + ], + "full": "Deuxième", + "canonical": "2e", + "type": "ordinal" + }, + { + "tokens": [ + "3e", + "Troisième" + ], + "full": "Troisième", + "canonical": "3e", + "type": "ordinal" + }, + { + "tokens": [ + "4e", + "Quatrième" + ], + "full": "Quatrième", + "canonical": "4e", + "type": "ordinal" + }, + { + "tokens": [ + "5e", + "Cinquième" + ], + "full": "Cinquième", + "canonical": "5e", + "type": "ordinal" + }, + { + "tokens": [ + "6e", + "Sixième" + ], + "full": "Sixième", + "canonical": "6e", + "type": "ordinal" + }, + { + "tokens": [ + "7e", + "Septième" + ], + "full": "Septième", + "canonical": "7e", + "type": "ordinal" + }, + { + "tokens": [ + "8e", + "Huitième" + ], + "full": "Huitième", + "canonical": "8e", + "type": "ordinal" + }, + { + "tokens": [ + "9e", + "Neuvième" + ], + "full": "Neuvième", + "canonical": "9e", + "type": "ordinal" + }, + { + "tokens": [ + "au" + ], + "full": "au", + "canonical": "au", + "type": "determiner" + }, + { + "tokens": [ + "aux" + ], + "full": "aux", + "canonical": "aux", + "type": "determiner" + }, + { + "tokens": [ + "A", + "Aut", + "Autoroute" + ], + "full": "Autoroute", + "canonical": "A", + "onlyLayers": ["address"], + "note": "translates to 'highway'", + "type": "way" + }, + { + "tokens": [ + "Abb", + "Abbaye" + ], + "full": "Abbaye", + "canonical": "Abb" + }, + { + "tokens": [ + "Agl", + "Agglomération" + ], + "full": "Agglomération", + "canonical": "Agl" + }, + { + "tokens": [ + "All", + "Allée", + "Allee" + ], + "full": "Allée", + "canonical": "All", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "alls", + "allees", + "allées" + ], + "full": "allées", + "canonical": "alls", + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "App", + "Appartement" + ], + "full": "Appartement", + "canonical": "App" + }, + { + "tokens": [ + "Arr", + "Arrondissement" + ], + "full": "Arrondissement", + "canonical": "Arr" + }, + { + "tokens": [ + "Av", + "Avenue", + "Avenues" + ], + "full": "Avenue", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Bat", + "Batîment" + ], + "full": "Batîment", + "canonical": "Bat" + }, + { + "tokens": [ + "Bd", + "Boul", + "Blvd", + "Boulevard" + ], + "full": "Boulevard", + "canonical": "Bd", + "onlyLayers": ["address"], + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "carriera" + ], + "full": "carriera", + "canonical": "carriera", + "note": "synonym to 'rue' in Occitan", + "type": "way" + }, + { + "tokens": [ + "clos" + ], + "full": "clos", + "canonical": "clos", + "note": "translates to 'enclosure'" + }, + { + "tokens": [ + "Ch", + "Che", + "Chemin", + "Chemins" + ], + "full": "Chemin", + "canonical": "Ch", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "chem", + "cheminement" + ], + "full": "cheminement", + "canonical": "chem", + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "Ch", + "Chaussée" + ], + "full": "Chaussée", + "canonical": "Ch", + "onlyLayers": ["address"], + "note": "translates to 'roadway'", + "type": "way" + }, + { + "tokens": [ + "Cht", + "Chateau" + ], + "full": "Chateau", + "canonical": "Cht", + "type": "way" + }, + { + "tokens": [ + "Cour" + ], + "full": "Cour", + "canonical": "Cour", + "note": "translates to 'course'", + "type": "way" + }, + { + "tokens": [ + "Crs", + "Cours" + ], + "full": "Cours", + "canonical": "Crs", + "onlyLayers": ["address"], + "note": "translates to 'course'", + "type": "way" + }, + { + "tokens": [ + "Crx", + "Croix" + ], + "full": "Croix", + "canonical": "Crx" + }, + { + "tokens": [ + "Ctre", + "Centre" + ], + "full": "Centre", + "canonical": "Ctre" + }, + { + "tokens": [ + "Dr", + "Docteur", + "Docteurs" + ], + "full": "Docteur", + "canonical": "Dr" + }, + { + "tokens": [ + "E", + "Est" + ], + "full": "Est", + "canonical": "E", + "type": "cardinal" + }, + { + "tokens": [ + "Esc", + "Escalier" + ], + "full": "Escalier", + "canonical": "Esc" + }, + { + "tokens": [ + "Espl", + "Esplanade" + ], + "full": "Esplanade", + "canonical": "Espl" + }, + { + "tokens": [ + "Etg", + "Etage" + ], + "full": "Etage", + "canonical": "Etg" + }, + { + "tokens": [ + "Fbg", + "Faubourg" + ], + "full": "Faubourg", + "canonical": "Fbg" + }, + { + "tokens": [ + "Fl", + "Fleuve" + ], + "full": "Fleuve", + "canonical": "Fl" + }, + { + "tokens": [ + "général", + "general", + "gén", + "gen", + "gal" + ], + "full": "general", + "canonical": "gen" + }, + { + "tokens": [ + "Hop", + "Hôpital" + ], + "full": "Hôpital", + "canonical": "Hop" + }, + { + "tokens": [ + "Ht", + "Haut" + ], + "full": "Haut", + "canonical": "Ht" + }, + { + "tokens": [ + "Hte", + "Haute" + ], + "full": "Haute", + "canonical": "Hte" + }, + { + "tokens": [ + "Imm", + "Immeuble" + ], + "full": "Immeuble", + "canonical": "Imm" + }, + { + "tokens": [ + "Imp", + "Impasse", + "Impasses" + ], + "full": "Impasse", + "canonical": "Imp", + "note": "translates to 'dead end'", + "type": "way" + }, + { + "tokens": [ + "lieu" + ], + "full": "lieu", + "canonical": "lieu", + "note": "translates to 'place'", + "type": "way" + }, + { + "tokens": [ + "ld", + "ldit", + "lieudit" + ], + "full": "ldit", + "canonical": "ld", + "note": "geographical place so small it's what people call it locally without having any political/administrative identity. A few houses grouped together out in the countryside but nothing more" + }, + { + "tokens": [ + "l-dit", + "l dit", + "lieu-dit", + "lieu dit" + ], + "full": "Lieu-dit", + "canonical": "Ld", + "spanBoundaries": 1, + "note": "geographical place so small it's what people call it locally without having any political/administrative identity. A few houses grouped together out in the countryside but nothing more" + }, + { + "tokens": [ + "lt", + "lieutenant" + ], + "full": "lieutenant", + "canonical": "lt" + }, + { + "tokens": [ + "lgén", + "lgen" + ], + "full": "leiutenant general", + "canonical": "lgen" + }, + { + "tokens": [ + "l gén", + "l gen", + "lieutenant général", + "leiutenant general" + ], + "full": "leiutenant general", + "canonical": "l gen", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Lot", + "Lotissement" + ], + "full": "Lotissement", + "canonical": "Lot" + }, + { + "tokens": [ + "M", + "Monsieur" + ], + "full": "Monsieur", + "canonical": "M" + }, + { + "tokens": [ + "Mal", + "Maréchal" + ], + "full": "Maréchal", + "canonical": "Mal" + }, + { + "tokens": [ + "Me", + "Maître" + ], + "full": "Maître", + "canonical": "Me" + }, + { + "tokens": [ + "Mlle", + "Mademoiselle" + ], + "full": "Mademoiselle", + "canonical": "Mlle" + }, + { + "tokens": [ + "Mme", + "Madame" + ], + "full": "Madame", + "canonical": "Mme" + }, + { + "tokens": [ + "Mte", + "Montée" + ], + "full": "Montée", + "canonical": "Mte" + }, + { + "tokens": [ + "mgén", + "mgen" + ], + "full": "major general", + "canonical": "mgen" + }, + { + "tokens": [ + "m gén", + "m gen", + "maj gen", + "maj general", + "major gen", + "major général", + "major general" + ], + "full": "major general", + "canonical": "m gen", + "spanBoundaries": 1 + }, + { + "tokens": [ + "mln", + "moulin" + ], + "full": "moulin", + "canonical": "mln" + }, + { + "tokens": [ + "N", + "Nord" + ], + "full": "Nord", + "canonical": "N", + "type": "cardinal" + }, + { + "tokens": [ + "NE", + "Nord-Est" + ], + "full": "Nord-Est", + "canonical": "NE", + "type": "cardinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "NO", + "Nord-Ouest" + ], + "full": "Nord-Ouest", + "canonical": "NO", + "type": "cardinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "O", + "Ouest" + ], + "full": "Ouest", + "canonical": "O", + "type": "cardinal" + }, + { + "tokens": [ + "Pas", + "Psg", + "Passage" + ], + "full": "Passage", + "canonical": "Pas", + "type": "way" + }, + { + "tokens": [ + "Pl", + "Place", + "Placette" + ], + "full": "Place", + "canonical": "Pl", + "type": "way" + }, + { + "tokens": [ + "Pont" + ], + "full": "Pont", + "canonical": "Pont", + "type": "way" + }, + { + "tokens": [ + "Pas", + "Psg", + "Passage" + ], + "full": "Passage", + "canonical": "Pas", + "type": "way" + }, + { + "tokens": [ + "Prom", + "Promenade" + ], + "full": "Promenade", + "canonical": "Prom" + }, + { + "tokens": [ + "Pt", + "Petit" + ], + "full": "Petit", + "canonical": "Pt" + }, + { + "tokens": [ + "Pte", + "Porte" + ], + "full": "Porte", + "canonical": "Pte" + }, + { + "tokens": [ + "R", + "Rue" + ], + "full": "Rue", + "canonical": "R", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "Res", + "Résidence" + ], + "full": "Résidence", + "canonical": "Res", + "type": "way" + }, + { + "tokens": [ + "Rle", + "Rlle", + "Ruelle" + ], + "full": "Ruelle", + "canonical": "Rlle", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "rpt", + "rd pt", + "rond point", + "rond-point" + ], + "full": "rond point", + "canonical": "rpt", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "rpt", + "rdpt", + "rondpoint" + ], + "full": "rondpoint", + "canonical": "rpt", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "Rte", + "Route", + "Routes" + ], + "full": "Route", + "canonical": "Rte", + "note": "translates to 'alley'", + "onlyLayers": ["address"], + "type": "way" + }, + { + "tokens": [ + "S", + "Sud" + ], + "full": "Sud", + "canonical": "S", + "type": "cardinal" + }, + { + "tokens": [ + "SE", + "Sud-Est" + ], + "full": "Sud-Est", + "canonical": "SE", + "type": "cardinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SO", + "Sud-Ouest" + ], + "full": "Sud-Ouest", + "canonical": "SO", + "type": "cardinal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Sq", + "Square" + ], + "full": "Square", + "canonical": "Sq" + }, + { + "tokens": [ + "St", + "Saint" + ], + "full": "Saint", + "canonical": "St" + }, + { + "tokens": [ + "Ste", + "Sainte" + ], + "full": "Sainte", + "canonical": "Ste" + }, + { + "tokens": [ + "Stes", + "Saintes" + ], + "full": "Saintes", + "canonical": "Stes" + }, + { + "tokens": [ + "sent", + "sentier" + ], + "full": "sentier", + "canonical": "sent", + "type": "way" + }, + { + "tokens": [ + "sen", + "sente" + ], + "full": "sente", + "canonical": "sen", + "type": "way" + }, + { + "tokens": [ + "Univ", + "Université" + ], + "full": "Université", + "canonical": "Univ" + }, + { + "tokens": [ + "Vlge", + "Village" + ], + "full": "Village", + "canonical": "Vlge" + }, + { + "tokens": [ + "Vve", + "Veuve" + ], + "full": "Veuve", + "canonical": "Vve" + }, + { + "tokens": [ + "ven", + "venelle" + ], + "full": "venelle", + "canonical": "ven", + "type": "way" + }, + { + "tokens": [ + "BP", + "Boîte Postale" + ], + "full": "Boîte Postale", + "canonical": "BP", + "spanBoundaries": 1, + "onlyLayers": ["address"], + "type": "box" + }, + { + "tokens": [ + "Ccal", + "Centre Commercial" + ], + "full": "Centre Commercial", + "canonical": "Ccal", + "spanBoundaries": 1 + }, + { + "tokens": [ + "E", + "Route Européenne" + ], + "full": "Route Européenne", + "canonical": "E", + "spanBoundaries": 1 + }, + { + "tokens": [ + "RN", + "Route Nationale" + ], + "full": "Route Nationale", + "canonical": "RN", + "spanBoundaries": 1 + }, + { + "tokens": [ + "rampe", + "rpe", + "rmpe", + "rmp" + ], + "full": "rampe", + "canonical": "rmp", + "type": "way" + }, + { + "tokens": [ + "Za", + "Zone d'activité" + ], + "full": "Zone d'activité", + "canonical": "Za", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Du" + ], + "full": "Du", + "canonical": "Du", + "note": "translates to 'of'", + "type": "determiner" + }, + { + "tokens": [ + "De" + ], + "full": "De", + "canonical": "De", + "note": "translates to 'of'", + "type": "determiner" + }, + { + "tokens": [ + "Des" + ], + "full": "Des", + "canonical": "Des", + "note": "translates to 'of'", + "type": "determiner" + }, + { + "tokens": [ + "Le" + ], + "full": "Le", + "canonical": "Le", + "type": "determiner" + }, + { + "tokens": [ + "La" + ], + "full": "La", + "canonical": "La", + "type": "determiner" + }, + { + "tokens": [ + "Les" + ], + "full": "Les", + "canonical": "Les", + "type": "determiner" + }, + { + "tokens": [ + "zone industrielle", + "zi" + ], + "full": "zone industrielle", + "canonical": "zi", + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "voi", + "voie" + ], + "full": "voie", + "canonical": "voi", + "type": "way" + }, + { + "tokens": [ + "passe", + "pass" + ], + "full": "passe", + "canonical": "pass", + "type": "way" + }, + { + "tokens": [ + "ple", + "passerelle" + ], + "full": "passerelle", + "canonical": "ple", + "note": "translates to 'bridge'", + "type": "way" + }, + { + "tokens": [ + "res", + "residence" + ], + "full": "residence", + "canonical": "res", + "type": "way" + }, + { + "tokens": [ + "bois" + ], + "full": "bois", + "canonical": "bois", + "type": "way" + }, + { + "tokens": [ + "ham", + "hameau" + ], + "full": "hameau", + "canonical": "ham", + "type": "way" + }, + { + "tokens": [ + "$1$2", + "(l|d) ([aeiouhy][^ ]+)" + ], + "onlyLayers": ["address"], + "onlyCountries": ["fr", "ca"], + "full": "(l|d) ([aeiouhy][^ ]+)", + "canonical": "$1$2", + "regex": true, + "spanBoundaries": 1 + }, + { + "tokens": [ + "$1$2", + "([A-Z]\\d[A-Z]) ?(\\d[A-Z]\\d)" + ], + "full": "([A-Z]\\d[A-Z]) ?(\\d[A-Z]\\d)", + "canonical": "$1$2", + "onlyCountries": ["ca"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true + } +] diff --git a/.history/tokens/gl_20201005150813.json b/.history/tokens/gl_20201005150813.json new file mode 100644 index 0000000..0a9c28d --- /dev/null +++ b/.history/tokens/gl_20201005150813.json @@ -0,0 +1,1757 @@ +[ + { + "tokens": [ + "1", + "un", + "uno", + "una" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "dos" + ], + "full": "dos", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "tres" + ], + "full": "tres", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "quatre", + "cuatro" + ], + "full": "cuatro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "cinc", + "cinco" + ], + "full": "cinco", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "sis", + "seis" + ], + "full": "seis", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "set", + "siete" + ], + "full": "siete", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "vuit", + "ocho" + ], + "full": "ocho", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nou", + "nueve" + ], + "full": "nueve", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "deu", + "diez" + ], + "full": "diez", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "onze", + "once" + ], + "full": "once", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "dotze", + "doce" + ], + "full": "doce", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "tretze", + "trece" + ], + "full": "trece", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "catorze", + "catorce" + ], + "full": "catorce", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "quinze", + "quince" + ], + "full": "quince", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "setze", + "dieciseis" + ], + "full": "dieciseis", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "disset", + "diecisiete" + ], + "full": "diecisiete", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "divuit", + "dieciocho" + ], + "full": "dieciocho", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "dinou", + "diecinueve" + ], + "full": "diecinueve", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "vint", + "veinte" + ], + "full": "veinte", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "Acces", + "Acceso" + ], + "full": "Acceso", + "canonical": "Acces" + }, + { + "tokens": [ + "Aceq", + "Acequia" + ], + "full": "Acequia", + "canonical": "Aceq" + }, + { + "tokens": [ + "Alam", + "Alameda" + ], + "full": "Alameda", + "canonical": "Alam" + }, + { + "tokens": [ + "Alque", + "Alquería" + ], + "full": "Alquería", + "canonical": "Alque" + }, + { + "tokens": [ + "alc", + "alcalde" + ], + "full": "alcalde", + "canonical": "alc" + }, + { + "tokens": [ + "Andad", + "Andador" + ], + "full": "Andador", + "canonical": "Andad" + }, + { + "tokens": [ + "Angta", + "Angosta" + ], + "full": "Angosta", + "canonical": "Angta" + }, + { + "tokens": [ + "Apdro", + "Apeadero" + ], + "full": "Apeadero", + "canonical": "Apdro" + }, + { + "tokens": [ + "Aptos", + "Apartamentos" + ], + "full": "Apartamentos", + "canonical": "Aptos" + }, + { + "tokens": [ + "Arb", + "Arboleda" + ], + "full": "Arboleda", + "canonical": "Arb" + }, + { + "tokens": [ + "Arral", + "Arrabal" + ], + "full": "Arrabal", + "canonical": "Arral" + }, + { + "tokens": [ + "Arry", + "Arroyo" + ], + "full": "Arroyo", + "canonical": "Arry" + }, + { + "tokens": [ + "Auto", + "Autopista" + ], + "full": "Autopista", + "canonical": "Auto", + "onlyLayers": ["address"], + "note": "translates to 'freeway'", + "type": "way" + }, + { + "tokens": [ + "Autov", + "Autovía" + ], + "full": "Autovía", + "canonical": "Autov", + "onlyLayers": ["address"], + "note": "translates to 'dual carriageway'", + "type": "way" + }, + { + "tokens": [ + "Av", + "Avd", + "Avda", + "Avnda", + "Avenida", + "Avinguda" + ], + "full": "Avenida", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'; 'avenida' is Castillian whereas 'avinguda' is Catalan'", + "type": "way" + }, + { + "tokens": [ + "B", + "Bda", + "Banda" + ], + "full": "Banda", + "canonical": "B" + }, + { + "tokens": [ + "Balnr", + "Balneario" + ], + "full": "Balneario", + "canonical": "Balnr" + }, + { + "tokens": [ + "Barda", + "Barriada" + ], + "full": "Barriada", + "canonical": "Barda" + }, + { + "tokens": [ + "Bjada", + "Bajada" + ], + "full": "Bajada", + "canonical": "Bjada" + }, + { + "tokens": [ + "Blque", + "Bloque" + ], + "full": "Bloque", + "canonical": "Blque" + }, + { + "tokens": [ + "Bo", + "Barro", + "Barrio" + ], + "full": "Barrio", + "canonical": "Bo", + "type": "way" + }, + { + "tokens": [ + "Bqllo", + "Barranquil" + ], + "full": "Barranquil", + "canonical": "Bqllo" + }, + { + "tokens": [ + "Branc", + "Barranco" + ], + "full": "Barranco", + "canonical": "Branc" + }, + { + "tokens": [ + "Brzal", + "Brazal" + ], + "full": "Brazal", + "canonical": "Brzal" + }, + { + "tokens": [ + "Bulev", + "Bulevar" + ], + "full": "Bulevar", + "canonical": "Bulev", + "onlyLayers": ["address"], + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "Ca", + "Canada" + ], + "full": "Canada", + "canonical": "Ca", + "type": "way" + }, + { + "tokens": [ + "Campg", + "Camping" + ], + "full": "Camping", + "canonical": "Campg" + }, + { + "tokens": [ + "Cant", + "Cantón" + ], + "full": "Cantón", + "canonical": "Cant" + }, + { + "tokens": [ + "Canti", + "Cantina" + ], + "full": "Cantina", + "canonical": "Canti" + }, + { + "tokens": [ + "Cantr", + "Cantera" + ], + "full": "Cantera", + "canonical": "Cantr" + }, + { + "tokens": [ + "Cbtiz", + "Cobertizo" + ], + "full": "Cobertizo", + "canonical": "Cbtiz" + }, + { + "tokens": [ + "Ccvcn", + "Circunvalación" + ], + "full": "Circunvalación", + "canonical": "Ccvcn" + }, + { + "tokens": [ + "Chlet", + "Chalet" + ], + "full": "Chalet", + "canonical": "Chlet" + }, + { + "tokens": [ + "Cint", + "Cinturón" + ], + "full": "Cinturón", + "canonical": "Cint" + }, + { + "tokens": [ + "Cjla", + "Callejuela" + ], + "full": "Callejuela", + "canonical": "Cjla", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Cj", + "Cjon", + "Cllon", + "Callej", + "Callejón" + ], + "full": "Callejón", + "canonical": "Cj", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Cjto", + "Conjunto" + ], + "full": "Conjunto", + "canonical": "Cjto" + }, + { + "tokens": [ + "cer", + "cda", + "cerrada" + ], + "full": "cerrada", + "canonical": "cer", + "type": "way" + }, + { + "tokens": [ + "C", + "Ca", + "Cl", + "Cll", + "Call", + "Calle", + "Carrer" + ], + "full": "Calle", + "canonical": "Cl", + "onlyLayers": ["address"], + "note": "translates to 'street' ('carrer' is Catalan)", + "type": "way" + }, + { + "tokens": [ + "kr", + "kra", + "cr", + "carr", + "carra", + "carrera" + ], + "full": "carrera", + "canonical": "cr", + "type": "way" + }, + { + "tokens": [ + "Cl", + "Cl Quarter" + ], + "full": "Cl Quarter", + "canonical": "Cl", + "onlyLayers": [ + "address" + ], + "note": "translates to 'street' ('carrer' is Catalan)", + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Cllja", + "Calleja" + ], + "full": "Calleja", + "canonical": "Cllja", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Cllzo", + "Callizo" + ], + "full": "Callizo", + "canonical": "Cllzo" + }, + { + "tokens": [ + "Cm", + "Cno", + "Cam", + "Cmno", + "Cami", + "Camino" + ], + "full": "Camino", + "canonical": "Cm", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "Cnvto", + "Convento" + ], + "full": "Convento", + "canonical": "Cnvto" + }, + { + "tokens": [ + "Col", + "Colonia" + ], + "full": "Colonia", + "canonical": "Col" + }, + { + "tokens": [ + "Compj", + "Complejo" + ], + "full": "Complejo", + "canonical": "Compj" + }, + { + "tokens": [ + "Coop", + "Cooperativa" + ], + "full": "Cooperativa", + "canonical": "Coop" + }, + { + "tokens": [ + "Coste", + "Costera" + ], + "full": "Costera", + "canonical": "Coste" + }, + { + "tokens": [ + "Cra", + "Carrera" + ], + "full": "Carrera", + "canonical": "Cra" + }, + { + "tokens": [ + "Cro", + "Carrero" + ], + "full": "Carrero", + "canonical": "Cro" + }, + { + "tokens": [ + "Crral", + "Corral" + ], + "full": "Corral", + "canonical": "Crral" + }, + { + "tokens": [ + "Crrdo", + "Corredor" + ], + "full": "Corredor", + "canonical": "Crrdo" + }, + { + "tokens": [ + "Crril", + "Carril" + ], + "full": "Carril", + "canonical": "Crril", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Crrlo", + "Corralillo" + ], + "full": "Corralillo", + "canonical": "Crrlo" + }, + { + "tokens": [ + "Crtil", + "Carretil" + ], + "full": "Carretil", + "canonical": "Crtil" + }, + { + "tokens": [ + "Crtjo", + "Cortijo" + ], + "full": "Cortijo", + "canonical": "Crtjo" + }, + { + "tokens": [ + "Csrio", + "Caserío" + ], + "full": "Caserío", + "canonical": "Csrio" + }, + { + "tokens": [ + "Cstan", + "Costanilla" + ], + "full": "Costanilla", + "canonical": "Cstan" + }, + { + "tokens": [ + "Cr", + "Ctra", + "Carretera" + ], + "full": "Carretera", + "canonical": "Cr", + "onlyLayers": ["address"], + "note": "translates to 'highway'", + "type": "way" + }, + { + "tokens": [ + "Ctrin", + "Carreterín" + ], + "full": "Carreterín", + "canonical": "Ctrin", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "Cuadr", + "Cuadra" + ], + "full": "Cuadra", + "canonical": "Cuadr" + }, + { + "tokens": [ + "Custa", + "Cuesta" + ], + "full": "Cuesta", + "canonical": "Custa" + }, + { + "tokens": [ + "Czada", + "Calzada" + ], + "full": "Calzada", + "canonical": "Czada", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "d", + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "en" + ], + "full": "en", + "canonical": "en", + "type": "determiner", + "note": "to handle d'en" + }, + { + "tokens": [ + "dr" + ], + "full": "dr", + "canonical": "dr", + "type": "way" + }, + { + "tokens": [ + "div", + "divina" + ], + "full": "divina", + "canonical": "div" + }, + { + "tokens": [ + "ds" + ], + "full": "ds", + "canonical": "ds", + "type": "way" + }, + { + "tokens": [ + "dr", + "doctor" + ], + "full": "dr", + "canonical": "doctor" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "dels" + ], + "full": "dels", + "canonical": "dels", + "type": "determiner" + }, + { + "tokens": [ + "don", + "dona" + ], + "full": "dona", + "canonical": "don", + "type": "determiner" + }, + { + "tokens": [ + "Demar", + "Demarcación" + ], + "full": "Demarcación", + "canonical": "Demar" + }, + { + "tokens": [ + "Dhsa", + "Dehesa" + ], + "full": "Dehesa", + "canonical": "Dhsa" + }, + { + "tokens": [ + "Diag", + "Diagonal" + ], + "full": "Diagonal", + "canonical": "Diag" + }, + { + "tokens": [ + "Disem", + "Diseminado", + "Diseminados" + ], + "full": "Diseminado", + "canonical": "Disem" + }, + { + "tokens": [ + "el" + ], + "full": "el", + "canonical": "el", + "type": "determiner" + }, + { + "tokens": [ + "Edifc", + "Edificio" + ], + "full": "Edificio", + "canonical": "Edifc" + }, + { + "tokens": [ + "Empr", + "Empresa" + ], + "full": "Empresa", + "canonical": "Empr" + }, + { + "tokens": [ + "Entd", + "Entrada" + ], + "full": "Entrada", + "canonical": "Entd" + }, + { + "tokens": [ + "Esca", + "Escalera" + ], + "full": "Escalera", + "canonical": "Esca" + }, + { + "tokens": [ + "Escal", + "Escalinata" + ], + "full": "Escalinata", + "canonical": "Escal" + }, + { + "tokens": [ + "Eslda", + "Espalda" + ], + "full": "Espalda", + "canonical": "Eslda" + }, + { + "tokens": [ + "Estcn", + "Estación" + ], + "full": "Estación", + "canonical": "Estcn" + }, + { + "tokens": [ + "Estda", + "Estrada" + ], + "full": "Estrada", + "canonical": "Estda" + }, + { + "tokens": [ + "Expla", + "Explanada" + ], + "full": "Explanada", + "canonical": "Expla" + }, + { + "tokens": [ + "Extrm", + "Extramuros" + ], + "full": "Extramuros", + "canonical": "Extrm" + }, + { + "tokens": [ + "Extrr", + "Extrarradio" + ], + "full": "Extrarradio", + "canonical": "Extrr" + }, + { + "tokens": [ + "Fca", + "Fbrca", + "Fábrica" + ], + "full": "Fábrica", + "canonical": "Fca" + }, + { + "tokens": [ + "fco", + "francisco" + ], + "full": "francisco", + "canonical": "fco" + }, + { + "tokens": [ + "Gale", + "Galería" + ], + "full": "Galería", + "canonical": "Gale" + }, + { + "tokens": [ + "Granj", + "Granja" + ], + "full": "Granja", + "canonical": "Granj" + }, + { + "tokens": [ + "G", + "Gta", + "Glorieta" + ], + "full": "Glorieta", + "canonical": "Gta" + }, + { + "tokens": [ + "Hipod", + "Hipódromo" + ], + "full": "Hipódromo", + "canonical": "Hipod" + }, + { + "tokens": [ + "Jdin", + "Jardín" + ], + "full": "Jardín", + "canonical": "Jdin" + }, + { + "tokens": [ + "K", + "Kalea", + "Karrika" + ], + "full": "Karrika", + "canonical": "K", + "note": "translates to 'street' ('kalea' is Catalan)", + "type": "way" + }, + { + "tokens": [ + "L", + "La" + ], + "full": "La", + "canonical": "La", + "type": "determiner" + }, + { + "tokens": [ + "Les" + ], + "full": "Les", + "canonical": "Les", + "type": "determiner" + }, + { + "tokens": [ + "Las" + ], + "full": "Las", + "canonical": "Las", + "type": "determiner" + }, + { + "tokens": [ + "Los" + ], + "full": "Los", + "canonical": "Los", + "type": "determiner" + }, + { + "tokens": [ + "Ldera", + "Ladera" + ], + "full": "Ladera", + "canonical": "Ldera" + }, + { + "tokens": [ + "Llnra", + "Llanura" + ], + "full": "Llanura", + "canonical": "Llnra" + }, + { + "tokens": [ + "Malec", + "Malecón" + ], + "full": "Malecón", + "canonical": "Malec" + }, + { + "tokens": [ + "Martine", + "Martinez" + ], + "full": "Martinez", + "canonical": "Martine" + }, + { + "tokens": [ + "Merc", + "Mercado" + ], + "full": "Mercado", + "canonical": "Merc" + }, + { + "tokens": [ + "Mrdor", + "Mirador" + ], + "full": "Mirador", + "canonical": "Mrdor" + }, + { + "tokens": [ + "Mtrio", + "Monasterio" + ], + "full": "Monasterio", + "canonical": "Mtrio" + }, + { + "tokens": [ + "Muell", + "Muelle" + ], + "full": "Muelle", + "canonical": "Muell" + }, + { + "tokens": [ + "N" + ], + "full": "N", + "canonical": "N", + "type": "determiner", + "note": "as part of a street n' (example: n'arai)" + }, + { + "tokens": [ + "Ncleo", + "Núcleo" + ], + "full": "Núcleo", + "canonical": "Ncleo" + }, + { + "tokens": [ + "Palac", + "Palacio" + ], + "full": "Palacio", + "canonical": "Palac" + }, + { + "tokens": [ + "Pant", + "Pantano" + ], + "full": "Pantano", + "canonical": "Pant" + }, + { + "tokens": [ + "Parti", + "Particular" + ], + "full": "Particular", + "canonical": "Parti" + }, + { + "tokens": [ + "Pbdo", + "Poblado" + ], + "full": "Poblado", + "canonical": "Pbdo" + }, + { + "tokens": [ + "Pblo", + "Pueblo" + ], + "full": "Pueblo", + "canonical": "Pblo" + }, + { + "tokens": [ + "Pl", + "Pz", + "Pza", + "Plza", + "Placa", + "Plaza" + ], + "full": "Plaza", + "canonical": "Pl", + "type": "way" + }, + { + "tokens": [ + "Plzla", + "Plazuela" + ], + "full": "Plazuela", + "canonical": "Plzla" + }, + { + "tokens": [ + "Pnte", + "Puente" + ], + "full": "Puente", + "canonical": "Pnte" + }, + { + "tokens": [ + "P", + "Po", + "Ps", + "Pso", + "Paseo", + "Passeig" + ], + "full": "Paseo", + "canonical": "Po", + "onlyLayers": ["address"], + "note": "translates to 'walk'", + "type": "way" + }, + { + "tokens": [ + "Polig", + "Polígono" + ], + "full": "Polígono", + "canonical": "Polig" + }, + { + "tokens": [ + "Pque", + "Parque", + "Parq", + "Pq", + "Pqe" + ], + "full": "Parque", + "canonical": "Pq", + "note": "translates to 'park'", + "type": "way" + }, + { + "tokens": [ + "Praje", + "Paraje" + ], + "full": "Paraje", + "canonical": "Praje" + }, + { + "tokens": [ + "Prol", + "Prolongación" + ], + "full": "Prolongación", + "canonical": "Prol" + }, + { + "tokens": [ + "Prtal", + "Portal" + ], + "full": "Portal", + "canonical": "Prtal" + }, + { + "tokens": [ + "Prtco", + "Pórtico" + ], + "full": "Pórtico", + "canonical": "Prtco" + }, + { + "tokens": [ + "Przla", + "Prazuela" + ], + "full": "Prazuela", + "canonical": "Przla" + }, + { + "tokens": [ + "Psaje", + "Pasaje" + ], + "full": "Pasaje", + "canonical": "Psaje", + "onlyLayers": ["address"], + "note": "translates to 'passage'", + "type": "way" + }, + { + "tokens": [ + "pj", + "passatge" + ], + "full": "passatge", + "canonical": "pj", + "onlyLayers": ["address"], + "note": "translates to 'passatge'", + "type": "way" + }, + { + "tokens": [ + "Psllo", + "Pasillo" + ], + "full": "Pasillo", + "canonical": "Psllo" + }, + { + "tokens": [ + "Pta", + "Puerta" + ], + "full": "Puerta", + "canonical": "Pta" + }, + { + "tokens": [ + "Ptda", + "Partida" + ], + "full": "Partida", + "canonical": "Ptda" + }, + { + "tokens": [ + "Ptilo", + "Portillo" + ], + "full": "Portillo", + "canonical": "Ptilo" + }, + { + "tokens": [ + "Pto", + "Puerto" + ], + "full": "Puerto", + "canonical": "Pto" + }, + { + "tokens": [ + "Pzo", + "Pasadizo" + ], + "full": "Pasadizo", + "canonical": "Pzo" + }, + { + "tokens": [ + "Pzta", + "Plazoleta" + ], + "full": "Plazoleta", + "canonical": "Pzta" + }, + { + "tokens": [ + "Rampa", + "Rampla" + ], + "full": "Rampla", + "canonical": "Rampa" + }, + { + "tokens": [ + "Rbla", + "Rambla" + ], + "full": "Rambla", + "canonical": "Rbla" + }, + { + "tokens": [ + "Rbra", + "Ribera", + "Rivera" + ], + "full": "Ribera", + "canonical": "Rbra" + }, + { + "tokens": [ + "Rcda", + "Rinconada" + ], + "full": "Rinconada", + "canonical": "Rcda" + }, + { + "tokens": [ + "Rcon", + "Rincón" + ], + "full": "Rincón", + "canonical": "Rcon" + }, + { + "tokens": [ + "Rd", + "Ronda" + ], + "full": "Ronda", + "canonical": "Rd" + }, + { + "tokens": [ + "Resid", + "Residencial" + ], + "full": "Residencial", + "canonical": "Resid" + }, + { + "tokens": [ + "rincon", + "rcon", + "rin", + "rncn", + "rncon" + ], + "full": "rincon", + "canonical": "rin", + "type": "way" + }, + { + "tokens": [ + "retorno", + "ret", + "rt" + ], + "full": "retorno", + "canonical": "rt", + "type": "way", + "note": "translates to 'return'" + }, + { + "tokens": [ + "Rtda", + "Rotonda" + ], + "full": "Rotonda", + "canonical": "Rtda", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "Ru", + "Rúa", + "Rua" + ], + "full": "Rua", + "canonical": "Ru" + }, + { + "tokens": [ + "ruta", + "rta" + ], + "full": "ruta", + "canonical": "rta", + "note": "translates to 'route'", + "type": "way" + }, + { + "tokens": [ + "S", + "San", + "Sant" + ], + "full": "San", + "canonical": "S" + }, + { + "tokens": [ + "Sanat", + "Sanatorio" + ], + "full": "Sanatorio", + "canonical": "Sanat" + }, + { + "tokens": [ + "Santu", + "Santuario" + ], + "full": "Santuario", + "canonical": "Santu" + }, + { + "tokens": [ + "Sbida", + "Subida" + ], + "full": "Subida", + "canonical": "Sbida" + }, + { + "tokens": [ + "Sect", + "Sector" + ], + "full": "Sector", + "canonical": "Sect" + }, + { + "tokens": [ + "Sedra", + "Sendera" + ], + "full": "Sendera", + "canonical": "Sedra" + }, + { + "tokens": [ + "Send", + "Sendero" + ], + "full": "Sendero", + "canonical": "Send" + }, + { + "tokens": [ + "Sta", + "Santa" + ], + "full": "Santa", + "canonical": "Sta" + }, + { + "tokens": [ + "Trans", + "Tránsito" + ], + "full": "Tránsito", + "canonical": "Trans" + }, + { + "tokens": [ + "Tras", + "Trasera" + ], + "full": "Trasera", + "canonical": "Tras" + }, + { + "tokens": [ + "Tr", + "Trva", + "Travesia", + "Travessia" + ], + "full": "Travesia", + "canonical": "Tr", + "type": "way" + + }, + { + "tokens": [ + "To", + "Trrnt", + "Torrente" + ], + "full": "Torrente", + "canonical": "To", + "type": "way" + }, + { + "tokens": [ + "Trval", + "Transversal" + ], + "full": "Transversal", + "canonical": "Trval" + }, + { + "tokens": [ + "ur" + ], + "full": "ur", + "canonical": "ur", + "type": "way" + }, + { + "tokens": [ + "Urb", + "Urbanización" + ], + "full": "Urbanización", + "canonical": "Urb" + }, + { + "tokens": [ + "Vcto", + "Viaducto" + ], + "full": "Viaducto", + "canonical": "Vcto" + }, + { + "tokens": [ + "Vecin", + "Vecindario" + ], + "full": "Vecindario", + "canonical": "Vecin" + }, + { + "tokens": [ + "Ver", + "Vreda", + "Vereda" + ], + "full": "Vereda", + "canonical": "Ver" + }, + { + "tokens": [ + "Vvdas", + "Viviendas" + ], + "full": "Viviendas", + "canonical": "Vvdas" + }, + { + "tokens": [ + "CH", + "Camino hondo" + ], + "full": "Camino hondo", + "canonical": "CH", + "spanBoundaries": 1 + }, + { + "tokens": [ + "CN", + "Camino nuevo" + ], + "full": "Camino nuevo", + "canonical": "CN", + "spanBoundaries": 1 + }, + { + "tokens": [ + "CV", + "Camino viejo" + ], + "full": "Camino viejo", + "canonical": "CV", + "spanBoundaries": 1 + }, + { + "tokens": [ + "GV", + "Gran Vía" + ], + "full": "Gran Vía", + "canonical": "GV", + "spanBoundaries": 1 + }, + { + "tokens": [ + "PI", + "Pgind" + ], + "full": "Pgind", + "canonical": "PI" + }, + { + "tokens": [ + "PI", + "Polígono industrial" + ], + "full": "Polígono industrial", + "canonical": "PI", + "spanBoundaries": 1 + }, + { + "tokens": [ + "pk", + "Punto kilométrico" + ], + "full": "Punto kilométrico", + "canonical": "pk", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Psmar", + "Paseo marítimo" + ], + "full": "Paseo marítimo", + "canonical": "Psmar", + "spanBoundaries": 1 + }, + { + "tokens": [ + "y" + ], + "full": "y", + "canonical": "y", + "type": "determiner" + }, + { + "tokens": [ + "$1$2", + "(l|d) ([aeiouhy][^ ]+)" + ], + "onlyLayers": ["address"], + "onlyCountries": ["fr"], + "full": "(l|d) ([aeiouhy][^ ]+)", + "canonical": "$1$2", + "regex": true, + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/gl_20201005151402.json b/.history/tokens/gl_20201005151402.json new file mode 100644 index 0000000..c077e7e --- /dev/null +++ b/.history/tokens/gl_20201005151402.json @@ -0,0 +1 @@ +[{'canonical': 'autovía', 'full': 'autovía', 'tokens': [...], 'type': 'way'}, {'canonical': 'auto', 'full': 'autopista', 'tokens': [...], 'type': 'way'}, {'canonical': 'av', 'full': 'avenida', 'tokens': [...], 'type': 'way'}, {'canonical': 'alameda', 'full': 'alameda', 'tokens': [...], 'type': 'way'}, {'canonical': 'baixada', 'full': 'baixada', 'tokens': [...], 'type': 'way'}, {'canonical': 'camiño', 'full': 'camiño', 'tokens': [...], 'type': 'way'}, {'canonical': 'costa', 'full': 'costa', 'tokens': [...], 'type': 'way'}, {'canonical': 'encosta', 'full': 'encosta', 'tokens': [...], 'type': 'way'}, {'canonical': 'estrada', 'full': 'estrada', 'tokens': [...], 'type': 'way'}, {'canonical': 'glorieta', 'full': 'glorieta', 'tokens': [...], 'type': 'way'}, {'canonical': 'paseo', 'full': 'paseo', 'tokens': [...], 'type': 'way'}, {'canonical': 'pr', 'full': 'praza', 'tokens': [...], 'type': 'way'}, {'canonical': 'praciña', 'full': 'praciña', 'tokens': [...], 'type': 'way'}, {'canonical': 'przla', 'full': 'prazuela', 'tokens': [...], 'type': 'way'}, ...] \ No newline at end of file diff --git a/.history/tokens/gl_20201005151403.json b/.history/tokens/gl_20201005151403.json new file mode 100644 index 0000000..c077e7e --- /dev/null +++ b/.history/tokens/gl_20201005151403.json @@ -0,0 +1 @@ +[{'canonical': 'autovía', 'full': 'autovía', 'tokens': [...], 'type': 'way'}, {'canonical': 'auto', 'full': 'autopista', 'tokens': [...], 'type': 'way'}, {'canonical': 'av', 'full': 'avenida', 'tokens': [...], 'type': 'way'}, {'canonical': 'alameda', 'full': 'alameda', 'tokens': [...], 'type': 'way'}, {'canonical': 'baixada', 'full': 'baixada', 'tokens': [...], 'type': 'way'}, {'canonical': 'camiño', 'full': 'camiño', 'tokens': [...], 'type': 'way'}, {'canonical': 'costa', 'full': 'costa', 'tokens': [...], 'type': 'way'}, {'canonical': 'encosta', 'full': 'encosta', 'tokens': [...], 'type': 'way'}, {'canonical': 'estrada', 'full': 'estrada', 'tokens': [...], 'type': 'way'}, {'canonical': 'glorieta', 'full': 'glorieta', 'tokens': [...], 'type': 'way'}, {'canonical': 'paseo', 'full': 'paseo', 'tokens': [...], 'type': 'way'}, {'canonical': 'pr', 'full': 'praza', 'tokens': [...], 'type': 'way'}, {'canonical': 'praciña', 'full': 'praciña', 'tokens': [...], 'type': 'way'}, {'canonical': 'przla', 'full': 'prazuela', 'tokens': [...], 'type': 'way'}, ...] \ No newline at end of file diff --git a/.history/tokens/gl_20201005151429.json b/.history/tokens/gl_20201005151429.json new file mode 100644 index 0000000..64b24ab --- /dev/null +++ b/.history/tokens/gl_20201005151429.json @@ -0,0 +1,133 @@ +[ + { + "full": "autovía", + "canonical": "autovía", + "tokens": ["autovía", "autovia"], + "type": "way" + }, + { + "full": "autopista", + "canonical": "auto", + "tokens": ["autopista", "auto", "autop"], + "type": "way" + }, + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "camiño", + "canonical": "camiño", + "tokens": ["camiño", "camino"], + "type": "way" + }, + { "full": "costa", "canonical": "costa", "tokens": ["costa"], "type": "way" }, + { + "full": "encosta", + "canonical": "encosta", + "tokens": ["encosta"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estrada", + "tokens": ["estrada"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "glorieta", + "tokens": ["glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005151433.json b/.history/tokens/gl_20201005151433.json new file mode 100644 index 0000000..64b24ab --- /dev/null +++ b/.history/tokens/gl_20201005151433.json @@ -0,0 +1,133 @@ +[ + { + "full": "autovía", + "canonical": "autovía", + "tokens": ["autovía", "autovia"], + "type": "way" + }, + { + "full": "autopista", + "canonical": "auto", + "tokens": ["autopista", "auto", "autop"], + "type": "way" + }, + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "camiño", + "canonical": "camiño", + "tokens": ["camiño", "camino"], + "type": "way" + }, + { "full": "costa", "canonical": "costa", "tokens": ["costa"], "type": "way" }, + { + "full": "encosta", + "canonical": "encosta", + "tokens": ["encosta"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estrada", + "tokens": ["estrada"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "glorieta", + "tokens": ["glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155330.json b/.history/tokens/gl_20201005155330.json new file mode 100644 index 0000000..83df32c --- /dev/null +++ b/.history/tokens/gl_20201005155330.json @@ -0,0 +1,127 @@ +[ + { + "full": "autopista", + "canonical": "auto", + "tokens": ["autopista", "auto", "autop"], + "type": "way" + }, + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "camiño", + "canonical": "camiño", + "tokens": ["camiño", "camino"], + "type": "way" + }, + { "full": "costa", "canonical": "costa", "tokens": ["costa"], "type": "way" }, + { + "full": "encosta", + "canonical": "encosta", + "tokens": ["encosta"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estrada", + "tokens": ["estrada"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "glorieta", + "tokens": ["glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155341.json b/.history/tokens/gl_20201005155341.json new file mode 100644 index 0000000..0fb45b2 --- /dev/null +++ b/.history/tokens/gl_20201005155341.json @@ -0,0 +1,121 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "camiño", + "canonical": "camiño", + "tokens": ["camiño", "camino"], + "type": "way" + }, + { "full": "costa", "canonical": "costa", "tokens": ["costa"], "type": "way" }, + { + "full": "encosta", + "canonical": "encosta", + "tokens": ["encosta"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estrada", + "tokens": ["estrada"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "glorieta", + "tokens": ["glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155403.json b/.history/tokens/gl_20201005155403.json new file mode 100644 index 0000000..5cdf215 --- /dev/null +++ b/.history/tokens/gl_20201005155403.json @@ -0,0 +1,115 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { "full": "costa", "canonical": "costa", "tokens": ["costa"], "type": "way" }, + { + "full": "encosta", + "canonical": "encosta", + "tokens": ["encosta"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estrada", + "tokens": ["estrada"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "glorieta", + "tokens": ["glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155410.json b/.history/tokens/gl_20201005155410.json new file mode 100644 index 0000000..8662635 --- /dev/null +++ b/.history/tokens/gl_20201005155410.json @@ -0,0 +1,114 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "encosta", + "canonical": "encosta", + "tokens": ["encosta"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estrada", + "tokens": ["estrada"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "glorieta", + "tokens": ["glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155415.json b/.history/tokens/gl_20201005155415.json new file mode 100644 index 0000000..795bfee --- /dev/null +++ b/.history/tokens/gl_20201005155415.json @@ -0,0 +1,108 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estrada", + "tokens": ["estrada"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "glorieta", + "tokens": ["glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155426.json b/.history/tokens/gl_20201005155426.json new file mode 100644 index 0000000..739bf61 --- /dev/null +++ b/.history/tokens/gl_20201005155426.json @@ -0,0 +1,108 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estrada", + "tokens": ["estrada"],, + "type": "way" + }, + { + "full": "glorieta", + "canonical": "glorieta", + "tokens": ["glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155427.json b/.history/tokens/gl_20201005155427.json new file mode 100644 index 0000000..795bfee --- /dev/null +++ b/.history/tokens/gl_20201005155427.json @@ -0,0 +1,108 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estrada", + "tokens": ["estrada"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "glorieta", + "tokens": ["glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155429.json b/.history/tokens/gl_20201005155429.json new file mode 100644 index 0000000..f24cac3 --- /dev/null +++ b/.history/tokens/gl_20201005155429.json @@ -0,0 +1,108 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estrada", + "tokens": ["estrada", "Estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "glorieta", + "tokens": ["glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155438.json b/.history/tokens/gl_20201005155438.json new file mode 100644 index 0000000..4b3a095 --- /dev/null +++ b/.history/tokens/gl_20201005155438.json @@ -0,0 +1,108 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estrada", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "glorieta", + "tokens": ["glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155451.json b/.history/tokens/gl_20201005155451.json new file mode 100644 index 0000000..fb2fb41 --- /dev/null +++ b/.history/tokens/gl_20201005155451.json @@ -0,0 +1,108 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "glorieta", + "tokens": ["glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155504.json b/.history/tokens/gl_20201005155504.json new file mode 100644 index 0000000..6819d22 --- /dev/null +++ b/.history/tokens/gl_20201005155504.json @@ -0,0 +1,108 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "glorieta", + "tokens": ["G", "Gta", "Glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155507.json b/.history/tokens/gl_20201005155507.json new file mode 100644 index 0000000..48fd612 --- /dev/null +++ b/.history/tokens/gl_20201005155507.json @@ -0,0 +1,108 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "glorieta", + "tokens": ["g", "Gta", "Glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155510.json b/.history/tokens/gl_20201005155510.json new file mode 100644 index 0000000..fe63cae --- /dev/null +++ b/.history/tokens/gl_20201005155510.json @@ -0,0 +1,108 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "Gta", "Glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155511.json b/.history/tokens/gl_20201005155511.json new file mode 100644 index 0000000..13463be --- /dev/null +++ b/.history/tokens/gl_20201005155511.json @@ -0,0 +1,108 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "Glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155513.json b/.history/tokens/gl_20201005155513.json new file mode 100644 index 0000000..6abaeb4 --- /dev/null +++ b/.history/tokens/gl_20201005155513.json @@ -0,0 +1,108 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155515.json b/.history/tokens/gl_20201005155515.json new file mode 100644 index 0000000..dcf3d33 --- /dev/null +++ b/.history/tokens/gl_20201005155515.json @@ -0,0 +1,108 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": [gta", "glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155517.json b/.history/tokens/gl_20201005155517.json new file mode 100644 index 0000000..2d841fa --- /dev/null +++ b/.history/tokens/gl_20201005155517.json @@ -0,0 +1,108 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["gta", "glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155526.json b/.history/tokens/gl_20201005155526.json new file mode 100644 index 0000000..6abaeb4 --- /dev/null +++ b/.history/tokens/gl_20201005155526.json @@ -0,0 +1,108 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155531.json b/.history/tokens/gl_20201005155531.json new file mode 100644 index 0000000..6abaeb4 --- /dev/null +++ b/.history/tokens/gl_20201005155531.json @@ -0,0 +1,108 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { "full": "paseo", "canonical": "paseo", "tokens": ["paseo"], "type": "way" }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155544.json b/.history/tokens/gl_20201005155544.json new file mode 100644 index 0000000..3cb998f --- /dev/null +++ b/.history/tokens/gl_20201005155544.json @@ -0,0 +1,107 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155636.json b/.history/tokens/gl_20201005155636.json new file mode 100644 index 0000000..17474b1 --- /dev/null +++ b/.history/tokens/gl_20201005155636.json @@ -0,0 +1,107 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda", "Rd"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155638.json b/.history/tokens/gl_20201005155638.json new file mode 100644 index 0000000..1f94104 --- /dev/null +++ b/.history/tokens/gl_20201005155638.json @@ -0,0 +1,107 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda", "rd"], + "type": "way" + }, + { + "full": "rotonda", + "canonical": "rtda", + "tokens": ["rotonda", "rtda"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155652.json b/.history/tokens/gl_20201005155652.json new file mode 100644 index 0000000..bb1dc08 --- /dev/null +++ b/.history/tokens/gl_20201005155652.json @@ -0,0 +1,101 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda", "rd"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "ruela", "canonical": "ruela", "tokens": ["ruela"], "type": "way" }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155715.json b/.history/tokens/gl_20201005155715.json new file mode 100644 index 0000000..acb53f9 --- /dev/null +++ b/.history/tokens/gl_20201005155715.json @@ -0,0 +1,100 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda", "rd"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { + "full": "sendeiro", + "canonical": "sendeiro", + "tokens": ["sendeiro"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155720.json b/.history/tokens/gl_20201005155720.json new file mode 100644 index 0000000..0857ef2 --- /dev/null +++ b/.history/tokens/gl_20201005155720.json @@ -0,0 +1,94 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda", "rd"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { "full": "suba", "canonical": "suba", "tokens": ["suba"], "type": "way" }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155724.json b/.history/tokens/gl_20201005155724.json new file mode 100644 index 0000000..6327baf --- /dev/null +++ b/.history/tokens/gl_20201005155724.json @@ -0,0 +1,93 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda", "rd"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "travesía", + "canonical": "trav", + "tokens": ["travesía", "travesia", "trav"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155739.json b/.history/tokens/gl_20201005155739.json new file mode 100644 index 0000000..d27a220 --- /dev/null +++ b/.history/tokens/gl_20201005155739.json @@ -0,0 +1,87 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda", "rd"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { + "full": "vía", + "canonical": "vía", + "tokens": ["vía", "via"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005155743.json b/.history/tokens/gl_20201005155743.json new file mode 100644 index 0000000..87cc48e --- /dev/null +++ b/.history/tokens/gl_20201005155743.json @@ -0,0 +1,81 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "alameda", + "canonical": "alameda", + "tokens": ["alameda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda", "rd"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005161055.json b/.history/tokens/gl_20201005161055.json new file mode 100644 index 0000000..37fb106 --- /dev/null +++ b/.history/tokens/gl_20201005161055.json @@ -0,0 +1,75 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "baixada", + "canonical": "baixada", + "tokens": ["baixada"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda", "rd"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005161058.json b/.history/tokens/gl_20201005161058.json new file mode 100644 index 0000000..8dd4432 --- /dev/null +++ b/.history/tokens/gl_20201005161058.json @@ -0,0 +1,69 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "praciña", + "canonical": "praciña", + "tokens": ["praciña", "pracina"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda", "rd"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005161105.json b/.history/tokens/gl_20201005161105.json new file mode 100644 index 0000000..5a40bbc --- /dev/null +++ b/.history/tokens/gl_20201005161105.json @@ -0,0 +1,63 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda", "rd"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rúa", "rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005161113.json b/.history/tokens/gl_20201005161113.json new file mode 100644 index 0000000..8a6ac38 --- /dev/null +++ b/.history/tokens/gl_20201005161113.json @@ -0,0 +1,63 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda", "rd"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": [rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005161114.json b/.history/tokens/gl_20201005161114.json new file mode 100644 index 0000000..b53bc64 --- /dev/null +++ b/.history/tokens/gl_20201005161114.json @@ -0,0 +1,63 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda", "rd"], + "type": "way" + }, + { + "full": "rúa", + "canonical": "r", + "tokens": ["rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005161117.json b/.history/tokens/gl_20201005161117.json new file mode 100644 index 0000000..b8d9bd7 --- /dev/null +++ b/.history/tokens/gl_20201005161117.json @@ -0,0 +1,63 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda", "rd"], + "type": "way" + }, + { + "full": "rua", + "canonical": "r", + "tokens": ["rua", "r", "ru"], + "type": "way" + }, + { + "full": "rúas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005161120.json b/.history/tokens/gl_20201005161120.json new file mode 100644 index 0000000..782ce97 --- /dev/null +++ b/.history/tokens/gl_20201005161120.json @@ -0,0 +1,63 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda", "rd"], + "type": "way" + }, + { + "full": "rua", + "canonical": "r", + "tokens": ["rua", "r", "ru"], + "type": "way" + }, + { + "full": "ruas", + "canonical": "rs", + "tokens": ["rúas", "ruas", "rs"], + "type": "way" + }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005161124.json b/.history/tokens/gl_20201005161124.json new file mode 100644 index 0000000..529268f --- /dev/null +++ b/.history/tokens/gl_20201005161124.json @@ -0,0 +1,63 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda", "rd"], + "type": "way" + }, + { + "full": "rua", + "canonical": "r", + "tokens": ["rua", "r", "ru"], + "type": "way" + }, + { + "full": "ruas", + "canonical": "rs", + "tokens": ["ruas", "rs"], + "type": "way" + }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005161127.json b/.history/tokens/gl_20201005161127.json new file mode 100644 index 0000000..529268f --- /dev/null +++ b/.history/tokens/gl_20201005161127.json @@ -0,0 +1,63 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda", "rd"], + "type": "way" + }, + { + "full": "rua", + "canonical": "r", + "tokens": ["rua", "r", "ru"], + "type": "way" + }, + { + "full": "ruas", + "canonical": "rs", + "tokens": ["ruas", "rs"], + "type": "way" + }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/gl_20201005161128.json b/.history/tokens/gl_20201005161128.json new file mode 100644 index 0000000..529268f --- /dev/null +++ b/.history/tokens/gl_20201005161128.json @@ -0,0 +1,63 @@ +[ + { + "full": "avenida", + "canonical": "av", + "tokens": ["avenida", "av", "avd", "avda"], + "type": "way" + }, + { + "full": "estrada", + "canonical": "estda", + "tokens": ["estrada", "estda"], + "type": "way" + }, + { + "full": "glorieta", + "canonical": "gta", + "tokens": ["g", "gta", "glorieta"], + "type": "way" + }, + { + "full": "praza", + "canonical": "pr", + "tokens": ["praza", "pr", "pza"], + "type": "way" + }, + { + "full": "prazuela", + "canonical": "przla", + "tokens": ["prazuela", "przla"], + "type": "way" + }, + { + "full": "rambla", + "canonical": "rbla", + "tokens": ["rambla", "rbla"], + "type": "way" + }, + { + "full": "ronda", + "canonical": "rda", + "tokens": ["ronda", "rda", "rd"], + "type": "way" + }, + { + "full": "rua", + "canonical": "r", + "tokens": ["rua", "r", "ru"], + "type": "way" + }, + { + "full": "ruas", + "canonical": "rs", + "tokens": ["ruas", "rs"], + "type": "way" + }, + { + "full": "subida", + "canonical": "sbida", + "tokens": ["subida", "sbida"], + "type": "way" + }, + { "full": "viela", "canonical": "viela", "tokens": ["viela"], "type": "way" } +] diff --git a/.history/tokens/it_20201217101212.json b/.history/tokens/it_20201217101212.json new file mode 100644 index 0000000..3a15ddd --- /dev/null +++ b/.history/tokens/it_20201217101212.json @@ -0,0 +1,280 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217101220.json b/.history/tokens/it_20201217101220.json new file mode 100644 index 0000000..0ced4bd --- /dev/null +++ b/.history/tokens/it_20201217101220.json @@ -0,0 +1,272 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217101223.json b/.history/tokens/it_20201217101223.json new file mode 100644 index 0000000..6c41797 --- /dev/null +++ b/.history/tokens/it_20201217101223.json @@ -0,0 +1,288 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150248.json b/.history/tokens/it_20201217150248.json new file mode 100644 index 0000000..5ab25b0 --- /dev/null +++ b/.history/tokens/it_20201217150248.json @@ -0,0 +1,297 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150252.json b/.history/tokens/it_20201217150252.json new file mode 100644 index 0000000..cfaefc1 --- /dev/null +++ b/.history/tokens/it_20201217150252.json @@ -0,0 +1,297 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150254.json b/.history/tokens/it_20201217150254.json new file mode 100644 index 0000000..9b31174 --- /dev/null +++ b/.history/tokens/it_20201217150254.json @@ -0,0 +1,296 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150303.json b/.history/tokens/it_20201217150303.json new file mode 100644 index 0000000..a3a6196 --- /dev/null +++ b/.history/tokens/it_20201217150303.json @@ -0,0 +1,297 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada|s|str.a|stra|str +", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150308.json b/.history/tokens/it_20201217150308.json new file mode 100644 index 0000000..467c3ba --- /dev/null +++ b/.history/tokens/it_20201217150308.json @@ -0,0 +1,296 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada|s|str.a|stra|str", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150311.json b/.history/tokens/it_20201217150311.json new file mode 100644 index 0000000..8264885 --- /dev/null +++ b/.history/tokens/it_20201217150311.json @@ -0,0 +1,296 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada"|s|str.a|stra|str", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150313.json b/.history/tokens/it_20201217150313.json new file mode 100644 index 0000000..a3b0a2d --- /dev/null +++ b/.history/tokens/it_20201217150313.json @@ -0,0 +1,297 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + |s|str.a|stra|str", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150315.json b/.history/tokens/it_20201217150315.json new file mode 100644 index 0000000..ac61a6c --- /dev/null +++ b/.history/tokens/it_20201217150315.json @@ -0,0 +1,297 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "|s|"str.a|stra|str", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150318.json b/.history/tokens/it_20201217150318.json new file mode 100644 index 0000000..ea18c37 --- /dev/null +++ b/.history/tokens/it_20201217150318.json @@ -0,0 +1,297 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "|s"str.a|stra|str", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150319.json b/.history/tokens/it_20201217150319.json new file mode 100644 index 0000000..e5aa298 --- /dev/null +++ b/.history/tokens/it_20201217150319.json @@ -0,0 +1,297 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "s"str.a|stra|str", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150324.json b/.history/tokens/it_20201217150324.json new file mode 100644 index 0000000..3341b61 --- /dev/null +++ b/.history/tokens/it_20201217150324.json @@ -0,0 +1,298 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "s", + "str.a|stra|str", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150328.json b/.history/tokens/it_20201217150328.json new file mode 100644 index 0000000..8eb98e6 --- /dev/null +++ b/.history/tokens/it_20201217150328.json @@ -0,0 +1,299 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "s", + "str.a", + "stra|str", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150330.json b/.history/tokens/it_20201217150330.json new file mode 100644 index 0000000..3386be5 --- /dev/null +++ b/.history/tokens/it_20201217150330.json @@ -0,0 +1,300 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "s", + "str.a", + "stra", + |str", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150332.json b/.history/tokens/it_20201217150332.json new file mode 100644 index 0000000..b718df8 --- /dev/null +++ b/.history/tokens/it_20201217150332.json @@ -0,0 +1,300 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "s", + "str.a", + "stra", + "|"str", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150333.json b/.history/tokens/it_20201217150333.json new file mode 100644 index 0000000..0fefe11 --- /dev/null +++ b/.history/tokens/it_20201217150333.json @@ -0,0 +1,300 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "s", + "str.a", + "stra", + "str", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150336.json b/.history/tokens/it_20201217150336.json new file mode 100644 index 0000000..efa12dc --- /dev/null +++ b/.history/tokens/it_20201217150336.json @@ -0,0 +1,299 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "s", + "str.a", + "stra", + "str", + ], + "full": "Strada Comunale", + "canonical": "SC", + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150340.json b/.history/tokens/it_20201217150340.json new file mode 100644 index 0000000..35c0b84 --- /dev/null +++ b/.history/tokens/it_20201217150340.json @@ -0,0 +1,299 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "s", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "SC", + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150342.json b/.history/tokens/it_20201217150342.json new file mode 100644 index 0000000..019c7f9 --- /dev/null +++ b/.history/tokens/it_20201217150342.json @@ -0,0 +1,298 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "SC", + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150345.json b/.history/tokens/it_20201217150345.json new file mode 100644 index 0000000..7376502 --- /dev/null +++ b/.history/tokens/it_20201217150345.json @@ -0,0 +1,298 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150415.json b/.history/tokens/it_20201217150415.json new file mode 100644 index 0000000..968526b --- /dev/null +++ b/.history/tokens/it_20201217150415.json @@ -0,0 +1,299 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150416.json b/.history/tokens/it_20201217150416.json new file mode 100644 index 0000000..0a0d3df --- /dev/null +++ b/.history/tokens/it_20201217150416.json @@ -0,0 +1,307 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + strada comunale|sc|s.c.|s.c|s c|stc +strada nuova|snu +strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp +strada privata|spr +strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +strada vecchia|sve +strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +stradale|sdl + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150418.json b/.history/tokens/it_20201217150418.json new file mode 100644 index 0000000..6f50cfb --- /dev/null +++ b/.history/tokens/it_20201217150418.json @@ -0,0 +1,307 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada comunale|sc|s.c.|s.c|s c|stc +// strada nuova|snu +// strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150425.json b/.history/tokens/it_20201217150425.json new file mode 100644 index 0000000..e3b717d --- /dev/null +++ b/.history/tokens/it_20201217150425.json @@ -0,0 +1,308 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada comunale|sc|s.c.|s.c|s c|stc +// strada nuova|snu +// strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150435.json b/.history/tokens/it_20201217150435.json new file mode 100644 index 0000000..a351122 --- /dev/null +++ b/.history/tokens/it_20201217150435.json @@ -0,0 +1,308 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada comunale|sc|s.c.|s.c|s c|stc +// strada nuova|snu +// strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150439.json b/.history/tokens/it_20201217150439.json new file mode 100644 index 0000000..1d6cca7 --- /dev/null +++ b/.history/tokens/it_20201217150439.json @@ -0,0 +1,307 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada nuova|snu +// strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150450.json b/.history/tokens/it_20201217150450.json new file mode 100644 index 0000000..ebeab80 --- /dev/null +++ b/.history/tokens/it_20201217150450.json @@ -0,0 +1,316 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada nuova|snu +// strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150453.json b/.history/tokens/it_20201217150453.json new file mode 100644 index 0000000..a9ea0dc --- /dev/null +++ b/.history/tokens/it_20201217150453.json @@ -0,0 +1,316 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada nuova|snu +// strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150458.json b/.history/tokens/it_20201217150458.json new file mode 100644 index 0000000..b0039ce --- /dev/null +++ b/.history/tokens/it_20201217150458.json @@ -0,0 +1,316 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada nuova|snu +// strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "strada nuova", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150459.json b/.history/tokens/it_20201217150459.json new file mode 100644 index 0000000..b9d41cb --- /dev/null +++ b/.history/tokens/it_20201217150459.json @@ -0,0 +1,316 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada nuova|snu +// strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150502.json b/.history/tokens/it_20201217150502.json new file mode 100644 index 0000000..856ebcc --- /dev/null +++ b/.history/tokens/it_20201217150502.json @@ -0,0 +1,316 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada nuova|snu +// strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150503.json b/.history/tokens/it_20201217150503.json new file mode 100644 index 0000000..e877470 --- /dev/null +++ b/.history/tokens/it_20201217150503.json @@ -0,0 +1,316 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada nuova|snu +// strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150505.json b/.history/tokens/it_20201217150505.json new file mode 100644 index 0000000..655b4ca --- /dev/null +++ b/.history/tokens/it_20201217150505.json @@ -0,0 +1,315 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150531.json b/.history/tokens/it_20201217150531.json new file mode 100644 index 0000000..4835b34 --- /dev/null +++ b/.history/tokens/it_20201217150531.json @@ -0,0 +1,314 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150533.json b/.history/tokens/it_20201217150533.json new file mode 100644 index 0000000..0bd415a --- /dev/null +++ b/.history/tokens/it_20201217150533.json @@ -0,0 +1,316 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + // strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp + + { + "tokens": [ + "SP", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150547.json b/.history/tokens/it_20201217150547.json new file mode 100644 index 0000000..fa9853e --- /dev/null +++ b/.history/tokens/it_20201217150547.json @@ -0,0 +1,317 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + // strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp + + { + "tokens": [ + "SP", + "s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp" + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150550.json b/.history/tokens/it_20201217150550.json new file mode 100644 index 0000000..d48edd8 --- /dev/null +++ b/.history/tokens/it_20201217150550.json @@ -0,0 +1,318 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + // strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp + + { + "tokens": [ + "SP", + "s p", + |str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp" + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150552.json b/.history/tokens/it_20201217150552.json new file mode 100644 index 0000000..ce9655c --- /dev/null +++ b/.history/tokens/it_20201217150552.json @@ -0,0 +1,318 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + // strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp + + { + "tokens": [ + "SP", + "s p", + "str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp" + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150556.json b/.history/tokens/it_20201217150556.json new file mode 100644 index 0000000..3e2a52c --- /dev/null +++ b/.history/tokens/it_20201217150556.json @@ -0,0 +1,319 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + // strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp + + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale|str.prov|str prov|s.prov|s prov|stp" + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150558.json b/.history/tokens/it_20201217150558.json new file mode 100644 index 0000000..c2b46a7 --- /dev/null +++ b/.history/tokens/it_20201217150558.json @@ -0,0 +1,319 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + // strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp + + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale"|str.prov|str prov|s.prov|s prov|stp" + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150600.json b/.history/tokens/it_20201217150600.json new file mode 100644 index 0000000..2e42a14 --- /dev/null +++ b/.history/tokens/it_20201217150600.json @@ -0,0 +1,320 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + // strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp + + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str.prov|str prov|s.prov|s prov|stp" + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150603.json b/.history/tokens/it_20201217150603.json new file mode 100644 index 0000000..5d45b93 --- /dev/null +++ b/.history/tokens/it_20201217150603.json @@ -0,0 +1,321 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + // strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp + + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str.prov", + str prov|s.prov|s prov|stp" + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150610.json b/.history/tokens/it_20201217150610.json new file mode 100644 index 0000000..3ad614b --- /dev/null +++ b/.history/tokens/it_20201217150610.json @@ -0,0 +1,320 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + // strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp + + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + str prov|s.prov|s prov|stp" + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150612.json b/.history/tokens/it_20201217150612.json new file mode 100644 index 0000000..10b5d62 --- /dev/null +++ b/.history/tokens/it_20201217150612.json @@ -0,0 +1,320 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + // strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp + + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str prov|s.prov|s prov|stp" + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150614.json b/.history/tokens/it_20201217150614.json new file mode 100644 index 0000000..2150b5c --- /dev/null +++ b/.history/tokens/it_20201217150614.json @@ -0,0 +1,320 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + // strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp + + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str prov"|s.prov|s prov|stp" + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150618.json b/.history/tokens/it_20201217150618.json new file mode 100644 index 0000000..ed8b440 --- /dev/null +++ b/.history/tokens/it_20201217150618.json @@ -0,0 +1,321 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + // strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp + + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov|stp" + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150620.json b/.history/tokens/it_20201217150620.json new file mode 100644 index 0000000..d2ad12a --- /dev/null +++ b/.history/tokens/it_20201217150620.json @@ -0,0 +1,321 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + // strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp + + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s provstp" + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150627.json b/.history/tokens/it_20201217150627.json new file mode 100644 index 0000000..39ca5c5 --- /dev/null +++ b/.history/tokens/it_20201217150627.json @@ -0,0 +1,321 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + // strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp + + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov"stp" + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150630.json b/.history/tokens/it_20201217150630.json new file mode 100644 index 0000000..9162e25 --- /dev/null +++ b/.history/tokens/it_20201217150630.json @@ -0,0 +1,322 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + // strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp + + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "stp" + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150632.json b/.history/tokens/it_20201217150632.json new file mode 100644 index 0000000..70e1d96 --- /dev/null +++ b/.history/tokens/it_20201217150632.json @@ -0,0 +1,322 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + // strada provinciale|sp|s.p.|s.p|s p|str provinciale|s provinciale|str.prov|str prov|s.prov|s prov|stp + + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "stp", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150639.json b/.history/tokens/it_20201217150639.json new file mode 100644 index 0000000..5737a30 --- /dev/null +++ b/.history/tokens/it_20201217150639.json @@ -0,0 +1,335 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "stp", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "stp", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150643.json b/.history/tokens/it_20201217150643.json new file mode 100644 index 0000000..acf5c8d --- /dev/null +++ b/.history/tokens/it_20201217150643.json @@ -0,0 +1,334 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "stp", + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "stp", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150648.json b/.history/tokens/it_20201217150648.json new file mode 100644 index 0000000..a566257 --- /dev/null +++ b/.history/tokens/it_20201217150648.json @@ -0,0 +1,329 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "stp", + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "stp", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150649.json b/.history/tokens/it_20201217150649.json new file mode 100644 index 0000000..f581adb --- /dev/null +++ b/.history/tokens/it_20201217150649.json @@ -0,0 +1,329 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "stp" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "stp", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150652.json b/.history/tokens/it_20201217150652.json new file mode 100644 index 0000000..be2acf0 --- /dev/null +++ b/.history/tokens/it_20201217150652.json @@ -0,0 +1,329 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "stp" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "stp", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150659.json b/.history/tokens/it_20201217150659.json new file mode 100644 index 0000000..a39a9d1 --- /dev/null +++ b/.history/tokens/it_20201217150659.json @@ -0,0 +1,329 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "stp" + ], + "full": "sp", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "stp", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150702.json b/.history/tokens/it_20201217150702.json new file mode 100644 index 0000000..d479c89 --- /dev/null +++ b/.history/tokens/it_20201217150702.json @@ -0,0 +1,329 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "stp" + ], + "full": "sp", + "canonical": "stp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "stp", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150704.json b/.history/tokens/it_20201217150704.json new file mode 100644 index 0000000..5fb039f --- /dev/null +++ b/.history/tokens/it_20201217150704.json @@ -0,0 +1,328 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "stp" + ], + "full": "sp", + "canonical": "stp", + }, + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "stp", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150711.json b/.history/tokens/it_20201217150711.json new file mode 100644 index 0000000..633b523 --- /dev/null +++ b/.history/tokens/it_20201217150711.json @@ -0,0 +1,328 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "stp" + ], + "full": "sp", + "canonical": "stp" + }, + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "stp", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150717.json b/.history/tokens/it_20201217150717.json new file mode 100644 index 0000000..2b6d295 --- /dev/null +++ b/.history/tokens/it_20201217150717.json @@ -0,0 +1,321 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "SP", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "stp", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150721.json b/.history/tokens/it_20201217150721.json new file mode 100644 index 0000000..3b1b8fd --- /dev/null +++ b/.history/tokens/it_20201217150721.json @@ -0,0 +1,321 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "stp", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150728.json b/.history/tokens/it_20201217150728.json new file mode 100644 index 0000000..e46451a --- /dev/null +++ b/.history/tokens/it_20201217150728.json @@ -0,0 +1,320 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "Strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150730.json b/.history/tokens/it_20201217150730.json new file mode 100644 index 0000000..cdc21e7 --- /dev/null +++ b/.history/tokens/it_20201217150730.json @@ -0,0 +1,320 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada Provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150731.json b/.history/tokens/it_20201217150731.json new file mode 100644 index 0000000..1e5058a --- /dev/null +++ b/.history/tokens/it_20201217150731.json @@ -0,0 +1,320 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "Strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150733.json b/.history/tokens/it_20201217150733.json new file mode 100644 index 0000000..a9d93f4 --- /dev/null +++ b/.history/tokens/it_20201217150733.json @@ -0,0 +1,320 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada Provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150735.json b/.history/tokens/it_20201217150735.json new file mode 100644 index 0000000..4008d6f --- /dev/null +++ b/.history/tokens/it_20201217150735.json @@ -0,0 +1,320 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "SP", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150736.json b/.history/tokens/it_20201217150736.json new file mode 100644 index 0000000..b4439a4 --- /dev/null +++ b/.history/tokens/it_20201217150736.json @@ -0,0 +1,320 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, +// strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150741.json b/.history/tokens/it_20201217150741.json new file mode 100644 index 0000000..bc287ae --- /dev/null +++ b/.history/tokens/it_20201217150741.json @@ -0,0 +1,315 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150742.json b/.history/tokens/it_20201217150742.json new file mode 100644 index 0000000..f2f0c1a --- /dev/null +++ b/.history/tokens/it_20201217150742.json @@ -0,0 +1,314 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150745.json b/.history/tokens/it_20201217150745.json new file mode 100644 index 0000000..3989ed9 --- /dev/null +++ b/.history/tokens/it_20201217150745.json @@ -0,0 +1,320 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada regionale|sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150751.json b/.history/tokens/it_20201217150751.json new file mode 100644 index 0000000..0bf8fc8 --- /dev/null +++ b/.history/tokens/it_20201217150751.json @@ -0,0 +1,320 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada regionale| +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150753.json b/.history/tokens/it_20201217150753.json new file mode 100644 index 0000000..ace6288 --- /dev/null +++ b/.history/tokens/it_20201217150753.json @@ -0,0 +1,321 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada regionale| +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "sr|s.r.|s.r|s r|str.reg|str reg|str r|str.r|str reginale|s reginale" + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150759.json b/.history/tokens/it_20201217150759.json new file mode 100644 index 0000000..562a764 --- /dev/null +++ b/.history/tokens/it_20201217150759.json @@ -0,0 +1,321 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada regionale| +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r|str.reg|str reg|str r|str.r|str reginale|s reginale" + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150802.json b/.history/tokens/it_20201217150802.json new file mode 100644 index 0000000..25011c1 --- /dev/null +++ b/.history/tokens/it_20201217150802.json @@ -0,0 +1,322 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada regionale| +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str.reg|str reg|str r|str.r|str reginale|s reginale" + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150805.json b/.history/tokens/it_20201217150805.json new file mode 100644 index 0000000..43cfaee --- /dev/null +++ b/.history/tokens/it_20201217150805.json @@ -0,0 +1,322 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada regionale| +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg|str r|str.r|str reginale|s reginale" + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150811.json b/.history/tokens/it_20201217150811.json new file mode 100644 index 0000000..be983ee --- /dev/null +++ b/.history/tokens/it_20201217150811.json @@ -0,0 +1,323 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada regionale| +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r|str.r|str reginale|s reginale" + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150814.json b/.history/tokens/it_20201217150814.json new file mode 100644 index 0000000..2a67148 --- /dev/null +++ b/.history/tokens/it_20201217150814.json @@ -0,0 +1,324 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada regionale| +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + |str.r|str reginale|s reginale" + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150817.json b/.history/tokens/it_20201217150817.json new file mode 100644 index 0000000..b7bacef --- /dev/null +++ b/.history/tokens/it_20201217150817.json @@ -0,0 +1,324 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada regionale| +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "|str reginale|s reginale" + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150821.json b/.history/tokens/it_20201217150821.json new file mode 100644 index 0000000..6020f50 --- /dev/null +++ b/.history/tokens/it_20201217150821.json @@ -0,0 +1,325 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada regionale| +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "|str reginale", + "s reginale" + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150822.json b/.history/tokens/it_20201217150822.json new file mode 100644 index 0000000..a87f462 --- /dev/null +++ b/.history/tokens/it_20201217150822.json @@ -0,0 +1,325 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada regionale| +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale" + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150824.json b/.history/tokens/it_20201217150824.json new file mode 100644 index 0000000..03add6b --- /dev/null +++ b/.history/tokens/it_20201217150824.json @@ -0,0 +1,325 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada regionale| +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "Strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150826.json b/.history/tokens/it_20201217150826.json new file mode 100644 index 0000000..fa92550 --- /dev/null +++ b/.history/tokens/it_20201217150826.json @@ -0,0 +1,325 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada regionale| +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada Regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150829.json b/.history/tokens/it_20201217150829.json new file mode 100644 index 0000000..e85f637 --- /dev/null +++ b/.history/tokens/it_20201217150829.json @@ -0,0 +1,325 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada regionale| +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "Strada Regionale", + "canonical": "SR", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150833.json b/.history/tokens/it_20201217150833.json new file mode 100644 index 0000000..5fbbf68 --- /dev/null +++ b/.history/tokens/it_20201217150833.json @@ -0,0 +1,325 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada regionale| +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150836.json b/.history/tokens/it_20201217150836.json new file mode 100644 index 0000000..5bd939e --- /dev/null +++ b/.history/tokens/it_20201217150836.json @@ -0,0 +1,324 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150845.json b/.history/tokens/it_20201217150845.json new file mode 100644 index 0000000..9ca0197 --- /dev/null +++ b/.history/tokens/it_20201217150845.json @@ -0,0 +1,323 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150850.json b/.history/tokens/it_20201217150850.json new file mode 100644 index 0000000..9026862 --- /dev/null +++ b/.history/tokens/it_20201217150850.json @@ -0,0 +1,324 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "// strada statale|ss|s.s.|s.s|s s|str.s|str s|str.st|str st|str statale|s statale|sts" + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150855.json b/.history/tokens/it_20201217150855.json new file mode 100644 index 0000000..98b4429 --- /dev/null +++ b/.history/tokens/it_20201217150855.json @@ -0,0 +1,324 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + s s|str.s|str s|str.st|str st|str statale|s statale|sts" + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150856.json b/.history/tokens/it_20201217150856.json new file mode 100644 index 0000000..2b9d3b3 --- /dev/null +++ b/.history/tokens/it_20201217150856.json @@ -0,0 +1,324 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s|str.s|str s|str.st|str st|str statale|s statale|sts" + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150901.json b/.history/tokens/it_20201217150901.json new file mode 100644 index 0000000..043f1b8 --- /dev/null +++ b/.history/tokens/it_20201217150901.json @@ -0,0 +1,325 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s", + |str.s|str s|str.st|str st|str statale|s statale|sts" + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150903.json b/.history/tokens/it_20201217150903.json new file mode 100644 index 0000000..0f98b75 --- /dev/null +++ b/.history/tokens/it_20201217150903.json @@ -0,0 +1,325 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s", + "str.s|str s|str.st|str st|str statale|s statale|sts" + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150907.json b/.history/tokens/it_20201217150907.json new file mode 100644 index 0000000..e18ec40 --- /dev/null +++ b/.history/tokens/it_20201217150907.json @@ -0,0 +1,325 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s", + "str s|str.st|str st|str statale|s statale|sts" + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150910.json b/.history/tokens/it_20201217150910.json new file mode 100644 index 0000000..376c41e --- /dev/null +++ b/.history/tokens/it_20201217150910.json @@ -0,0 +1,326 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s", + "str s", + "str.st|str st|str statale|s statale|sts" + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150912.json b/.history/tokens/it_20201217150912.json new file mode 100644 index 0000000..0c32f7f --- /dev/null +++ b/.history/tokens/it_20201217150912.json @@ -0,0 +1,326 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s", + "str s", + "str st|str statale|s statale|sts" + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150915.json b/.history/tokens/it_20201217150915.json new file mode 100644 index 0000000..c69ea28 --- /dev/null +++ b/.history/tokens/it_20201217150915.json @@ -0,0 +1,327 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s", + "str s", + "str st", + |str statale|s statale|sts" + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150916.json b/.history/tokens/it_20201217150916.json new file mode 100644 index 0000000..bc0dd60 --- /dev/null +++ b/.history/tokens/it_20201217150916.json @@ -0,0 +1,327 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s", + "str s", + "str st", + "|str statale|s statale|sts" + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150917.json b/.history/tokens/it_20201217150917.json new file mode 100644 index 0000000..cd96651 --- /dev/null +++ b/.history/tokens/it_20201217150917.json @@ -0,0 +1,327 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s", + "str s", + "str st", + "str statale|s statale|sts" + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150920.json b/.history/tokens/it_20201217150920.json new file mode 100644 index 0000000..3f99746 --- /dev/null +++ b/.history/tokens/it_20201217150920.json @@ -0,0 +1,327 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s", + "str s", + "str st", + "str statale"|s statale|sts" + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150922.json b/.history/tokens/it_20201217150922.json new file mode 100644 index 0000000..3edf366 --- /dev/null +++ b/.history/tokens/it_20201217150922.json @@ -0,0 +1,328 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s", + "str s", + "str st", + "str statale", + "|s statale|sts" + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150923.json b/.history/tokens/it_20201217150923.json new file mode 100644 index 0000000..5945b80 --- /dev/null +++ b/.history/tokens/it_20201217150923.json @@ -0,0 +1,328 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s", + "str s", + "str st", + "str statale", + "s statale|sts" + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150927.json b/.history/tokens/it_20201217150927.json new file mode 100644 index 0000000..c9971cc --- /dev/null +++ b/.history/tokens/it_20201217150927.json @@ -0,0 +1,329 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s", + "str s", + "str st", + "str statale", + "s statale" + sts" + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150930.json b/.history/tokens/it_20201217150930.json new file mode 100644 index 0000000..29af492 --- /dev/null +++ b/.history/tokens/it_20201217150930.json @@ -0,0 +1,329 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "sts" + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150932.json b/.history/tokens/it_20201217150932.json new file mode 100644 index 0000000..c5355ab --- /dev/null +++ b/.history/tokens/it_20201217150932.json @@ -0,0 +1,329 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "sts", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150941.json b/.history/tokens/it_20201217150941.json new file mode 100644 index 0000000..0a39182 --- /dev/null +++ b/.history/tokens/it_20201217150941.json @@ -0,0 +1,328 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "Strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150942.json b/.history/tokens/it_20201217150942.json new file mode 100644 index 0000000..f37160a --- /dev/null +++ b/.history/tokens/it_20201217150942.json @@ -0,0 +1,328 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada Statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150943.json b/.history/tokens/it_20201217150943.json new file mode 100644 index 0000000..518c599 --- /dev/null +++ b/.history/tokens/it_20201217150943.json @@ -0,0 +1,328 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "Strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150945.json b/.history/tokens/it_20201217150945.json new file mode 100644 index 0000000..f10f6b4 --- /dev/null +++ b/.history/tokens/it_20201217150945.json @@ -0,0 +1,328 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada Statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150946.json b/.history/tokens/it_20201217150946.json new file mode 100644 index 0000000..b4075ff --- /dev/null +++ b/.history/tokens/it_20201217150946.json @@ -0,0 +1,328 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "SS", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150947.json b/.history/tokens/it_20201217150947.json new file mode 100644 index 0000000..eacc6d6 --- /dev/null +++ b/.history/tokens/it_20201217150947.json @@ -0,0 +1,328 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SS", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150949.json b/.history/tokens/it_20201217150949.json new file mode 100644 index 0000000..9da242c --- /dev/null +++ b/.history/tokens/it_20201217150949.json @@ -0,0 +1,328 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "SR", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217150951.json b/.history/tokens/it_20201217150951.json new file mode 100644 index 0000000..7d426c1 --- /dev/null +++ b/.history/tokens/it_20201217150951.json @@ -0,0 +1,328 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151020.json b/.history/tokens/it_20201217151020.json new file mode 100644 index 0000000..e31d236 --- /dev/null +++ b/.history/tokens/it_20201217151020.json @@ -0,0 +1,342 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + } + + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151022.json b/.history/tokens/it_20201217151022.json new file mode 100644 index 0000000..8c56b4d --- /dev/null +++ b/.history/tokens/it_20201217151022.json @@ -0,0 +1,341 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151024.json b/.history/tokens/it_20201217151024.json new file mode 100644 index 0000000..cace0f2 --- /dev/null +++ b/.history/tokens/it_20201217151024.json @@ -0,0 +1,341 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151028.json b/.history/tokens/it_20201217151028.json new file mode 100644 index 0000000..0a57faa --- /dev/null +++ b/.history/tokens/it_20201217151028.json @@ -0,0 +1,341 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada privata" + ], + "full": "strada privata", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151034.json b/.history/tokens/it_20201217151034.json new file mode 100644 index 0000000..ad351b3 --- /dev/null +++ b/.history/tokens/it_20201217151034.json @@ -0,0 +1,341 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151036.json b/.history/tokens/it_20201217151036.json new file mode 100644 index 0000000..a294b8c --- /dev/null +++ b/.history/tokens/it_20201217151036.json @@ -0,0 +1,336 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + // strada privata|spr +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151040.json b/.history/tokens/it_20201217151040.json new file mode 100644 index 0000000..a562853 --- /dev/null +++ b/.history/tokens/it_20201217151040.json @@ -0,0 +1,335 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151044.json b/.history/tokens/it_20201217151044.json new file mode 100644 index 0000000..e91c7b6 --- /dev/null +++ b/.history/tokens/it_20201217151044.json @@ -0,0 +1,344 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151046.json b/.history/tokens/it_20201217151046.json new file mode 100644 index 0000000..34be490 --- /dev/null +++ b/.history/tokens/it_20201217151046.json @@ -0,0 +1,344 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151053.json b/.history/tokens/it_20201217151053.json new file mode 100644 index 0000000..f0016e1 --- /dev/null +++ b/.history/tokens/it_20201217151053.json @@ -0,0 +1,344 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada vecchia", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151054.json b/.history/tokens/it_20201217151054.json new file mode 100644 index 0000000..27ef8cc --- /dev/null +++ b/.history/tokens/it_20201217151054.json @@ -0,0 +1,344 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151057.json b/.history/tokens/it_20201217151057.json new file mode 100644 index 0000000..ab186b0 --- /dev/null +++ b/.history/tokens/it_20201217151057.json @@ -0,0 +1,344 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151058.json b/.history/tokens/it_20201217151058.json new file mode 100644 index 0000000..3fee3b4 --- /dev/null +++ b/.history/tokens/it_20201217151058.json @@ -0,0 +1,344 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, +// strada vecchia|sve +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151101.json b/.history/tokens/it_20201217151101.json new file mode 100644 index 0000000..c6ea75d --- /dev/null +++ b/.history/tokens/it_20201217151101.json @@ -0,0 +1,343 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151107.json b/.history/tokens/it_20201217151107.json new file mode 100644 index 0000000..70057eb --- /dev/null +++ b/.history/tokens/it_20201217151107.json @@ -0,0 +1,357 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151109.json b/.history/tokens/it_20201217151109.json new file mode 100644 index 0000000..7d1683c --- /dev/null +++ b/.history/tokens/it_20201217151109.json @@ -0,0 +1,357 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151113.json b/.history/tokens/it_20201217151113.json new file mode 100644 index 0000000..cb22853 --- /dev/null +++ b/.history/tokens/it_20201217151113.json @@ -0,0 +1,357 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada vicinale", + "canonical": "sp", + "spanBoundaries": 1 + }, +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151115.json b/.history/tokens/it_20201217151115.json new file mode 100644 index 0000000..2c0690e --- /dev/null +++ b/.history/tokens/it_20201217151115.json @@ -0,0 +1,357 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sp", + "spanBoundaries": 1 + }, +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151119.json b/.history/tokens/it_20201217151119.json new file mode 100644 index 0000000..61e809a --- /dev/null +++ b/.history/tokens/it_20201217151119.json @@ -0,0 +1,357 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sp", + "spanBoundaries": 1 + }, +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151121.json b/.history/tokens/it_20201217151121.json new file mode 100644 index 0000000..440e414 --- /dev/null +++ b/.history/tokens/it_20201217151121.json @@ -0,0 +1,357 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151131.json b/.history/tokens/it_20201217151131.json new file mode 100644 index 0000000..ce930ed --- /dev/null +++ b/.history/tokens/it_20201217151131.json @@ -0,0 +1,353 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v|str.vic|str vic|str vicinale|s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151134.json b/.history/tokens/it_20201217151134.json new file mode 100644 index 0000000..ae2f58b --- /dev/null +++ b/.history/tokens/it_20201217151134.json @@ -0,0 +1,354 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "|str.vic|str vic|str vicinale|s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151135.json b/.history/tokens/it_20201217151135.json new file mode 100644 index 0000000..c271bf8 --- /dev/null +++ b/.history/tokens/it_20201217151135.json @@ -0,0 +1,354 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str.vic|str vic|str vicinale|s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151137.json b/.history/tokens/it_20201217151137.json new file mode 100644 index 0000000..de0e479 --- /dev/null +++ b/.history/tokens/it_20201217151137.json @@ -0,0 +1,354 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic|str vicinale|s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151140.json b/.history/tokens/it_20201217151140.json new file mode 100644 index 0000000..993c24e --- /dev/null +++ b/.history/tokens/it_20201217151140.json @@ -0,0 +1,355 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale|s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151142.json b/.history/tokens/it_20201217151142.json new file mode 100644 index 0000000..52d34f9 --- /dev/null +++ b/.history/tokens/it_20201217151142.json @@ -0,0 +1,355 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale"s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151144.json b/.history/tokens/it_20201217151144.json new file mode 100644 index 0000000..4ffbaac --- /dev/null +++ b/.history/tokens/it_20201217151144.json @@ -0,0 +1,356 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, +// strada vicinale|sv|s.v.|s.v|s v|str.vic|str vic|str vicinale|s vicinale|svc +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151149.json b/.history/tokens/it_20201217151149.json new file mode 100644 index 0000000..a10d0a8 --- /dev/null +++ b/.history/tokens/it_20201217151149.json @@ -0,0 +1,355 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151157.json b/.history/tokens/it_20201217151157.json new file mode 100644 index 0000000..9b54daf --- /dev/null +++ b/.history/tokens/it_20201217151157.json @@ -0,0 +1,364 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151200.json b/.history/tokens/it_20201217151200.json new file mode 100644 index 0000000..897ae2b --- /dev/null +++ b/.history/tokens/it_20201217151200.json @@ -0,0 +1,364 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151209.json b/.history/tokens/it_20201217151209.json new file mode 100644 index 0000000..b51aef7 --- /dev/null +++ b/.history/tokens/it_20201217151209.json @@ -0,0 +1,364 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "stradale|sdl" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151211.json b/.history/tokens/it_20201217151211.json new file mode 100644 index 0000000..0a40a45 --- /dev/null +++ b/.history/tokens/it_20201217151211.json @@ -0,0 +1,364 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale|" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151212.json b/.history/tokens/it_20201217151212.json new file mode 100644 index 0000000..0fd1f29 --- /dev/null +++ b/.history/tokens/it_20201217151212.json @@ -0,0 +1,364 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "|" + ], + "full": "strada vecchia", + "canonical": "sdl", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151214.json b/.history/tokens/it_20201217151214.json new file mode 100644 index 0000000..ee9fa3d --- /dev/null +++ b/.history/tokens/it_20201217151214.json @@ -0,0 +1,364 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale|" + ], + "full": "strada vecchia", + "canonical": "sdl", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151215.json b/.history/tokens/it_20201217151215.json new file mode 100644 index 0000000..8bb0830 --- /dev/null +++ b/.history/tokens/it_20201217151215.json @@ -0,0 +1,364 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "strada vecchia", + "canonical": "sdl", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151217.json b/.history/tokens/it_20201217151217.json new file mode 100644 index 0000000..b8a76c2 --- /dev/null +++ b/.history/tokens/it_20201217151217.json @@ -0,0 +1,364 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151218.json b/.history/tokens/it_20201217151218.json new file mode 100644 index 0000000..f285f27 --- /dev/null +++ b/.history/tokens/it_20201217151218.json @@ -0,0 +1,363 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl", + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151219.json b/.history/tokens/it_20201217151219.json new file mode 100644 index 0000000..dd276d0 --- /dev/null +++ b/.history/tokens/it_20201217151219.json @@ -0,0 +1,363 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, +// stradale|sdl + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151222.json b/.history/tokens/it_20201217151222.json new file mode 100644 index 0000000..3d45ab7 --- /dev/null +++ b/.history/tokens/it_20201217151222.json @@ -0,0 +1,362 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151224.json b/.history/tokens/it_20201217151224.json new file mode 100644 index 0000000..3d45ab7 --- /dev/null +++ b/.history/tokens/it_20201217151224.json @@ -0,0 +1,362 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151251.json b/.history/tokens/it_20201217151251.json new file mode 100644 index 0000000..82bd519 --- /dev/null +++ b/.history/tokens/it_20201217151251.json @@ -0,0 +1,364 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + //contrada|contr.a|contra|c.da|cda|cnt + + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151254.json b/.history/tokens/it_20201217151254.json new file mode 100644 index 0000000..367b6ab --- /dev/null +++ b/.history/tokens/it_20201217151254.json @@ -0,0 +1,371 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + //contrada|contr.a|contra|c.da|cda|cnt + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151257.json b/.history/tokens/it_20201217151257.json new file mode 100644 index 0000000..5f35124 --- /dev/null +++ b/.history/tokens/it_20201217151257.json @@ -0,0 +1,371 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + //contrada|contr.a|contra|c.da|cda|cnt + { + "tokens": [ + "C.so", + "contrada" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151258.json b/.history/tokens/it_20201217151258.json new file mode 100644 index 0000000..069d5a1 --- /dev/null +++ b/.history/tokens/it_20201217151258.json @@ -0,0 +1,371 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + //contrada|contr.a|contra|c.da|cda|cnt + { + "tokens": [ + "C.so", + "contrada" + ], + "full": "contrada", + "canonical": "C.so" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151302.json b/.history/tokens/it_20201217151302.json new file mode 100644 index 0000000..5365805 --- /dev/null +++ b/.history/tokens/it_20201217151302.json @@ -0,0 +1,371 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + //contrada|contr.a|contra|c.da|cda|cnt + { + "tokens": [ + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "C.so" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151308.json b/.history/tokens/it_20201217151308.json new file mode 100644 index 0000000..74b9b6b --- /dev/null +++ b/.history/tokens/it_20201217151308.json @@ -0,0 +1,371 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + //contrada|contr.a|contra|c.da|cda|cnt + { + "tokens": [ + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151312.json b/.history/tokens/it_20201217151312.json new file mode 100644 index 0000000..de83831 --- /dev/null +++ b/.history/tokens/it_20201217151312.json @@ -0,0 +1,373 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + //contrada|contr.a|contra|c.da|cda|cnt + { + "tokens": [ + "contra", + "contra", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151314.json b/.history/tokens/it_20201217151314.json new file mode 100644 index 0000000..d1f9c23 --- /dev/null +++ b/.history/tokens/it_20201217151314.json @@ -0,0 +1,373 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + //contrada|contr.a|contra|c.da|cda|cnt + { + "tokens": [ + "cnt", + "contra", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151316.json b/.history/tokens/it_20201217151316.json new file mode 100644 index 0000000..0810ea3 --- /dev/null +++ b/.history/tokens/it_20201217151316.json @@ -0,0 +1,373 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + //contrada|contr.a|contra|c.da|cda|cnt + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151321.json b/.history/tokens/it_20201217151321.json new file mode 100644 index 0000000..97201af --- /dev/null +++ b/.history/tokens/it_20201217151321.json @@ -0,0 +1,372 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } +] diff --git a/.history/tokens/it_20201217151353.json b/.history/tokens/it_20201217151353.json new file mode 100644 index 0000000..f08e139 --- /dev/null +++ b/.history/tokens/it_20201217151353.json @@ -0,0 +1,373 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } + //vico|vic +] diff --git a/.history/tokens/it_20201217151357.json b/.history/tokens/it_20201217151357.json new file mode 100644 index 0000000..30ebfcd --- /dev/null +++ b/.history/tokens/it_20201217151357.json @@ -0,0 +1,381 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } + //vico|vic +] diff --git a/.history/tokens/it_20201217151358.json b/.history/tokens/it_20201217151358.json new file mode 100644 index 0000000..8eb454e --- /dev/null +++ b/.history/tokens/it_20201217151358.json @@ -0,0 +1,381 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } + //vico|vic +] diff --git a/.history/tokens/it_20201217151402.json b/.history/tokens/it_20201217151402.json new file mode 100644 index 0000000..72322ff --- /dev/null +++ b/.history/tokens/it_20201217151402.json @@ -0,0 +1,381 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "vic" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } + //vico|vic +] diff --git a/.history/tokens/it_20201217151406.json b/.history/tokens/it_20201217151406.json new file mode 100644 index 0000000..8a3db44 --- /dev/null +++ b/.history/tokens/it_20201217151406.json @@ -0,0 +1,382 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + } + //vico|vic +] diff --git a/.history/tokens/it_20201217151410.json b/.history/tokens/it_20201217151410.json new file mode 100644 index 0000000..20cc2bf --- /dev/null +++ b/.history/tokens/it_20201217151410.json @@ -0,0 +1,382 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "delle", + "type": "determiner" + } + //vico|vic +] diff --git a/.history/tokens/it_20201217151412.json b/.history/tokens/it_20201217151412.json new file mode 100644 index 0000000..0f4456f --- /dev/null +++ b/.history/tokens/it_20201217151412.json @@ -0,0 +1,382 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic", + "type": "determiner" + } + //vico|vic +] diff --git a/.history/tokens/it_20201217151413.json b/.history/tokens/it_20201217151413.json new file mode 100644 index 0000000..114cef1 --- /dev/null +++ b/.history/tokens/it_20201217151413.json @@ -0,0 +1,381 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic", + } + //vico|vic +] diff --git a/.history/tokens/it_20201217151414.json b/.history/tokens/it_20201217151414.json new file mode 100644 index 0000000..9c71046 --- /dev/null +++ b/.history/tokens/it_20201217151414.json @@ -0,0 +1,381 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } + //vico|vic +] diff --git a/.history/tokens/it_20201217151416.json b/.history/tokens/it_20201217151416.json new file mode 100644 index 0000000..8a869ce --- /dev/null +++ b/.history/tokens/it_20201217151416.json @@ -0,0 +1,380 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151442.json b/.history/tokens/it_20201217151442.json new file mode 100644 index 0000000..85cad91 --- /dev/null +++ b/.history/tokens/it_20201217151442.json @@ -0,0 +1,381 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + //traversa|tra + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151445.json b/.history/tokens/it_20201217151445.json new file mode 100644 index 0000000..4aebb9b --- /dev/null +++ b/.history/tokens/it_20201217151445.json @@ -0,0 +1,389 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + //traversa|tra + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151447.json b/.history/tokens/it_20201217151447.json new file mode 100644 index 0000000..d32c5f9 --- /dev/null +++ b/.history/tokens/it_20201217151447.json @@ -0,0 +1,389 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + //traversa|tra + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151449.json b/.history/tokens/it_20201217151449.json new file mode 100644 index 0000000..830fc4d --- /dev/null +++ b/.history/tokens/it_20201217151449.json @@ -0,0 +1,389 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + //traversa|tra + { + "tokens": [ + "vic", + "traversa" + ], + "full": "vico", + "canonical": "vic" + } + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151451.json b/.history/tokens/it_20201217151451.json new file mode 100644 index 0000000..58f8589 --- /dev/null +++ b/.history/tokens/it_20201217151451.json @@ -0,0 +1,389 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + //traversa|tra + { + "tokens": [ + "vic", + "traversa" + ], + "full": "vico", + "canonical": "traversa" + } + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151452.json b/.history/tokens/it_20201217151452.json new file mode 100644 index 0000000..69a5e5e --- /dev/null +++ b/.history/tokens/it_20201217151452.json @@ -0,0 +1,389 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + //traversa|tra + { + "tokens": [ + "vic", + "traversa" + ], + "full": "traversa", + "canonical": "traversa" + } + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151454.json b/.history/tokens/it_20201217151454.json new file mode 100644 index 0000000..f7f0a25 --- /dev/null +++ b/.history/tokens/it_20201217151454.json @@ -0,0 +1,389 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + //traversa|tra + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "traversa" + } + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151456.json b/.history/tokens/it_20201217151456.json new file mode 100644 index 0000000..478c085 --- /dev/null +++ b/.history/tokens/it_20201217151456.json @@ -0,0 +1,389 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + //traversa|tra + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + } + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151458.json b/.history/tokens/it_20201217151458.json new file mode 100644 index 0000000..772e198 --- /dev/null +++ b/.history/tokens/it_20201217151458.json @@ -0,0 +1,389 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + //traversa|tra + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151459.json b/.history/tokens/it_20201217151459.json new file mode 100644 index 0000000..fa3944b --- /dev/null +++ b/.history/tokens/it_20201217151459.json @@ -0,0 +1,388 @@ +[ + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151529.json b/.history/tokens/it_20201217151529.json new file mode 100644 index 0000000..4c154bf --- /dev/null +++ b/.history/tokens/it_20201217151529.json @@ -0,0 +1,389 @@ +[ + + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151531.json b/.history/tokens/it_20201217151531.json new file mode 100644 index 0000000..08b5a32 --- /dev/null +++ b/.history/tokens/it_20201217151531.json @@ -0,0 +1,390 @@ +[ + //cascina|c.na|cna + + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151535.json b/.history/tokens/it_20201217151535.json new file mode 100644 index 0000000..5e3647a --- /dev/null +++ b/.history/tokens/it_20201217151535.json @@ -0,0 +1,401 @@ +[ + //cascina|c.na|cna + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151536.json b/.history/tokens/it_20201217151536.json new file mode 100644 index 0000000..60fd7db --- /dev/null +++ b/.history/tokens/it_20201217151536.json @@ -0,0 +1,400 @@ +[ + //cascina|c.na|cna + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151538.json b/.history/tokens/it_20201217151538.json new file mode 100644 index 0000000..b79a206 --- /dev/null +++ b/.history/tokens/it_20201217151538.json @@ -0,0 +1,400 @@ +[ + //cascina|c.na|cna + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151542.json b/.history/tokens/it_20201217151542.json new file mode 100644 index 0000000..b78b82a --- /dev/null +++ b/.history/tokens/it_20201217151542.json @@ -0,0 +1,400 @@ +[ + //cascina|c.na|cna + { + "tokens": [ + "cna", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151546.json b/.history/tokens/it_20201217151546.json new file mode 100644 index 0000000..775ec2d --- /dev/null +++ b/.history/tokens/it_20201217151546.json @@ -0,0 +1,400 @@ +[ + //cascina|c.na|cna + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151550.json b/.history/tokens/it_20201217151550.json new file mode 100644 index 0000000..0ff3371 --- /dev/null +++ b/.history/tokens/it_20201217151550.json @@ -0,0 +1,400 @@ +[ + //cascina|c.na|cna + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151554.json b/.history/tokens/it_20201217151554.json new file mode 100644 index 0000000..fd8fd3c --- /dev/null +++ b/.history/tokens/it_20201217151554.json @@ -0,0 +1,397 @@ +[ + //cascina|c.na|cna + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151556.json b/.history/tokens/it_20201217151556.json new file mode 100644 index 0000000..6def831 --- /dev/null +++ b/.history/tokens/it_20201217151556.json @@ -0,0 +1,396 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151619.json b/.history/tokens/it_20201217151619.json new file mode 100644 index 0000000..398af07 --- /dev/null +++ b/.history/tokens/it_20201217151619.json @@ -0,0 +1,398 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + //monte|mte + + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151622.json b/.history/tokens/it_20201217151622.json new file mode 100644 index 0000000..5b55039 --- /dev/null +++ b/.history/tokens/it_20201217151622.json @@ -0,0 +1,405 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + //monte|mte + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151625.json b/.history/tokens/it_20201217151625.json new file mode 100644 index 0000000..8ef1fe6 --- /dev/null +++ b/.history/tokens/it_20201217151625.json @@ -0,0 +1,405 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + //monte|mte + { + "tokens": [ + "Loc.", + "monte" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151628.json b/.history/tokens/it_20201217151628.json new file mode 100644 index 0000000..7bad6e5 --- /dev/null +++ b/.history/tokens/it_20201217151628.json @@ -0,0 +1,405 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + //monte|mte + { + "tokens": [ + "mte", + "monte" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151630.json b/.history/tokens/it_20201217151630.json new file mode 100644 index 0000000..901ad98 --- /dev/null +++ b/.history/tokens/it_20201217151630.json @@ -0,0 +1,405 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + //monte|mte + { + "tokens": [ + "mte", + "monte" + ], + "full": "Localita", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151633.json b/.history/tokens/it_20201217151633.json new file mode 100644 index 0000000..848dd22 --- /dev/null +++ b/.history/tokens/it_20201217151633.json @@ -0,0 +1,405 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + //monte|mte + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151635.json b/.history/tokens/it_20201217151635.json new file mode 100644 index 0000000..4fd179f --- /dev/null +++ b/.history/tokens/it_20201217151635.json @@ -0,0 +1,404 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151954.json b/.history/tokens/it_20201217151954.json new file mode 100644 index 0000000..d544e01 --- /dev/null +++ b/.history/tokens/it_20201217151954.json @@ -0,0 +1,403 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217151957.json b/.history/tokens/it_20201217151957.json new file mode 100644 index 0000000..4fd179f --- /dev/null +++ b/.history/tokens/it_20201217151957.json @@ -0,0 +1,404 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217152003.json b/.history/tokens/it_20201217152003.json new file mode 100644 index 0000000..06f667f --- /dev/null +++ b/.history/tokens/it_20201217152003.json @@ -0,0 +1,414 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217152004.json b/.history/tokens/it_20201217152004.json new file mode 100644 index 0000000..8dbbe43 --- /dev/null +++ b/.history/tokens/it_20201217152004.json @@ -0,0 +1,414 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217152010.json b/.history/tokens/it_20201217152010.json new file mode 100644 index 0000000..e8a1a6c --- /dev/null +++ b/.history/tokens/it_20201217152010.json @@ -0,0 +1,413 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "SC", + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217152015.json b/.history/tokens/it_20201217152015.json new file mode 100644 index 0000000..80e0456 --- /dev/null +++ b/.history/tokens/it_20201217152015.json @@ -0,0 +1,412 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Stc", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201217152023.json b/.history/tokens/it_20201217152023.json new file mode 100644 index 0000000..d544e01 --- /dev/null +++ b/.history/tokens/it_20201217152023.json @@ -0,0 +1,403 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201218123329.json b/.history/tokens/it_20201218123329.json new file mode 100644 index 0000000..413bbaf --- /dev/null +++ b/.history/tokens/it_20201218123329.json @@ -0,0 +1,404 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Via" + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201218123331.json b/.history/tokens/it_20201218123331.json new file mode 100644 index 0000000..ebca561 --- /dev/null +++ b/.history/tokens/it_20201218123331.json @@ -0,0 +1,404 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica" + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201218123332.json b/.history/tokens/it_20201218123332.json new file mode 100644 index 0000000..8a31621 --- /dev/null +++ b/.history/tokens/it_20201218123332.json @@ -0,0 +1,404 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + } +] diff --git a/.history/tokens/it_20201218124308.json b/.history/tokens/it_20201218124308.json new file mode 100644 index 0000000..f8dc05b --- /dev/null +++ b/.history/tokens/it_20201218124308.json @@ -0,0 +1,413 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, +] diff --git a/.history/tokens/it_20201218124310.json b/.history/tokens/it_20201218124310.json new file mode 100644 index 0000000..bb21fea --- /dev/null +++ b/.history/tokens/it_20201218124310.json @@ -0,0 +1,413 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/it_20201218124311.json b/.history/tokens/it_20201218124311.json new file mode 100644 index 0000000..cfdc551 --- /dev/null +++ b/.history/tokens/it_20201218124311.json @@ -0,0 +1,413 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/it_20201218124322.json b/.history/tokens/it_20201218124322.json new file mode 100644 index 0000000..0932aa1 --- /dev/null +++ b/.history/tokens/it_20201218124322.json @@ -0,0 +1,413 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "snu", + "via nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/it_20201218124324.json b/.history/tokens/it_20201218124324.json new file mode 100644 index 0000000..25a4763 --- /dev/null +++ b/.history/tokens/it_20201218124324.json @@ -0,0 +1,413 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vn", + "via nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/it_20201218124325.json b/.history/tokens/it_20201218124325.json new file mode 100644 index 0000000..aef6e72 --- /dev/null +++ b/.history/tokens/it_20201218124325.json @@ -0,0 +1,413 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/it_20201218124327.json b/.history/tokens/it_20201218124327.json new file mode 100644 index 0000000..367f73a --- /dev/null +++ b/.history/tokens/it_20201218124327.json @@ -0,0 +1,413 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "snu", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/it_20201218124330.json b/.history/tokens/it_20201218124330.json new file mode 100644 index 0000000..19b4e0d --- /dev/null +++ b/.history/tokens/it_20201218124330.json @@ -0,0 +1,413 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/it_20201218124348.json b/.history/tokens/it_20201218124348.json new file mode 100644 index 0000000..e8ffd98 --- /dev/null +++ b/.history/tokens/it_20201218124348.json @@ -0,0 +1,414 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1 + + } +] diff --git a/.history/tokens/it_20201218124351.json b/.history/tokens/it_20201218124351.json new file mode 100644 index 0000000..6748872 --- /dev/null +++ b/.history/tokens/it_20201218124351.json @@ -0,0 +1,414 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type" + } +] diff --git a/.history/tokens/it_20201218124353.json b/.history/tokens/it_20201218124353.json new file mode 100644 index 0000000..a6b3644 --- /dev/null +++ b/.history/tokens/it_20201218124353.json @@ -0,0 +1,414 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218124510.json b/.history/tokens/it_20201218124510.json new file mode 100644 index 0000000..5c99dd1 --- /dev/null +++ b/.history/tokens/it_20201218124510.json @@ -0,0 +1,415 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218125325.json b/.history/tokens/it_20201218125325.json new file mode 100644 index 0000000..2f3adab --- /dev/null +++ b/.history/tokens/it_20201218125325.json @@ -0,0 +1,416 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale" + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218125326.json b/.history/tokens/it_20201218125326.json new file mode 100644 index 0000000..c6881a4 --- /dev/null +++ b/.history/tokens/it_20201218125326.json @@ -0,0 +1,416 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218130957.json b/.history/tokens/it_20201218130957.json new file mode 100644 index 0000000..7c8f377 --- /dev/null +++ b/.history/tokens/it_20201218130957.json @@ -0,0 +1,418 @@ +[ + + + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218131012.json b/.history/tokens/it_20201218131012.json new file mode 100644 index 0000000..9e3e07d --- /dev/null +++ b/.history/tokens/it_20201218131012.json @@ -0,0 +1,425 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218131015.json b/.history/tokens/it_20201218131015.json new file mode 100644 index 0000000..f642185 --- /dev/null +++ b/.history/tokens/it_20201218131015.json @@ -0,0 +1,424 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218131016.json b/.history/tokens/it_20201218131016.json new file mode 100644 index 0000000..cbca5d9 --- /dev/null +++ b/.history/tokens/it_20201218131016.json @@ -0,0 +1,424 @@ +[ + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218131035.json b/.history/tokens/it_20201218131035.json new file mode 100644 index 0000000..263b401 --- /dev/null +++ b/.history/tokens/it_20201218131035.json @@ -0,0 +1,425 @@ +[ + { + "tokens": [ + "20", + "vingt" + ], + "full": "twenty", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218131036.json b/.history/tokens/it_20201218131036.json new file mode 100644 index 0000000..d44b7e9 --- /dev/null +++ b/.history/tokens/it_20201218131036.json @@ -0,0 +1,425 @@ +[ + { + "tokens": [ + "20", + "vingt" + ], + "full": "twenty", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218131041.json b/.history/tokens/it_20201218131041.json new file mode 100644 index 0000000..e96bba0 --- /dev/null +++ b/.history/tokens/it_20201218131041.json @@ -0,0 +1,425 @@ +[ + { + "tokens": [ + "25", + "vingt" + ], + "full": "twenty", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218131046.json b/.history/tokens/it_20201218131046.json new file mode 100644 index 0000000..bb2c4d1 --- /dev/null +++ b/.history/tokens/it_20201218131046.json @@ -0,0 +1,425 @@ +[ + { + "tokens": [ + "25", + "xxv" + ], + "full": "twenty", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218131053.json b/.history/tokens/it_20201218131053.json new file mode 100644 index 0000000..1715932 --- /dev/null +++ b/.history/tokens/it_20201218131053.json @@ -0,0 +1,426 @@ +[ + { + "tokens": [ + "25", + "xxv", + "Venticinque" + ], + "full": "twenty", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218131056.json b/.history/tokens/it_20201218131056.json new file mode 100644 index 0000000..29a9e57 --- /dev/null +++ b/.history/tokens/it_20201218131056.json @@ -0,0 +1,426 @@ +[ + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "twenty", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218132426.json b/.history/tokens/it_20201218132426.json new file mode 100644 index 0000000..2549def --- /dev/null +++ b/.history/tokens/it_20201218132426.json @@ -0,0 +1,426 @@ +[ + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218132428.json b/.history/tokens/it_20201218132428.json new file mode 100644 index 0000000..cb76286 --- /dev/null +++ b/.history/tokens/it_20201218132428.json @@ -0,0 +1,426 @@ +[ + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133127.json b/.history/tokens/it_20201218133127.json new file mode 100644 index 0000000..dd894b4 --- /dev/null +++ b/.history/tokens/it_20201218133127.json @@ -0,0 +1,426 @@ +[ + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + },piazza|p.za|p.zza|pza|pzza + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133141.json b/.history/tokens/it_20201218133141.json new file mode 100644 index 0000000..cb76286 --- /dev/null +++ b/.history/tokens/it_20201218133141.json @@ -0,0 +1,426 @@ +[ + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133338.json b/.history/tokens/it_20201218133338.json new file mode 100644 index 0000000..fc53120 --- /dev/null +++ b/.history/tokens/it_20201218133338.json @@ -0,0 +1,426 @@ +[ + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + {XI + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133342.json b/.history/tokens/it_20201218133342.json new file mode 100644 index 0000000..6269f27 --- /dev/null +++ b/.history/tokens/it_20201218133342.json @@ -0,0 +1,436 @@ +[ + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + {XI + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133345.json b/.history/tokens/it_20201218133345.json new file mode 100644 index 0000000..049a4d3 --- /dev/null +++ b/.history/tokens/it_20201218133345.json @@ -0,0 +1,436 @@ +[ + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + {XI + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133347.json b/.history/tokens/it_20201218133347.json new file mode 100644 index 0000000..9f1dc48 --- /dev/null +++ b/.history/tokens/it_20201218133347.json @@ -0,0 +1,436 @@ +[ + { + "tokens": [ + "21", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + {XI + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133350.json b/.history/tokens/it_20201218133350.json new file mode 100644 index 0000000..ed9785e --- /dev/null +++ b/.history/tokens/it_20201218133350.json @@ -0,0 +1,436 @@ +[ + { + "tokens": [ + "21", + "xi", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + {XI + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133352.json b/.history/tokens/it_20201218133352.json new file mode 100644 index 0000000..70b70c3 --- /dev/null +++ b/.history/tokens/it_20201218133352.json @@ -0,0 +1,436 @@ +[ + { + "tokens": [ + "21", + "xi", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133415.json b/.history/tokens/it_20201218133415.json new file mode 100644 index 0000000..479a231 --- /dev/null +++ b/.history/tokens/it_20201218133415.json @@ -0,0 +1,436 @@ +[ + { + "tokens": [ + "21", + "xi", + "undici" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133416.json b/.history/tokens/it_20201218133416.json new file mode 100644 index 0000000..4fdec34 --- /dev/null +++ b/.history/tokens/it_20201218133416.json @@ -0,0 +1,436 @@ +[ + { + "tokens": [ + "21", + "xi", + "undici" + ], + "full": "undici", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133418.json b/.history/tokens/it_20201218133418.json new file mode 100644 index 0000000..8fd6679 --- /dev/null +++ b/.history/tokens/it_20201218133418.json @@ -0,0 +1,436 @@ +[ + { + "tokens": [ + "21", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133421.json b/.history/tokens/it_20201218133421.json new file mode 100644 index 0000000..cf24e9c --- /dev/null +++ b/.history/tokens/it_20201218133421.json @@ -0,0 +1,436 @@ +[ + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133604.json b/.history/tokens/it_20201218133604.json new file mode 100644 index 0000000..c7971bb --- /dev/null +++ b/.history/tokens/it_20201218133604.json @@ -0,0 +1,446 @@ +[ + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133606.json b/.history/tokens/it_20201218133606.json new file mode 100644 index 0000000..75b75be --- /dev/null +++ b/.history/tokens/it_20201218133606.json @@ -0,0 +1,446 @@ +[ + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133609.json b/.history/tokens/it_20201218133609.json new file mode 100644 index 0000000..bf6fa61 --- /dev/null +++ b/.history/tokens/it_20201218133609.json @@ -0,0 +1,446 @@ +[ + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133610.json b/.history/tokens/it_20201218133610.json new file mode 100644 index 0000000..d78d0bc --- /dev/null +++ b/.history/tokens/it_20201218133610.json @@ -0,0 +1,446 @@ +[ + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133631.json b/.history/tokens/it_20201218133631.json new file mode 100644 index 0000000..16f7572 --- /dev/null +++ b/.history/tokens/it_20201218133631.json @@ -0,0 +1,446 @@ +[ + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133633.json b/.history/tokens/it_20201218133633.json new file mode 100644 index 0000000..9306392 --- /dev/null +++ b/.history/tokens/it_20201218133633.json @@ -0,0 +1,446 @@ +[ + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133648.json b/.history/tokens/it_20201218133648.json new file mode 100644 index 0000000..1217656 --- /dev/null +++ b/.history/tokens/it_20201218133648.json @@ -0,0 +1,456 @@ +[ + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133653.json b/.history/tokens/it_20201218133653.json new file mode 100644 index 0000000..dc235c2 --- /dev/null +++ b/.history/tokens/it_20201218133653.json @@ -0,0 +1,456 @@ +[ + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133655.json b/.history/tokens/it_20201218133655.json new file mode 100644 index 0000000..8de36d9 --- /dev/null +++ b/.history/tokens/it_20201218133655.json @@ -0,0 +1,456 @@ +[ + { + "tokens": [ + "4", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133658.json b/.history/tokens/it_20201218133658.json new file mode 100644 index 0000000..227b048 --- /dev/null +++ b/.history/tokens/it_20201218133658.json @@ -0,0 +1,456 @@ +[ + { + "tokens": [ + "4", + "iv", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133711.json b/.history/tokens/it_20201218133711.json new file mode 100644 index 0000000..9a2f4b0 --- /dev/null +++ b/.history/tokens/it_20201218133711.json @@ -0,0 +1,456 @@ +[ + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133712.json b/.history/tokens/it_20201218133712.json new file mode 100644 index 0000000..5565e29 --- /dev/null +++ b/.history/tokens/it_20201218133712.json @@ -0,0 +1,456 @@ +[ + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133737.json b/.history/tokens/it_20201218133737.json new file mode 100644 index 0000000..2822789 --- /dev/null +++ b/.history/tokens/it_20201218133737.json @@ -0,0 +1,465 @@ +[ + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133740.json b/.history/tokens/it_20201218133740.json new file mode 100644 index 0000000..a2d9f68 --- /dev/null +++ b/.history/tokens/it_20201218133740.json @@ -0,0 +1,466 @@ +[ + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133743.json b/.history/tokens/it_20201218133743.json new file mode 100644 index 0000000..1f541ec --- /dev/null +++ b/.history/tokens/it_20201218133743.json @@ -0,0 +1,466 @@ +[ + { + "tokens": [ + "0", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133745.json b/.history/tokens/it_20201218133745.json new file mode 100644 index 0000000..6917d0f --- /dev/null +++ b/.history/tokens/it_20201218133745.json @@ -0,0 +1,465 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133748.json b/.history/tokens/it_20201218133748.json new file mode 100644 index 0000000..91afc55 --- /dev/null +++ b/.history/tokens/it_20201218133748.json @@ -0,0 +1,465 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133750.json b/.history/tokens/it_20201218133750.json new file mode 100644 index 0000000..6917d0f --- /dev/null +++ b/.history/tokens/it_20201218133750.json @@ -0,0 +1,465 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133753.json b/.history/tokens/it_20201218133753.json new file mode 100644 index 0000000..31e220c --- /dev/null +++ b/.history/tokens/it_20201218133753.json @@ -0,0 +1,475 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133755.json b/.history/tokens/it_20201218133755.json new file mode 100644 index 0000000..e3fd29c --- /dev/null +++ b/.history/tokens/it_20201218133755.json @@ -0,0 +1,475 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133758.json b/.history/tokens/it_20201218133758.json new file mode 100644 index 0000000..06d9c2a --- /dev/null +++ b/.history/tokens/it_20201218133758.json @@ -0,0 +1,475 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133802.json b/.history/tokens/it_20201218133802.json new file mode 100644 index 0000000..88c64a7 --- /dev/null +++ b/.history/tokens/it_20201218133802.json @@ -0,0 +1,485 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133803.json b/.history/tokens/it_20201218133803.json new file mode 100644 index 0000000..b936360 --- /dev/null +++ b/.history/tokens/it_20201218133803.json @@ -0,0 +1,485 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133806.json b/.history/tokens/it_20201218133806.json new file mode 100644 index 0000000..d850766 --- /dev/null +++ b/.history/tokens/it_20201218133806.json @@ -0,0 +1,485 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "2", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133808.json b/.history/tokens/it_20201218133808.json new file mode 100644 index 0000000..c387052 --- /dev/null +++ b/.history/tokens/it_20201218133808.json @@ -0,0 +1,485 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133823.json b/.history/tokens/it_20201218133823.json new file mode 100644 index 0000000..df15986 --- /dev/null +++ b/.history/tokens/it_20201218133823.json @@ -0,0 +1,485 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "iv", + "uno" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133826.json b/.history/tokens/it_20201218133826.json new file mode 100644 index 0000000..b43995e --- /dev/null +++ b/.history/tokens/it_20201218133826.json @@ -0,0 +1,484 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133828.json b/.history/tokens/it_20201218133828.json new file mode 100644 index 0000000..a81f4cd --- /dev/null +++ b/.history/tokens/it_20201218133828.json @@ -0,0 +1,484 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133829.json b/.history/tokens/it_20201218133829.json new file mode 100644 index 0000000..6ae0914 --- /dev/null +++ b/.history/tokens/it_20201218133829.json @@ -0,0 +1,484 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133830.json b/.history/tokens/it_20201218133830.json new file mode 100644 index 0000000..836a4c3 --- /dev/null +++ b/.history/tokens/it_20201218133830.json @@ -0,0 +1,484 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133834.json b/.history/tokens/it_20201218133834.json new file mode 100644 index 0000000..c15aacc --- /dev/null +++ b/.history/tokens/it_20201218133834.json @@ -0,0 +1,484 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133838.json b/.history/tokens/it_20201218133838.json new file mode 100644 index 0000000..b24f6a1 --- /dev/null +++ b/.history/tokens/it_20201218133838.json @@ -0,0 +1,494 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133841.json b/.history/tokens/it_20201218133841.json new file mode 100644 index 0000000..95f7a75 --- /dev/null +++ b/.history/tokens/it_20201218133841.json @@ -0,0 +1,494 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133843.json b/.history/tokens/it_20201218133843.json new file mode 100644 index 0000000..96de480 --- /dev/null +++ b/.history/tokens/it_20201218133843.json @@ -0,0 +1,494 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "#", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133844.json b/.history/tokens/it_20201218133844.json new file mode 100644 index 0000000..8d759af --- /dev/null +++ b/.history/tokens/it_20201218133844.json @@ -0,0 +1,494 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133846.json b/.history/tokens/it_20201218133846.json new file mode 100644 index 0000000..521b45d --- /dev/null +++ b/.history/tokens/it_20201218133846.json @@ -0,0 +1,494 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133848.json b/.history/tokens/it_20201218133848.json new file mode 100644 index 0000000..62df15b --- /dev/null +++ b/.history/tokens/it_20201218133848.json @@ -0,0 +1,494 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133850.json b/.history/tokens/it_20201218133850.json new file mode 100644 index 0000000..e05d4c9 --- /dev/null +++ b/.history/tokens/it_20201218133850.json @@ -0,0 +1,494 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133853.json b/.history/tokens/it_20201218133853.json new file mode 100644 index 0000000..19c00ed --- /dev/null +++ b/.history/tokens/it_20201218133853.json @@ -0,0 +1,494 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133855.json b/.history/tokens/it_20201218133855.json new file mode 100644 index 0000000..436d230 --- /dev/null +++ b/.history/tokens/it_20201218133855.json @@ -0,0 +1,494 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133905.json b/.history/tokens/it_20201218133905.json new file mode 100644 index 0000000..379a944 --- /dev/null +++ b/.history/tokens/it_20201218133905.json @@ -0,0 +1,504 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133907.json b/.history/tokens/it_20201218133907.json new file mode 100644 index 0000000..deb9c26 --- /dev/null +++ b/.history/tokens/it_20201218133907.json @@ -0,0 +1,504 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133910.json b/.history/tokens/it_20201218133910.json new file mode 100644 index 0000000..96e34d1 --- /dev/null +++ b/.history/tokens/it_20201218133910.json @@ -0,0 +1,504 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133912.json b/.history/tokens/it_20201218133912.json new file mode 100644 index 0000000..bf2b7fc --- /dev/null +++ b/.history/tokens/it_20201218133912.json @@ -0,0 +1,504 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133916.json b/.history/tokens/it_20201218133916.json new file mode 100644 index 0000000..f25f163 --- /dev/null +++ b/.history/tokens/it_20201218133916.json @@ -0,0 +1,504 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133919.json b/.history/tokens/it_20201218133919.json new file mode 100644 index 0000000..e3ed7c0 --- /dev/null +++ b/.history/tokens/it_20201218133919.json @@ -0,0 +1,504 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133920.json b/.history/tokens/it_20201218133920.json new file mode 100644 index 0000000..d023486 --- /dev/null +++ b/.history/tokens/it_20201218133920.json @@ -0,0 +1,504 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133925.json b/.history/tokens/it_20201218133925.json new file mode 100644 index 0000000..a1b6638 --- /dev/null +++ b/.history/tokens/it_20201218133925.json @@ -0,0 +1,514 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133927.json b/.history/tokens/it_20201218133927.json new file mode 100644 index 0000000..37fd2f5 --- /dev/null +++ b/.history/tokens/it_20201218133927.json @@ -0,0 +1,514 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133930.json b/.history/tokens/it_20201218133930.json new file mode 100644 index 0000000..bb992f8 --- /dev/null +++ b/.history/tokens/it_20201218133930.json @@ -0,0 +1,514 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133933.json b/.history/tokens/it_20201218133933.json new file mode 100644 index 0000000..d59fe21 --- /dev/null +++ b/.history/tokens/it_20201218133933.json @@ -0,0 +1,514 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133936.json b/.history/tokens/it_20201218133936.json new file mode 100644 index 0000000..5759967 --- /dev/null +++ b/.history/tokens/it_20201218133936.json @@ -0,0 +1,514 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133937.json b/.history/tokens/it_20201218133937.json new file mode 100644 index 0000000..39b43ef --- /dev/null +++ b/.history/tokens/it_20201218133937.json @@ -0,0 +1,514 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133939.json b/.history/tokens/it_20201218133939.json new file mode 100644 index 0000000..98f1f68 --- /dev/null +++ b/.history/tokens/it_20201218133939.json @@ -0,0 +1,514 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133941.json b/.history/tokens/it_20201218133941.json new file mode 100644 index 0000000..91610d2 --- /dev/null +++ b/.history/tokens/it_20201218133941.json @@ -0,0 +1,515 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133945.json b/.history/tokens/it_20201218133945.json new file mode 100644 index 0000000..dd2538a --- /dev/null +++ b/.history/tokens/it_20201218133945.json @@ -0,0 +1,524 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133946.json b/.history/tokens/it_20201218133946.json new file mode 100644 index 0000000..48b8701 --- /dev/null +++ b/.history/tokens/it_20201218133946.json @@ -0,0 +1,524 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133948.json b/.history/tokens/it_20201218133948.json new file mode 100644 index 0000000..30f9045 --- /dev/null +++ b/.history/tokens/it_20201218133948.json @@ -0,0 +1,524 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133949.json b/.history/tokens/it_20201218133949.json new file mode 100644 index 0000000..0276be0 --- /dev/null +++ b/.history/tokens/it_20201218133949.json @@ -0,0 +1,524 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133954.json b/.history/tokens/it_20201218133954.json new file mode 100644 index 0000000..c4ae90e --- /dev/null +++ b/.history/tokens/it_20201218133954.json @@ -0,0 +1,524 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218133956.json b/.history/tokens/it_20201218133956.json new file mode 100644 index 0000000..ebfced3 --- /dev/null +++ b/.history/tokens/it_20201218133956.json @@ -0,0 +1,524 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134000.json b/.history/tokens/it_20201218134000.json new file mode 100644 index 0000000..72999cb --- /dev/null +++ b/.history/tokens/it_20201218134000.json @@ -0,0 +1,534 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134002.json b/.history/tokens/it_20201218134002.json new file mode 100644 index 0000000..da2a84e --- /dev/null +++ b/.history/tokens/it_20201218134002.json @@ -0,0 +1,534 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134004.json b/.history/tokens/it_20201218134004.json new file mode 100644 index 0000000..339afc4 --- /dev/null +++ b/.history/tokens/it_20201218134004.json @@ -0,0 +1,534 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134006.json b/.history/tokens/it_20201218134006.json new file mode 100644 index 0000000..e85d707 --- /dev/null +++ b/.history/tokens/it_20201218134006.json @@ -0,0 +1,534 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134012.json b/.history/tokens/it_20201218134012.json new file mode 100644 index 0000000..a21d20f --- /dev/null +++ b/.history/tokens/it_20201218134012.json @@ -0,0 +1,534 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "iiX", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134014.json b/.history/tokens/it_20201218134014.json new file mode 100644 index 0000000..30ff84c --- /dev/null +++ b/.history/tokens/it_20201218134014.json @@ -0,0 +1,534 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "iix", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134029.json b/.history/tokens/it_20201218134029.json new file mode 100644 index 0000000..e85d707 --- /dev/null +++ b/.history/tokens/it_20201218134029.json @@ -0,0 +1,534 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134034.json b/.history/tokens/it_20201218134034.json new file mode 100644 index 0000000..afbb72e --- /dev/null +++ b/.history/tokens/it_20201218134034.json @@ -0,0 +1,534 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134039.json b/.history/tokens/it_20201218134039.json new file mode 100644 index 0000000..2ff9c6f --- /dev/null +++ b/.history/tokens/it_20201218134039.json @@ -0,0 +1,544 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134042.json b/.history/tokens/it_20201218134042.json new file mode 100644 index 0000000..1d2c50d --- /dev/null +++ b/.history/tokens/it_20201218134042.json @@ -0,0 +1,544 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134044.json b/.history/tokens/it_20201218134044.json new file mode 100644 index 0000000..81dccfb --- /dev/null +++ b/.history/tokens/it_20201218134044.json @@ -0,0 +1,544 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134046.json b/.history/tokens/it_20201218134046.json new file mode 100644 index 0000000..8bfa465 --- /dev/null +++ b/.history/tokens/it_20201218134046.json @@ -0,0 +1,544 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134049.json b/.history/tokens/it_20201218134049.json new file mode 100644 index 0000000..e798be2 --- /dev/null +++ b/.history/tokens/it_20201218134049.json @@ -0,0 +1,544 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134051.json b/.history/tokens/it_20201218134051.json new file mode 100644 index 0000000..0b605a8 --- /dev/null +++ b/.history/tokens/it_20201218134051.json @@ -0,0 +1,544 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134054.json b/.history/tokens/it_20201218134054.json new file mode 100644 index 0000000..0677bb3 --- /dev/null +++ b/.history/tokens/it_20201218134054.json @@ -0,0 +1,544 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134058.json b/.history/tokens/it_20201218134058.json new file mode 100644 index 0000000..f9fbfa4 --- /dev/null +++ b/.history/tokens/it_20201218134058.json @@ -0,0 +1,554 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134100.json b/.history/tokens/it_20201218134100.json new file mode 100644 index 0000000..b8a64e8 --- /dev/null +++ b/.history/tokens/it_20201218134100.json @@ -0,0 +1,554 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134101.json b/.history/tokens/it_20201218134101.json new file mode 100644 index 0000000..b1a7bfc --- /dev/null +++ b/.history/tokens/it_20201218134101.json @@ -0,0 +1,554 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134105.json b/.history/tokens/it_20201218134105.json new file mode 100644 index 0000000..51b4f1e --- /dev/null +++ b/.history/tokens/it_20201218134105.json @@ -0,0 +1,554 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134108.json b/.history/tokens/it_20201218134108.json new file mode 100644 index 0000000..588a08f --- /dev/null +++ b/.history/tokens/it_20201218134108.json @@ -0,0 +1,554 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134110.json b/.history/tokens/it_20201218134110.json new file mode 100644 index 0000000..67ed958 --- /dev/null +++ b/.history/tokens/it_20201218134110.json @@ -0,0 +1,554 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134331.json b/.history/tokens/it_20201218134331.json new file mode 100644 index 0000000..fa7f3bf --- /dev/null +++ b/.history/tokens/it_20201218134331.json @@ -0,0 +1,562 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134333.json b/.history/tokens/it_20201218134333.json new file mode 100644 index 0000000..613e086 --- /dev/null +++ b/.history/tokens/it_20201218134333.json @@ -0,0 +1,562 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134338.json b/.history/tokens/it_20201218134338.json new file mode 100644 index 0000000..cc83f0a --- /dev/null +++ b/.history/tokens/it_20201218134338.json @@ -0,0 +1,562 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cna", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cna" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134341.json b/.history/tokens/it_20201218134341.json new file mode 100644 index 0000000..a5408d9 --- /dev/null +++ b/.history/tokens/it_20201218134341.json @@ -0,0 +1,562 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cna" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134342.json b/.history/tokens/it_20201218134342.json new file mode 100644 index 0000000..bb993df --- /dev/null +++ b/.history/tokens/it_20201218134342.json @@ -0,0 +1,562 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134522.json b/.history/tokens/it_20201218134522.json new file mode 100644 index 0000000..78be74c --- /dev/null +++ b/.history/tokens/it_20201218134522.json @@ -0,0 +1,572 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134524.json b/.history/tokens/it_20201218134524.json new file mode 100644 index 0000000..60e7239 --- /dev/null +++ b/.history/tokens/it_20201218134524.json @@ -0,0 +1,572 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134526.json b/.history/tokens/it_20201218134526.json new file mode 100644 index 0000000..4fe043a --- /dev/null +++ b/.history/tokens/it_20201218134526.json @@ -0,0 +1,572 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134531.json b/.history/tokens/it_20201218134531.json new file mode 100644 index 0000000..ac5556d --- /dev/null +++ b/.history/tokens/it_20201218134531.json @@ -0,0 +1,572 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134540.json b/.history/tokens/it_20201218134540.json new file mode 100644 index 0000000..e8c7406 --- /dev/null +++ b/.history/tokens/it_20201218134540.json @@ -0,0 +1,572 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134542.json b/.history/tokens/it_20201218134542.json new file mode 100644 index 0000000..9482b4e --- /dev/null +++ b/.history/tokens/it_20201218134542.json @@ -0,0 +1,572 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134731.json b/.history/tokens/it_20201218134731.json new file mode 100644 index 0000000..129c60d --- /dev/null +++ b/.history/tokens/it_20201218134731.json @@ -0,0 +1,573 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134735.json b/.history/tokens/it_20201218134735.json new file mode 100644 index 0000000..2f76e05 --- /dev/null +++ b/.history/tokens/it_20201218134735.json @@ -0,0 +1,573 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + {} + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134739.json b/.history/tokens/it_20201218134739.json new file mode 100644 index 0000000..9f332de --- /dev/null +++ b/.history/tokens/it_20201218134739.json @@ -0,0 +1,575 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens" + } + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134741.json b/.history/tokens/it_20201218134741.json new file mode 100644 index 0000000..3f3d46c --- /dev/null +++ b/.history/tokens/it_20201218134741.json @@ -0,0 +1,575 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": + } + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134746.json b/.history/tokens/it_20201218134746.json new file mode 100644 index 0000000..c79c151 --- /dev/null +++ b/.history/tokens/it_20201218134746.json @@ -0,0 +1,577 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ] + } + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134748.json b/.history/tokens/it_20201218134748.json new file mode 100644 index 0000000..b98623f --- /dev/null +++ b/.history/tokens/it_20201218134748.json @@ -0,0 +1,578 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + + } + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134752.json b/.history/tokens/it_20201218134752.json new file mode 100644 index 0000000..20187e0 --- /dev/null +++ b/.history/tokens/it_20201218134752.json @@ -0,0 +1,580 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + } + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134754.json b/.history/tokens/it_20201218134754.json new file mode 100644 index 0000000..3e3b0a0 --- /dev/null +++ b/.history/tokens/it_20201218134754.json @@ -0,0 +1,580 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + } + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134756.json b/.history/tokens/it_20201218134756.json new file mode 100644 index 0000000..476eeca --- /dev/null +++ b/.history/tokens/it_20201218134756.json @@ -0,0 +1,580 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "25", + "type": "number" + } + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134757.json b/.history/tokens/it_20201218134757.json new file mode 100644 index 0000000..a981ecd --- /dev/null +++ b/.history/tokens/it_20201218134757.json @@ -0,0 +1,580 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "number" + } + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134800.json b/.history/tokens/it_20201218134800.json new file mode 100644 index 0000000..6f1d484 --- /dev/null +++ b/.history/tokens/it_20201218134800.json @@ -0,0 +1,580 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + } + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134801.json b/.history/tokens/it_20201218134801.json new file mode 100644 index 0000000..9915544 --- /dev/null +++ b/.history/tokens/it_20201218134801.json @@ -0,0 +1,580 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134806.json b/.history/tokens/it_20201218134806.json new file mode 100644 index 0000000..dc4bc0b --- /dev/null +++ b/.history/tokens/it_20201218134806.json @@ -0,0 +1,588 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134808.json b/.history/tokens/it_20201218134808.json new file mode 100644 index 0000000..575ca13 --- /dev/null +++ b/.history/tokens/it_20201218134808.json @@ -0,0 +1,604 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134810.json b/.history/tokens/it_20201218134810.json new file mode 100644 index 0000000..cc03794 --- /dev/null +++ b/.history/tokens/it_20201218134810.json @@ -0,0 +1,604 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134812.json b/.history/tokens/it_20201218134812.json new file mode 100644 index 0000000..8f7f14f --- /dev/null +++ b/.history/tokens/it_20201218134812.json @@ -0,0 +1,604 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134814.json b/.history/tokens/it_20201218134814.json new file mode 100644 index 0000000..fcbe433 --- /dev/null +++ b/.history/tokens/it_20201218134814.json @@ -0,0 +1,604 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134820.json b/.history/tokens/it_20201218134820.json new file mode 100644 index 0000000..a2b31bc --- /dev/null +++ b/.history/tokens/it_20201218134820.json @@ -0,0 +1,604 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134821.json b/.history/tokens/it_20201218134821.json new file mode 100644 index 0000000..8c9a375 --- /dev/null +++ b/.history/tokens/it_20201218134821.json @@ -0,0 +1,604 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "a,", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134822.json b/.history/tokens/it_20201218134822.json new file mode 100644 index 0000000..38e7c8b --- /dev/null +++ b/.history/tokens/it_20201218134822.json @@ -0,0 +1,604 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134826.json b/.history/tokens/it_20201218134826.json new file mode 100644 index 0000000..8638c10 --- /dev/null +++ b/.history/tokens/it_20201218134826.json @@ -0,0 +1,604 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134828.json b/.history/tokens/it_20201218134828.json new file mode 100644 index 0000000..669c160 --- /dev/null +++ b/.history/tokens/it_20201218134828.json @@ -0,0 +1,604 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134832.json b/.history/tokens/it_20201218134832.json new file mode 100644 index 0000000..5b60978 --- /dev/null +++ b/.history/tokens/it_20201218134832.json @@ -0,0 +1,604 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134834.json b/.history/tokens/it_20201218134834.json new file mode 100644 index 0000000..afd2727 --- /dev/null +++ b/.history/tokens/it_20201218134834.json @@ -0,0 +1,604 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134839.json b/.history/tokens/it_20201218134839.json new file mode 100644 index 0000000..fa02ee8 --- /dev/null +++ b/.history/tokens/it_20201218134839.json @@ -0,0 +1,604 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134840.json b/.history/tokens/it_20201218134840.json new file mode 100644 index 0000000..53394be --- /dev/null +++ b/.history/tokens/it_20201218134840.json @@ -0,0 +1,604 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134841.json b/.history/tokens/it_20201218134841.json new file mode 100644 index 0000000..256bc01 --- /dev/null +++ b/.history/tokens/it_20201218134841.json @@ -0,0 +1,604 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134846.json b/.history/tokens/it_20201218134846.json new file mode 100644 index 0000000..07db403 --- /dev/null +++ b/.history/tokens/it_20201218134846.json @@ -0,0 +1,612 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134848.json b/.history/tokens/it_20201218134848.json new file mode 100644 index 0000000..3be8186 --- /dev/null +++ b/.history/tokens/it_20201218134848.json @@ -0,0 +1,612 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134851.json b/.history/tokens/it_20201218134851.json new file mode 100644 index 0000000..ddb35f1 --- /dev/null +++ b/.history/tokens/it_20201218134851.json @@ -0,0 +1,612 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134853.json b/.history/tokens/it_20201218134853.json new file mode 100644 index 0000000..b04e523 --- /dev/null +++ b/.history/tokens/it_20201218134853.json @@ -0,0 +1,612 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134909.json b/.history/tokens/it_20201218134909.json new file mode 100644 index 0000000..57f7660 --- /dev/null +++ b/.history/tokens/it_20201218134909.json @@ -0,0 +1,613 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134910.json b/.history/tokens/it_20201218134910.json new file mode 100644 index 0000000..71020f1 --- /dev/null +++ b/.history/tokens/it_20201218134910.json @@ -0,0 +1,615 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "della", + "della", + + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134913.json b/.history/tokens/it_20201218134913.json new file mode 100644 index 0000000..ac571ca --- /dev/null +++ b/.history/tokens/it_20201218134913.json @@ -0,0 +1,614 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "della", + "della" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134918.json b/.history/tokens/it_20201218134918.json new file mode 100644 index 0000000..4ab6b6e --- /dev/null +++ b/.history/tokens/it_20201218134918.json @@ -0,0 +1,614 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "della", + "dla" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134920.json b/.history/tokens/it_20201218134920.json new file mode 100644 index 0000000..36ea01c --- /dev/null +++ b/.history/tokens/it_20201218134920.json @@ -0,0 +1,613 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134923.json b/.history/tokens/it_20201218134923.json new file mode 100644 index 0000000..4ab6b6e --- /dev/null +++ b/.history/tokens/it_20201218134923.json @@ -0,0 +1,614 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "della", + "dla" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134924.json b/.history/tokens/it_20201218134924.json new file mode 100644 index 0000000..36ea01c --- /dev/null +++ b/.history/tokens/it_20201218134924.json @@ -0,0 +1,613 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "della", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134928.json b/.history/tokens/it_20201218134928.json new file mode 100644 index 0000000..34762d5 --- /dev/null +++ b/.history/tokens/it_20201218134928.json @@ -0,0 +1,613 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "dla", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134936.json b/.history/tokens/it_20201218134936.json new file mode 100644 index 0000000..b44e6aa --- /dev/null +++ b/.history/tokens/it_20201218134936.json @@ -0,0 +1,614 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "dla", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134937.json b/.history/tokens/it_20201218134937.json new file mode 100644 index 0000000..2bb6adb --- /dev/null +++ b/.history/tokens/it_20201218134937.json @@ -0,0 +1,614 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "dla", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "dle" + ], + "full": "delle", + "canonical": "delle", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134941.json b/.history/tokens/it_20201218134941.json new file mode 100644 index 0000000..dfa4d30 --- /dev/null +++ b/.history/tokens/it_20201218134941.json @@ -0,0 +1,614 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "dla", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "dle" + ], + "full": "delle", + "canonical": "deldlele", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134949.json b/.history/tokens/it_20201218134949.json new file mode 100644 index 0000000..49b6ca6 --- /dev/null +++ b/.history/tokens/it_20201218134949.json @@ -0,0 +1,623 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "dla", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "dle" + ], + "full": "delle", + "canonical": "deldlele", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "dle" + ], + "full": "delle", + "canonical": "deldlele", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134951.json b/.history/tokens/it_20201218134951.json new file mode 100644 index 0000000..995ab02 --- /dev/null +++ b/.history/tokens/it_20201218134951.json @@ -0,0 +1,623 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "dla", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "dle" + ], + "full": "delle", + "canonical": "deldlele", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "dle" + ], + "full": "delle", + "canonical": "deldlele", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134955.json b/.history/tokens/it_20201218134955.json new file mode 100644 index 0000000..ef958d2 --- /dev/null +++ b/.history/tokens/it_20201218134955.json @@ -0,0 +1,623 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "dla", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "dle" + ], + "full": "delle", + "canonical": "deldlele", + "type": "determiner" + }, + { + "tokens": [ + "dello", + "dle" + ], + "full": "delle", + "canonical": "deldlele", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134956.json b/.history/tokens/it_20201218134956.json new file mode 100644 index 0000000..9c826ca --- /dev/null +++ b/.history/tokens/it_20201218134956.json @@ -0,0 +1,623 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "dla", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "dle" + ], + "full": "delle", + "canonical": "deldlele", + "type": "determiner" + }, + { + "tokens": [ + "dello", + "dloi" + ], + "full": "delle", + "canonical": "deldlele", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134957.json b/.history/tokens/it_20201218134957.json new file mode 100644 index 0000000..5afa884 --- /dev/null +++ b/.history/tokens/it_20201218134957.json @@ -0,0 +1,623 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "dla", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "dle" + ], + "full": "delle", + "canonical": "deldlele", + "type": "determiner" + }, + { + "tokens": [ + "dello", + "dloi" + ], + "full": "dello", + "canonical": "deldlele", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218134959.json b/.history/tokens/it_20201218134959.json new file mode 100644 index 0000000..69db227 --- /dev/null +++ b/.history/tokens/it_20201218134959.json @@ -0,0 +1,623 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "dla", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "dle" + ], + "full": "delle", + "canonical": "dle", + "type": "determiner" + }, + { + "tokens": [ + "dello", + "dloi" + ], + "full": "dello", + "canonical": "deldlele", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218135000.json b/.history/tokens/it_20201218135000.json new file mode 100644 index 0000000..7fc7b1c --- /dev/null +++ b/.history/tokens/it_20201218135000.json @@ -0,0 +1,623 @@ +[ + { + "tokens": [ + "0", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "dla", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "dle" + ], + "full": "delle", + "canonical": "dle", + "type": "determiner" + }, + { + "tokens": [ + "dello", + "dloi" + ], + "full": "dello", + "canonical": "dello", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218135210.json b/.history/tokens/it_20201218135210.json new file mode 100644 index 0000000..9e0edf9 --- /dev/null +++ b/.history/tokens/it_20201218135210.json @@ -0,0 +1,623 @@ +[ + { + "tokens": [ + "0", + "zero" + ], + "full": "zero", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "dla", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "dle" + ], + "full": "delle", + "canonical": "dle", + "type": "determiner" + }, + { + "tokens": [ + "dello", + "dloi" + ], + "full": "dello", + "canonical": "dello", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218135212.json b/.history/tokens/it_20201218135212.json new file mode 100644 index 0000000..5fb25e1 --- /dev/null +++ b/.history/tokens/it_20201218135212.json @@ -0,0 +1,623 @@ +[ + { + "tokens": [ + "0", + "zero" + ], + "full": "zero", + "canonical": "0", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "dla", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "dle" + ], + "full": "delle", + "canonical": "dle", + "type": "determiner" + }, + { + "tokens": [ + "dello", + "dloi" + ], + "full": "dello", + "canonical": "dello", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218135225.json b/.history/tokens/it_20201218135225.json new file mode 100644 index 0000000..7a97ca7 --- /dev/null +++ b/.history/tokens/it_20201218135225.json @@ -0,0 +1,623 @@ +[ + { + "tokens": [ + "0", + "zero" + ], + "full": "zero", + "canonical": "0", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "due", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "dla", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "dle" + ], + "full": "delle", + "canonical": "dle", + "type": "determiner" + }, + { + "tokens": [ + "dello", + "dloi" + ], + "full": "dello", + "canonical": "dello", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218135227.json b/.history/tokens/it_20201218135227.json new file mode 100644 index 0000000..ddc7ecc --- /dev/null +++ b/.history/tokens/it_20201218135227.json @@ -0,0 +1,623 @@ +[ + { + "tokens": [ + "0", + "zero" + ], + "full": "zero", + "canonical": "0", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "due", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "sette" + ], + "full": "sette", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "dla", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "dle" + ], + "full": "delle", + "canonical": "dle", + "type": "determiner" + }, + { + "tokens": [ + "dello", + "dloi" + ], + "full": "dello", + "canonical": "dello", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218135256.json b/.history/tokens/it_20201218135256.json new file mode 100644 index 0000000..104348e --- /dev/null +++ b/.history/tokens/it_20201218135256.json @@ -0,0 +1,623 @@ +[ + { + "tokens": [ + "0", + "zero" + ], + "full": "zero", + "canonical": "0", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "due", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "otto" + ], + "full": "otto", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "ix", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "dla", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "dle" + ], + "full": "delle", + "canonical": "dle", + "type": "determiner" + }, + { + "tokens": [ + "dello", + "dloi" + ], + "full": "dello", + "canonical": "dello", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218135335.json b/.history/tokens/it_20201218135335.json new file mode 100644 index 0000000..fd2c17b --- /dev/null +++ b/.history/tokens/it_20201218135335.json @@ -0,0 +1,623 @@ +[ + { + "tokens": [ + "0", + "zero" + ], + "full": "zero", + "canonical": "0", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "due", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "otto" + ], + "full": "otto", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "x", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "dla", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "dle" + ], + "full": "delle", + "canonical": "dle", + "type": "determiner" + }, + { + "tokens": [ + "dello", + "dloi" + ], + "full": "dello", + "canonical": "dello", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218135408.json b/.history/tokens/it_20201218135408.json new file mode 100644 index 0000000..674b777 --- /dev/null +++ b/.history/tokens/it_20201218135408.json @@ -0,0 +1,623 @@ +[ + { + "tokens": [ + "0", + "zero" + ], + "full": "zero", + "canonical": "0", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "due", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "otto" + ], + "full": "otto", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "x", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "dla", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "dle" + ], + "full": "delle", + "canonical": "dle", + "type": "determiner" + }, + { + "tokens": [ + "dello", + "dloi" + ], + "full": "dello", + "canonical": "dello", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218135514.json b/.history/tokens/it_20201218135514.json new file mode 100644 index 0000000..80d7468 --- /dev/null +++ b/.history/tokens/it_20201218135514.json @@ -0,0 +1,623 @@ +[ + { + "tokens": [ + "0", + "zero" + ], + "full": "zero", + "canonical": "0", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "due", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "otto" + ], + "full": "otto", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "x", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "dla", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "dle" + ], + "full": "delle", + "canonical": "dle", + "type": "determiner" + }, + { + "tokens": [ + "dello", + "dlo" + ], + "full": "dello", + "canonical": "dello", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/it_20201218135516.json b/.history/tokens/it_20201218135516.json new file mode 100644 index 0000000..22013e8 --- /dev/null +++ b/.history/tokens/it_20201218135516.json @@ -0,0 +1,623 @@ +[ + { + "tokens": [ + "0", + "zero" + ], + "full": "zero", + "canonical": "0", + "type": "number" + }, + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "ii", + "due" + ], + "full": "due", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "iii", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "iv", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "v", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "vi", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "vii", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "viii", + "otto" + ], + "full": "otto", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "ix", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "x", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "xi", + "undici" + ], + "full": "undici", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "18", + "xviii", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "20", + "xx", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "25", + "xxv", + "venticinque" + ], + "full": "venticinque", + "canonical": "25", + "type": "number" + }, + { + "tokens": [ + "a" + ], + "full": "a", + "canonical": "a", + "type": "determiner" + }, + { + "tokens": [ + "al" + ], + "full": "al", + "canonical": "al", + "type": "determiner" + }, + { + "tokens": [ + "alla" + ], + "full": "alla", + "canonical": "alla", + "type": "determiner" + }, + { + "tokens": [ + "alle" + ], + "full": "alle", + "canonical": "alle", + "type": "determiner" + }, + { + "tokens": [ + "allo" + ], + "full": "allo", + "canonical": "allo", + "type": "determiner" + }, + { + "tokens": [ + "cav", + "cavaliere" + ], + "full": "cavaliere", + "canonical": "cav" + }, + { + "tokens": [ + "cna", + "cascina" + ], + "full": "cascina", + "canonical": "cna" + }, + { + "tokens": [ + "C.le", + "Calle" + ], + "full": "Calle", + "canonical": "C.le", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "C.po", + "Campo" + ], + "full": "Campo", + "canonical": "C.po" + }, + { + "tokens": [ + "cnt", + "cda", + "contra", + "contrada" + ], + "full": "contrada", + "canonical": "cnt" + }, + { + "tokens": [ + "C.so", + "Corso" + ], + "full": "Corso", + "canonical": "C.so" + }, + { + "tokens": [ + "C.te", + "Corte" + ], + "full": "Corte", + "canonical": "C.te", + "onlyLayers": ["address"], + "note": "translates to 'court'", + "type": "way" + }, + { + "tokens": [ + "X", + "Decima" + ], + "full": "Decima", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "X", + "Decimo" + ], + "full": "Decimo", + "canonical": "X", + "type": "ordinal" + }, + { + "tokens": [ + "F.ta", + "Fondamenta" + ], + "full": "Fondamenta", + "canonical": "F.ta" + }, + { + "tokens": [ + "L.go", + "Largo" + ], + "full": "Largo", + "canonical": "L.go" + }, + { + "tokens": [ + "Loc.", + "Localita" + ], + "full": "Localita", + "canonical": "Loc." + }, + { + "tokens": [ + "mte", + "monte" + ], + "full": "monte", + "canonical": "mte" + }, + { + "tokens": [ + "P.za", + "P.zza", + "Piazza" + ], + "full": "Piazza", + "canonical": "P.za" + }, + { + "tokens": [ + "P.le", + "Piazzale" + ], + "full": "Piazzale", + "canonical": "P.le" + }, + { + "tokens": [ + "P.ta", + "Piazzetta" + ], + "full": "Piazzetta", + "canonical": "P.ta" + }, + { + "tokens": [ + "P.te", + "Ponte" + ], + "full": "Ponte", + "canonical": "P.te" + }, + { + "tokens": [ + "P.ta", + "Porta" + ], + "full": "Porta", + "canonical": "P.ta" + }, + { + "tokens": [ + "S.da", + "Salizada" + ], + "full": "Salizada", + "canonical": "S.da" + }, + { + "tokens": [ + "S.", + "San" + ], + "full": "San", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santa" + ], + "full": "Santa", + "canonical": "S." + }, + { + "tokens": [ + "S.", + "Santo" + ], + "full": "Santo", + "canonical": "S." + }, + { + "tokens": [ + "SS.", + "Santi" + ], + "full": "Santi", + "canonical": "SS." + }, + { + "tokens": [ + "Staz.", + "Stazione" + ], + "full": "Stazione", + "canonical": "Staz." + }, + { + "tokens": [ + "V.", + "Vica", + "Viale", + "Via" + ], + "full": "Via", + "canonical": "V.", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "V.le", + "Viale" + ], + "full": "Viale", + "canonical": "V.le", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "V.lo", + "Vicolo" + ], + "full": "Vicolo", + "canonical": "V.lo", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "strada", + "str.a", + "stra", + "str" + ], + "full": "strada", + "canonical": "str", + "type": "way" + }, + { + "tokens": [ + "SC", + "Strada Comunale" + ], + "full": "Strada Comunale", + "canonical": "SC", + "spanBoundaries": 1 + }, + { + "tokens": [ + "snu", + "strada nuova" + ], + "full": "strada nuova", + "canonical": "snu", + "spanBoundaries": 1 + }, + { + "tokens": [ + "spr", + "strada privata" + ], + "full": "strada privata", + "canonical": "spr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sve", + "strada vecchia" + ], + "full": "strada vecchia", + "canonical": "sve", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sdl", + "stradale" + ], + "full": "stradale", + "canonical": "sdl" + }, + { + "tokens": [ + "sp", + "s p", + "str provinciale", + "s provinciale", + "str prov", + "s prov", + "strada provinciale" + ], + "full": "strada provinciale", + "canonical": "sp", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sv", + "s v", + "str vic", + "str vicinale", + "s vicinale", + "strada vicinale" + ], + "full": "strada vicinale", + "canonical": "sv", + "spanBoundaries": 1 + }, + { + "tokens": [ + "sr", + "s r", + "str reg", + "str r", + "str reginale", + "s reginale", + "strada regionale" + ], + "full": "strada regionale", + "canonical": "sr", + "spanBoundaries": 1 + }, + { + "tokens": [ + "ss", + "s s", + "str s", + "str st", + "str statale", + "s statale", + "strada statale" + ], + "full": "strada statale", + "canonical": "ss", + "spanBoundaries": 1 + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "di" + ], + "full": "di", + "canonical": "di", + "type": "determiner" + }, + { + "tokens": [ + "del" + ], + "full": "del", + "canonical": "del", + "type": "determiner" + }, + { + "tokens": [ + "della", + "dla" + ], + "full": "della", + "canonical": "dla", + "type": "determiner" + }, + { + "tokens": [ + "dei" + ], + "full": "dei", + "canonical": "dei", + "type": "determiner" + }, + { + "tokens": [ + "delle", + "dle" + ], + "full": "delle", + "canonical": "dle", + "type": "determiner" + }, + { + "tokens": [ + "dello", + "dlo" + ], + "full": "dello", + "canonical": "dlo", + "type": "determiner" + }, + { + "tokens": [ + "tra", + "traversa" + ], + "full": "traversa", + "canonical": "tra" + }, + { + "tokens": [ + "vic", + "vico" + ], + "full": "vico", + "canonical": "vic" + }, + { + "tokens": [ + "vnu", + "via nuova" + ], + "full": "via nuova", + "canonical": "vnu", + "spanBoundaries": 1, + "type": "way" + } +] diff --git a/.history/tokens/lv_20210429122322.json b/.history/tokens/lv_20210429122322.json new file mode 100644 index 0000000..aec0273 --- /dev/null +++ b/.history/tokens/lv_20210429122322.json @@ -0,0 +1,31 @@ +[ + { + "tokens": [ + "dzīvoklis", + "dz" + ], + "full": "dzīvoklis", + "canonical": "dz", + "note": "translates to 'apartment'" + }, + { + "tokens": [ + "gatve", + "g" + ], + "full": "gatve", + "canonical": "g", + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "numurs", + "nr", + "no" + ], + "full": "numurs", + "canonical": "no", + "note": "translates to 'nummber'" + } +] diff --git a/.history/tokens/lv_20210518171956.json b/.history/tokens/lv_20210518171956.json new file mode 100644 index 0000000..5571c44 --- /dev/null +++ b/.history/tokens/lv_20210518171956.json @@ -0,0 +1,42 @@ +[ + { + "tokens": [ + "dzīvoklis", + "dz" + ], + "full": "dzīvoklis", + "canonical": "dz", + "note": "translates to 'apartment'" + }, + { + "tokens": [ + "gatve", + "g" + ], + "full": "gatve", + "canonical": "g", + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "numurs", + "nr", + "no" + ], + "full": "numurs", + "canonical": "no", + "note": "translates to 'nummber'" + }, + { + "tokens": [ + "$1 str", + "([^ ]+)(strasse|str|straße)" + ], + "full": "([^ ]+)(strasse|str|straße)", + "canonical": "$1 str", + "regex": true, + "skipDiacriticStripping": true, + "spanBoundaries": 0 + } +] diff --git a/.history/tokens/lv_20210518171958.json b/.history/tokens/lv_20210518171958.json new file mode 100644 index 0000000..0d47e12 --- /dev/null +++ b/.history/tokens/lv_20210518171958.json @@ -0,0 +1,42 @@ +[ + { + "tokens": [ + "dzīvoklis", + "dz" + ], + "full": "dzīvoklis", + "canonical": "dz", + "note": "translates to 'apartment'" + }, + { + "tokens": [ + "gatve", + "g" + ], + "full": "gatve", + "canonical": "g", + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "numurs", + "nr", + "no" + ], + "full": "numurs", + "canonical": "no", + "note": "translates to 'nummber'" + }, + { + "tokens": [ + "$1 str", + "([^ ]+)(strasse|str|straße)" + ], + "full": "([^ ]+)(strasse|str|straße)", + "canonical": "$1 str", + "regex": true, + "skipDiacriticStripping": true, + "spanBoundaries": 0 + } +] diff --git a/.history/tokens/lv_20210518174203.json b/.history/tokens/lv_20210518174203.json new file mode 100644 index 0000000..1dd96f9 --- /dev/null +++ b/.history/tokens/lv_20210518174203.json @@ -0,0 +1,42 @@ +[ + { + "tokens": [ + "dzīvoklis", + "dz" + ], + "full": "dzīvoklis", + "canonical": "dz", + "note": "translates to 'apartment'" + }, + { + "tokens": [ + "gatve", + "g" + ], + "full": "gatve", + "canonical": "g", + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "numurs", + "nr", + "no" + ], + "full": "numurs", + "canonical": "no", + "note": "translates to 'nummber'" + }, + { + "tokens": [ + "$1 str", + "([^ ]+)(gatan)" + ], + "full": "([^ ]+)(strasse|str|straße)", + "canonical": "$1 str", + "regex": true, + "skipDiacriticStripping": true, + "spanBoundaries": 0 + } +] diff --git a/.history/tokens/lv_20210518174205.json b/.history/tokens/lv_20210518174205.json new file mode 100644 index 0000000..1b0646b --- /dev/null +++ b/.history/tokens/lv_20210518174205.json @@ -0,0 +1,42 @@ +[ + { + "tokens": [ + "dzīvoklis", + "dz" + ], + "full": "dzīvoklis", + "canonical": "dz", + "note": "translates to 'apartment'" + }, + { + "tokens": [ + "gatve", + "g" + ], + "full": "gatve", + "canonical": "g", + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "numurs", + "nr", + "no" + ], + "full": "numurs", + "canonical": "no", + "note": "translates to 'nummber'" + }, + { + "tokens": [ + "$1 str", + "([^ ]+)(gatan)" + ], + "full": "([^ ]+)(gatan)", + "canonical": "$1 str", + "regex": true, + "skipDiacriticStripping": true, + "spanBoundaries": 0 + } +] diff --git a/.history/tokens/lv_20210518174208.json b/.history/tokens/lv_20210518174208.json new file mode 100644 index 0000000..0d47e12 --- /dev/null +++ b/.history/tokens/lv_20210518174208.json @@ -0,0 +1,42 @@ +[ + { + "tokens": [ + "dzīvoklis", + "dz" + ], + "full": "dzīvoklis", + "canonical": "dz", + "note": "translates to 'apartment'" + }, + { + "tokens": [ + "gatve", + "g" + ], + "full": "gatve", + "canonical": "g", + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "numurs", + "nr", + "no" + ], + "full": "numurs", + "canonical": "no", + "note": "translates to 'nummber'" + }, + { + "tokens": [ + "$1 str", + "([^ ]+)(strasse|str|straße)" + ], + "full": "([^ ]+)(strasse|str|straße)", + "canonical": "$1 str", + "regex": true, + "skipDiacriticStripping": true, + "spanBoundaries": 0 + } +] diff --git a/.history/tokens/lv_20210518174211.json b/.history/tokens/lv_20210518174211.json new file mode 100644 index 0000000..1dd96f9 --- /dev/null +++ b/.history/tokens/lv_20210518174211.json @@ -0,0 +1,42 @@ +[ + { + "tokens": [ + "dzīvoklis", + "dz" + ], + "full": "dzīvoklis", + "canonical": "dz", + "note": "translates to 'apartment'" + }, + { + "tokens": [ + "gatve", + "g" + ], + "full": "gatve", + "canonical": "g", + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "numurs", + "nr", + "no" + ], + "full": "numurs", + "canonical": "no", + "note": "translates to 'nummber'" + }, + { + "tokens": [ + "$1 str", + "([^ ]+)(gatan)" + ], + "full": "([^ ]+)(strasse|str|straße)", + "canonical": "$1 str", + "regex": true, + "skipDiacriticStripping": true, + "spanBoundaries": 0 + } +] diff --git a/.history/tokens/lv_20210518174213.json b/.history/tokens/lv_20210518174213.json new file mode 100644 index 0000000..1b0646b --- /dev/null +++ b/.history/tokens/lv_20210518174213.json @@ -0,0 +1,42 @@ +[ + { + "tokens": [ + "dzīvoklis", + "dz" + ], + "full": "dzīvoklis", + "canonical": "dz", + "note": "translates to 'apartment'" + }, + { + "tokens": [ + "gatve", + "g" + ], + "full": "gatve", + "canonical": "g", + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "numurs", + "nr", + "no" + ], + "full": "numurs", + "canonical": "no", + "note": "translates to 'nummber'" + }, + { + "tokens": [ + "$1 str", + "([^ ]+)(gatan)" + ], + "full": "([^ ]+)(gatan)", + "canonical": "$1 str", + "regex": true, + "skipDiacriticStripping": true, + "spanBoundaries": 0 + } +] diff --git a/.history/tokens/lv_20210518174218.json b/.history/tokens/lv_20210518174218.json new file mode 100644 index 0000000..d2f4834 --- /dev/null +++ b/.history/tokens/lv_20210518174218.json @@ -0,0 +1,42 @@ +[ + { + "tokens": [ + "dzīvoklis", + "dz" + ], + "full": "dzīvoklis", + "canonical": "dz", + "note": "translates to 'apartment'" + }, + { + "tokens": [ + "gatve", + "g" + ], + "full": "gatve", + "canonical": "g", + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "numurs", + "nr", + "no" + ], + "full": "numurs", + "canonical": "no", + "note": "translates to 'nummber'" + }, + { + "tokens": [ + "$1", + "([^ ]+)(gatan)" + ], + "full": "([^ ]+)(gatan)", + "canonical": "$1 str", + "regex": true, + "skipDiacriticStripping": true, + "spanBoundaries": 0 + } +] diff --git a/.history/tokens/lv_20210518174225.json b/.history/tokens/lv_20210518174225.json new file mode 100644 index 0000000..495685f --- /dev/null +++ b/.history/tokens/lv_20210518174225.json @@ -0,0 +1,42 @@ +[ + { + "tokens": [ + "dzīvoklis", + "dz" + ], + "full": "dzīvoklis", + "canonical": "dz", + "note": "translates to 'apartment'" + }, + { + "tokens": [ + "gatve", + "g" + ], + "full": "gatve", + "canonical": "g", + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "numurs", + "nr", + "no" + ], + "full": "numurs", + "canonical": "no", + "note": "translates to 'nummber'" + }, + { + "tokens": [ + "$1", + "([^ ]+)(gatan)" + ], + "full": "([^ ]+)(gatan)", + "canonical": "$1", + "regex": true, + "skipDiacriticStripping": true, + "spanBoundaries": 0 + } +] diff --git a/.history/tokens/lv_20210519130432.json b/.history/tokens/lv_20210519130432.json new file mode 100644 index 0000000..aec0273 --- /dev/null +++ b/.history/tokens/lv_20210519130432.json @@ -0,0 +1,31 @@ +[ + { + "tokens": [ + "dzīvoklis", + "dz" + ], + "full": "dzīvoklis", + "canonical": "dz", + "note": "translates to 'apartment'" + }, + { + "tokens": [ + "gatve", + "g" + ], + "full": "gatve", + "canonical": "g", + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "numurs", + "nr", + "no" + ], + "full": "numurs", + "canonical": "no", + "note": "translates to 'nummber'" + } +] diff --git a/.history/tokens/make_20201005150914.py b/.history/tokens/make_20201005150914.py new file mode 100644 index 0000000..e69de29 diff --git a/.history/tokens/make_20201005150922.py b/.history/tokens/make_20201005150922.py new file mode 100644 index 0000000..0fa9afc --- /dev/null +++ b/.history/tokens/make_20201005150922.py @@ -0,0 +1,28 @@ +tokens = [ + "autovía|autovia +autopista|auto|autop +avenida|av|avd|avda +alameda +baixada +camiño|camino +costa +encosta +estrada +glorieta +paseo +praza|pr|pza +praciña|pracina +prazuela|przla +rambla|rbla +ronda|rda +rotonda|rtda +rúa|rua|r|ru +rúas|ruas|rs +ruela +sendeiro +suba +subida|sbida +travesía|travesia|trav +vía|via +viela" +] \ No newline at end of file diff --git a/.history/tokens/make_20201005150940.py b/.history/tokens/make_20201005150940.py new file mode 100644 index 0000000..83c9cc0 --- /dev/null +++ b/.history/tokens/make_20201005150940.py @@ -0,0 +1,55 @@ +tokens = [," + + "autovía|autovia," + +autopista|auto|autop," + +avenida|av|avd|avda," + +alameda," + +baixada," + +camiño|camino," + +costa," + +encosta," + +estrada," + +glorieta," + +paseo," + +praza|pr|pza," + +praciña|pracina," + +prazuela|przla," + +rambla|rbla," + +ronda|rda," + +rotonda|rtda," + +rúa|rua|r|ru," + +rúas|ruas|rs," + +ruela," + +sendeiro," + +suba," + +subida|sbida," + +travesía|travesia|trav," + +vía|via," + +viela"," + +]," diff --git a/.history/tokens/make_20201005150941.py b/.history/tokens/make_20201005150941.py new file mode 100644 index 0000000..0fa9afc --- /dev/null +++ b/.history/tokens/make_20201005150941.py @@ -0,0 +1,28 @@ +tokens = [ + "autovía|autovia +autopista|auto|autop +avenida|av|avd|avda +alameda +baixada +camiño|camino +costa +encosta +estrada +glorieta +paseo +praza|pr|pza +praciña|pracina +prazuela|przla +rambla|rbla +ronda|rda +rotonda|rtda +rúa|rua|r|ru +rúas|ruas|rs +ruela +sendeiro +suba +subida|sbida +travesía|travesia|trav +vía|via +viela" +] \ No newline at end of file diff --git a/.history/tokens/make_20201005150945.py b/.history/tokens/make_20201005150945.py new file mode 100644 index 0000000..953bb94 --- /dev/null +++ b/.history/tokens/make_20201005150945.py @@ -0,0 +1,28 @@ +tokens = [," + "autovía|autovia," +autopista|auto|autop," +avenida|av|avd|avda," +alameda," +baixada," +camiño|camino," +costa," +encosta," +estrada," +glorieta," +paseo," +praza|pr|pza," +praciña|pracina," +prazuela|przla," +rambla|rbla," +ronda|rda," +rotonda|rtda," +rúa|rua|r|ru," +rúas|ruas|rs," +ruela," +sendeiro," +suba," +subida|sbida," +travesía|travesia|trav," +vía|via," +viela"," +]," \ No newline at end of file diff --git a/.history/tokens/make_20201005150948.py b/.history/tokens/make_20201005150948.py new file mode 100644 index 0000000..0fa9afc --- /dev/null +++ b/.history/tokens/make_20201005150948.py @@ -0,0 +1,28 @@ +tokens = [ + "autovía|autovia +autopista|auto|autop +avenida|av|avd|avda +alameda +baixada +camiño|camino +costa +encosta +estrada +glorieta +paseo +praza|pr|pza +praciña|pracina +prazuela|przla +rambla|rbla +ronda|rda +rotonda|rtda +rúa|rua|r|ru +rúas|ruas|rs +ruela +sendeiro +suba +subida|sbida +travesía|travesia|trav +vía|via +viela" +] \ No newline at end of file diff --git a/.history/tokens/make_20201005150955.py b/.history/tokens/make_20201005150955.py new file mode 100644 index 0000000..09c3300 --- /dev/null +++ b/.history/tokens/make_20201005150955.py @@ -0,0 +1,28 @@ +tokens = [", + "autovía|autovia", +autopista|auto|autop", +avenida|av|avd|avda", +alameda", +baixada", +camiño|camino", +costa", +encosta", +estrada", +glorieta", +paseo", +praza|pr|pza", +praciña|pracina", +prazuela|przla", +rambla|rbla", +ronda|rda", +rotonda|rtda", +rúa|rua|r|ru", +rúas|ruas|rs", +ruela", +sendeiro", +suba", +subida|sbida", +travesía|travesia|trav", +vía|via", +viela"", +]", \ No newline at end of file diff --git a/.history/tokens/make_20201005151005.py b/.history/tokens/make_20201005151005.py new file mode 100644 index 0000000..eefdf0a --- /dev/null +++ b/.history/tokens/make_20201005151005.py @@ -0,0 +1,28 @@ +"tokens = [", +" "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela"", +"]", \ No newline at end of file diff --git a/.history/tokens/make_20201005151008.py b/.history/tokens/make_20201005151008.py new file mode 100644 index 0000000..ae5c3ad --- /dev/null +++ b/.history/tokens/make_20201005151008.py @@ -0,0 +1,28 @@ +"tokens = +" "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela"", +"]", \ No newline at end of file diff --git a/.history/tokens/make_20201005151009.py b/.history/tokens/make_20201005151009.py new file mode 100644 index 0000000..b881d06 --- /dev/null +++ b/.history/tokens/make_20201005151009.py @@ -0,0 +1,28 @@ +"tokens = ] +" "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela"", +"]", \ No newline at end of file diff --git a/.history/tokens/make_20201005151014.py b/.history/tokens/make_20201005151014.py new file mode 100644 index 0000000..6a9392a --- /dev/null +++ b/.history/tokens/make_20201005151014.py @@ -0,0 +1,27 @@ +"tokens = "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela"", +"]", \ No newline at end of file diff --git a/.history/tokens/make_20201005151016.py b/.history/tokens/make_20201005151016.py new file mode 100644 index 0000000..360f2b5 --- /dev/null +++ b/.history/tokens/make_20201005151016.py @@ -0,0 +1,28 @@ +"tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela"", +"]", \ No newline at end of file diff --git a/.history/tokens/make_20201005151018.py b/.history/tokens/make_20201005151018.py new file mode 100644 index 0000000..5f91d5d --- /dev/null +++ b/.history/tokens/make_20201005151018.py @@ -0,0 +1,28 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela"", +"]", \ No newline at end of file diff --git a/.history/tokens/make_20201005151024.py b/.history/tokens/make_20201005151024.py new file mode 100644 index 0000000..bcb1d5c --- /dev/null +++ b/.history/tokens/make_20201005151024.py @@ -0,0 +1,27 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" \ No newline at end of file diff --git a/.history/tokens/make_20201005151025.py b/.history/tokens/make_20201005151025.py new file mode 100644 index 0000000..924d39b --- /dev/null +++ b/.history/tokens/make_20201005151025.py @@ -0,0 +1,28 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] \ No newline at end of file diff --git a/.history/tokens/make_20201005151035.py b/.history/tokens/make_20201005151035.py new file mode 100644 index 0000000..11a4d70 --- /dev/null +++ b/.history/tokens/make_20201005151035.py @@ -0,0 +1,30 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + _ \ No newline at end of file diff --git a/.history/tokens/make_20201005151112.py b/.history/tokens/make_20201005151112.py new file mode 100644 index 0000000..cc9b586 --- /dev/null +++ b/.history/tokens/make_20201005151112.py @@ -0,0 +1,30 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + _tokens = token.split() \ No newline at end of file diff --git a/.history/tokens/make_20201005151114.py b/.history/tokens/make_20201005151114.py new file mode 100644 index 0000000..b6eb44d --- /dev/null +++ b/.history/tokens/make_20201005151114.py @@ -0,0 +1,30 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + _tokens = token.split(|) \ No newline at end of file diff --git a/.history/tokens/make_20201005151132.py b/.history/tokens/make_20201005151132.py new file mode 100644 index 0000000..d78e13e --- /dev/null +++ b/.history/tokens/make_20201005151132.py @@ -0,0 +1,31 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + _tokens = token.split(|) + \ No newline at end of file diff --git a/.history/tokens/make_20201005151139.py b/.history/tokens/make_20201005151139.py new file mode 100644 index 0000000..8e81cbe --- /dev/null +++ b/.history/tokens/make_20201005151139.py @@ -0,0 +1,30 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + _tokens = token.split("|") diff --git a/.history/tokens/make_20201005151152.py b/.history/tokens/make_20201005151152.py new file mode 100644 index 0000000..95dd469 --- /dev/null +++ b/.history/tokens/make_20201005151152.py @@ -0,0 +1,41 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + _tokens = token.split("|") + { + "tokens": [ + "1", + "un", + "uno", + "una" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, diff --git a/.history/tokens/make_20201005151156.py b/.history/tokens/make_20201005151156.py new file mode 100644 index 0000000..ba641b4 --- /dev/null +++ b/.history/tokens/make_20201005151156.py @@ -0,0 +1,41 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + _tokens = token.split("|") + t { + "tokens": [ + "1", + "un", + "uno", + "una" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, diff --git a/.history/tokens/make_20201005151157.py b/.history/tokens/make_20201005151157.py new file mode 100644 index 0000000..267b5d8 --- /dev/null +++ b/.history/tokens/make_20201005151157.py @@ -0,0 +1,41 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + _tokens = token.split("|") + t { + "tokens": [ + "1", + "un", + "uno", + "una" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, diff --git a/.history/tokens/make_20201005151159.py b/.history/tokens/make_20201005151159.py new file mode 100644 index 0000000..6feae51 --- /dev/null +++ b/.history/tokens/make_20201005151159.py @@ -0,0 +1,41 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": [ + "1", + "un", + "uno", + "una" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, diff --git a/.history/tokens/make_20201005151210.py b/.history/tokens/make_20201005151210.py new file mode 100644 index 0000000..9b91948 --- /dev/null +++ b/.history/tokens/make_20201005151210.py @@ -0,0 +1,36 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens = token.split("|"), + "full": "uno", + "canonical": "1", + "type": "number" + }, diff --git a/.history/tokens/make_20201005151212.py b/.history/tokens/make_20201005151212.py new file mode 100644 index 0000000..e02fa02 --- /dev/null +++ b/.history/tokens/make_20201005151212.py @@ -0,0 +1,35 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + t = { + "tokens": _tokens = token.split("|"), + "full": "uno", + "canonical": "1", + "type": "number" + }, diff --git a/.history/tokens/make_20201005151237.py b/.history/tokens/make_20201005151237.py new file mode 100644 index 0000000..9b91948 --- /dev/null +++ b/.history/tokens/make_20201005151237.py @@ -0,0 +1,36 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens = token.split("|"), + "full": "uno", + "canonical": "1", + "type": "number" + }, diff --git a/.history/tokens/make_20201005151240.py b/.history/tokens/make_20201005151240.py new file mode 100644 index 0000000..7a835f7 --- /dev/null +++ b/.history/tokens/make_20201005151240.py @@ -0,0 +1,36 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": "uno", + "canonical": "1", + "type": "number" + }, diff --git a/.history/tokens/make_20201005151243.py b/.history/tokens/make_20201005151243.py new file mode 100644 index 0000000..42fc40b --- /dev/null +++ b/.history/tokens/make_20201005151243.py @@ -0,0 +1,36 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(test_list, key = len) , + "canonical": "1", + "type": "number" + }, diff --git a/.history/tokens/make_20201005151246.py b/.history/tokens/make_20201005151246.py new file mode 100644 index 0000000..04468d2 --- /dev/null +++ b/.history/tokens/make_20201005151246.py @@ -0,0 +1,36 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": "1", + "type": "number" + }, diff --git a/.history/tokens/make_20201005151251.py b/.history/tokens/make_20201005151251.py new file mode 100644 index 0000000..d9294fb --- /dev/null +++ b/.history/tokens/make_20201005151251.py @@ -0,0 +1,36 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": max(_tokens, key = len), + "type": "number" + }, diff --git a/.history/tokens/make_20201005151253.py b/.history/tokens/make_20201005151253.py new file mode 100644 index 0000000..227776b --- /dev/null +++ b/.history/tokens/make_20201005151253.py @@ -0,0 +1,36 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": maminx(_tokens, key = len), + "type": "number" + }, diff --git a/.history/tokens/make_20201005151254.py b/.history/tokens/make_20201005151254.py new file mode 100644 index 0000000..29b72de --- /dev/null +++ b/.history/tokens/make_20201005151254.py @@ -0,0 +1,36 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "number" + }, diff --git a/.history/tokens/make_20201005151256.py b/.history/tokens/make_20201005151256.py new file mode 100644 index 0000000..ed9595e --- /dev/null +++ b/.history/tokens/make_20201005151256.py @@ -0,0 +1,36 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + }, diff --git a/.history/tokens/make_20201005151315.py b/.history/tokens/make_20201005151315.py new file mode 100644 index 0000000..aad9b57 --- /dev/null +++ b/.history/tokens/make_20201005151315.py @@ -0,0 +1,36 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } diff --git a/.history/tokens/make_20201005151316.py b/.history/tokens/make_20201005151316.py new file mode 100644 index 0000000..aca96da --- /dev/null +++ b/.history/tokens/make_20201005151316.py @@ -0,0 +1,37 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + diff --git a/.history/tokens/make_20201005151321.py b/.history/tokens/make_20201005151321.py new file mode 100644 index 0000000..065d6ff --- /dev/null +++ b/.history/tokens/make_20201005151321.py @@ -0,0 +1,39 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + diff --git a/.history/tokens/make_20201005151324.py b/.history/tokens/make_20201005151324.py new file mode 100644 index 0000000..d3cb088 --- /dev/null +++ b/.history/tokens/make_20201005151324.py @@ -0,0 +1,40 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append + diff --git a/.history/tokens/make_20201005151326.py b/.history/tokens/make_20201005151326.py new file mode 100644 index 0000000..3e64e15 --- /dev/null +++ b/.history/tokens/make_20201005151326.py @@ -0,0 +1,40 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) + diff --git a/.history/tokens/make_20201005151327.py b/.history/tokens/make_20201005151327.py new file mode 100644 index 0000000..67f6535 --- /dev/null +++ b/.history/tokens/make_20201005151327.py @@ -0,0 +1,39 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) diff --git a/.history/tokens/make_20201005151331.py b/.history/tokens/make_20201005151331.py new file mode 100644 index 0000000..82b10d2 --- /dev/null +++ b/.history/tokens/make_20201005151331.py @@ -0,0 +1,40 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print("") diff --git a/.history/tokens/make_20201005151411.py b/.history/tokens/make_20201005151411.py new file mode 100644 index 0000000..4e04d9c --- /dev/null +++ b/.history/tokens/make_20201005151411.py @@ -0,0 +1,40 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152401.py b/.history/tokens/make_20201005152401.py new file mode 100644 index 0000000..9ea0660 --- /dev/null +++ b/.history/tokens/make_20201005152401.py @@ -0,0 +1,44 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] + +_tokens = open( + f"/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/{country}.json" + ) + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152404.py b/.history/tokens/make_20201005152404.py new file mode 100644 index 0000000..9bd5ae8 --- /dev/null +++ b/.history/tokens/make_20201005152404.py @@ -0,0 +1,44 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] + +es_tokens = open( + f"/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/{country}.json" + ) + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152406.py b/.history/tokens/make_20201005152406.py new file mode 100644 index 0000000..50685c6 --- /dev/null +++ b/.history/tokens/make_20201005152406.py @@ -0,0 +1,44 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] + +es_tokens = open( + f"/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/{\}.json" + ) + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152408.py b/.history/tokens/make_20201005152408.py new file mode 100644 index 0000000..ca1dd5d --- /dev/null +++ b/.history/tokens/make_20201005152408.py @@ -0,0 +1,44 @@ +tokens = [ + "autovía|autovia", +"autopista|auto|autop", +"avenida|av|avd|avda", +"alameda", +"baixada", +"camiño|camino", +"costa", +"encosta", +"estrada", +"glorieta", +"paseo", +"praza|pr|pza", +"praciña|pracina", +"prazuela|przla", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"rúa|rua|r|ru", +"rúas|ruas|rs", +"ruela", +"sendeiro", +"suba", +"subida|sbida", +"travesía|travesia|trav", +"vía|via", +"viela" +] + +es_tokens = open( + f"/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + ) + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152437.py b/.history/tokens/make_20201005152437.py new file mode 100644 index 0000000..d3e32fa --- /dev/null +++ b/.history/tokens/make_20201005152437.py @@ -0,0 +1,46 @@ +tokens = [ +autopista|auto|autop +autovia|autov +avinguda|av|avd|avda|avgda +camí|cami +carrer|carr|c / +carrera|cra|carra +carreró|cró|carrero|cro|carro|carr +carretera|ctra +cinturó|cint|cinturo +diagonal|diag +drecera|drec +eix +eix diagonal +entrada|entr +gran vía|gran via|gv|g v +passadís|pdís|passadis|pdis +passatge|ptge +passeig|pg +plaça|pl|placa|pça|pca|plç|plc +portal|ptal +rambla|rbla +ronda|rda +rotonda|rtda +sortida|sort +transversal|trval|trvsal +travessera|trav +travessia|trv|trav +via|v +] + +es_tokens = open( + f"/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + ) + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152500.py b/.history/tokens/make_20201005152500.py new file mode 100644 index 0000000..8f4e6c8 --- /dev/null +++ b/.history/tokens/make_20201005152500.py @@ -0,0 +1,46 @@ +tokens = [ +"autopista|auto|autop +"autovia|autov +"avinguda|av|avd|avda|avgda +"camí|cami +"carrer|carr|c / +"carrera|cra|carra +"carreró|cró|carrero|cro|carro|carr +"carretera|ctra +"cinturó|cint|cinturo +"diagonal|diag +"drecera|drec +"eix +"eix diagonal +"entrada|entr +"gran vía|gran via|gv|g v +"passadís|pdís|passadis|pdis +"passatge|ptge +"passeig|pg +"plaça|pl|placa|pça|pca|plç|plc +"portal|ptal +"rambla|rbla +"ronda|rda +"rotonda|rtda +"sortida|sort +"transversal|trval|trvsal +"travessera|trav +"travessia|trv|trav +"via|v +] + +es_tokens = open( + f"/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + ) + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152507.py b/.history/tokens/make_20201005152507.py new file mode 100644 index 0000000..8cc04e8 --- /dev/null +++ b/.history/tokens/make_20201005152507.py @@ -0,0 +1,46 @@ +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v", +] + +es_tokens = open( + f"/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + ) + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152510.py b/.history/tokens/make_20201005152510.py new file mode 100644 index 0000000..d32d00c --- /dev/null +++ b/.history/tokens/make_20201005152510.py @@ -0,0 +1,46 @@ +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + +es_tokens = open( + f"/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + ) + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152532.py b/.history/tokens/make_20201005152532.py new file mode 100644 index 0000000..99ac9dc --- /dev/null +++ b/.history/tokens/make_20201005152532.py @@ -0,0 +1,46 @@ +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + +es_tokens = open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + ) + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152610.py b/.history/tokens/make_20201005152610.py new file mode 100644 index 0000000..02be559 --- /dev/null +++ b/.history/tokens/make_20201005152610.py @@ -0,0 +1,48 @@ +import tokens + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + +es_tokens = open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + ) + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152611.py b/.history/tokens/make_20201005152611.py new file mode 100644 index 0000000..ae92544 --- /dev/null +++ b/.history/tokens/make_20201005152611.py @@ -0,0 +1,49 @@ +import tokens + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + ) + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152613.py b/.history/tokens/make_20201005152613.py new file mode 100644 index 0000000..919f41f --- /dev/null +++ b/.history/tokens/make_20201005152613.py @@ -0,0 +1,51 @@ +import tokens + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + ) + tokens_all = json.load(_tokens) + + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152616.py b/.history/tokens/make_20201005152616.py new file mode 100644 index 0000000..4c4327b --- /dev/null +++ b/.history/tokens/make_20201005152616.py @@ -0,0 +1,51 @@ +import tokens + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + ) + tokens_all = json.load(_tokens) + + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152619.py b/.history/tokens/make_20201005152619.py new file mode 100644 index 0000000..13e2b8c --- /dev/null +++ b/.history/tokens/make_20201005152619.py @@ -0,0 +1,50 @@ +import tokens + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) + + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152630.py b/.history/tokens/make_20201005152630.py new file mode 100644 index 0000000..c9de85a --- /dev/null +++ b/.history/tokens/make_20201005152630.py @@ -0,0 +1,50 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) + + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152653.py b/.history/tokens/make_20201005152653.py new file mode 100644 index 0000000..489d80c --- /dev/null +++ b/.history/tokens/make_20201005152653.py @@ -0,0 +1,50 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152656.py b/.history/tokens/make_20201005152656.py new file mode 100644 index 0000000..d463fc1 --- /dev/null +++ b/.history/tokens/make_20201005152656.py @@ -0,0 +1,50 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152658.py b/.history/tokens/make_20201005152658.py new file mode 100644 index 0000000..c6d54ba --- /dev/null +++ b/.history/tokens/make_20201005152658.py @@ -0,0 +1,50 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [x] + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152704.py b/.history/tokens/make_20201005152704.py new file mode 100644 index 0000000..5467761 --- /dev/null +++ b/.history/tokens/make_20201005152704.py @@ -0,0 +1,50 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [x.tokens] + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152715.py b/.history/tokens/make_20201005152715.py new file mode 100644 index 0000000..4ab3b1a --- /dev/null +++ b/.history/tokens/make_20201005152715.py @@ -0,0 +1,52 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] +for es in es_tokens: + current_list.append() + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152719.py b/.history/tokens/make_20201005152719.py new file mode 100644 index 0000000..747f1ca --- /dev/null +++ b/.history/tokens/make_20201005152719.py @@ -0,0 +1,52 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] +for es in es_tokens: + current_list.append(es['tokens']) + +full = [] +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152725.py b/.history/tokens/make_20201005152725.py new file mode 100644 index 0000000..078db81 --- /dev/null +++ b/.history/tokens/make_20201005152725.py @@ -0,0 +1,51 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] +for es in es_tokens: + current_list.append(es['tokens']) + +for token in tokens: + _tokens = token.split("|") + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152735.py b/.history/tokens/make_20201005152735.py new file mode 100644 index 0000000..f3068ae --- /dev/null +++ b/.history/tokens/make_20201005152735.py @@ -0,0 +1,53 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] +for es in es_tokens: + current_list.append(es['tokens']) + +for token in tokens: + _tokens = token.split("|") + for _ in _tokens: + if + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152739.py b/.history/tokens/make_20201005152739.py new file mode 100644 index 0000000..ca57caa --- /dev/null +++ b/.history/tokens/make_20201005152739.py @@ -0,0 +1,53 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] +for es in es_tokens: + current_list.append(es['tokens']) + +for token in tokens: + _tokens = token.split("|") + for _ in _tokens: + if _ in + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152744.py b/.history/tokens/make_20201005152744.py new file mode 100644 index 0000000..c33c60b --- /dev/null +++ b/.history/tokens/make_20201005152744.py @@ -0,0 +1,54 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] +for es in es_tokens: + current_list.append(es['tokens']) + +for token in tokens: + _tokens = token.split("|") + for _ in _tokens: + if _ in current_list: + print('') + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152748.py b/.history/tokens/make_20201005152748.py new file mode 100644 index 0000000..5266734 --- /dev/null +++ b/.history/tokens/make_20201005152748.py @@ -0,0 +1,54 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] +for es in es_tokens: + current_list.append(es['tokens']) + +for token in tokens: + _tokens = token.split("|") + for _ in _tokens: + if _ in current_list: + print('') + # t = { + # "tokens": _tokens, + # "full": max(_tokens, key = len) , + # "canonical": min(_tokens, key = len), + # "type": "way" + # } + # full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152802.py b/.history/tokens/make_20201005152802.py new file mode 100644 index 0000000..eb8795f --- /dev/null +++ b/.history/tokens/make_20201005152802.py @@ -0,0 +1,54 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] +for es in es_tokens: + current_list.extend(es['tokens']) + +for token in tokens: + _tokens = token.split("|") + for _ in _tokens: + if _ in current_list: + print('') + # t = { + # "tokens": _tokens, + # "full": max(_tokens, key = len) , + # "canonical": min(_tokens, key = len), + # "type": "way" + # } + # full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152822.py b/.history/tokens/make_20201005152822.py new file mode 100644 index 0000000..52077f8 --- /dev/null +++ b/.history/tokens/make_20201005152822.py @@ -0,0 +1,54 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] +for es in es_tokens: + current_list.extend(es['tokens']) + +for token in tokens: + _tokens = token.split("|") + for _ in _tokens: + if _ in current_list: + print(') + # t = { + # "tokens": _tokens, + # "full": max(_tokens, key = len) , + # "canonical": min(_tokens, key = len), + # "type": "way" + # } + # full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152824.py b/.history/tokens/make_20201005152824.py new file mode 100644 index 0000000..85b36ff --- /dev/null +++ b/.history/tokens/make_20201005152824.py @@ -0,0 +1,54 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] +for es in es_tokens: + current_list.extend(es['tokens']) + +for token in tokens: + _tokens = token.split("|") + for _ in _tokens: + if _ in current_list: + print(_) + # t = { + # "tokens": _tokens, + # "full": max(_tokens, key = len) , + # "canonical": min(_tokens, key = len), + # "type": "way" + # } + # full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152903.py b/.history/tokens/make_20201005152903.py new file mode 100644 index 0000000..8c943ef --- /dev/null +++ b/.history/tokens/make_20201005152903.py @@ -0,0 +1,54 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] +for es in es_tokens: + current_list.extend(es['tokens']) + +for token in tokens: + _tokens = token.split("|") + for _ in _tokens: + if _ not in current_list: + print(_) + # t = { + # "tokens": _tokens, + # "full": max(_tokens, key = len) , + # "canonical": min(_tokens, key = len), + # "type": "way" + # } + # full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152905.py b/.history/tokens/make_20201005152905.py new file mode 100644 index 0000000..85b36ff --- /dev/null +++ b/.history/tokens/make_20201005152905.py @@ -0,0 +1,54 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] +for es in es_tokens: + current_list.extend(es['tokens']) + +for token in tokens: + _tokens = token.split("|") + for _ in _tokens: + if _ in current_list: + print(_) + # t = { + # "tokens": _tokens, + # "full": max(_tokens, key = len) , + # "canonical": min(_tokens, key = len), + # "type": "way" + # } + # full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152909.py b/.history/tokens/make_20201005152909.py new file mode 100644 index 0000000..2608620 --- /dev/null +++ b/.history/tokens/make_20201005152909.py @@ -0,0 +1,54 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] +for es in es_tokens: + current_list.extend(es['tokens']) + +for token in tokens: + _tokens = token.split("|") + for _ in _tokens: + if _ in current_list: + print(_) + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152910.py b/.history/tokens/make_20201005152910.py new file mode 100644 index 0000000..7b8a637 --- /dev/null +++ b/.history/tokens/make_20201005152910.py @@ -0,0 +1,54 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] +for es in es_tokens: + current_list.extend(es['tokens']) + +for token in tokens: + _tokens = token.split("|") + for _ in _tokens: + if _ in current_list: + print(_) + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152911.py b/.history/tokens/make_20201005152911.py new file mode 100644 index 0000000..4d1e0fe --- /dev/null +++ b/.history/tokens/make_20201005152911.py @@ -0,0 +1,54 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] +for es in es_tokens: + current_list.extend(es['tokens']) + +for token in tokens: + _tokens = token.split("|") + for _ in _tokens: + if _ in current_list: + print(_) + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152915.py b/.history/tokens/make_20201005152915.py new file mode 100644 index 0000000..804f60a --- /dev/null +++ b/.history/tokens/make_20201005152915.py @@ -0,0 +1,54 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] +for es in es_tokens: + current_list.extend(es['tokens']) + +for token in tokens: + _tokens = token.split("|") + for _ in _tokens: + if _ not in current_list: + print(_) + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152921.py b/.history/tokens/make_20201005152921.py new file mode 100644 index 0000000..417f7a6 --- /dev/null +++ b/.history/tokens/make_20201005152921.py @@ -0,0 +1,53 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] +for es in es_tokens: + current_list.extend(es['tokens']) + +for token in tokens: + _tokens = token.split("|") + for _ in _tokens: + if _ not in current_list: + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005152935.py b/.history/tokens/make_20201005152935.py new file mode 100644 index 0000000..da453e0 --- /dev/null +++ b/.history/tokens/make_20201005152935.py @@ -0,0 +1,54 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] +for es in es_tokens: + current_list.extend(es['tokens']) + +full = [] +for token in tokens: + _tokens = token.split("|") + for _ in _tokens: + if _ not in current_list: + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005153442.py b/.history/tokens/make_20201005153442.py new file mode 100644 index 0000000..d07b602 --- /dev/null +++ b/.history/tokens/make_20201005153442.py @@ -0,0 +1,54 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] +for es in es_tokens: + current_list.extend([es['tokens']]) + +full = [] +for token in tokens: + _tokens = token.split("|") + for _ in _tokens: + if _ not in current_list: + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/make_20201005153447.py b/.history/tokens/make_20201005153447.py new file mode 100644 index 0000000..8124b70 --- /dev/null +++ b/.history/tokens/make_20201005153447.py @@ -0,0 +1,54 @@ +import json + +tokens = [ +"autopista|auto|autop", +"autovia|autov", +"avinguda|av|avd|avda|avgda", +"camí|cami", +"carrer|carr|c /", +"carrera|cra|carra", +"carreró|cró|carrero|cro|carro|carr", +"carretera|ctra", +"cinturó|cint|cinturo", +"diagonal|diag", +"drecera|drec", +"eix", +"eix diagonal", +"entrada|entr", +"gran vía|gran via|gv|g v", +"passadís|pdís|passadis|pdis", +"passatge|ptge", +"passeig|pg", +"plaça|pl|placa|pça|pca|plç|plc", +"portal|ptal", +"rambla|rbla", +"ronda|rda", +"rotonda|rtda", +"sortida|sort", +"transversal|trval|trvsal", +"travessera|trav", +"travessia|trv|trav", +"via|v" +] + + +es_tokens = json.load(open( + "/Users/ilissablech/Documents/mapbox-code/geocoder-abbreviations/tokens/es.json" + )) +current_list = [] +for es in es_tokens: + current_list.extend([e.lower() for e in es['tokens']]) + +full = [] +for token in tokens: + _tokens = token.split("|") + for _ in _tokens: + if _ not in current_list: + t = { + "tokens": _tokens, + "full": max(_tokens, key = len) , + "canonical": min(_tokens, key = len), + "type": "way" + } + full.append(t) +print(full) diff --git a/.history/tokens/nl_20220706113025.json b/.history/tokens/nl_20220706113025.json new file mode 100644 index 0000000..0f9583a --- /dev/null +++ b/.history/tokens/nl_20220706113025.json @@ -0,0 +1,833 @@ +[ + { + "tokens": [ + "aalm", + "Aalmoezenier" + ], + "full": "Aalmoezenier", + "canonical": "aalm" + }, + { + "tokens": [ + "adm", + "admiraal" + ], + "full": "admiraal", + "canonical": "adm" + }, + { + "tokens": [ + "bar", + "baron" + ], + "full": "baron", + "canonical": "bar" + }, + { + "tokens": [ + "biss", + "bisschop" + ], + "full": "bisschop", + "canonical": "biss" + }, + { + "tokens": [ + "boulev", + "boulevard" + ], + "full": "boulevard", + "canonical": "boulev", + "onlyLayers": ["address"], + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "Br", + "Broeder" + ], + "full": "Broeder", + "canonical": "Br" + }, + { + "tokens": [ + "bsse", + "baronesse" + ], + "full": "baronesse", + "canonical": "bsse" + }, + { + "tokens": [ + "Burg", + "Burgemeester" + ], + "full": "Burgemeester", + "canonical": "Burg" + }, + { + "tokens": [ + "Cmdt", + "Commandant" + ], + "full": "Commandant", + "canonical": "Cmdt" + }, + { + "tokens": [ + "comm", + "commissaris" + ], + "full": "commissaris", + "canonical": "comm" + }, + { + "tokens": [ + "dk", + "dijk" + ], + "full": "dijk", + "canonical": "dk" + }, + { + "tokens": [ + "dkn", + "deken" + ], + "full": "deken", + "canonical": "dkn" + }, + { + "tokens": [ + "Dr", + "Doctor", + "Dokter" + ], + "full": "Dokter", + "canonical": "Dr" + }, + { + "tokens": [ + "dre", + "Douairière" + ], + "full": "Douairière", + "canonical": "dre" + }, + { + "tokens": [ + "ds", + "Dominee" + ], + "full": "Dominee", + "canonical": "ds" + }, + { + "tokens": [ + "DWSTR", + "dwarsstraat" + ], + "full": "dwarsstraat", + "canonical": "DWSTR", + "onlyLayers": ["address"], + "note": "translates to 'cross street'", + "type": "way" + }, + { + "tokens": [ + "Gebr", + "Gebroeders" + ], + "full": "Gebroeders", + "canonical": "Gebr" + }, + { + "tokens": [ + "Gen", + "Generaal" + ], + "full": "Generaal", + "canonical": "Gen" + }, + { + "tokens": [ + "gr", + "graaf" + ], + "full": "graaf", + "canonical": "gr" + }, + { + "tokens": [ + "gr", + "Gracht" + ], + "full": "Gracht", + "canonical": "gr", + "onlyLayers": ["address"], + "note": "translates to 'canal'", + "type": "way" + }, + { + "tokens": [ + "gr", + "gravin" + ], + "full": "gravin", + "canonical": "gr" + }, + { + "tokens": [ + "h", + "heilige" + ], + "full": "heilige", + "canonical": "h" + }, + { + "tokens": [ + "hg", + "hege" + ], + "full": "hege", + "canonical": "hg" + }, + { + "tokens": [ + "hg", + "hoge" + ], + "full": "hoge", + "canonical": "hg" + }, + { + "tokens": [ + "hg", + "hoog" + ], + "full": "hoog", + "canonical": "hg" + }, + { + "tokens": [ + "htg", + "hertog" + ], + "full": "hertog", + "canonical": "htg" + }, + { + "tokens": [ + "Ir", + "Ingenieur" + ], + "full": "Ingenieur", + "canonical": "Ir" + }, + { + "tokens": [ + "Jhr", + "Jonkheer" + ], + "full": "Jonkheer", + "canonical": "Jhr" + }, + { + "tokens": [ + "Kan", + "Kanunnik" + ], + "full": "Kanunnik", + "canonical": "Kan" + }, + { + "tokens": [ + "kan", + "kanaal" + ], + "full": "kanaal", + "canonical": "kan" + }, + { + "tokens": [ + "kap", + "kapelaan" + ], + "full": "kapelaan", + "canonical": "kap" + }, + { + "tokens": [ + "kapt", + "kapitein" + ], + "full": "kapitein", + "canonical": "kapt" + }, + { + "tokens": [ + "Kard", + "Kardinaal" + ], + "full": "Kardinaal", + "canonical": "Kard" + }, + { + "tokens": [ + "kast", + "kasteel" + ], + "full": "kasteel", + "canonical": "kast" + }, + { + "tokens": [ + "kd", + "kade" + ], + "full": "kade", + "canonical": "kd" + }, + { + "tokens": [ + "kl", + "klein" + ], + "full": "klein", + "canonical": "kl" + }, + { + "tokens": [ + "kl", + "kleine" + ], + "full": "kleine", + "canonical": "kl" + }, + { + "tokens": [ + "Kol", + "Kolonel" + ], + "full": "Kolonel", + "canonical": "Kol" + }, + { + "tokens": [ + "Kon", + "Koning" + ], + "full": "Koning", + "canonical": "Kon" + }, + { + "tokens": [ + "Kon", + "Koningin" + ], + "full": "Koningin", + "canonical": "Kon" + }, + { + "tokens": [ + "Kte", + "Kort" + ], + "full": "Kort", + "canonical": "Kte" + }, + { + "tokens": [ + "Kte", + "Korte" + ], + "full": "Korte", + "canonical": "Kte" + }, + { + "tokens": [ + "kzr", + "keizer" + ], + "full": "keizer", + "canonical": "kzr" + }, + { + "tokens": [ + "L", + "Lange" + ], + "full": "Lange", + "canonical": "L" + }, + { + "tokens": [ + "l", + "lang" + ], + "full": "lang", + "canonical": "l" + }, + { + "tokens": [ + "lg", + "laag" + ], + "full": "laag", + "canonical": "lg" + }, + { + "tokens": [ + "lg", + "lage" + ], + "full": "lage", + "canonical": "lg" + }, + { + "tokens": [ + "lg", + "lege" + ], + "full": "lege", + "canonical": "lg" + }, + { + "tokens": [ + "ln", + "Laan" + ], + "full": "Laan", + "canonical": "ln", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Luit", + "Luitenant" + ], + "full": "Luitenant", + "canonical": "Luit" + }, + { + "tokens": [ + "maj", + "majoor" + ], + "full": "majoor", + "canonical": "maj" + }, + { + "tokens": [ + "Mej", + "Mejuffrouw" + ], + "full": "Mejuffrouw", + "canonical": "Mej" + }, + { + "tokens": [ + "Mevr", + "Mevrouw" + ], + "full": "Mevrouw", + "canonical": "Mevr" + }, + { + "tokens": [ + "Mgr", + "Monseigneur" + ], + "full": "Monseigneur", + "canonical": "Mgr" + }, + { + "tokens": [ + "Min", + "Minister" + ], + "full": "Minister", + "canonical": "Min" + }, + { + "tokens": [ + "mkt", + "Markt" + ], + "full": "Markt", + "canonical": "mkt" + }, + { + "tokens": [ + "Mr", + "Meester" + ], + "full": "Meester", + "canonical": "Mr" + }, + { + "tokens": [ + "mr", + "meester" + ], + "full": "meester", + "canonical": "mr" + }, + { + "tokens": [ + "n", + "noord" + ], + "full": "noord", + "canonical": "n", + "type": "cardinal" + }, + { + "tokens": [ + "not", + "notaris" + ], + "full": "notaris", + "canonical": "not" + }, + { + "tokens": [ + "nw", + "nieuw" + ], + "full": "nieuw", + "canonical": "nw" + }, + { + "tokens": [ + "nw", + "nieuwe" + ], + "full": "nieuwe", + "canonical": "nw" + }, + { + "tokens": [ + "NZ", + "Noordzijde" + ], + "full": "Noordzijde", + "canonical": "NZ" + }, + { + "tokens": [ + "o", + "oost" + ], + "full": "oost", + "canonical": "o", + "type": "cardinal" + }, + { + "tokens": [ + "olv", + "Onze-Lieve-Vrouw" + ], + "full": "Onze-Lieve-Vrouw", + "canonical": "olv", + "spanBoundaries": 2 + }, + { + "tokens": [ + "olv", + "Onze-Lieve-Vrouwe" + ], + "full": "Onze-Lieve-Vrouwe", + "canonical": "olv", + "spanBoundaries": 2 + }, + { + "tokens": [ + "OZ", + "Oostzijde" + ], + "full": "Oostzijde", + "canonical": "OZ" + }, + { + "tokens": [ + "Past", + "Pastoor" + ], + "full": "Pastoor", + "canonical": "Past" + }, + { + "tokens": [ + "pln", + "Plein" + ], + "full": "Plein", + "canonical": "pln" + }, + { + "tokens": [ + "plnts", + "plantsoen" + ], + "full": "plantsoen", + "canonical": "plnts" + }, + { + "tokens": [ + "Pr", + "Prins" + ], + "full": "Prins", + "canonical": "Pr" + }, + { + "tokens": [ + "Pr", + "Prinses" + ], + "full": "Prinses", + "canonical": "Pr" + }, + { + "tokens": [ + "Pres", + "President" + ], + "full": "President", + "canonical": "Pres" + }, + { + "tokens": [ + "Prof", + "Professor" + ], + "full": "Professor", + "canonical": "Prof" + }, + { + "tokens": [ + "ptr", + "pater" + ], + "full": "pater", + "canonical": "ptr" + }, + { + "tokens": [ + "ptrs", + "paters" + ], + "full": "paters", + "canonical": "ptrs" + }, + { + "tokens": [ + "rdr", + "ridder" + ], + "full": "ridder", + "canonical": "rdr" + }, + { + "tokens": [ + "secr", + "secretaris" + ], + "full": "secretaris", + "canonical": "secr" + }, + { + "tokens": [ + "sinj", + "sinjeur" + ], + "full": "sinjeur", + "canonical": "sinj" + }, + { + "tokens": [ + "sngl", + "Singel" + ], + "full": "Singel", + "canonical": "sngl" + }, + { + "tokens": [ + "st", + "Sint" + ], + "full": "Sint", + "canonical": "st" + }, + { + "tokens": [ + "stg", + "steeg" + ], + "full": "steeg", + "canonical": "stg", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "str", + "Straat" + ], + "full": "Straat", + "canonical": "str", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "strwg", + "straatweg" + ], + "full": "straatweg", + "canonical": "strwg", + "onlyLayers": ["address"], + "note": "translates to 'street-road'", + "type": "way" + }, + { + "tokens": [ + "stwg", + "Steenweg" + ], + "full": "Steenweg", + "canonical": "stwg", + "onlyLayers": ["address"], + "note": "translates to 'alley-road'", + "type": "way" + }, + { + "tokens": [ + "V", + "Van" + ], + "full": "Van", + "canonical": "V" + }, + { + "tokens": [ + "Verl", + "Verlengde" + ], + "full": "Verlengde", + "canonical": "Verl" + }, + { + "tokens": [ + "verl", + "verlenge" + ], + "full": "verlenge", + "canonical": "verl" + }, + { + "tokens": [ + "vlt", + "Vliet" + ], + "full": "Vliet", + "canonical": "vlt" + }, + { + "tokens": [ + "Vr", + "Vrouwe" + ], + "full": "Vrouwe", + "canonical": "Vr" + }, + { + "tokens": [ + "w", + "west" + ], + "full": "west", + "canonical": "w", + "type": "cardinal" + }, + { + "tokens": [ + "weth", + "wethouder" + ], + "full": "wethouder", + "canonical": "weth" + }, + { + "tokens": [ + "wg", + "weg" + ], + "full": "weg", + "canonical": "wg" + }, + { + "tokens": [ + "WZ", + "Westzijde" + ], + "full": "Westzijde", + "canonical": "WZ" + }, + { + "tokens": [ + "z", + "zuid" + ], + "full": "zuid", + "canonical": "z", + "type": "cardinal" + }, + { + "tokens": [ + "Zr", + "Zuster" + ], + "full": "Zuster", + "canonical": "Zr" + }, + { + "tokens": [ + "ZZ", + "Zuidzijde" + ], + "full": "Zuidzijde", + "canonical": "ZZ" + }, + { + "tokens": [ + "vd", + "Van De", + "Van Den", + "Van Der" + ], + "full": "Van De", + "canonical": "vd", + "spanBoundaries": 1 + }, + { + "tokens": [ + "$1 $2", + "([0-9]{4}) ?([A-Z]{2})" + ], + "full": "([0-9]{4}) ?([A-Z]{2})", + "canonical": "$1$2", + "onlyCountries": ["nl"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true + } +] diff --git a/.history/tokens/nl_20220706113028.json b/.history/tokens/nl_20220706113028.json new file mode 100644 index 0000000..9f20e4a --- /dev/null +++ b/.history/tokens/nl_20220706113028.json @@ -0,0 +1,833 @@ +[ + { + "tokens": [ + "aalm", + "Aalmoezenier" + ], + "full": "Aalmoezenier", + "canonical": "aalm" + }, + { + "tokens": [ + "adm", + "admiraal" + ], + "full": "admiraal", + "canonical": "adm" + }, + { + "tokens": [ + "bar", + "baron" + ], + "full": "baron", + "canonical": "bar" + }, + { + "tokens": [ + "biss", + "bisschop" + ], + "full": "bisschop", + "canonical": "biss" + }, + { + "tokens": [ + "boulev", + "boulevard" + ], + "full": "boulevard", + "canonical": "boulev", + "onlyLayers": ["address"], + "note": "translates to 'boulevard'", + "type": "way" + }, + { + "tokens": [ + "Br", + "Broeder" + ], + "full": "Broeder", + "canonical": "Br" + }, + { + "tokens": [ + "bsse", + "baronesse" + ], + "full": "baronesse", + "canonical": "bsse" + }, + { + "tokens": [ + "Burg", + "Burgemeester" + ], + "full": "Burgemeester", + "canonical": "Burg" + }, + { + "tokens": [ + "Cmdt", + "Commandant" + ], + "full": "Commandant", + "canonical": "Cmdt" + }, + { + "tokens": [ + "comm", + "commissaris" + ], + "full": "commissaris", + "canonical": "comm" + }, + { + "tokens": [ + "dk", + "dijk" + ], + "full": "dijk", + "canonical": "dk" + }, + { + "tokens": [ + "dkn", + "deken" + ], + "full": "deken", + "canonical": "dkn" + }, + { + "tokens": [ + "Dr", + "Doctor", + "Dokter" + ], + "full": "Dokter", + "canonical": "Dr" + }, + { + "tokens": [ + "dre", + "Douairière" + ], + "full": "Douairière", + "canonical": "dre" + }, + { + "tokens": [ + "ds", + "Dominee" + ], + "full": "Dominee", + "canonical": "ds" + }, + { + "tokens": [ + "DWSTR", + "dwarsstraat" + ], + "full": "dwarsstraat", + "canonical": "DWSTR", + "onlyLayers": ["address"], + "note": "translates to 'cross street'", + "type": "way" + }, + { + "tokens": [ + "Gebr", + "Gebroeders" + ], + "full": "Gebroeders", + "canonical": "Gebr" + }, + { + "tokens": [ + "Gen", + "Generaal" + ], + "full": "Generaal", + "canonical": "Gen" + }, + { + "tokens": [ + "gr", + "graaf" + ], + "full": "graaf", + "canonical": "gr" + }, + { + "tokens": [ + "gr", + "Gracht" + ], + "full": "Gracht", + "canonical": "gr", + "onlyLayers": ["address"], + "note": "translates to 'canal'", + "type": "way" + }, + { + "tokens": [ + "gr", + "gravin" + ], + "full": "gravin", + "canonical": "gr" + }, + { + "tokens": [ + "h", + "heilige" + ], + "full": "heilige", + "canonical": "h" + }, + { + "tokens": [ + "hg", + "hege" + ], + "full": "hege", + "canonical": "hg" + }, + { + "tokens": [ + "hg", + "hoge" + ], + "full": "hoge", + "canonical": "hg" + }, + { + "tokens": [ + "hg", + "hoog" + ], + "full": "hoog", + "canonical": "hg" + }, + { + "tokens": [ + "htg", + "hertog" + ], + "full": "hertog", + "canonical": "htg" + }, + { + "tokens": [ + "Ir", + "Ingenieur" + ], + "full": "Ingenieur", + "canonical": "Ir" + }, + { + "tokens": [ + "Jhr", + "Jonkheer" + ], + "full": "Jonkheer", + "canonical": "Jhr" + }, + { + "tokens": [ + "Kan", + "Kanunnik" + ], + "full": "Kanunnik", + "canonical": "Kan" + }, + { + "tokens": [ + "kan", + "kanaal" + ], + "full": "kanaal", + "canonical": "kan" + }, + { + "tokens": [ + "kap", + "kapelaan" + ], + "full": "kapelaan", + "canonical": "kap" + }, + { + "tokens": [ + "kapt", + "kapitein" + ], + "full": "kapitein", + "canonical": "kapt" + }, + { + "tokens": [ + "Kard", + "Kardinaal" + ], + "full": "Kardinaal", + "canonical": "Kard" + }, + { + "tokens": [ + "kast", + "kasteel" + ], + "full": "kasteel", + "canonical": "kast" + }, + { + "tokens": [ + "kd", + "kade" + ], + "full": "kade", + "canonical": "kd" + }, + { + "tokens": [ + "kl", + "klein" + ], + "full": "klein", + "canonical": "kl" + }, + { + "tokens": [ + "kl", + "kleine" + ], + "full": "kleine", + "canonical": "kl" + }, + { + "tokens": [ + "Kol", + "Kolonel" + ], + "full": "Kolonel", + "canonical": "Kol" + }, + { + "tokens": [ + "Kon", + "Koning" + ], + "full": "Koning", + "canonical": "Kon" + }, + { + "tokens": [ + "Kon", + "Koningin" + ], + "full": "Koningin", + "canonical": "Kon" + }, + { + "tokens": [ + "Kte", + "Kort" + ], + "full": "Kort", + "canonical": "Kte" + }, + { + "tokens": [ + "Kte", + "Korte" + ], + "full": "Korte", + "canonical": "Kte" + }, + { + "tokens": [ + "kzr", + "keizer" + ], + "full": "keizer", + "canonical": "kzr" + }, + { + "tokens": [ + "L", + "Lange" + ], + "full": "Lange", + "canonical": "L" + }, + { + "tokens": [ + "l", + "lang" + ], + "full": "lang", + "canonical": "l" + }, + { + "tokens": [ + "lg", + "laag" + ], + "full": "laag", + "canonical": "lg" + }, + { + "tokens": [ + "lg", + "lage" + ], + "full": "lage", + "canonical": "lg" + }, + { + "tokens": [ + "lg", + "lege" + ], + "full": "lege", + "canonical": "lg" + }, + { + "tokens": [ + "ln", + "Laan" + ], + "full": "Laan", + "canonical": "ln", + "onlyLayers": ["address"], + "note": "translates to 'lane'", + "type": "way" + }, + { + "tokens": [ + "Luit", + "Luitenant" + ], + "full": "Luitenant", + "canonical": "Luit" + }, + { + "tokens": [ + "maj", + "majoor" + ], + "full": "majoor", + "canonical": "maj" + }, + { + "tokens": [ + "Mej", + "Mejuffrouw" + ], + "full": "Mejuffrouw", + "canonical": "Mej" + }, + { + "tokens": [ + "Mevr", + "Mevrouw" + ], + "full": "Mevrouw", + "canonical": "Mevr" + }, + { + "tokens": [ + "Mgr", + "Monseigneur" + ], + "full": "Monseigneur", + "canonical": "Mgr" + }, + { + "tokens": [ + "Min", + "Minister" + ], + "full": "Minister", + "canonical": "Min" + }, + { + "tokens": [ + "mkt", + "Markt" + ], + "full": "Markt", + "canonical": "mkt" + }, + { + "tokens": [ + "Mr", + "Meester" + ], + "full": "Meester", + "canonical": "Mr" + }, + { + "tokens": [ + "mr", + "meester" + ], + "full": "meester", + "canonical": "mr" + }, + { + "tokens": [ + "n", + "noord" + ], + "full": "noord", + "canonical": "n", + "type": "cardinal" + }, + { + "tokens": [ + "not", + "notaris" + ], + "full": "notaris", + "canonical": "not" + }, + { + "tokens": [ + "nw", + "nieuw" + ], + "full": "nieuw", + "canonical": "nw" + }, + { + "tokens": [ + "nw", + "nieuwe" + ], + "full": "nieuwe", + "canonical": "nw" + }, + { + "tokens": [ + "NZ", + "Noordzijde" + ], + "full": "Noordzijde", + "canonical": "NZ" + }, + { + "tokens": [ + "o", + "oost" + ], + "full": "oost", + "canonical": "o", + "type": "cardinal" + }, + { + "tokens": [ + "olv", + "Onze-Lieve-Vrouw" + ], + "full": "Onze-Lieve-Vrouw", + "canonical": "olv", + "spanBoundaries": 2 + }, + { + "tokens": [ + "olv", + "Onze-Lieve-Vrouwe" + ], + "full": "Onze-Lieve-Vrouwe", + "canonical": "olv", + "spanBoundaries": 2 + }, + { + "tokens": [ + "OZ", + "Oostzijde" + ], + "full": "Oostzijde", + "canonical": "OZ" + }, + { + "tokens": [ + "Past", + "Pastoor" + ], + "full": "Pastoor", + "canonical": "Past" + }, + { + "tokens": [ + "pln", + "Plein" + ], + "full": "Plein", + "canonical": "pln" + }, + { + "tokens": [ + "plnts", + "plantsoen" + ], + "full": "plantsoen", + "canonical": "plnts" + }, + { + "tokens": [ + "Pr", + "Prins" + ], + "full": "Prins", + "canonical": "Pr" + }, + { + "tokens": [ + "Pr", + "Prinses" + ], + "full": "Prinses", + "canonical": "Pr" + }, + { + "tokens": [ + "Pres", + "President" + ], + "full": "President", + "canonical": "Pres" + }, + { + "tokens": [ + "Prof", + "Professor" + ], + "full": "Professor", + "canonical": "Prof" + }, + { + "tokens": [ + "ptr", + "pater" + ], + "full": "pater", + "canonical": "ptr" + }, + { + "tokens": [ + "ptrs", + "paters" + ], + "full": "paters", + "canonical": "ptrs" + }, + { + "tokens": [ + "rdr", + "ridder" + ], + "full": "ridder", + "canonical": "rdr" + }, + { + "tokens": [ + "secr", + "secretaris" + ], + "full": "secretaris", + "canonical": "secr" + }, + { + "tokens": [ + "sinj", + "sinjeur" + ], + "full": "sinjeur", + "canonical": "sinj" + }, + { + "tokens": [ + "sngl", + "Singel" + ], + "full": "Singel", + "canonical": "sngl" + }, + { + "tokens": [ + "st", + "Sint" + ], + "full": "Sint", + "canonical": "st" + }, + { + "tokens": [ + "stg", + "steeg" + ], + "full": "steeg", + "canonical": "stg", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "str", + "Straat" + ], + "full": "Straat", + "canonical": "str", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "strwg", + "straatweg" + ], + "full": "straatweg", + "canonical": "strwg", + "onlyLayers": ["address"], + "note": "translates to 'street-road'", + "type": "way" + }, + { + "tokens": [ + "stwg", + "Steenweg" + ], + "full": "Steenweg", + "canonical": "stwg", + "onlyLayers": ["address"], + "note": "translates to 'alley-road'", + "type": "way" + }, + { + "tokens": [ + "V", + "Van" + ], + "full": "Van", + "canonical": "V" + }, + { + "tokens": [ + "Verl", + "Verlengde" + ], + "full": "Verlengde", + "canonical": "Verl" + }, + { + "tokens": [ + "verl", + "verlenge" + ], + "full": "verlenge", + "canonical": "verl" + }, + { + "tokens": [ + "vlt", + "Vliet" + ], + "full": "Vliet", + "canonical": "vlt" + }, + { + "tokens": [ + "Vr", + "Vrouwe" + ], + "full": "Vrouwe", + "canonical": "Vr" + }, + { + "tokens": [ + "w", + "west" + ], + "full": "west", + "canonical": "w", + "type": "cardinal" + }, + { + "tokens": [ + "weth", + "wethouder" + ], + "full": "wethouder", + "canonical": "weth" + }, + { + "tokens": [ + "wg", + "weg" + ], + "full": "weg", + "canonical": "wg" + }, + { + "tokens": [ + "WZ", + "Westzijde" + ], + "full": "Westzijde", + "canonical": "WZ" + }, + { + "tokens": [ + "z", + "zuid" + ], + "full": "zuid", + "canonical": "z", + "type": "cardinal" + }, + { + "tokens": [ + "Zr", + "Zuster" + ], + "full": "Zuster", + "canonical": "Zr" + }, + { + "tokens": [ + "ZZ", + "Zuidzijde" + ], + "full": "Zuidzijde", + "canonical": "ZZ" + }, + { + "tokens": [ + "vd", + "Van De", + "Van Den", + "Van Der" + ], + "full": "Van De", + "canonical": "vd", + "spanBoundaries": 1 + }, + { + "tokens": [ + "$1 $2", + "([0-9]{4}) ?([A-Z]{2})" + ], + "full": "([0-9]{4}) ?([A-Z]{2})", + "canonical": "$1 $2", + "onlyCountries": ["nl"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true + } +] diff --git a/.history/tokens/pl_20220523141855.json b/.history/tokens/pl_20220523141855.json new file mode 100644 index 0000000..1506edb --- /dev/null +++ b/.history/tokens/pl_20220523141855.json @@ -0,0 +1,62 @@ +[ + { + "tokens": [ + "al", + "aleja" + ], + "full": "aleja", + "canonical": "al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "plac" + ], + "full": "plac", + "canonical": "pl" + }, + { + "tokens": [ + "ul", + "ulica" + ], + "full": "ulica", + "canonical": "ul", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "Św", + "Świętego", + "Świętej" + ], + "full": "Świętego", + "canonical": "Św", + "note": "translates to 'Saint'" + }, + { + "tokens": [ + "Gen", + "Generała" + ], + "full": "Generała", + "canonical": "Gen", + "note": "translates to 'general'" + }, + { + "tokens": [ + "Mjr", + "Majora" + ], + "full": "Majora", + "canonical": "Mjr", + "note": "translates to 'major'" + } +] + +([0-9]{2})([ -])?([0-9]{3}) \ No newline at end of file diff --git a/.history/tokens/pl_20220523141902.json b/.history/tokens/pl_20220523141902.json new file mode 100644 index 0000000..1a78c94 --- /dev/null +++ b/.history/tokens/pl_20220523141902.json @@ -0,0 +1,75 @@ +[ + { + "tokens": [ + "al", + "aleja" + ], + "full": "aleja", + "canonical": "al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "plac" + ], + "full": "plac", + "canonical": "pl" + }, + { + "tokens": [ + "ul", + "ulica" + ], + "full": "ulica", + "canonical": "ul", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "Św", + "Świętego", + "Świętej" + ], + "full": "Świętego", + "canonical": "Św", + "note": "translates to 'Saint'" + }, + { + "tokens": [ + "Gen", + "Generała" + ], + "full": "Generała", + "canonical": "Gen", + "note": "translates to 'general'" + }, + { + "tokens": [ + "Mjr", + "Majora" + ], + "full": "Majora", + "canonical": "Mjr", + "note": "translates to 'major'" + }, + { + "tokens": [ + "$1$2", + "([0-9]{4}) ?([A-Z]{2})" + ], + "full": "([0-9]{4}) ?([A-Z]{2})", + "canonical": "$1$2", + "onlyCountries": ["nl"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true + } +] + +([0-9]{2})([ -])?([0-9]{3}) \ No newline at end of file diff --git a/.history/tokens/pl_20220523141905.json b/.history/tokens/pl_20220523141905.json new file mode 100644 index 0000000..b0e870c --- /dev/null +++ b/.history/tokens/pl_20220523141905.json @@ -0,0 +1,73 @@ +[ + { + "tokens": [ + "al", + "aleja" + ], + "full": "aleja", + "canonical": "al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "plac" + ], + "full": "plac", + "canonical": "pl" + }, + { + "tokens": [ + "ul", + "ulica" + ], + "full": "ulica", + "canonical": "ul", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "Św", + "Świętego", + "Świętej" + ], + "full": "Świętego", + "canonical": "Św", + "note": "translates to 'Saint'" + }, + { + "tokens": [ + "Gen", + "Generała" + ], + "full": "Generała", + "canonical": "Gen", + "note": "translates to 'general'" + }, + { + "tokens": [ + "Mjr", + "Majora" + ], + "full": "Majora", + "canonical": "Mjr", + "note": "translates to 'major'" + }, + { + "tokens": [ + "$1$2", + "([0-9]{4}) ?([A-Z]{2})" + ], + "full": "([0-9]{4}) ?([A-Z]{2})", + "canonical": "$1$2", + "onlyCountries": ["nl"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true + } +] diff --git a/.history/tokens/pl_20220523141908.json b/.history/tokens/pl_20220523141908.json new file mode 100644 index 0000000..1c17be0 --- /dev/null +++ b/.history/tokens/pl_20220523141908.json @@ -0,0 +1,73 @@ +[ + { + "tokens": [ + "al", + "aleja" + ], + "full": "aleja", + "canonical": "al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "plac" + ], + "full": "plac", + "canonical": "pl" + }, + { + "tokens": [ + "ul", + "ulica" + ], + "full": "ulica", + "canonical": "ul", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "Św", + "Świętego", + "Świętej" + ], + "full": "Świętego", + "canonical": "Św", + "note": "translates to 'Saint'" + }, + { + "tokens": [ + "Gen", + "Generała" + ], + "full": "Generała", + "canonical": "Gen", + "note": "translates to 'general'" + }, + { + "tokens": [ + "Mjr", + "Majora" + ], + "full": "Majora", + "canonical": "Mjr", + "note": "translates to 'major'" + }, + { + "tokens": [ + "$1$2", + "([0-9]{2})([ -])?([0-9]{3})" + ], + "full": "([0-9]{4}) ?([A-Z]{2})", + "canonical": "$1$2", + "onlyCountries": ["nl"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true + } +] diff --git a/.history/tokens/pl_20220523141911.json b/.history/tokens/pl_20220523141911.json new file mode 100644 index 0000000..3b211d5 --- /dev/null +++ b/.history/tokens/pl_20220523141911.json @@ -0,0 +1,73 @@ +[ + { + "tokens": [ + "al", + "aleja" + ], + "full": "aleja", + "canonical": "al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "plac" + ], + "full": "plac", + "canonical": "pl" + }, + { + "tokens": [ + "ul", + "ulica" + ], + "full": "ulica", + "canonical": "ul", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "Św", + "Świętego", + "Świętej" + ], + "full": "Świętego", + "canonical": "Św", + "note": "translates to 'Saint'" + }, + { + "tokens": [ + "Gen", + "Generała" + ], + "full": "Generała", + "canonical": "Gen", + "note": "translates to 'general'" + }, + { + "tokens": [ + "Mjr", + "Majora" + ], + "full": "Majora", + "canonical": "Mjr", + "note": "translates to 'major'" + }, + { + "tokens": [ + "$1$2", + "([0-9]{2})([ -])?([0-9]{3})" + ], + "full": "([0-9]{2})([ -])?([0-9]{3})", + "canonical": "$1$2", + "onlyCountries": ["nl"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true + } +] diff --git a/.history/tokens/pl_20220524110616.json b/.history/tokens/pl_20220524110616.json new file mode 100644 index 0000000..9e4645b --- /dev/null +++ b/.history/tokens/pl_20220524110616.json @@ -0,0 +1,73 @@ +[ + { + "tokens": [ + "al", + "aleja" + ], + "full": "aleja", + "canonical": "al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "pl", + "plac" + ], + "full": "plac", + "canonical": "pl" + }, + { + "tokens": [ + "ul", + "ulica" + ], + "full": "ulica", + "canonical": "ul", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "Św", + "Świętego", + "Świętej" + ], + "full": "Świętego", + "canonical": "Św", + "note": "translates to 'Saint'" + }, + { + "tokens": [ + "Gen", + "Generała" + ], + "full": "Generała", + "canonical": "Gen", + "note": "translates to 'general'" + }, + { + "tokens": [ + "Mjr", + "Majora" + ], + "full": "Majora", + "canonical": "Mjr", + "note": "translates to 'major'" + }, + { + "tokens": [ + "$1$2", + "([0-9]{2})([ -])?([0-9]{3})" + ], + "full": "([0-9]{2})([ -])?([0-9]{3})", + "canonical": "$1$2", + "onlyCountries": ["pl"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true + } +] diff --git a/.history/tokens/pt_20201208124751.json b/.history/tokens/pt_20201208124751.json new file mode 100644 index 0000000..18ed460 --- /dev/null +++ b/.history/tokens/pt_20201208124751.json @@ -0,0 +1,1117 @@ +[ + { + "tokens": [ + "1", + "uma", + "um" + ], + "full": "uma", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "dois", + "duas" + ], + "full": "dois", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "três", + "tres" + ], + "full": "três", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "quatro" + ], + "full": "quatro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "cinco" + ], + "full": "cinco", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "seis" + ], + "full": "seis", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "sete" + ], + "full": "sete", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "oito" + ], + "full": "oito", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "dez" + ], + "full": "dez", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "onze" + ], + "full": "onze", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "doze" + ], + "full": "doze", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "treze" + ], + "full": "treze", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "catorze" + ], + "full": "catorze", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "quinze" + ], + "full": "quinze", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "dezesseis" + ], + "full": "dezesseis", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "dezessete" + ], + "full": "dezessete", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "dezoito" + ], + "full": "dezoito", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "dezenove" + ], + "full": "dezenove", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "vinte" + ], + "full": "vinte", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Alf", + "Alferes" + ], + "full": "Alferes", + "canonical": "Alf" + }, + { + "tokens": [ + "Alm", + "Almirante" + ], + "full": "Almirante", + "canonical": "Alm" + }, + { + "tokens": [ + "Arq", + "Arquitecto" + ], + "full": "Arquitecto", + "canonical": "Arq" + }, + { + "tokens": [ + "Ass", + "Associação" + ], + "full": "Associação", + "canonical": "Ass" + }, + { + "tokens": [ + "Av", + "Avenida" + ], + "full": "Avenida", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Az", + "Azinhaga" + ], + "full": "Azinhaga", + "canonical": "Az" + }, + { + "tokens": [ + "B", + "Br", + "Bairro" + ], + "full": "Bairro", + "canonical": "B" + }, + { + "tokens": [ + "Bc", + "Beco" + ], + "full": "Beco", + "canonical": "Bc", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Bl", + "Bloco" + ], + "full": "Bloco", + "canonical": "Bl" + }, + { + "tokens": [ + "Brg", + "Brigadeiro" + ], + "full": "Brigadeiro", + "canonical": "Brg" + }, + { + "tokens": [ + "C", + "Companhia" + ], + "full": "Companhia", + "canonical": "C" + }, + { + "tokens": [ + "Cac", + "Cacique" + ], + "full": "Cacique", + "canonical": "Cac" + }, + { + "tokens": [ + "Cam", + "Caminho" + ], + "full": "Caminho", + "canonical": "Cam", + "onlyLayers": ["address"], + "note": "translates to 'way'", + "type": "way" + }, + { + "tokens": [ + "Cap", + "Capitão" + ], + "full": "Capitão", + "canonical": "Cap" + }, + { + "tokens": [ + "Cc", + "Calçada" + ], + "full": "Calçada", + "canonical": "Cc" + }, + { + "tokens": [ + "Ccnh", + "Calçadinha" + ], + "full": "Calçadinha", + "canonical": "Ccnh" + }, + { + "tokens": [ + "Cel", + "Cor", + "Coronel" + ], + "full": "Coronel", + "canonical": "Cel" + }, + { + "tokens": [ + "Chac", + "Chácara", + "Chacara", + "Chácaras" + ], + "full": "Chácaras", + "canonical": "Chac" + }, + { + "tokens": [ + "Cmdt", + "Comandante" + ], + "full": "Comandante", + "canonical": "Cmdt" + }, + { + "tokens": [ + "Comend", + "Comendador" + ], + "full": "Comendador", + "canonical": "Comend" + }, + { + "tokens": [ + "Cj", + "Conjunto", + "Conjuntos" + ], + "full": "Conjuntos", + "canonical": "Cj" + }, + { + "tokens": [ + "Cons", + "Conselheiro" + ], + "full": "Conselheiro", + "canonical": "Cons" + }, + { + "tokens": [ + "Csl", + "Casal" + ], + "full": "Casal", + "canonical": "Csl" + }, + { + "tokens": [ + "Cv", + "Cave" + ], + "full": "Cave", + "canonical": "Cv" + }, + { + "tokens": [ + "da" + ], + "full": "da", + "canonical": "da", + "type": "determiner" + }, + { + "tokens": [ + "das" + ], + "full": "das", + "canonical": "das", + "type": "determiner" + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "dela" + ], + "full": "dela", + "canonical": "dela", + "type": "determiner" + }, + { + "tokens": [ + "Dep", + "Deputado" + ], + "full": "Deputado", + "canonical": "Dep" + }, + { + "tokens": [ + "do" + ], + "full": "do", + "canonical": "do", + "type": "determiner" + }, + { + "tokens": [ + "dos" + ], + "full": "dos", + "canonical": "dos", + "type": "determiner" + }, + { + "tokens": [ + "Dq", + "Duque" + ], + "full": "Duque", + "canonical": "Dq" + }, + { + "tokens": [ + "Dr", + "Doutor" + ], + "full": "Doutor", + "canonical": "Dr" + }, + { + "tokens": [ + "Dr", + "Doutora" + ], + "full": "Doutora", + "canonical": "Dr" + }, + { + "tokens": [ + "Dto", + "Direito" + ], + "full": "Direito", + "canonical": "Dto" + }, + { + "tokens": [ + "Ed", + "Edf", + "Edifício" + ], + "full": "Edifício", + "canonical": "Ed" + }, + { + "tokens": [ + "Emb", + "Embaixador" + ], + "full": "Embaixador", + "canonical": "Emb" + }, + { + "tokens": [ + "Enf", + "Enfo", + "Enfermeiro" + ], + "full": "Enfermeiro", + "canonical": "Enf" + }, + { + "tokens": [ + "Eng", + "Engenheiro" + ], + "full": "Engenheiro", + "canonical": "Eng" + }, + { + "tokens": [ + "Esc", + "Escadas" + ], + "full": "Escadas", + "canonical": "Esc" + }, + { + "tokens": [ + "Escnh", + "Escadinhas" + ], + "full": "Escadinhas", + "canonical": "Escnh" + }, + { + "tokens": [ + "Esq", + "Esquerdo" + ], + "full": "Esquerdo", + "canonical": "Esq" + }, + { + "tokens": [ + "Estr", + "Estrada" + ], + "full": "Estrada", + "canonical": "Estr", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "astrada marginal", + "estr marg" + ], + "full": "astrada marginal", + "canonical": "estr marg", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada municipal", + "em", + "e m", + "estr m" + ], + "full": "estrada municipal", + "canonical": "em", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada nacional", + "en", + "e n", + "estr n" + ], + "full": "estrada nacional", + "canonical": "en", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada regional", + "er", + "e r", + "estr r" + ], + "full": "estrada regional", + "canonical": "er", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Fr", + "Frei" + ], + "full": "Frei", + "canonical": "Fr" + }, + { + "tokens": [ + "Ft", + "Frente" + ], + "full": "Frente", + "canonical": "Ft" + }, + { + "tokens": [ + "Gal", + "Gen", + "General" + ], + "full": "General", + "canonical": "Gal" + }, + { + "tokens": [ + "Hab", + "Habitação" + ], + "full": "Habitação", + "canonical": "Hab" + }, + { + "tokens": [ + "Im", + "Ima", + "Irmã" + ], + "full": "Irmã", + "canonical": "Im" + }, + { + "tokens": [ + "Imo", + "Irmão" + ], + "full": "Irmão", + "canonical": "Imo" + }, + { + "tokens": [ + "Inf", + "Infante" + ], + "full": "Infante", + "canonical": "Inf" + }, + { + "tokens": [ + "Inst", + "Instituto" + ], + "full": "Instituto", + "canonical": "Inst" + }, + { + "tokens": [ + "Jr", + "Júnior" + ], + "full": "Júnior", + "canonical": "Jr" + }, + { + "tokens": [ + "Jrd", + "Jardim" + ], + "full": "Jardim", + "canonical": "Jrd" + }, + { + "tokens": [ + "Lda", + "Limitada" + ], + "full": "Limitada", + "canonical": "Lda" + }, + { + "tokens": [ + "Lg", + "Largo" + ], + "full": "Largo", + "canonical": "Lg" + }, + { + "tokens": [ + "Lg", + "Lug", + "Lugar" + ], + "full": "Lugar", + "canonical": "Lg" + }, + { + "tokens": [ + "Lj", + "Loja" + ], + "full": "Loja", + "canonical": "Lj" + }, + { + "tokens": [ + "Loteam", + "Loteamento" + ], + "full": "Loteamento", + "canonical": "Loteam" + }, + { + "tokens": [ + "Lt", + "Lote" + ], + "full": "Lote", + "canonical": "Lt" + }, + { + "tokens": [ + "Maj", + "Major" + ], + "full": "Major", + "canonical": "Maj" + }, + { + "tokens": [ + "Mal", + "Marechal" + ], + "full": "Marechal", + "canonical": "Mal" + }, + { + "tokens": [ + "Me", + "Madre" + ], + "full": "Madre", + "canonical": "Me" + }, + { + "tokens": [ + "Me", + "Mestre" + ], + "full": "Mestre", + "canonical": "Me" + }, + { + "tokens": [ + "Min", + "Ministério" + ], + "full": "Ministério", + "canonical": "Min" + }, + { + "tokens": [ + "Mons", + "Monsenhor" + ], + "full": "Monsenhor", + "canonical": "Mons" + }, + { + "tokens": [ + "Mq", + "Marquês" + ], + "full": "Marquês", + "canonical": "Mq" + }, + { + "tokens": [ + "Mto", + "Maestro" + ], + "full": "Maestro", + "canonical": "Mto" + }, + { + "tokens": [ + "N", + "Nossa" + ], + "full": "Nossa", + "canonical": "N" + }, + { + "tokens": [ + "Part", + "Particular" + ], + "full": "Particular", + "canonical": "Part" + }, + { + "tokens": [ + "Pav", + "Pavilhão" + ], + "full": "Pavilhão", + "canonical": "Pav" + }, + { + "tokens": [ + "Pc", + "Praça" + ], + "full": "Praça", + "canonical": "Pc" + }, + { + "tokens": [ + "Pct", + "Praceta" + ], + "full": "Praceta", + "canonical": "Pct" + }, + { + "tokens": [ + "Pe", + "Padre" + ], + "full": "Padre", + "canonical": "Pe" + }, + { + "tokens": [ + "Pq", + "Parque" + ], + "full": "Parque", + "canonical": "Pq" + }, + { + "tokens": [ + "Presid", + "Presidente" + ], + "full": "Presidente", + "canonical": "Presid" + }, + { + "tokens": [ + "Prof", + "Professor" + ], + "full": "Professor", + "canonical": "Prof" + }, + { + "tokens": [ + "Prolng", + "Prolongamento" + ], + "full": "Prolongamento", + "canonical": "Prolng" + }, + { + "tokens": [ + "Pto", + "Pátio" + ], + "full": "Pátio", + "canonical": "Pto" + }, + { + "tokens": [ + "Q", + "Qd", + "Qr", + "Quadra" + ], + "full": "Quadra", + "canonical": "Q" + }, + { + "tokens": [ + "Qta", + "Quinta" + ], + "full": "Quinta", + "canonical": "Qta" + }, + { + "tokens": [ + "R", + "Rio" + ], + "full": "Rio", + "canonical": "R" + }, + { + "tokens": [ + "R", + "Rua" + ], + "full": "Rua", + "canonical": "R", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "Rot", + "Rotunda" + ], + "full": "Rotunda", + "canonical": "Rot", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "S", + "São" + ], + "full": "São", + "canonical": "S" + }, + { + "tokens": [ + "S", + "Sr", + "Senhor" + ], + "full": "Senhor", + "canonical": "S" + }, + { + "tokens": [ + "S", + "Sra", + "Senhora" + ], + "full": "Senhora", + "canonical": "S" + }, + { + "tokens": [ + "Sarg", + "Sargento" + ], + "full": "Sargento", + "canonical": "Sarg" + }, + { + "tokens": [ + "Soc", + "Sociedade" + ], + "full": "Sociedade", + "canonical": "Soc" + }, + { + "tokens": [ + "Sq", + "Superquadra" + ], + "full": "Superquadra", + "canonical": "Sq" + }, + { + "tokens": [ + "St", + "Sto", + "Santo" + ], + "full": "Santo", + "canonical": "St" + }, + { + "tokens": [ + "Sta", + "Santa" + ], + "full": "Santa", + "canonical": "Sta" + }, + { + "tokens": [ + "Ten", + "Tenente" + ], + "full": "Tenente", + "canonical": "Ten" + }, + { + "tokens": [ + "Tr", + "Torre" + ], + "full": "Torre", + "canonical": "Tr" + }, + { + "tokens": [ + "Transv", + "Transversal" + ], + "full": "Transversal", + "canonical": "Transv" + }, + { + "tokens": [ + "Tv", + "Trv", + "Trav", + "Travessa" + ], + "full": "Travessa", + "canonical": "Tv" + }, + { + "tokens": [ + "Univ", + "Universidade" + ], + "full": "Universidade", + "canonical": "Univ" + }, + { + "tokens": [ + "Urb", + "Urbanização" + ], + "full": "Urbanização", + "canonical": "Urb" + }, + { + "tokens": [ + "via", + "v" + ], + "full": "via", + "canonical": "v", + "type": "way" + }, + { + "tokens": [ + "Visc", + "Visconde" + ], + "full": "Visconde", + "canonical": "Visc" + }, + { + "tokens": [ + "Vl", + "Vila" + ], + "full": "Vila", + "canonical": "Vl" + }, + { + "tokens": [ + "viela", + "ve" + ], + "full": "viela", + "canonical": "ve", + "type": "way" + }, + { + "tokens": [ + "Vv", + "Vivenda" + ], + "full": "Vivenda", + "canonical": "Vv" + }, + { + "tokens": [ + "Zn", + "Zona" + ], + "full": "Zona", + "canonical": "Zn" + }, + { + "tokens": [ + "CM", + "camara municipal", + "c. m." + ], + "full": "camara municipal", + "canonical": "CM", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/pt_20201214123937.json b/.history/tokens/pt_20201214123937.json new file mode 100644 index 0000000..d6c34ee --- /dev/null +++ b/.history/tokens/pt_20201214123937.json @@ -0,0 +1,1116 @@ +[ + { + "tokens": [ + "1", + "uma", + "um" + ], + "full": "uma", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "dois", + "duas" + ], + "full": "dois", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "três", + "tres" + ], + "full": "três", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "quatro" + ], + "full": "quatro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "cinco" + ], + "full": "cinco", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "seis" + ], + "full": "seis", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "sete" + ], + "full": "sete", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "oito" + ], + "full": "oito", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "dez" + ], + "full": "dez", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "onze" + ], + "full": "onze", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "doze" + ], + "full": "doze", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "treze" + ], + "full": "treze", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "catorze" + ], + "full": "catorze", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "quinze" + ], + "full": "quinze", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "dezesseis" + ], + "full": "dezesseis", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "dezessete" + ], + "full": "dezessete", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "dezoito" + ], + "full": "dezoito", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "dezenove" + ], + "full": "dezenove", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "vinte" + ], + "full": "vinte", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Alf", + "Alferes" + ], + "full": "Alferes", + "canonical": "Alf" + }, + { + "tokens": [ + "Alm", + "Almirante" + ], + "full": "Almirante", + "canonical": "Alm" + }, + { + "tokens": [ + "Arq", + "Arquitecto" + ], + "full": "Arquitecto", + "canonical": "Arq" + }, + { + "tokens": [ + "Ass", + "Associação" + ], + "full": "Associação", + "canonical": "Ass" + }, + { + "tokens": [ + "Av", + "Avenida" + ], + "full": "Avenida", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Az", + "Azinhaga" + ], + "full": "Azinhaga", + "canonical": "Az" + }, + { + "tokens": [ + "Br", + "Bairro" + ], + "full": "Bairro", + "canonical": "B" + }, + { + "tokens": [ + "Bc", + "Beco" + ], + "full": "Beco", + "canonical": "Bc", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Bl", + "Bloco" + ], + "full": "Bloco", + "canonical": "Bl" + }, + { + "tokens": [ + "Brg", + "Brigadeiro" + ], + "full": "Brigadeiro", + "canonical": "Brg" + }, + { + "tokens": [ + "C", + "Companhia" + ], + "full": "Companhia", + "canonical": "C" + }, + { + "tokens": [ + "Cac", + "Cacique" + ], + "full": "Cacique", + "canonical": "Cac" + }, + { + "tokens": [ + "Cam", + "Caminho" + ], + "full": "Caminho", + "canonical": "Cam", + "onlyLayers": ["address"], + "note": "translates to 'way'", + "type": "way" + }, + { + "tokens": [ + "Cap", + "Capitão" + ], + "full": "Capitão", + "canonical": "Cap" + }, + { + "tokens": [ + "Cc", + "Calçada" + ], + "full": "Calçada", + "canonical": "Cc" + }, + { + "tokens": [ + "Ccnh", + "Calçadinha" + ], + "full": "Calçadinha", + "canonical": "Ccnh" + }, + { + "tokens": [ + "Cel", + "Cor", + "Coronel" + ], + "full": "Coronel", + "canonical": "Cel" + }, + { + "tokens": [ + "Chac", + "Chácara", + "Chacara", + "Chácaras" + ], + "full": "Chácaras", + "canonical": "Chac" + }, + { + "tokens": [ + "Cmdt", + "Comandante" + ], + "full": "Comandante", + "canonical": "Cmdt" + }, + { + "tokens": [ + "Comend", + "Comendador" + ], + "full": "Comendador", + "canonical": "Comend" + }, + { + "tokens": [ + "Cj", + "Conjunto", + "Conjuntos" + ], + "full": "Conjuntos", + "canonical": "Cj" + }, + { + "tokens": [ + "Cons", + "Conselheiro" + ], + "full": "Conselheiro", + "canonical": "Cons" + }, + { + "tokens": [ + "Csl", + "Casal" + ], + "full": "Casal", + "canonical": "Csl" + }, + { + "tokens": [ + "Cv", + "Cave" + ], + "full": "Cave", + "canonical": "Cv" + }, + { + "tokens": [ + "da" + ], + "full": "da", + "canonical": "da", + "type": "determiner" + }, + { + "tokens": [ + "das" + ], + "full": "das", + "canonical": "das", + "type": "determiner" + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "dela" + ], + "full": "dela", + "canonical": "dela", + "type": "determiner" + }, + { + "tokens": [ + "Dep", + "Deputado" + ], + "full": "Deputado", + "canonical": "Dep" + }, + { + "tokens": [ + "do" + ], + "full": "do", + "canonical": "do", + "type": "determiner" + }, + { + "tokens": [ + "dos" + ], + "full": "dos", + "canonical": "dos", + "type": "determiner" + }, + { + "tokens": [ + "Dq", + "Duque" + ], + "full": "Duque", + "canonical": "Dq" + }, + { + "tokens": [ + "Dr", + "Doutor" + ], + "full": "Doutor", + "canonical": "Dr" + }, + { + "tokens": [ + "Dr", + "Doutora" + ], + "full": "Doutora", + "canonical": "Dr" + }, + { + "tokens": [ + "Dto", + "Direito" + ], + "full": "Direito", + "canonical": "Dto" + }, + { + "tokens": [ + "Ed", + "Edf", + "Edifício" + ], + "full": "Edifício", + "canonical": "Ed" + }, + { + "tokens": [ + "Emb", + "Embaixador" + ], + "full": "Embaixador", + "canonical": "Emb" + }, + { + "tokens": [ + "Enf", + "Enfo", + "Enfermeiro" + ], + "full": "Enfermeiro", + "canonical": "Enf" + }, + { + "tokens": [ + "Eng", + "Engenheiro" + ], + "full": "Engenheiro", + "canonical": "Eng" + }, + { + "tokens": [ + "Esc", + "Escadas" + ], + "full": "Escadas", + "canonical": "Esc" + }, + { + "tokens": [ + "Escnh", + "Escadinhas" + ], + "full": "Escadinhas", + "canonical": "Escnh" + }, + { + "tokens": [ + "Esq", + "Esquerdo" + ], + "full": "Esquerdo", + "canonical": "Esq" + }, + { + "tokens": [ + "Estr", + "Estrada" + ], + "full": "Estrada", + "canonical": "Estr", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "astrada marginal", + "estr marg" + ], + "full": "astrada marginal", + "canonical": "estr marg", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada municipal", + "em", + "e m", + "estr m" + ], + "full": "estrada municipal", + "canonical": "em", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada nacional", + "en", + "e n", + "estr n" + ], + "full": "estrada nacional", + "canonical": "en", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada regional", + "er", + "e r", + "estr r" + ], + "full": "estrada regional", + "canonical": "er", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Fr", + "Frei" + ], + "full": "Frei", + "canonical": "Fr" + }, + { + "tokens": [ + "Ft", + "Frente" + ], + "full": "Frente", + "canonical": "Ft" + }, + { + "tokens": [ + "Gal", + "Gen", + "General" + ], + "full": "General", + "canonical": "Gal" + }, + { + "tokens": [ + "Hab", + "Habitação" + ], + "full": "Habitação", + "canonical": "Hab" + }, + { + "tokens": [ + "Im", + "Ima", + "Irmã" + ], + "full": "Irmã", + "canonical": "Im" + }, + { + "tokens": [ + "Imo", + "Irmão" + ], + "full": "Irmão", + "canonical": "Imo" + }, + { + "tokens": [ + "Inf", + "Infante" + ], + "full": "Infante", + "canonical": "Inf" + }, + { + "tokens": [ + "Inst", + "Instituto" + ], + "full": "Instituto", + "canonical": "Inst" + }, + { + "tokens": [ + "Jr", + "Júnior" + ], + "full": "Júnior", + "canonical": "Jr" + }, + { + "tokens": [ + "Jrd", + "Jardim" + ], + "full": "Jardim", + "canonical": "Jrd" + }, + { + "tokens": [ + "Lda", + "Limitada" + ], + "full": "Limitada", + "canonical": "Lda" + }, + { + "tokens": [ + "Lg", + "Largo" + ], + "full": "Largo", + "canonical": "Lg" + }, + { + "tokens": [ + "Lg", + "Lug", + "Lugar" + ], + "full": "Lugar", + "canonical": "Lg" + }, + { + "tokens": [ + "Lj", + "Loja" + ], + "full": "Loja", + "canonical": "Lj" + }, + { + "tokens": [ + "Loteam", + "Loteamento" + ], + "full": "Loteamento", + "canonical": "Loteam" + }, + { + "tokens": [ + "Lt", + "Lote" + ], + "full": "Lote", + "canonical": "Lt" + }, + { + "tokens": [ + "Maj", + "Major" + ], + "full": "Major", + "canonical": "Maj" + }, + { + "tokens": [ + "Mal", + "Marechal" + ], + "full": "Marechal", + "canonical": "Mal" + }, + { + "tokens": [ + "Me", + "Madre" + ], + "full": "Madre", + "canonical": "Me" + }, + { + "tokens": [ + "Me", + "Mestre" + ], + "full": "Mestre", + "canonical": "Me" + }, + { + "tokens": [ + "Min", + "Ministério" + ], + "full": "Ministério", + "canonical": "Min" + }, + { + "tokens": [ + "Mons", + "Monsenhor" + ], + "full": "Monsenhor", + "canonical": "Mons" + }, + { + "tokens": [ + "Mq", + "Marquês" + ], + "full": "Marquês", + "canonical": "Mq" + }, + { + "tokens": [ + "Mto", + "Maestro" + ], + "full": "Maestro", + "canonical": "Mto" + }, + { + "tokens": [ + "N", + "Nossa" + ], + "full": "Nossa", + "canonical": "N" + }, + { + "tokens": [ + "Part", + "Particular" + ], + "full": "Particular", + "canonical": "Part" + }, + { + "tokens": [ + "Pav", + "Pavilhão" + ], + "full": "Pavilhão", + "canonical": "Pav" + }, + { + "tokens": [ + "Pc", + "Praça" + ], + "full": "Praça", + "canonical": "Pc" + }, + { + "tokens": [ + "Pct", + "Praceta" + ], + "full": "Praceta", + "canonical": "Pct" + }, + { + "tokens": [ + "Pe", + "Padre" + ], + "full": "Padre", + "canonical": "Pe" + }, + { + "tokens": [ + "Pq", + "Parque" + ], + "full": "Parque", + "canonical": "Pq" + }, + { + "tokens": [ + "Presid", + "Presidente" + ], + "full": "Presidente", + "canonical": "Presid" + }, + { + "tokens": [ + "Prof", + "Professor" + ], + "full": "Professor", + "canonical": "Prof" + }, + { + "tokens": [ + "Prolng", + "Prolongamento" + ], + "full": "Prolongamento", + "canonical": "Prolng" + }, + { + "tokens": [ + "Pto", + "Pátio" + ], + "full": "Pátio", + "canonical": "Pto" + }, + { + "tokens": [ + "Q", + "Qd", + "Qr", + "Quadra" + ], + "full": "Quadra", + "canonical": "Q" + }, + { + "tokens": [ + "Qta", + "Quinta" + ], + "full": "Quinta", + "canonical": "Qta" + }, + { + "tokens": [ + "R", + "Rio" + ], + "full": "Rio", + "canonical": "R" + }, + { + "tokens": [ + "R", + "Rua" + ], + "full": "Rua", + "canonical": "R", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "Rot", + "Rotunda" + ], + "full": "Rotunda", + "canonical": "Rot", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "S", + "São" + ], + "full": "São", + "canonical": "S" + }, + { + "tokens": [ + "S", + "Sr", + "Senhor" + ], + "full": "Senhor", + "canonical": "S" + }, + { + "tokens": [ + "S", + "Sra", + "Senhora" + ], + "full": "Senhora", + "canonical": "S" + }, + { + "tokens": [ + "Sarg", + "Sargento" + ], + "full": "Sargento", + "canonical": "Sarg" + }, + { + "tokens": [ + "Soc", + "Sociedade" + ], + "full": "Sociedade", + "canonical": "Soc" + }, + { + "tokens": [ + "Sq", + "Superquadra" + ], + "full": "Superquadra", + "canonical": "Sq" + }, + { + "tokens": [ + "St", + "Sto", + "Santo" + ], + "full": "Santo", + "canonical": "St" + }, + { + "tokens": [ + "Sta", + "Santa" + ], + "full": "Santa", + "canonical": "Sta" + }, + { + "tokens": [ + "Ten", + "Tenente" + ], + "full": "Tenente", + "canonical": "Ten" + }, + { + "tokens": [ + "Tr", + "Torre" + ], + "full": "Torre", + "canonical": "Tr" + }, + { + "tokens": [ + "Transv", + "Transversal" + ], + "full": "Transversal", + "canonical": "Transv" + }, + { + "tokens": [ + "Tv", + "Trv", + "Trav", + "Travessa" + ], + "full": "Travessa", + "canonical": "Tv" + }, + { + "tokens": [ + "Univ", + "Universidade" + ], + "full": "Universidade", + "canonical": "Univ" + }, + { + "tokens": [ + "Urb", + "Urbanização" + ], + "full": "Urbanização", + "canonical": "Urb" + }, + { + "tokens": [ + "via", + "v" + ], + "full": "via", + "canonical": "v", + "type": "way" + }, + { + "tokens": [ + "Visc", + "Visconde" + ], + "full": "Visconde", + "canonical": "Visc" + }, + { + "tokens": [ + "Vl", + "Vila" + ], + "full": "Vila", + "canonical": "Vl" + }, + { + "tokens": [ + "viela", + "ve" + ], + "full": "viela", + "canonical": "ve", + "type": "way" + }, + { + "tokens": [ + "Vv", + "Vivenda" + ], + "full": "Vivenda", + "canonical": "Vv" + }, + { + "tokens": [ + "Zn", + "Zona" + ], + "full": "Zona", + "canonical": "Zn" + }, + { + "tokens": [ + "CM", + "camara municipal", + "c. m." + ], + "full": "camara municipal", + "canonical": "CM", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/pt_20201214123942.json b/.history/tokens/pt_20201214123942.json new file mode 100644 index 0000000..934d4c0 --- /dev/null +++ b/.history/tokens/pt_20201214123942.json @@ -0,0 +1,1108 @@ +[ + { + "tokens": [ + "1", + "uma", + "um" + ], + "full": "uma", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "dois", + "duas" + ], + "full": "dois", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "três", + "tres" + ], + "full": "três", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "quatro" + ], + "full": "quatro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "cinco" + ], + "full": "cinco", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "seis" + ], + "full": "seis", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "sete" + ], + "full": "sete", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "oito" + ], + "full": "oito", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "dez" + ], + "full": "dez", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "onze" + ], + "full": "onze", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "doze" + ], + "full": "doze", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "treze" + ], + "full": "treze", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "catorze" + ], + "full": "catorze", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "quinze" + ], + "full": "quinze", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "dezesseis" + ], + "full": "dezesseis", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "dezessete" + ], + "full": "dezessete", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "dezoito" + ], + "full": "dezoito", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "dezenove" + ], + "full": "dezenove", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "vinte" + ], + "full": "vinte", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Alf", + "Alferes" + ], + "full": "Alferes", + "canonical": "Alf" + }, + { + "tokens": [ + "Alm", + "Almirante" + ], + "full": "Almirante", + "canonical": "Alm" + }, + { + "tokens": [ + "Arq", + "Arquitecto" + ], + "full": "Arquitecto", + "canonical": "Arq" + }, + { + "tokens": [ + "Ass", + "Associação" + ], + "full": "Associação", + "canonical": "Ass" + }, + { + "tokens": [ + "Av", + "Avenida" + ], + "full": "Avenida", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Az", + "Azinhaga" + ], + "full": "Azinhaga", + "canonical": "Az" + }, + { + "tokens": [ + "Br", + "Bairro" + ], + "full": "Bairro", + "canonical": "B" + }, + { + "tokens": [ + "Bc", + "Beco" + ], + "full": "Beco", + "canonical": "Bc", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Bl", + "Bloco" + ], + "full": "Bloco", + "canonical": "Bl" + }, + { + "tokens": [ + "Brg", + "Brigadeiro" + ], + "full": "Brigadeiro", + "canonical": "Brg" + }, + { + "tokens": [ + "Cac", + "Cacique" + ], + "full": "Cacique", + "canonical": "Cac" + }, + { + "tokens": [ + "Cam", + "Caminho" + ], + "full": "Caminho", + "canonical": "Cam", + "onlyLayers": ["address"], + "note": "translates to 'way'", + "type": "way" + }, + { + "tokens": [ + "Cap", + "Capitão" + ], + "full": "Capitão", + "canonical": "Cap" + }, + { + "tokens": [ + "Cc", + "Calçada" + ], + "full": "Calçada", + "canonical": "Cc" + }, + { + "tokens": [ + "Ccnh", + "Calçadinha" + ], + "full": "Calçadinha", + "canonical": "Ccnh" + }, + { + "tokens": [ + "Cel", + "Cor", + "Coronel" + ], + "full": "Coronel", + "canonical": "Cel" + }, + { + "tokens": [ + "Chac", + "Chácara", + "Chacara", + "Chácaras" + ], + "full": "Chácaras", + "canonical": "Chac" + }, + { + "tokens": [ + "Cmdt", + "Comandante" + ], + "full": "Comandante", + "canonical": "Cmdt" + }, + { + "tokens": [ + "Comend", + "Comendador" + ], + "full": "Comendador", + "canonical": "Comend" + }, + { + "tokens": [ + "Cj", + "Conjunto", + "Conjuntos" + ], + "full": "Conjuntos", + "canonical": "Cj" + }, + { + "tokens": [ + "Cons", + "Conselheiro" + ], + "full": "Conselheiro", + "canonical": "Cons" + }, + { + "tokens": [ + "Csl", + "Casal" + ], + "full": "Casal", + "canonical": "Csl" + }, + { + "tokens": [ + "Cv", + "Cave" + ], + "full": "Cave", + "canonical": "Cv" + }, + { + "tokens": [ + "da" + ], + "full": "da", + "canonical": "da", + "type": "determiner" + }, + { + "tokens": [ + "das" + ], + "full": "das", + "canonical": "das", + "type": "determiner" + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "dela" + ], + "full": "dela", + "canonical": "dela", + "type": "determiner" + }, + { + "tokens": [ + "Dep", + "Deputado" + ], + "full": "Deputado", + "canonical": "Dep" + }, + { + "tokens": [ + "do" + ], + "full": "do", + "canonical": "do", + "type": "determiner" + }, + { + "tokens": [ + "dos" + ], + "full": "dos", + "canonical": "dos", + "type": "determiner" + }, + { + "tokens": [ + "Dq", + "Duque" + ], + "full": "Duque", + "canonical": "Dq" + }, + { + "tokens": [ + "Dr", + "Doutor" + ], + "full": "Doutor", + "canonical": "Dr" + }, + { + "tokens": [ + "Dr", + "Doutora" + ], + "full": "Doutora", + "canonical": "Dr" + }, + { + "tokens": [ + "Dto", + "Direito" + ], + "full": "Direito", + "canonical": "Dto" + }, + { + "tokens": [ + "Ed", + "Edf", + "Edifício" + ], + "full": "Edifício", + "canonical": "Ed" + }, + { + "tokens": [ + "Emb", + "Embaixador" + ], + "full": "Embaixador", + "canonical": "Emb" + }, + { + "tokens": [ + "Enf", + "Enfo", + "Enfermeiro" + ], + "full": "Enfermeiro", + "canonical": "Enf" + }, + { + "tokens": [ + "Eng", + "Engenheiro" + ], + "full": "Engenheiro", + "canonical": "Eng" + }, + { + "tokens": [ + "Esc", + "Escadas" + ], + "full": "Escadas", + "canonical": "Esc" + }, + { + "tokens": [ + "Escnh", + "Escadinhas" + ], + "full": "Escadinhas", + "canonical": "Escnh" + }, + { + "tokens": [ + "Esq", + "Esquerdo" + ], + "full": "Esquerdo", + "canonical": "Esq" + }, + { + "tokens": [ + "Estr", + "Estrada" + ], + "full": "Estrada", + "canonical": "Estr", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "astrada marginal", + "estr marg" + ], + "full": "astrada marginal", + "canonical": "estr marg", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada municipal", + "em", + "e m", + "estr m" + ], + "full": "estrada municipal", + "canonical": "em", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada nacional", + "en", + "e n", + "estr n" + ], + "full": "estrada nacional", + "canonical": "en", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada regional", + "er", + "e r", + "estr r" + ], + "full": "estrada regional", + "canonical": "er", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Fr", + "Frei" + ], + "full": "Frei", + "canonical": "Fr" + }, + { + "tokens": [ + "Ft", + "Frente" + ], + "full": "Frente", + "canonical": "Ft" + }, + { + "tokens": [ + "Gal", + "Gen", + "General" + ], + "full": "General", + "canonical": "Gal" + }, + { + "tokens": [ + "Hab", + "Habitação" + ], + "full": "Habitação", + "canonical": "Hab" + }, + { + "tokens": [ + "Im", + "Ima", + "Irmã" + ], + "full": "Irmã", + "canonical": "Im" + }, + { + "tokens": [ + "Imo", + "Irmão" + ], + "full": "Irmão", + "canonical": "Imo" + }, + { + "tokens": [ + "Inf", + "Infante" + ], + "full": "Infante", + "canonical": "Inf" + }, + { + "tokens": [ + "Inst", + "Instituto" + ], + "full": "Instituto", + "canonical": "Inst" + }, + { + "tokens": [ + "Jr", + "Júnior" + ], + "full": "Júnior", + "canonical": "Jr" + }, + { + "tokens": [ + "Jrd", + "Jardim" + ], + "full": "Jardim", + "canonical": "Jrd" + }, + { + "tokens": [ + "Lda", + "Limitada" + ], + "full": "Limitada", + "canonical": "Lda" + }, + { + "tokens": [ + "Lg", + "Largo" + ], + "full": "Largo", + "canonical": "Lg" + }, + { + "tokens": [ + "Lg", + "Lug", + "Lugar" + ], + "full": "Lugar", + "canonical": "Lg" + }, + { + "tokens": [ + "Lj", + "Loja" + ], + "full": "Loja", + "canonical": "Lj" + }, + { + "tokens": [ + "Loteam", + "Loteamento" + ], + "full": "Loteamento", + "canonical": "Loteam" + }, + { + "tokens": [ + "Lt", + "Lote" + ], + "full": "Lote", + "canonical": "Lt" + }, + { + "tokens": [ + "Maj", + "Major" + ], + "full": "Major", + "canonical": "Maj" + }, + { + "tokens": [ + "Mal", + "Marechal" + ], + "full": "Marechal", + "canonical": "Mal" + }, + { + "tokens": [ + "Me", + "Madre" + ], + "full": "Madre", + "canonical": "Me" + }, + { + "tokens": [ + "Me", + "Mestre" + ], + "full": "Mestre", + "canonical": "Me" + }, + { + "tokens": [ + "Min", + "Ministério" + ], + "full": "Ministério", + "canonical": "Min" + }, + { + "tokens": [ + "Mons", + "Monsenhor" + ], + "full": "Monsenhor", + "canonical": "Mons" + }, + { + "tokens": [ + "Mq", + "Marquês" + ], + "full": "Marquês", + "canonical": "Mq" + }, + { + "tokens": [ + "Mto", + "Maestro" + ], + "full": "Maestro", + "canonical": "Mto" + }, + { + "tokens": [ + "N", + "Nossa" + ], + "full": "Nossa", + "canonical": "N" + }, + { + "tokens": [ + "Part", + "Particular" + ], + "full": "Particular", + "canonical": "Part" + }, + { + "tokens": [ + "Pav", + "Pavilhão" + ], + "full": "Pavilhão", + "canonical": "Pav" + }, + { + "tokens": [ + "Pc", + "Praça" + ], + "full": "Praça", + "canonical": "Pc" + }, + { + "tokens": [ + "Pct", + "Praceta" + ], + "full": "Praceta", + "canonical": "Pct" + }, + { + "tokens": [ + "Pe", + "Padre" + ], + "full": "Padre", + "canonical": "Pe" + }, + { + "tokens": [ + "Pq", + "Parque" + ], + "full": "Parque", + "canonical": "Pq" + }, + { + "tokens": [ + "Presid", + "Presidente" + ], + "full": "Presidente", + "canonical": "Presid" + }, + { + "tokens": [ + "Prof", + "Professor" + ], + "full": "Professor", + "canonical": "Prof" + }, + { + "tokens": [ + "Prolng", + "Prolongamento" + ], + "full": "Prolongamento", + "canonical": "Prolng" + }, + { + "tokens": [ + "Pto", + "Pátio" + ], + "full": "Pátio", + "canonical": "Pto" + }, + { + "tokens": [ + "Q", + "Qd", + "Qr", + "Quadra" + ], + "full": "Quadra", + "canonical": "Q" + }, + { + "tokens": [ + "Qta", + "Quinta" + ], + "full": "Quinta", + "canonical": "Qta" + }, + { + "tokens": [ + "R", + "Rio" + ], + "full": "Rio", + "canonical": "R" + }, + { + "tokens": [ + "R", + "Rua" + ], + "full": "Rua", + "canonical": "R", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "Rot", + "Rotunda" + ], + "full": "Rotunda", + "canonical": "Rot", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "S", + "São" + ], + "full": "São", + "canonical": "S" + }, + { + "tokens": [ + "S", + "Sr", + "Senhor" + ], + "full": "Senhor", + "canonical": "S" + }, + { + "tokens": [ + "S", + "Sra", + "Senhora" + ], + "full": "Senhora", + "canonical": "S" + }, + { + "tokens": [ + "Sarg", + "Sargento" + ], + "full": "Sargento", + "canonical": "Sarg" + }, + { + "tokens": [ + "Soc", + "Sociedade" + ], + "full": "Sociedade", + "canonical": "Soc" + }, + { + "tokens": [ + "Sq", + "Superquadra" + ], + "full": "Superquadra", + "canonical": "Sq" + }, + { + "tokens": [ + "St", + "Sto", + "Santo" + ], + "full": "Santo", + "canonical": "St" + }, + { + "tokens": [ + "Sta", + "Santa" + ], + "full": "Santa", + "canonical": "Sta" + }, + { + "tokens": [ + "Ten", + "Tenente" + ], + "full": "Tenente", + "canonical": "Ten" + }, + { + "tokens": [ + "Tr", + "Torre" + ], + "full": "Torre", + "canonical": "Tr" + }, + { + "tokens": [ + "Transv", + "Transversal" + ], + "full": "Transversal", + "canonical": "Transv" + }, + { + "tokens": [ + "Tv", + "Trv", + "Trav", + "Travessa" + ], + "full": "Travessa", + "canonical": "Tv" + }, + { + "tokens": [ + "Univ", + "Universidade" + ], + "full": "Universidade", + "canonical": "Univ" + }, + { + "tokens": [ + "Urb", + "Urbanização" + ], + "full": "Urbanização", + "canonical": "Urb" + }, + { + "tokens": [ + "via", + "v" + ], + "full": "via", + "canonical": "v", + "type": "way" + }, + { + "tokens": [ + "Visc", + "Visconde" + ], + "full": "Visconde", + "canonical": "Visc" + }, + { + "tokens": [ + "Vl", + "Vila" + ], + "full": "Vila", + "canonical": "Vl" + }, + { + "tokens": [ + "viela", + "ve" + ], + "full": "viela", + "canonical": "ve", + "type": "way" + }, + { + "tokens": [ + "Vv", + "Vivenda" + ], + "full": "Vivenda", + "canonical": "Vv" + }, + { + "tokens": [ + "Zn", + "Zona" + ], + "full": "Zona", + "canonical": "Zn" + }, + { + "tokens": [ + "CM", + "camara municipal", + "c. m." + ], + "full": "camara municipal", + "canonical": "CM", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/pt_20201214124016.json b/.history/tokens/pt_20201214124016.json new file mode 100644 index 0000000..83a6ab6 --- /dev/null +++ b/.history/tokens/pt_20201214124016.json @@ -0,0 +1,1100 @@ +[ + { + "tokens": [ + "1", + "uma", + "um" + ], + "full": "uma", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "dois", + "duas" + ], + "full": "dois", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "três", + "tres" + ], + "full": "três", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "quatro" + ], + "full": "quatro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "cinco" + ], + "full": "cinco", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "seis" + ], + "full": "seis", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "sete" + ], + "full": "sete", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "oito" + ], + "full": "oito", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "dez" + ], + "full": "dez", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "onze" + ], + "full": "onze", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "doze" + ], + "full": "doze", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "treze" + ], + "full": "treze", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "catorze" + ], + "full": "catorze", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "quinze" + ], + "full": "quinze", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "dezesseis" + ], + "full": "dezesseis", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "dezessete" + ], + "full": "dezessete", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "dezoito" + ], + "full": "dezoito", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "dezenove" + ], + "full": "dezenove", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "vinte" + ], + "full": "vinte", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Alf", + "Alferes" + ], + "full": "Alferes", + "canonical": "Alf" + }, + { + "tokens": [ + "Alm", + "Almirante" + ], + "full": "Almirante", + "canonical": "Alm" + }, + { + "tokens": [ + "Arq", + "Arquitecto" + ], + "full": "Arquitecto", + "canonical": "Arq" + }, + { + "tokens": [ + "Ass", + "Associação" + ], + "full": "Associação", + "canonical": "Ass" + }, + { + "tokens": [ + "Av", + "Avenida" + ], + "full": "Avenida", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Az", + "Azinhaga" + ], + "full": "Azinhaga", + "canonical": "Az" + }, + { + "tokens": [ + "Br", + "Bairro" + ], + "full": "Bairro", + "canonical": "B" + }, + { + "tokens": [ + "Bc", + "Beco" + ], + "full": "Beco", + "canonical": "Bc", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Bl", + "Bloco" + ], + "full": "Bloco", + "canonical": "Bl" + }, + { + "tokens": [ + "Brg", + "Brigadeiro" + ], + "full": "Brigadeiro", + "canonical": "Brg" + }, + { + "tokens": [ + "Cac", + "Cacique" + ], + "full": "Cacique", + "canonical": "Cac" + }, + { + "tokens": [ + "Cam", + "Caminho" + ], + "full": "Caminho", + "canonical": "Cam", + "onlyLayers": ["address"], + "note": "translates to 'way'", + "type": "way" + }, + { + "tokens": [ + "Cap", + "Capitão" + ], + "full": "Capitão", + "canonical": "Cap" + }, + { + "tokens": [ + "Cc", + "Calçada" + ], + "full": "Calçada", + "canonical": "Cc" + }, + { + "tokens": [ + "Ccnh", + "Calçadinha" + ], + "full": "Calçadinha", + "canonical": "Ccnh" + }, + { + "tokens": [ + "Cel", + "Cor", + "Coronel" + ], + "full": "Coronel", + "canonical": "Cel" + }, + { + "tokens": [ + "Chac", + "Chácara", + "Chacara", + "Chácaras" + ], + "full": "Chácaras", + "canonical": "Chac" + }, + { + "tokens": [ + "Cmdt", + "Comandante" + ], + "full": "Comandante", + "canonical": "Cmdt" + }, + { + "tokens": [ + "Comend", + "Comendador" + ], + "full": "Comendador", + "canonical": "Comend" + }, + { + "tokens": [ + "Cj", + "Conjunto", + "Conjuntos" + ], + "full": "Conjuntos", + "canonical": "Cj" + }, + { + "tokens": [ + "Cons", + "Conselheiro" + ], + "full": "Conselheiro", + "canonical": "Cons" + }, + { + "tokens": [ + "Csl", + "Casal" + ], + "full": "Casal", + "canonical": "Csl" + }, + { + "tokens": [ + "Cv", + "Cave" + ], + "full": "Cave", + "canonical": "Cv" + }, + { + "tokens": [ + "da" + ], + "full": "da", + "canonical": "da", + "type": "determiner" + }, + { + "tokens": [ + "das" + ], + "full": "das", + "canonical": "das", + "type": "determiner" + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "dela" + ], + "full": "dela", + "canonical": "dela", + "type": "determiner" + }, + { + "tokens": [ + "Dep", + "Deputado" + ], + "full": "Deputado", + "canonical": "Dep" + }, + { + "tokens": [ + "do" + ], + "full": "do", + "canonical": "do", + "type": "determiner" + }, + { + "tokens": [ + "dos" + ], + "full": "dos", + "canonical": "dos", + "type": "determiner" + }, + { + "tokens": [ + "Dq", + "Duque" + ], + "full": "Duque", + "canonical": "Dq" + }, + { + "tokens": [ + "Dr", + "Doutor" + ], + "full": "Doutor", + "canonical": "Dr" + }, + { + "tokens": [ + "Dr", + "Doutora" + ], + "full": "Doutora", + "canonical": "Dr" + }, + { + "tokens": [ + "Dto", + "Direito" + ], + "full": "Direito", + "canonical": "Dto" + }, + { + "tokens": [ + "Ed", + "Edf", + "Edifício" + ], + "full": "Edifício", + "canonical": "Ed" + }, + { + "tokens": [ + "Emb", + "Embaixador" + ], + "full": "Embaixador", + "canonical": "Emb" + }, + { + "tokens": [ + "Enf", + "Enfo", + "Enfermeiro" + ], + "full": "Enfermeiro", + "canonical": "Enf" + }, + { + "tokens": [ + "Eng", + "Engenheiro" + ], + "full": "Engenheiro", + "canonical": "Eng" + }, + { + "tokens": [ + "Esc", + "Escadas" + ], + "full": "Escadas", + "canonical": "Esc" + }, + { + "tokens": [ + "Escnh", + "Escadinhas" + ], + "full": "Escadinhas", + "canonical": "Escnh" + }, + { + "tokens": [ + "Esq", + "Esquerdo" + ], + "full": "Esquerdo", + "canonical": "Esq" + }, + { + "tokens": [ + "Estr", + "Estrada" + ], + "full": "Estrada", + "canonical": "Estr", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "astrada marginal", + "estr marg" + ], + "full": "astrada marginal", + "canonical": "estr marg", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada municipal", + "em", + "e m", + "estr m" + ], + "full": "estrada municipal", + "canonical": "em", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada nacional", + "en", + "e n", + "estr n" + ], + "full": "estrada nacional", + "canonical": "en", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada regional", + "er", + "e r", + "estr r" + ], + "full": "estrada regional", + "canonical": "er", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Fr", + "Frei" + ], + "full": "Frei", + "canonical": "Fr" + }, + { + "tokens": [ + "Ft", + "Frente" + ], + "full": "Frente", + "canonical": "Ft" + }, + { + "tokens": [ + "Gal", + "Gen", + "General" + ], + "full": "General", + "canonical": "Gal" + }, + { + "tokens": [ + "Hab", + "Habitação" + ], + "full": "Habitação", + "canonical": "Hab" + }, + { + "tokens": [ + "Im", + "Ima", + "Irmã" + ], + "full": "Irmã", + "canonical": "Im" + }, + { + "tokens": [ + "Imo", + "Irmão" + ], + "full": "Irmão", + "canonical": "Imo" + }, + { + "tokens": [ + "Inf", + "Infante" + ], + "full": "Infante", + "canonical": "Inf" + }, + { + "tokens": [ + "Inst", + "Instituto" + ], + "full": "Instituto", + "canonical": "Inst" + }, + { + "tokens": [ + "Jr", + "Júnior" + ], + "full": "Júnior", + "canonical": "Jr" + }, + { + "tokens": [ + "Jrd", + "Jardim" + ], + "full": "Jardim", + "canonical": "Jrd" + }, + { + "tokens": [ + "Lda", + "Limitada" + ], + "full": "Limitada", + "canonical": "Lda" + }, + { + "tokens": [ + "Lg", + "Largo" + ], + "full": "Largo", + "canonical": "Lg" + }, + { + "tokens": [ + "Lg", + "Lug", + "Lugar" + ], + "full": "Lugar", + "canonical": "Lg" + }, + { + "tokens": [ + "Lj", + "Loja" + ], + "full": "Loja", + "canonical": "Lj" + }, + { + "tokens": [ + "Loteam", + "Loteamento" + ], + "full": "Loteamento", + "canonical": "Loteam" + }, + { + "tokens": [ + "Lt", + "Lote" + ], + "full": "Lote", + "canonical": "Lt" + }, + { + "tokens": [ + "Maj", + "Major" + ], + "full": "Major", + "canonical": "Maj" + }, + { + "tokens": [ + "Mal", + "Marechal" + ], + "full": "Marechal", + "canonical": "Mal" + }, + { + "tokens": [ + "Me", + "Madre" + ], + "full": "Madre", + "canonical": "Me" + }, + { + "tokens": [ + "Me", + "Mestre" + ], + "full": "Mestre", + "canonical": "Me" + }, + { + "tokens": [ + "Min", + "Ministério" + ], + "full": "Ministério", + "canonical": "Min" + }, + { + "tokens": [ + "Mons", + "Monsenhor" + ], + "full": "Monsenhor", + "canonical": "Mons" + }, + { + "tokens": [ + "Mq", + "Marquês" + ], + "full": "Marquês", + "canonical": "Mq" + }, + { + "tokens": [ + "Mto", + "Maestro" + ], + "full": "Maestro", + "canonical": "Mto" + }, + { + "tokens": [ + "Part", + "Particular" + ], + "full": "Particular", + "canonical": "Part" + }, + { + "tokens": [ + "Pav", + "Pavilhão" + ], + "full": "Pavilhão", + "canonical": "Pav" + }, + { + "tokens": [ + "Pc", + "Praça" + ], + "full": "Praça", + "canonical": "Pc" + }, + { + "tokens": [ + "Pct", + "Praceta" + ], + "full": "Praceta", + "canonical": "Pct" + }, + { + "tokens": [ + "Pe", + "Padre" + ], + "full": "Padre", + "canonical": "Pe" + }, + { + "tokens": [ + "Pq", + "Parque" + ], + "full": "Parque", + "canonical": "Pq" + }, + { + "tokens": [ + "Presid", + "Presidente" + ], + "full": "Presidente", + "canonical": "Presid" + }, + { + "tokens": [ + "Prof", + "Professor" + ], + "full": "Professor", + "canonical": "Prof" + }, + { + "tokens": [ + "Prolng", + "Prolongamento" + ], + "full": "Prolongamento", + "canonical": "Prolng" + }, + { + "tokens": [ + "Pto", + "Pátio" + ], + "full": "Pátio", + "canonical": "Pto" + }, + { + "tokens": [ + "Q", + "Qd", + "Qr", + "Quadra" + ], + "full": "Quadra", + "canonical": "Q" + }, + { + "tokens": [ + "Qta", + "Quinta" + ], + "full": "Quinta", + "canonical": "Qta" + }, + { + "tokens": [ + "R", + "Rio" + ], + "full": "Rio", + "canonical": "R" + }, + { + "tokens": [ + "R", + "Rua" + ], + "full": "Rua", + "canonical": "R", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "Rot", + "Rotunda" + ], + "full": "Rotunda", + "canonical": "Rot", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "S", + "São" + ], + "full": "São", + "canonical": "S" + }, + { + "tokens": [ + "S", + "Sr", + "Senhor" + ], + "full": "Senhor", + "canonical": "S" + }, + { + "tokens": [ + "S", + "Sra", + "Senhora" + ], + "full": "Senhora", + "canonical": "S" + }, + { + "tokens": [ + "Sarg", + "Sargento" + ], + "full": "Sargento", + "canonical": "Sarg" + }, + { + "tokens": [ + "Soc", + "Sociedade" + ], + "full": "Sociedade", + "canonical": "Soc" + }, + { + "tokens": [ + "Sq", + "Superquadra" + ], + "full": "Superquadra", + "canonical": "Sq" + }, + { + "tokens": [ + "St", + "Sto", + "Santo" + ], + "full": "Santo", + "canonical": "St" + }, + { + "tokens": [ + "Sta", + "Santa" + ], + "full": "Santa", + "canonical": "Sta" + }, + { + "tokens": [ + "Ten", + "Tenente" + ], + "full": "Tenente", + "canonical": "Ten" + }, + { + "tokens": [ + "Tr", + "Torre" + ], + "full": "Torre", + "canonical": "Tr" + }, + { + "tokens": [ + "Transv", + "Transversal" + ], + "full": "Transversal", + "canonical": "Transv" + }, + { + "tokens": [ + "Tv", + "Trv", + "Trav", + "Travessa" + ], + "full": "Travessa", + "canonical": "Tv" + }, + { + "tokens": [ + "Univ", + "Universidade" + ], + "full": "Universidade", + "canonical": "Univ" + }, + { + "tokens": [ + "Urb", + "Urbanização" + ], + "full": "Urbanização", + "canonical": "Urb" + }, + { + "tokens": [ + "via", + "v" + ], + "full": "via", + "canonical": "v", + "type": "way" + }, + { + "tokens": [ + "Visc", + "Visconde" + ], + "full": "Visconde", + "canonical": "Visc" + }, + { + "tokens": [ + "Vl", + "Vila" + ], + "full": "Vila", + "canonical": "Vl" + }, + { + "tokens": [ + "viela", + "ve" + ], + "full": "viela", + "canonical": "ve", + "type": "way" + }, + { + "tokens": [ + "Vv", + "Vivenda" + ], + "full": "Vivenda", + "canonical": "Vv" + }, + { + "tokens": [ + "Zn", + "Zona" + ], + "full": "Zona", + "canonical": "Zn" + }, + { + "tokens": [ + "CM", + "camara municipal", + "c. m." + ], + "full": "camara municipal", + "canonical": "CM", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/pt_20201214124023.json b/.history/tokens/pt_20201214124023.json new file mode 100644 index 0000000..8928c69 --- /dev/null +++ b/.history/tokens/pt_20201214124023.json @@ -0,0 +1,1099 @@ +[ + { + "tokens": [ + "1", + "uma", + "um" + ], + "full": "uma", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "dois", + "duas" + ], + "full": "dois", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "três", + "tres" + ], + "full": "três", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "quatro" + ], + "full": "quatro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "cinco" + ], + "full": "cinco", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "seis" + ], + "full": "seis", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "sete" + ], + "full": "sete", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "oito" + ], + "full": "oito", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "dez" + ], + "full": "dez", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "onze" + ], + "full": "onze", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "doze" + ], + "full": "doze", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "treze" + ], + "full": "treze", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "catorze" + ], + "full": "catorze", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "quinze" + ], + "full": "quinze", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "dezesseis" + ], + "full": "dezesseis", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "dezessete" + ], + "full": "dezessete", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "dezoito" + ], + "full": "dezoito", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "dezenove" + ], + "full": "dezenove", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "vinte" + ], + "full": "vinte", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Alf", + "Alferes" + ], + "full": "Alferes", + "canonical": "Alf" + }, + { + "tokens": [ + "Alm", + "Almirante" + ], + "full": "Almirante", + "canonical": "Alm" + }, + { + "tokens": [ + "Arq", + "Arquitecto" + ], + "full": "Arquitecto", + "canonical": "Arq" + }, + { + "tokens": [ + "Ass", + "Associação" + ], + "full": "Associação", + "canonical": "Ass" + }, + { + "tokens": [ + "Av", + "Avenida" + ], + "full": "Avenida", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Az", + "Azinhaga" + ], + "full": "Azinhaga", + "canonical": "Az" + }, + { + "tokens": [ + "Br", + "Bairro" + ], + "full": "Bairro", + "canonical": "B" + }, + { + "tokens": [ + "Bc", + "Beco" + ], + "full": "Beco", + "canonical": "Bc", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Bl", + "Bloco" + ], + "full": "Bloco", + "canonical": "Bl" + }, + { + "tokens": [ + "Brg", + "Brigadeiro" + ], + "full": "Brigadeiro", + "canonical": "Brg" + }, + { + "tokens": [ + "Cac", + "Cacique" + ], + "full": "Cacique", + "canonical": "Cac" + }, + { + "tokens": [ + "Cam", + "Caminho" + ], + "full": "Caminho", + "canonical": "Cam", + "onlyLayers": ["address"], + "note": "translates to 'way'", + "type": "way" + }, + { + "tokens": [ + "Cap", + "Capitão" + ], + "full": "Capitão", + "canonical": "Cap" + }, + { + "tokens": [ + "Cc", + "Calçada" + ], + "full": "Calçada", + "canonical": "Cc" + }, + { + "tokens": [ + "Ccnh", + "Calçadinha" + ], + "full": "Calçadinha", + "canonical": "Ccnh" + }, + { + "tokens": [ + "Cel", + "Cor", + "Coronel" + ], + "full": "Coronel", + "canonical": "Cel" + }, + { + "tokens": [ + "Chac", + "Chácara", + "Chacara", + "Chácaras" + ], + "full": "Chácaras", + "canonical": "Chac" + }, + { + "tokens": [ + "Cmdt", + "Comandante" + ], + "full": "Comandante", + "canonical": "Cmdt" + }, + { + "tokens": [ + "Comend", + "Comendador" + ], + "full": "Comendador", + "canonical": "Comend" + }, + { + "tokens": [ + "Cj", + "Conjunto", + "Conjuntos" + ], + "full": "Conjuntos", + "canonical": "Cj" + }, + { + "tokens": [ + "Cons", + "Conselheiro" + ], + "full": "Conselheiro", + "canonical": "Cons" + }, + { + "tokens": [ + "Csl", + "Casal" + ], + "full": "Casal", + "canonical": "Csl" + }, + { + "tokens": [ + "Cv", + "Cave" + ], + "full": "Cave", + "canonical": "Cv" + }, + { + "tokens": [ + "da" + ], + "full": "da", + "canonical": "da", + "type": "determiner" + }, + { + "tokens": [ + "das" + ], + "full": "das", + "canonical": "das", + "type": "determiner" + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "dela" + ], + "full": "dela", + "canonical": "dela", + "type": "determiner" + }, + { + "tokens": [ + "Dep", + "Deputado" + ], + "full": "Deputado", + "canonical": "Dep" + }, + { + "tokens": [ + "do" + ], + "full": "do", + "canonical": "do", + "type": "determiner" + }, + { + "tokens": [ + "dos" + ], + "full": "dos", + "canonical": "dos", + "type": "determiner" + }, + { + "tokens": [ + "Dq", + "Duque" + ], + "full": "Duque", + "canonical": "Dq" + }, + { + "tokens": [ + "Dr", + "Doutor" + ], + "full": "Doutor", + "canonical": "Dr" + }, + { + "tokens": [ + "Dr", + "Doutora" + ], + "full": "Doutora", + "canonical": "Dr" + }, + { + "tokens": [ + "Dto", + "Direito" + ], + "full": "Direito", + "canonical": "Dto" + }, + { + "tokens": [ + "Ed", + "Edf", + "Edifício" + ], + "full": "Edifício", + "canonical": "Ed" + }, + { + "tokens": [ + "Emb", + "Embaixador" + ], + "full": "Embaixador", + "canonical": "Emb" + }, + { + "tokens": [ + "Enf", + "Enfo", + "Enfermeiro" + ], + "full": "Enfermeiro", + "canonical": "Enf" + }, + { + "tokens": [ + "Eng", + "Engenheiro" + ], + "full": "Engenheiro", + "canonical": "Eng" + }, + { + "tokens": [ + "Esc", + "Escadas" + ], + "full": "Escadas", + "canonical": "Esc" + }, + { + "tokens": [ + "Escnh", + "Escadinhas" + ], + "full": "Escadinhas", + "canonical": "Escnh" + }, + { + "tokens": [ + "Esq", + "Esquerdo" + ], + "full": "Esquerdo", + "canonical": "Esq" + }, + { + "tokens": [ + "Estr", + "Estrada" + ], + "full": "Estrada", + "canonical": "Estr", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "astrada marginal", + "estr marg" + ], + "full": "astrada marginal", + "canonical": "estr marg", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada municipal", + "em", + "e m", + "estr m" + ], + "full": "estrada municipal", + "canonical": "em", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada nacional", + "en", + "e n", + "estr n" + ], + "full": "estrada nacional", + "canonical": "en", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada regional", + "er", + "e r", + "estr r" + ], + "full": "estrada regional", + "canonical": "er", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Fr", + "Frei" + ], + "full": "Frei", + "canonical": "Fr" + }, + { + "tokens": [ + "Ft", + "Frente" + ], + "full": "Frente", + "canonical": "Ft" + }, + { + "tokens": [ + "Gal", + "Gen", + "General" + ], + "full": "General", + "canonical": "Gal" + }, + { + "tokens": [ + "Hab", + "Habitação" + ], + "full": "Habitação", + "canonical": "Hab" + }, + { + "tokens": [ + "Im", + "Ima", + "Irmã" + ], + "full": "Irmã", + "canonical": "Im" + }, + { + "tokens": [ + "Imo", + "Irmão" + ], + "full": "Irmão", + "canonical": "Imo" + }, + { + "tokens": [ + "Inf", + "Infante" + ], + "full": "Infante", + "canonical": "Inf" + }, + { + "tokens": [ + "Inst", + "Instituto" + ], + "full": "Instituto", + "canonical": "Inst" + }, + { + "tokens": [ + "Jr", + "Júnior" + ], + "full": "Júnior", + "canonical": "Jr" + }, + { + "tokens": [ + "Jrd", + "Jardim" + ], + "full": "Jardim", + "canonical": "Jrd" + }, + { + "tokens": [ + "Lda", + "Limitada" + ], + "full": "Limitada", + "canonical": "Lda" + }, + { + "tokens": [ + "Lg", + "Largo" + ], + "full": "Largo", + "canonical": "Lg" + }, + { + "tokens": [ + "Lg", + "Lug", + "Lugar" + ], + "full": "Lugar", + "canonical": "Lg" + }, + { + "tokens": [ + "Lj", + "Loja" + ], + "full": "Loja", + "canonical": "Lj" + }, + { + "tokens": [ + "Loteam", + "Loteamento" + ], + "full": "Loteamento", + "canonical": "Loteam" + }, + { + "tokens": [ + "Lt", + "Lote" + ], + "full": "Lote", + "canonical": "Lt" + }, + { + "tokens": [ + "Maj", + "Major" + ], + "full": "Major", + "canonical": "Maj" + }, + { + "tokens": [ + "Mal", + "Marechal" + ], + "full": "Marechal", + "canonical": "Mal" + }, + { + "tokens": [ + "Me", + "Madre" + ], + "full": "Madre", + "canonical": "Me" + }, + { + "tokens": [ + "Me", + "Mestre" + ], + "full": "Mestre", + "canonical": "Me" + }, + { + "tokens": [ + "Min", + "Ministério" + ], + "full": "Ministério", + "canonical": "Min" + }, + { + "tokens": [ + "Mons", + "Monsenhor" + ], + "full": "Monsenhor", + "canonical": "Mons" + }, + { + "tokens": [ + "Mq", + "Marquês" + ], + "full": "Marquês", + "canonical": "Mq" + }, + { + "tokens": [ + "Mto", + "Maestro" + ], + "full": "Maestro", + "canonical": "Mto" + }, + { + "tokens": [ + "Part", + "Particular" + ], + "full": "Particular", + "canonical": "Part" + }, + { + "tokens": [ + "Pav", + "Pavilhão" + ], + "full": "Pavilhão", + "canonical": "Pav" + }, + { + "tokens": [ + "Pc", + "Praça" + ], + "full": "Praça", + "canonical": "Pc" + }, + { + "tokens": [ + "Pct", + "Praceta" + ], + "full": "Praceta", + "canonical": "Pct" + }, + { + "tokens": [ + "Pe", + "Padre" + ], + "full": "Padre", + "canonical": "Pe" + }, + { + "tokens": [ + "Pq", + "Parque" + ], + "full": "Parque", + "canonical": "Pq" + }, + { + "tokens": [ + "Presid", + "Presidente" + ], + "full": "Presidente", + "canonical": "Presid" + }, + { + "tokens": [ + "Prof", + "Professor" + ], + "full": "Professor", + "canonical": "Prof" + }, + { + "tokens": [ + "Prolng", + "Prolongamento" + ], + "full": "Prolongamento", + "canonical": "Prolng" + }, + { + "tokens": [ + "Pto", + "Pátio" + ], + "full": "Pátio", + "canonical": "Pto" + }, + { + "tokens": [ + "Qd", + "Qr", + "Quadra" + ], + "full": "Quadra", + "canonical": "Q" + }, + { + "tokens": [ + "Qta", + "Quinta" + ], + "full": "Quinta", + "canonical": "Qta" + }, + { + "tokens": [ + "R", + "Rio" + ], + "full": "Rio", + "canonical": "R" + }, + { + "tokens": [ + "R", + "Rua" + ], + "full": "Rua", + "canonical": "R", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "Rot", + "Rotunda" + ], + "full": "Rotunda", + "canonical": "Rot", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "S", + "São" + ], + "full": "São", + "canonical": "S" + }, + { + "tokens": [ + "S", + "Sr", + "Senhor" + ], + "full": "Senhor", + "canonical": "S" + }, + { + "tokens": [ + "S", + "Sra", + "Senhora" + ], + "full": "Senhora", + "canonical": "S" + }, + { + "tokens": [ + "Sarg", + "Sargento" + ], + "full": "Sargento", + "canonical": "Sarg" + }, + { + "tokens": [ + "Soc", + "Sociedade" + ], + "full": "Sociedade", + "canonical": "Soc" + }, + { + "tokens": [ + "Sq", + "Superquadra" + ], + "full": "Superquadra", + "canonical": "Sq" + }, + { + "tokens": [ + "St", + "Sto", + "Santo" + ], + "full": "Santo", + "canonical": "St" + }, + { + "tokens": [ + "Sta", + "Santa" + ], + "full": "Santa", + "canonical": "Sta" + }, + { + "tokens": [ + "Ten", + "Tenente" + ], + "full": "Tenente", + "canonical": "Ten" + }, + { + "tokens": [ + "Tr", + "Torre" + ], + "full": "Torre", + "canonical": "Tr" + }, + { + "tokens": [ + "Transv", + "Transversal" + ], + "full": "Transversal", + "canonical": "Transv" + }, + { + "tokens": [ + "Tv", + "Trv", + "Trav", + "Travessa" + ], + "full": "Travessa", + "canonical": "Tv" + }, + { + "tokens": [ + "Univ", + "Universidade" + ], + "full": "Universidade", + "canonical": "Univ" + }, + { + "tokens": [ + "Urb", + "Urbanização" + ], + "full": "Urbanização", + "canonical": "Urb" + }, + { + "tokens": [ + "via", + "v" + ], + "full": "via", + "canonical": "v", + "type": "way" + }, + { + "tokens": [ + "Visc", + "Visconde" + ], + "full": "Visconde", + "canonical": "Visc" + }, + { + "tokens": [ + "Vl", + "Vila" + ], + "full": "Vila", + "canonical": "Vl" + }, + { + "tokens": [ + "viela", + "ve" + ], + "full": "viela", + "canonical": "ve", + "type": "way" + }, + { + "tokens": [ + "Vv", + "Vivenda" + ], + "full": "Vivenda", + "canonical": "Vv" + }, + { + "tokens": [ + "Zn", + "Zona" + ], + "full": "Zona", + "canonical": "Zn" + }, + { + "tokens": [ + "CM", + "camara municipal", + "c. m." + ], + "full": "camara municipal", + "canonical": "CM", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/pt_20201214124027.json b/.history/tokens/pt_20201214124027.json new file mode 100644 index 0000000..d449e9e --- /dev/null +++ b/.history/tokens/pt_20201214124027.json @@ -0,0 +1,1091 @@ +[ + { + "tokens": [ + "1", + "uma", + "um" + ], + "full": "uma", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "dois", + "duas" + ], + "full": "dois", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "três", + "tres" + ], + "full": "três", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "quatro" + ], + "full": "quatro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "cinco" + ], + "full": "cinco", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "seis" + ], + "full": "seis", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "sete" + ], + "full": "sete", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "oito" + ], + "full": "oito", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "dez" + ], + "full": "dez", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "onze" + ], + "full": "onze", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "doze" + ], + "full": "doze", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "treze" + ], + "full": "treze", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "catorze" + ], + "full": "catorze", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "quinze" + ], + "full": "quinze", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "dezesseis" + ], + "full": "dezesseis", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "dezessete" + ], + "full": "dezessete", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "dezoito" + ], + "full": "dezoito", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "dezenove" + ], + "full": "dezenove", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "vinte" + ], + "full": "vinte", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Alf", + "Alferes" + ], + "full": "Alferes", + "canonical": "Alf" + }, + { + "tokens": [ + "Alm", + "Almirante" + ], + "full": "Almirante", + "canonical": "Alm" + }, + { + "tokens": [ + "Arq", + "Arquitecto" + ], + "full": "Arquitecto", + "canonical": "Arq" + }, + { + "tokens": [ + "Ass", + "Associação" + ], + "full": "Associação", + "canonical": "Ass" + }, + { + "tokens": [ + "Av", + "Avenida" + ], + "full": "Avenida", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Az", + "Azinhaga" + ], + "full": "Azinhaga", + "canonical": "Az" + }, + { + "tokens": [ + "Br", + "Bairro" + ], + "full": "Bairro", + "canonical": "B" + }, + { + "tokens": [ + "Bc", + "Beco" + ], + "full": "Beco", + "canonical": "Bc", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Bl", + "Bloco" + ], + "full": "Bloco", + "canonical": "Bl" + }, + { + "tokens": [ + "Brg", + "Brigadeiro" + ], + "full": "Brigadeiro", + "canonical": "Brg" + }, + { + "tokens": [ + "Cac", + "Cacique" + ], + "full": "Cacique", + "canonical": "Cac" + }, + { + "tokens": [ + "Cam", + "Caminho" + ], + "full": "Caminho", + "canonical": "Cam", + "onlyLayers": ["address"], + "note": "translates to 'way'", + "type": "way" + }, + { + "tokens": [ + "Cap", + "Capitão" + ], + "full": "Capitão", + "canonical": "Cap" + }, + { + "tokens": [ + "Cc", + "Calçada" + ], + "full": "Calçada", + "canonical": "Cc" + }, + { + "tokens": [ + "Ccnh", + "Calçadinha" + ], + "full": "Calçadinha", + "canonical": "Ccnh" + }, + { + "tokens": [ + "Cel", + "Cor", + "Coronel" + ], + "full": "Coronel", + "canonical": "Cel" + }, + { + "tokens": [ + "Chac", + "Chácara", + "Chacara", + "Chácaras" + ], + "full": "Chácaras", + "canonical": "Chac" + }, + { + "tokens": [ + "Cmdt", + "Comandante" + ], + "full": "Comandante", + "canonical": "Cmdt" + }, + { + "tokens": [ + "Comend", + "Comendador" + ], + "full": "Comendador", + "canonical": "Comend" + }, + { + "tokens": [ + "Cj", + "Conjunto", + "Conjuntos" + ], + "full": "Conjuntos", + "canonical": "Cj" + }, + { + "tokens": [ + "Cons", + "Conselheiro" + ], + "full": "Conselheiro", + "canonical": "Cons" + }, + { + "tokens": [ + "Csl", + "Casal" + ], + "full": "Casal", + "canonical": "Csl" + }, + { + "tokens": [ + "Cv", + "Cave" + ], + "full": "Cave", + "canonical": "Cv" + }, + { + "tokens": [ + "da" + ], + "full": "da", + "canonical": "da", + "type": "determiner" + }, + { + "tokens": [ + "das" + ], + "full": "das", + "canonical": "das", + "type": "determiner" + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "dela" + ], + "full": "dela", + "canonical": "dela", + "type": "determiner" + }, + { + "tokens": [ + "Dep", + "Deputado" + ], + "full": "Deputado", + "canonical": "Dep" + }, + { + "tokens": [ + "do" + ], + "full": "do", + "canonical": "do", + "type": "determiner" + }, + { + "tokens": [ + "dos" + ], + "full": "dos", + "canonical": "dos", + "type": "determiner" + }, + { + "tokens": [ + "Dq", + "Duque" + ], + "full": "Duque", + "canonical": "Dq" + }, + { + "tokens": [ + "Dr", + "Doutor" + ], + "full": "Doutor", + "canonical": "Dr" + }, + { + "tokens": [ + "Dr", + "Doutora" + ], + "full": "Doutora", + "canonical": "Dr" + }, + { + "tokens": [ + "Dto", + "Direito" + ], + "full": "Direito", + "canonical": "Dto" + }, + { + "tokens": [ + "Ed", + "Edf", + "Edifício" + ], + "full": "Edifício", + "canonical": "Ed" + }, + { + "tokens": [ + "Emb", + "Embaixador" + ], + "full": "Embaixador", + "canonical": "Emb" + }, + { + "tokens": [ + "Enf", + "Enfo", + "Enfermeiro" + ], + "full": "Enfermeiro", + "canonical": "Enf" + }, + { + "tokens": [ + "Eng", + "Engenheiro" + ], + "full": "Engenheiro", + "canonical": "Eng" + }, + { + "tokens": [ + "Esc", + "Escadas" + ], + "full": "Escadas", + "canonical": "Esc" + }, + { + "tokens": [ + "Escnh", + "Escadinhas" + ], + "full": "Escadinhas", + "canonical": "Escnh" + }, + { + "tokens": [ + "Esq", + "Esquerdo" + ], + "full": "Esquerdo", + "canonical": "Esq" + }, + { + "tokens": [ + "Estr", + "Estrada" + ], + "full": "Estrada", + "canonical": "Estr", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "astrada marginal", + "estr marg" + ], + "full": "astrada marginal", + "canonical": "estr marg", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada municipal", + "em", + "e m", + "estr m" + ], + "full": "estrada municipal", + "canonical": "em", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada nacional", + "en", + "e n", + "estr n" + ], + "full": "estrada nacional", + "canonical": "en", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada regional", + "er", + "e r", + "estr r" + ], + "full": "estrada regional", + "canonical": "er", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Fr", + "Frei" + ], + "full": "Frei", + "canonical": "Fr" + }, + { + "tokens": [ + "Ft", + "Frente" + ], + "full": "Frente", + "canonical": "Ft" + }, + { + "tokens": [ + "Gal", + "Gen", + "General" + ], + "full": "General", + "canonical": "Gal" + }, + { + "tokens": [ + "Hab", + "Habitação" + ], + "full": "Habitação", + "canonical": "Hab" + }, + { + "tokens": [ + "Im", + "Ima", + "Irmã" + ], + "full": "Irmã", + "canonical": "Im" + }, + { + "tokens": [ + "Imo", + "Irmão" + ], + "full": "Irmão", + "canonical": "Imo" + }, + { + "tokens": [ + "Inf", + "Infante" + ], + "full": "Infante", + "canonical": "Inf" + }, + { + "tokens": [ + "Inst", + "Instituto" + ], + "full": "Instituto", + "canonical": "Inst" + }, + { + "tokens": [ + "Jr", + "Júnior" + ], + "full": "Júnior", + "canonical": "Jr" + }, + { + "tokens": [ + "Jrd", + "Jardim" + ], + "full": "Jardim", + "canonical": "Jrd" + }, + { + "tokens": [ + "Lda", + "Limitada" + ], + "full": "Limitada", + "canonical": "Lda" + }, + { + "tokens": [ + "Lg", + "Largo" + ], + "full": "Largo", + "canonical": "Lg" + }, + { + "tokens": [ + "Lg", + "Lug", + "Lugar" + ], + "full": "Lugar", + "canonical": "Lg" + }, + { + "tokens": [ + "Lj", + "Loja" + ], + "full": "Loja", + "canonical": "Lj" + }, + { + "tokens": [ + "Loteam", + "Loteamento" + ], + "full": "Loteamento", + "canonical": "Loteam" + }, + { + "tokens": [ + "Lt", + "Lote" + ], + "full": "Lote", + "canonical": "Lt" + }, + { + "tokens": [ + "Maj", + "Major" + ], + "full": "Major", + "canonical": "Maj" + }, + { + "tokens": [ + "Mal", + "Marechal" + ], + "full": "Marechal", + "canonical": "Mal" + }, + { + "tokens": [ + "Me", + "Madre" + ], + "full": "Madre", + "canonical": "Me" + }, + { + "tokens": [ + "Me", + "Mestre" + ], + "full": "Mestre", + "canonical": "Me" + }, + { + "tokens": [ + "Min", + "Ministério" + ], + "full": "Ministério", + "canonical": "Min" + }, + { + "tokens": [ + "Mons", + "Monsenhor" + ], + "full": "Monsenhor", + "canonical": "Mons" + }, + { + "tokens": [ + "Mq", + "Marquês" + ], + "full": "Marquês", + "canonical": "Mq" + }, + { + "tokens": [ + "Mto", + "Maestro" + ], + "full": "Maestro", + "canonical": "Mto" + }, + { + "tokens": [ + "Part", + "Particular" + ], + "full": "Particular", + "canonical": "Part" + }, + { + "tokens": [ + "Pav", + "Pavilhão" + ], + "full": "Pavilhão", + "canonical": "Pav" + }, + { + "tokens": [ + "Pc", + "Praça" + ], + "full": "Praça", + "canonical": "Pc" + }, + { + "tokens": [ + "Pct", + "Praceta" + ], + "full": "Praceta", + "canonical": "Pct" + }, + { + "tokens": [ + "Pe", + "Padre" + ], + "full": "Padre", + "canonical": "Pe" + }, + { + "tokens": [ + "Pq", + "Parque" + ], + "full": "Parque", + "canonical": "Pq" + }, + { + "tokens": [ + "Presid", + "Presidente" + ], + "full": "Presidente", + "canonical": "Presid" + }, + { + "tokens": [ + "Prof", + "Professor" + ], + "full": "Professor", + "canonical": "Prof" + }, + { + "tokens": [ + "Prolng", + "Prolongamento" + ], + "full": "Prolongamento", + "canonical": "Prolng" + }, + { + "tokens": [ + "Pto", + "Pátio" + ], + "full": "Pátio", + "canonical": "Pto" + }, + { + "tokens": [ + "Qd", + "Qr", + "Quadra" + ], + "full": "Quadra", + "canonical": "Q" + }, + { + "tokens": [ + "Qta", + "Quinta" + ], + "full": "Quinta", + "canonical": "Qta" + }, + { + "tokens": [ + "R", + "Rua" + ], + "full": "Rua", + "canonical": "R", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "Rot", + "Rotunda" + ], + "full": "Rotunda", + "canonical": "Rot", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "S", + "São" + ], + "full": "São", + "canonical": "S" + }, + { + "tokens": [ + "S", + "Sr", + "Senhor" + ], + "full": "Senhor", + "canonical": "S" + }, + { + "tokens": [ + "S", + "Sra", + "Senhora" + ], + "full": "Senhora", + "canonical": "S" + }, + { + "tokens": [ + "Sarg", + "Sargento" + ], + "full": "Sargento", + "canonical": "Sarg" + }, + { + "tokens": [ + "Soc", + "Sociedade" + ], + "full": "Sociedade", + "canonical": "Soc" + }, + { + "tokens": [ + "Sq", + "Superquadra" + ], + "full": "Superquadra", + "canonical": "Sq" + }, + { + "tokens": [ + "St", + "Sto", + "Santo" + ], + "full": "Santo", + "canonical": "St" + }, + { + "tokens": [ + "Sta", + "Santa" + ], + "full": "Santa", + "canonical": "Sta" + }, + { + "tokens": [ + "Ten", + "Tenente" + ], + "full": "Tenente", + "canonical": "Ten" + }, + { + "tokens": [ + "Tr", + "Torre" + ], + "full": "Torre", + "canonical": "Tr" + }, + { + "tokens": [ + "Transv", + "Transversal" + ], + "full": "Transversal", + "canonical": "Transv" + }, + { + "tokens": [ + "Tv", + "Trv", + "Trav", + "Travessa" + ], + "full": "Travessa", + "canonical": "Tv" + }, + { + "tokens": [ + "Univ", + "Universidade" + ], + "full": "Universidade", + "canonical": "Univ" + }, + { + "tokens": [ + "Urb", + "Urbanização" + ], + "full": "Urbanização", + "canonical": "Urb" + }, + { + "tokens": [ + "via", + "v" + ], + "full": "via", + "canonical": "v", + "type": "way" + }, + { + "tokens": [ + "Visc", + "Visconde" + ], + "full": "Visconde", + "canonical": "Visc" + }, + { + "tokens": [ + "Vl", + "Vila" + ], + "full": "Vila", + "canonical": "Vl" + }, + { + "tokens": [ + "viela", + "ve" + ], + "full": "viela", + "canonical": "ve", + "type": "way" + }, + { + "tokens": [ + "Vv", + "Vivenda" + ], + "full": "Vivenda", + "canonical": "Vv" + }, + { + "tokens": [ + "Zn", + "Zona" + ], + "full": "Zona", + "canonical": "Zn" + }, + { + "tokens": [ + "CM", + "camara municipal", + "c. m." + ], + "full": "camara municipal", + "canonical": "CM", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/pt_20201214124041.json b/.history/tokens/pt_20201214124041.json new file mode 100644 index 0000000..41e0b89 --- /dev/null +++ b/.history/tokens/pt_20201214124041.json @@ -0,0 +1,1083 @@ +[ + { + "tokens": [ + "1", + "uma", + "um" + ], + "full": "uma", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "dois", + "duas" + ], + "full": "dois", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "três", + "tres" + ], + "full": "três", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "quatro" + ], + "full": "quatro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "cinco" + ], + "full": "cinco", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "seis" + ], + "full": "seis", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "sete" + ], + "full": "sete", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "oito" + ], + "full": "oito", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "dez" + ], + "full": "dez", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "onze" + ], + "full": "onze", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "doze" + ], + "full": "doze", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "treze" + ], + "full": "treze", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "catorze" + ], + "full": "catorze", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "quinze" + ], + "full": "quinze", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "dezesseis" + ], + "full": "dezesseis", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "dezessete" + ], + "full": "dezessete", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "dezoito" + ], + "full": "dezoito", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "dezenove" + ], + "full": "dezenove", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "vinte" + ], + "full": "vinte", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Alf", + "Alferes" + ], + "full": "Alferes", + "canonical": "Alf" + }, + { + "tokens": [ + "Alm", + "Almirante" + ], + "full": "Almirante", + "canonical": "Alm" + }, + { + "tokens": [ + "Arq", + "Arquitecto" + ], + "full": "Arquitecto", + "canonical": "Arq" + }, + { + "tokens": [ + "Ass", + "Associação" + ], + "full": "Associação", + "canonical": "Ass" + }, + { + "tokens": [ + "Av", + "Avenida" + ], + "full": "Avenida", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Az", + "Azinhaga" + ], + "full": "Azinhaga", + "canonical": "Az" + }, + { + "tokens": [ + "Br", + "Bairro" + ], + "full": "Bairro", + "canonical": "B" + }, + { + "tokens": [ + "Bc", + "Beco" + ], + "full": "Beco", + "canonical": "Bc", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Bl", + "Bloco" + ], + "full": "Bloco", + "canonical": "Bl" + }, + { + "tokens": [ + "Brg", + "Brigadeiro" + ], + "full": "Brigadeiro", + "canonical": "Brg" + }, + { + "tokens": [ + "Cac", + "Cacique" + ], + "full": "Cacique", + "canonical": "Cac" + }, + { + "tokens": [ + "Cam", + "Caminho" + ], + "full": "Caminho", + "canonical": "Cam", + "onlyLayers": ["address"], + "note": "translates to 'way'", + "type": "way" + }, + { + "tokens": [ + "Cap", + "Capitão" + ], + "full": "Capitão", + "canonical": "Cap" + }, + { + "tokens": [ + "Cc", + "Calçada" + ], + "full": "Calçada", + "canonical": "Cc" + }, + { + "tokens": [ + "Ccnh", + "Calçadinha" + ], + "full": "Calçadinha", + "canonical": "Ccnh" + }, + { + "tokens": [ + "Cel", + "Cor", + "Coronel" + ], + "full": "Coronel", + "canonical": "Cel" + }, + { + "tokens": [ + "Chac", + "Chácara", + "Chacara", + "Chácaras" + ], + "full": "Chácaras", + "canonical": "Chac" + }, + { + "tokens": [ + "Cmdt", + "Comandante" + ], + "full": "Comandante", + "canonical": "Cmdt" + }, + { + "tokens": [ + "Comend", + "Comendador" + ], + "full": "Comendador", + "canonical": "Comend" + }, + { + "tokens": [ + "Cj", + "Conjunto", + "Conjuntos" + ], + "full": "Conjuntos", + "canonical": "Cj" + }, + { + "tokens": [ + "Cons", + "Conselheiro" + ], + "full": "Conselheiro", + "canonical": "Cons" + }, + { + "tokens": [ + "Csl", + "Casal" + ], + "full": "Casal", + "canonical": "Csl" + }, + { + "tokens": [ + "Cv", + "Cave" + ], + "full": "Cave", + "canonical": "Cv" + }, + { + "tokens": [ + "da" + ], + "full": "da", + "canonical": "da", + "type": "determiner" + }, + { + "tokens": [ + "das" + ], + "full": "das", + "canonical": "das", + "type": "determiner" + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "dela" + ], + "full": "dela", + "canonical": "dela", + "type": "determiner" + }, + { + "tokens": [ + "Dep", + "Deputado" + ], + "full": "Deputado", + "canonical": "Dep" + }, + { + "tokens": [ + "do" + ], + "full": "do", + "canonical": "do", + "type": "determiner" + }, + { + "tokens": [ + "dos" + ], + "full": "dos", + "canonical": "dos", + "type": "determiner" + }, + { + "tokens": [ + "Dq", + "Duque" + ], + "full": "Duque", + "canonical": "Dq" + }, + { + "tokens": [ + "Dr", + "Doutor" + ], + "full": "Doutor", + "canonical": "Dr" + }, + { + "tokens": [ + "Dr", + "Doutora" + ], + "full": "Doutora", + "canonical": "Dr" + }, + { + "tokens": [ + "Dto", + "Direito" + ], + "full": "Direito", + "canonical": "Dto" + }, + { + "tokens": [ + "Ed", + "Edf", + "Edifício" + ], + "full": "Edifício", + "canonical": "Ed" + }, + { + "tokens": [ + "Emb", + "Embaixador" + ], + "full": "Embaixador", + "canonical": "Emb" + }, + { + "tokens": [ + "Enf", + "Enfo", + "Enfermeiro" + ], + "full": "Enfermeiro", + "canonical": "Enf" + }, + { + "tokens": [ + "Eng", + "Engenheiro" + ], + "full": "Engenheiro", + "canonical": "Eng" + }, + { + "tokens": [ + "Esc", + "Escadas" + ], + "full": "Escadas", + "canonical": "Esc" + }, + { + "tokens": [ + "Escnh", + "Escadinhas" + ], + "full": "Escadinhas", + "canonical": "Escnh" + }, + { + "tokens": [ + "Esq", + "Esquerdo" + ], + "full": "Esquerdo", + "canonical": "Esq" + }, + { + "tokens": [ + "Estr", + "Estrada" + ], + "full": "Estrada", + "canonical": "Estr", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "astrada marginal", + "estr marg" + ], + "full": "astrada marginal", + "canonical": "estr marg", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada municipal", + "em", + "e m", + "estr m" + ], + "full": "estrada municipal", + "canonical": "em", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada nacional", + "en", + "e n", + "estr n" + ], + "full": "estrada nacional", + "canonical": "en", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada regional", + "er", + "e r", + "estr r" + ], + "full": "estrada regional", + "canonical": "er", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Fr", + "Frei" + ], + "full": "Frei", + "canonical": "Fr" + }, + { + "tokens": [ + "Ft", + "Frente" + ], + "full": "Frente", + "canonical": "Ft" + }, + { + "tokens": [ + "Gal", + "Gen", + "General" + ], + "full": "General", + "canonical": "Gal" + }, + { + "tokens": [ + "Hab", + "Habitação" + ], + "full": "Habitação", + "canonical": "Hab" + }, + { + "tokens": [ + "Im", + "Ima", + "Irmã" + ], + "full": "Irmã", + "canonical": "Im" + }, + { + "tokens": [ + "Imo", + "Irmão" + ], + "full": "Irmão", + "canonical": "Imo" + }, + { + "tokens": [ + "Inf", + "Infante" + ], + "full": "Infante", + "canonical": "Inf" + }, + { + "tokens": [ + "Inst", + "Instituto" + ], + "full": "Instituto", + "canonical": "Inst" + }, + { + "tokens": [ + "Jr", + "Júnior" + ], + "full": "Júnior", + "canonical": "Jr" + }, + { + "tokens": [ + "Jrd", + "Jardim" + ], + "full": "Jardim", + "canonical": "Jrd" + }, + { + "tokens": [ + "Lda", + "Limitada" + ], + "full": "Limitada", + "canonical": "Lda" + }, + { + "tokens": [ + "Lg", + "Largo" + ], + "full": "Largo", + "canonical": "Lg" + }, + { + "tokens": [ + "Lg", + "Lug", + "Lugar" + ], + "full": "Lugar", + "canonical": "Lg" + }, + { + "tokens": [ + "Lj", + "Loja" + ], + "full": "Loja", + "canonical": "Lj" + }, + { + "tokens": [ + "Loteam", + "Loteamento" + ], + "full": "Loteamento", + "canonical": "Loteam" + }, + { + "tokens": [ + "Lt", + "Lote" + ], + "full": "Lote", + "canonical": "Lt" + }, + { + "tokens": [ + "Maj", + "Major" + ], + "full": "Major", + "canonical": "Maj" + }, + { + "tokens": [ + "Mal", + "Marechal" + ], + "full": "Marechal", + "canonical": "Mal" + }, + { + "tokens": [ + "Me", + "Madre" + ], + "full": "Madre", + "canonical": "Me" + }, + { + "tokens": [ + "Me", + "Mestre" + ], + "full": "Mestre", + "canonical": "Me" + }, + { + "tokens": [ + "Min", + "Ministério" + ], + "full": "Ministério", + "canonical": "Min" + }, + { + "tokens": [ + "Mons", + "Monsenhor" + ], + "full": "Monsenhor", + "canonical": "Mons" + }, + { + "tokens": [ + "Mq", + "Marquês" + ], + "full": "Marquês", + "canonical": "Mq" + }, + { + "tokens": [ + "Mto", + "Maestro" + ], + "full": "Maestro", + "canonical": "Mto" + }, + { + "tokens": [ + "Part", + "Particular" + ], + "full": "Particular", + "canonical": "Part" + }, + { + "tokens": [ + "Pav", + "Pavilhão" + ], + "full": "Pavilhão", + "canonical": "Pav" + }, + { + "tokens": [ + "Pc", + "Praça" + ], + "full": "Praça", + "canonical": "Pc" + }, + { + "tokens": [ + "Pct", + "Praceta" + ], + "full": "Praceta", + "canonical": "Pct" + }, + { + "tokens": [ + "Pe", + "Padre" + ], + "full": "Padre", + "canonical": "Pe" + }, + { + "tokens": [ + "Pq", + "Parque" + ], + "full": "Parque", + "canonical": "Pq" + }, + { + "tokens": [ + "Presid", + "Presidente" + ], + "full": "Presidente", + "canonical": "Presid" + }, + { + "tokens": [ + "Prof", + "Professor" + ], + "full": "Professor", + "canonical": "Prof" + }, + { + "tokens": [ + "Prolng", + "Prolongamento" + ], + "full": "Prolongamento", + "canonical": "Prolng" + }, + { + "tokens": [ + "Pto", + "Pátio" + ], + "full": "Pátio", + "canonical": "Pto" + }, + { + "tokens": [ + "Qd", + "Qr", + "Quadra" + ], + "full": "Quadra", + "canonical": "Q" + }, + { + "tokens": [ + "Qta", + "Quinta" + ], + "full": "Quinta", + "canonical": "Qta" + }, + { + "tokens": [ + "R", + "Rua" + ], + "full": "Rua", + "canonical": "R", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "Rot", + "Rotunda" + ], + "full": "Rotunda", + "canonical": "Rot", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "S", + "Sr", + "Senhor" + ], + "full": "Senhor", + "canonical": "S" + }, + { + "tokens": [ + "S", + "Sra", + "Senhora" + ], + "full": "Senhora", + "canonical": "S" + }, + { + "tokens": [ + "Sarg", + "Sargento" + ], + "full": "Sargento", + "canonical": "Sarg" + }, + { + "tokens": [ + "Soc", + "Sociedade" + ], + "full": "Sociedade", + "canonical": "Soc" + }, + { + "tokens": [ + "Sq", + "Superquadra" + ], + "full": "Superquadra", + "canonical": "Sq" + }, + { + "tokens": [ + "St", + "Sto", + "Santo" + ], + "full": "Santo", + "canonical": "St" + }, + { + "tokens": [ + "Sta", + "Santa" + ], + "full": "Santa", + "canonical": "Sta" + }, + { + "tokens": [ + "Ten", + "Tenente" + ], + "full": "Tenente", + "canonical": "Ten" + }, + { + "tokens": [ + "Tr", + "Torre" + ], + "full": "Torre", + "canonical": "Tr" + }, + { + "tokens": [ + "Transv", + "Transversal" + ], + "full": "Transversal", + "canonical": "Transv" + }, + { + "tokens": [ + "Tv", + "Trv", + "Trav", + "Travessa" + ], + "full": "Travessa", + "canonical": "Tv" + }, + { + "tokens": [ + "Univ", + "Universidade" + ], + "full": "Universidade", + "canonical": "Univ" + }, + { + "tokens": [ + "Urb", + "Urbanização" + ], + "full": "Urbanização", + "canonical": "Urb" + }, + { + "tokens": [ + "via", + "v" + ], + "full": "via", + "canonical": "v", + "type": "way" + }, + { + "tokens": [ + "Visc", + "Visconde" + ], + "full": "Visconde", + "canonical": "Visc" + }, + { + "tokens": [ + "Vl", + "Vila" + ], + "full": "Vila", + "canonical": "Vl" + }, + { + "tokens": [ + "viela", + "ve" + ], + "full": "viela", + "canonical": "ve", + "type": "way" + }, + { + "tokens": [ + "Vv", + "Vivenda" + ], + "full": "Vivenda", + "canonical": "Vv" + }, + { + "tokens": [ + "Zn", + "Zona" + ], + "full": "Zona", + "canonical": "Zn" + }, + { + "tokens": [ + "CM", + "camara municipal", + "c. m." + ], + "full": "camara municipal", + "canonical": "CM", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/pt_20201214124043.json b/.history/tokens/pt_20201214124043.json new file mode 100644 index 0000000..3bd7cb0 --- /dev/null +++ b/.history/tokens/pt_20201214124043.json @@ -0,0 +1,1082 @@ +[ + { + "tokens": [ + "1", + "uma", + "um" + ], + "full": "uma", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "dois", + "duas" + ], + "full": "dois", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "três", + "tres" + ], + "full": "três", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "quatro" + ], + "full": "quatro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "cinco" + ], + "full": "cinco", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "seis" + ], + "full": "seis", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "sete" + ], + "full": "sete", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "oito" + ], + "full": "oito", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "dez" + ], + "full": "dez", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "onze" + ], + "full": "onze", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "doze" + ], + "full": "doze", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "treze" + ], + "full": "treze", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "catorze" + ], + "full": "catorze", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "quinze" + ], + "full": "quinze", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "dezesseis" + ], + "full": "dezesseis", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "dezessete" + ], + "full": "dezessete", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "dezoito" + ], + "full": "dezoito", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "dezenove" + ], + "full": "dezenove", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "vinte" + ], + "full": "vinte", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Alf", + "Alferes" + ], + "full": "Alferes", + "canonical": "Alf" + }, + { + "tokens": [ + "Alm", + "Almirante" + ], + "full": "Almirante", + "canonical": "Alm" + }, + { + "tokens": [ + "Arq", + "Arquitecto" + ], + "full": "Arquitecto", + "canonical": "Arq" + }, + { + "tokens": [ + "Ass", + "Associação" + ], + "full": "Associação", + "canonical": "Ass" + }, + { + "tokens": [ + "Av", + "Avenida" + ], + "full": "Avenida", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Az", + "Azinhaga" + ], + "full": "Azinhaga", + "canonical": "Az" + }, + { + "tokens": [ + "Br", + "Bairro" + ], + "full": "Bairro", + "canonical": "B" + }, + { + "tokens": [ + "Bc", + "Beco" + ], + "full": "Beco", + "canonical": "Bc", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Bl", + "Bloco" + ], + "full": "Bloco", + "canonical": "Bl" + }, + { + "tokens": [ + "Brg", + "Brigadeiro" + ], + "full": "Brigadeiro", + "canonical": "Brg" + }, + { + "tokens": [ + "Cac", + "Cacique" + ], + "full": "Cacique", + "canonical": "Cac" + }, + { + "tokens": [ + "Cam", + "Caminho" + ], + "full": "Caminho", + "canonical": "Cam", + "onlyLayers": ["address"], + "note": "translates to 'way'", + "type": "way" + }, + { + "tokens": [ + "Cap", + "Capitão" + ], + "full": "Capitão", + "canonical": "Cap" + }, + { + "tokens": [ + "Cc", + "Calçada" + ], + "full": "Calçada", + "canonical": "Cc" + }, + { + "tokens": [ + "Ccnh", + "Calçadinha" + ], + "full": "Calçadinha", + "canonical": "Ccnh" + }, + { + "tokens": [ + "Cel", + "Cor", + "Coronel" + ], + "full": "Coronel", + "canonical": "Cel" + }, + { + "tokens": [ + "Chac", + "Chácara", + "Chacara", + "Chácaras" + ], + "full": "Chácaras", + "canonical": "Chac" + }, + { + "tokens": [ + "Cmdt", + "Comandante" + ], + "full": "Comandante", + "canonical": "Cmdt" + }, + { + "tokens": [ + "Comend", + "Comendador" + ], + "full": "Comendador", + "canonical": "Comend" + }, + { + "tokens": [ + "Cj", + "Conjunto", + "Conjuntos" + ], + "full": "Conjuntos", + "canonical": "Cj" + }, + { + "tokens": [ + "Cons", + "Conselheiro" + ], + "full": "Conselheiro", + "canonical": "Cons" + }, + { + "tokens": [ + "Csl", + "Casal" + ], + "full": "Casal", + "canonical": "Csl" + }, + { + "tokens": [ + "Cv", + "Cave" + ], + "full": "Cave", + "canonical": "Cv" + }, + { + "tokens": [ + "da" + ], + "full": "da", + "canonical": "da", + "type": "determiner" + }, + { + "tokens": [ + "das" + ], + "full": "das", + "canonical": "das", + "type": "determiner" + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "dela" + ], + "full": "dela", + "canonical": "dela", + "type": "determiner" + }, + { + "tokens": [ + "Dep", + "Deputado" + ], + "full": "Deputado", + "canonical": "Dep" + }, + { + "tokens": [ + "do" + ], + "full": "do", + "canonical": "do", + "type": "determiner" + }, + { + "tokens": [ + "dos" + ], + "full": "dos", + "canonical": "dos", + "type": "determiner" + }, + { + "tokens": [ + "Dq", + "Duque" + ], + "full": "Duque", + "canonical": "Dq" + }, + { + "tokens": [ + "Dr", + "Doutor" + ], + "full": "Doutor", + "canonical": "Dr" + }, + { + "tokens": [ + "Dr", + "Doutora" + ], + "full": "Doutora", + "canonical": "Dr" + }, + { + "tokens": [ + "Dto", + "Direito" + ], + "full": "Direito", + "canonical": "Dto" + }, + { + "tokens": [ + "Ed", + "Edf", + "Edifício" + ], + "full": "Edifício", + "canonical": "Ed" + }, + { + "tokens": [ + "Emb", + "Embaixador" + ], + "full": "Embaixador", + "canonical": "Emb" + }, + { + "tokens": [ + "Enf", + "Enfo", + "Enfermeiro" + ], + "full": "Enfermeiro", + "canonical": "Enf" + }, + { + "tokens": [ + "Eng", + "Engenheiro" + ], + "full": "Engenheiro", + "canonical": "Eng" + }, + { + "tokens": [ + "Esc", + "Escadas" + ], + "full": "Escadas", + "canonical": "Esc" + }, + { + "tokens": [ + "Escnh", + "Escadinhas" + ], + "full": "Escadinhas", + "canonical": "Escnh" + }, + { + "tokens": [ + "Esq", + "Esquerdo" + ], + "full": "Esquerdo", + "canonical": "Esq" + }, + { + "tokens": [ + "Estr", + "Estrada" + ], + "full": "Estrada", + "canonical": "Estr", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "astrada marginal", + "estr marg" + ], + "full": "astrada marginal", + "canonical": "estr marg", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada municipal", + "em", + "e m", + "estr m" + ], + "full": "estrada municipal", + "canonical": "em", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada nacional", + "en", + "e n", + "estr n" + ], + "full": "estrada nacional", + "canonical": "en", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada regional", + "er", + "e r", + "estr r" + ], + "full": "estrada regional", + "canonical": "er", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Fr", + "Frei" + ], + "full": "Frei", + "canonical": "Fr" + }, + { + "tokens": [ + "Ft", + "Frente" + ], + "full": "Frente", + "canonical": "Ft" + }, + { + "tokens": [ + "Gal", + "Gen", + "General" + ], + "full": "General", + "canonical": "Gal" + }, + { + "tokens": [ + "Hab", + "Habitação" + ], + "full": "Habitação", + "canonical": "Hab" + }, + { + "tokens": [ + "Im", + "Ima", + "Irmã" + ], + "full": "Irmã", + "canonical": "Im" + }, + { + "tokens": [ + "Imo", + "Irmão" + ], + "full": "Irmão", + "canonical": "Imo" + }, + { + "tokens": [ + "Inf", + "Infante" + ], + "full": "Infante", + "canonical": "Inf" + }, + { + "tokens": [ + "Inst", + "Instituto" + ], + "full": "Instituto", + "canonical": "Inst" + }, + { + "tokens": [ + "Jr", + "Júnior" + ], + "full": "Júnior", + "canonical": "Jr" + }, + { + "tokens": [ + "Jrd", + "Jardim" + ], + "full": "Jardim", + "canonical": "Jrd" + }, + { + "tokens": [ + "Lda", + "Limitada" + ], + "full": "Limitada", + "canonical": "Lda" + }, + { + "tokens": [ + "Lg", + "Largo" + ], + "full": "Largo", + "canonical": "Lg" + }, + { + "tokens": [ + "Lg", + "Lug", + "Lugar" + ], + "full": "Lugar", + "canonical": "Lg" + }, + { + "tokens": [ + "Lj", + "Loja" + ], + "full": "Loja", + "canonical": "Lj" + }, + { + "tokens": [ + "Loteam", + "Loteamento" + ], + "full": "Loteamento", + "canonical": "Loteam" + }, + { + "tokens": [ + "Lt", + "Lote" + ], + "full": "Lote", + "canonical": "Lt" + }, + { + "tokens": [ + "Maj", + "Major" + ], + "full": "Major", + "canonical": "Maj" + }, + { + "tokens": [ + "Mal", + "Marechal" + ], + "full": "Marechal", + "canonical": "Mal" + }, + { + "tokens": [ + "Me", + "Madre" + ], + "full": "Madre", + "canonical": "Me" + }, + { + "tokens": [ + "Me", + "Mestre" + ], + "full": "Mestre", + "canonical": "Me" + }, + { + "tokens": [ + "Min", + "Ministério" + ], + "full": "Ministério", + "canonical": "Min" + }, + { + "tokens": [ + "Mons", + "Monsenhor" + ], + "full": "Monsenhor", + "canonical": "Mons" + }, + { + "tokens": [ + "Mq", + "Marquês" + ], + "full": "Marquês", + "canonical": "Mq" + }, + { + "tokens": [ + "Mto", + "Maestro" + ], + "full": "Maestro", + "canonical": "Mto" + }, + { + "tokens": [ + "Part", + "Particular" + ], + "full": "Particular", + "canonical": "Part" + }, + { + "tokens": [ + "Pav", + "Pavilhão" + ], + "full": "Pavilhão", + "canonical": "Pav" + }, + { + "tokens": [ + "Pc", + "Praça" + ], + "full": "Praça", + "canonical": "Pc" + }, + { + "tokens": [ + "Pct", + "Praceta" + ], + "full": "Praceta", + "canonical": "Pct" + }, + { + "tokens": [ + "Pe", + "Padre" + ], + "full": "Padre", + "canonical": "Pe" + }, + { + "tokens": [ + "Pq", + "Parque" + ], + "full": "Parque", + "canonical": "Pq" + }, + { + "tokens": [ + "Presid", + "Presidente" + ], + "full": "Presidente", + "canonical": "Presid" + }, + { + "tokens": [ + "Prof", + "Professor" + ], + "full": "Professor", + "canonical": "Prof" + }, + { + "tokens": [ + "Prolng", + "Prolongamento" + ], + "full": "Prolongamento", + "canonical": "Prolng" + }, + { + "tokens": [ + "Pto", + "Pátio" + ], + "full": "Pátio", + "canonical": "Pto" + }, + { + "tokens": [ + "Qd", + "Qr", + "Quadra" + ], + "full": "Quadra", + "canonical": "Q" + }, + { + "tokens": [ + "Qta", + "Quinta" + ], + "full": "Quinta", + "canonical": "Qta" + }, + { + "tokens": [ + "R", + "Rua" + ], + "full": "Rua", + "canonical": "R", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "Rot", + "Rotunda" + ], + "full": "Rotunda", + "canonical": "Rot", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "Sr", + "Senhor" + ], + "full": "Senhor", + "canonical": "S" + }, + { + "tokens": [ + "S", + "Sra", + "Senhora" + ], + "full": "Senhora", + "canonical": "S" + }, + { + "tokens": [ + "Sarg", + "Sargento" + ], + "full": "Sargento", + "canonical": "Sarg" + }, + { + "tokens": [ + "Soc", + "Sociedade" + ], + "full": "Sociedade", + "canonical": "Soc" + }, + { + "tokens": [ + "Sq", + "Superquadra" + ], + "full": "Superquadra", + "canonical": "Sq" + }, + { + "tokens": [ + "St", + "Sto", + "Santo" + ], + "full": "Santo", + "canonical": "St" + }, + { + "tokens": [ + "Sta", + "Santa" + ], + "full": "Santa", + "canonical": "Sta" + }, + { + "tokens": [ + "Ten", + "Tenente" + ], + "full": "Tenente", + "canonical": "Ten" + }, + { + "tokens": [ + "Tr", + "Torre" + ], + "full": "Torre", + "canonical": "Tr" + }, + { + "tokens": [ + "Transv", + "Transversal" + ], + "full": "Transversal", + "canonical": "Transv" + }, + { + "tokens": [ + "Tv", + "Trv", + "Trav", + "Travessa" + ], + "full": "Travessa", + "canonical": "Tv" + }, + { + "tokens": [ + "Univ", + "Universidade" + ], + "full": "Universidade", + "canonical": "Univ" + }, + { + "tokens": [ + "Urb", + "Urbanização" + ], + "full": "Urbanização", + "canonical": "Urb" + }, + { + "tokens": [ + "via", + "v" + ], + "full": "via", + "canonical": "v", + "type": "way" + }, + { + "tokens": [ + "Visc", + "Visconde" + ], + "full": "Visconde", + "canonical": "Visc" + }, + { + "tokens": [ + "Vl", + "Vila" + ], + "full": "Vila", + "canonical": "Vl" + }, + { + "tokens": [ + "viela", + "ve" + ], + "full": "viela", + "canonical": "ve", + "type": "way" + }, + { + "tokens": [ + "Vv", + "Vivenda" + ], + "full": "Vivenda", + "canonical": "Vv" + }, + { + "tokens": [ + "Zn", + "Zona" + ], + "full": "Zona", + "canonical": "Zn" + }, + { + "tokens": [ + "CM", + "camara municipal", + "c. m." + ], + "full": "camara municipal", + "canonical": "CM", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/pt_20201214124045.json b/.history/tokens/pt_20201214124045.json new file mode 100644 index 0000000..6742590 --- /dev/null +++ b/.history/tokens/pt_20201214124045.json @@ -0,0 +1,1081 @@ +[ + { + "tokens": [ + "1", + "uma", + "um" + ], + "full": "uma", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "dois", + "duas" + ], + "full": "dois", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "três", + "tres" + ], + "full": "três", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "quatro" + ], + "full": "quatro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "cinco" + ], + "full": "cinco", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "seis" + ], + "full": "seis", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "sete" + ], + "full": "sete", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "oito" + ], + "full": "oito", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "dez" + ], + "full": "dez", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "onze" + ], + "full": "onze", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "doze" + ], + "full": "doze", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "treze" + ], + "full": "treze", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "catorze" + ], + "full": "catorze", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "15", + "quinze" + ], + "full": "quinze", + "canonical": "15", + "type": "number" + }, + { + "tokens": [ + "16", + "dezesseis" + ], + "full": "dezesseis", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "dezessete" + ], + "full": "dezessete", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "dezoito" + ], + "full": "dezoito", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "dezenove" + ], + "full": "dezenove", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "vinte" + ], + "full": "vinte", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "Al", + "Alameda" + ], + "full": "Alameda", + "canonical": "Al", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Alf", + "Alferes" + ], + "full": "Alferes", + "canonical": "Alf" + }, + { + "tokens": [ + "Alm", + "Almirante" + ], + "full": "Almirante", + "canonical": "Alm" + }, + { + "tokens": [ + "Arq", + "Arquitecto" + ], + "full": "Arquitecto", + "canonical": "Arq" + }, + { + "tokens": [ + "Ass", + "Associação" + ], + "full": "Associação", + "canonical": "Ass" + }, + { + "tokens": [ + "Av", + "Avenida" + ], + "full": "Avenida", + "canonical": "Av", + "onlyLayers": ["address"], + "note": "translates to 'avenue'", + "type": "way" + }, + { + "tokens": [ + "Az", + "Azinhaga" + ], + "full": "Azinhaga", + "canonical": "Az" + }, + { + "tokens": [ + "Br", + "Bairro" + ], + "full": "Bairro", + "canonical": "B" + }, + { + "tokens": [ + "Bc", + "Beco" + ], + "full": "Beco", + "canonical": "Bc", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way" + }, + { + "tokens": [ + "Bl", + "Bloco" + ], + "full": "Bloco", + "canonical": "Bl" + }, + { + "tokens": [ + "Brg", + "Brigadeiro" + ], + "full": "Brigadeiro", + "canonical": "Brg" + }, + { + "tokens": [ + "Cac", + "Cacique" + ], + "full": "Cacique", + "canonical": "Cac" + }, + { + "tokens": [ + "Cam", + "Caminho" + ], + "full": "Caminho", + "canonical": "Cam", + "onlyLayers": ["address"], + "note": "translates to 'way'", + "type": "way" + }, + { + "tokens": [ + "Cap", + "Capitão" + ], + "full": "Capitão", + "canonical": "Cap" + }, + { + "tokens": [ + "Cc", + "Calçada" + ], + "full": "Calçada", + "canonical": "Cc" + }, + { + "tokens": [ + "Ccnh", + "Calçadinha" + ], + "full": "Calçadinha", + "canonical": "Ccnh" + }, + { + "tokens": [ + "Cel", + "Cor", + "Coronel" + ], + "full": "Coronel", + "canonical": "Cel" + }, + { + "tokens": [ + "Chac", + "Chácara", + "Chacara", + "Chácaras" + ], + "full": "Chácaras", + "canonical": "Chac" + }, + { + "tokens": [ + "Cmdt", + "Comandante" + ], + "full": "Comandante", + "canonical": "Cmdt" + }, + { + "tokens": [ + "Comend", + "Comendador" + ], + "full": "Comendador", + "canonical": "Comend" + }, + { + "tokens": [ + "Cj", + "Conjunto", + "Conjuntos" + ], + "full": "Conjuntos", + "canonical": "Cj" + }, + { + "tokens": [ + "Cons", + "Conselheiro" + ], + "full": "Conselheiro", + "canonical": "Cons" + }, + { + "tokens": [ + "Csl", + "Casal" + ], + "full": "Casal", + "canonical": "Csl" + }, + { + "tokens": [ + "Cv", + "Cave" + ], + "full": "Cave", + "canonical": "Cv" + }, + { + "tokens": [ + "da" + ], + "full": "da", + "canonical": "da", + "type": "determiner" + }, + { + "tokens": [ + "das" + ], + "full": "das", + "canonical": "das", + "type": "determiner" + }, + { + "tokens": [ + "de" + ], + "full": "de", + "canonical": "de", + "type": "determiner" + }, + { + "tokens": [ + "dela" + ], + "full": "dela", + "canonical": "dela", + "type": "determiner" + }, + { + "tokens": [ + "Dep", + "Deputado" + ], + "full": "Deputado", + "canonical": "Dep" + }, + { + "tokens": [ + "do" + ], + "full": "do", + "canonical": "do", + "type": "determiner" + }, + { + "tokens": [ + "dos" + ], + "full": "dos", + "canonical": "dos", + "type": "determiner" + }, + { + "tokens": [ + "Dq", + "Duque" + ], + "full": "Duque", + "canonical": "Dq" + }, + { + "tokens": [ + "Dr", + "Doutor" + ], + "full": "Doutor", + "canonical": "Dr" + }, + { + "tokens": [ + "Dr", + "Doutora" + ], + "full": "Doutora", + "canonical": "Dr" + }, + { + "tokens": [ + "Dto", + "Direito" + ], + "full": "Direito", + "canonical": "Dto" + }, + { + "tokens": [ + "Ed", + "Edf", + "Edifício" + ], + "full": "Edifício", + "canonical": "Ed" + }, + { + "tokens": [ + "Emb", + "Embaixador" + ], + "full": "Embaixador", + "canonical": "Emb" + }, + { + "tokens": [ + "Enf", + "Enfo", + "Enfermeiro" + ], + "full": "Enfermeiro", + "canonical": "Enf" + }, + { + "tokens": [ + "Eng", + "Engenheiro" + ], + "full": "Engenheiro", + "canonical": "Eng" + }, + { + "tokens": [ + "Esc", + "Escadas" + ], + "full": "Escadas", + "canonical": "Esc" + }, + { + "tokens": [ + "Escnh", + "Escadinhas" + ], + "full": "Escadinhas", + "canonical": "Escnh" + }, + { + "tokens": [ + "Esq", + "Esquerdo" + ], + "full": "Esquerdo", + "canonical": "Esq" + }, + { + "tokens": [ + "Estr", + "Estrada" + ], + "full": "Estrada", + "canonical": "Estr", + "onlyLayers": ["address"], + "note": "translates to 'road'", + "type": "way" + }, + { + "tokens": [ + "astrada marginal", + "estr marg" + ], + "full": "astrada marginal", + "canonical": "estr marg", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada municipal", + "em", + "e m", + "estr m" + ], + "full": "estrada municipal", + "canonical": "em", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada nacional", + "en", + "e n", + "estr n" + ], + "full": "estrada nacional", + "canonical": "en", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "estrada regional", + "er", + "e r", + "estr r" + ], + "full": "estrada regional", + "canonical": "er", + "onlyLayers": ["address"], + "type": "way", + "spanBoundaries": 1 + }, + { + "tokens": [ + "Fr", + "Frei" + ], + "full": "Frei", + "canonical": "Fr" + }, + { + "tokens": [ + "Ft", + "Frente" + ], + "full": "Frente", + "canonical": "Ft" + }, + { + "tokens": [ + "Gal", + "Gen", + "General" + ], + "full": "General", + "canonical": "Gal" + }, + { + "tokens": [ + "Hab", + "Habitação" + ], + "full": "Habitação", + "canonical": "Hab" + }, + { + "tokens": [ + "Im", + "Ima", + "Irmã" + ], + "full": "Irmã", + "canonical": "Im" + }, + { + "tokens": [ + "Imo", + "Irmão" + ], + "full": "Irmão", + "canonical": "Imo" + }, + { + "tokens": [ + "Inf", + "Infante" + ], + "full": "Infante", + "canonical": "Inf" + }, + { + "tokens": [ + "Inst", + "Instituto" + ], + "full": "Instituto", + "canonical": "Inst" + }, + { + "tokens": [ + "Jr", + "Júnior" + ], + "full": "Júnior", + "canonical": "Jr" + }, + { + "tokens": [ + "Jrd", + "Jardim" + ], + "full": "Jardim", + "canonical": "Jrd" + }, + { + "tokens": [ + "Lda", + "Limitada" + ], + "full": "Limitada", + "canonical": "Lda" + }, + { + "tokens": [ + "Lg", + "Largo" + ], + "full": "Largo", + "canonical": "Lg" + }, + { + "tokens": [ + "Lg", + "Lug", + "Lugar" + ], + "full": "Lugar", + "canonical": "Lg" + }, + { + "tokens": [ + "Lj", + "Loja" + ], + "full": "Loja", + "canonical": "Lj" + }, + { + "tokens": [ + "Loteam", + "Loteamento" + ], + "full": "Loteamento", + "canonical": "Loteam" + }, + { + "tokens": [ + "Lt", + "Lote" + ], + "full": "Lote", + "canonical": "Lt" + }, + { + "tokens": [ + "Maj", + "Major" + ], + "full": "Major", + "canonical": "Maj" + }, + { + "tokens": [ + "Mal", + "Marechal" + ], + "full": "Marechal", + "canonical": "Mal" + }, + { + "tokens": [ + "Me", + "Madre" + ], + "full": "Madre", + "canonical": "Me" + }, + { + "tokens": [ + "Me", + "Mestre" + ], + "full": "Mestre", + "canonical": "Me" + }, + { + "tokens": [ + "Min", + "Ministério" + ], + "full": "Ministério", + "canonical": "Min" + }, + { + "tokens": [ + "Mons", + "Monsenhor" + ], + "full": "Monsenhor", + "canonical": "Mons" + }, + { + "tokens": [ + "Mq", + "Marquês" + ], + "full": "Marquês", + "canonical": "Mq" + }, + { + "tokens": [ + "Mto", + "Maestro" + ], + "full": "Maestro", + "canonical": "Mto" + }, + { + "tokens": [ + "Part", + "Particular" + ], + "full": "Particular", + "canonical": "Part" + }, + { + "tokens": [ + "Pav", + "Pavilhão" + ], + "full": "Pavilhão", + "canonical": "Pav" + }, + { + "tokens": [ + "Pc", + "Praça" + ], + "full": "Praça", + "canonical": "Pc" + }, + { + "tokens": [ + "Pct", + "Praceta" + ], + "full": "Praceta", + "canonical": "Pct" + }, + { + "tokens": [ + "Pe", + "Padre" + ], + "full": "Padre", + "canonical": "Pe" + }, + { + "tokens": [ + "Pq", + "Parque" + ], + "full": "Parque", + "canonical": "Pq" + }, + { + "tokens": [ + "Presid", + "Presidente" + ], + "full": "Presidente", + "canonical": "Presid" + }, + { + "tokens": [ + "Prof", + "Professor" + ], + "full": "Professor", + "canonical": "Prof" + }, + { + "tokens": [ + "Prolng", + "Prolongamento" + ], + "full": "Prolongamento", + "canonical": "Prolng" + }, + { + "tokens": [ + "Pto", + "Pátio" + ], + "full": "Pátio", + "canonical": "Pto" + }, + { + "tokens": [ + "Qd", + "Qr", + "Quadra" + ], + "full": "Quadra", + "canonical": "Q" + }, + { + "tokens": [ + "Qta", + "Quinta" + ], + "full": "Quinta", + "canonical": "Qta" + }, + { + "tokens": [ + "R", + "Rua" + ], + "full": "Rua", + "canonical": "R", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "Rot", + "Rotunda" + ], + "full": "Rotunda", + "canonical": "Rot", + "onlyLayers": ["address"], + "note": "translates to 'roundabout'", + "type": "way" + }, + { + "tokens": [ + "Sr", + "Senhor" + ], + "full": "Senhor", + "canonical": "S" + }, + { + "tokens": [ + "Sra", + "Senhora" + ], + "full": "Senhora", + "canonical": "S" + }, + { + "tokens": [ + "Sarg", + "Sargento" + ], + "full": "Sargento", + "canonical": "Sarg" + }, + { + "tokens": [ + "Soc", + "Sociedade" + ], + "full": "Sociedade", + "canonical": "Soc" + }, + { + "tokens": [ + "Sq", + "Superquadra" + ], + "full": "Superquadra", + "canonical": "Sq" + }, + { + "tokens": [ + "St", + "Sto", + "Santo" + ], + "full": "Santo", + "canonical": "St" + }, + { + "tokens": [ + "Sta", + "Santa" + ], + "full": "Santa", + "canonical": "Sta" + }, + { + "tokens": [ + "Ten", + "Tenente" + ], + "full": "Tenente", + "canonical": "Ten" + }, + { + "tokens": [ + "Tr", + "Torre" + ], + "full": "Torre", + "canonical": "Tr" + }, + { + "tokens": [ + "Transv", + "Transversal" + ], + "full": "Transversal", + "canonical": "Transv" + }, + { + "tokens": [ + "Tv", + "Trv", + "Trav", + "Travessa" + ], + "full": "Travessa", + "canonical": "Tv" + }, + { + "tokens": [ + "Univ", + "Universidade" + ], + "full": "Universidade", + "canonical": "Univ" + }, + { + "tokens": [ + "Urb", + "Urbanização" + ], + "full": "Urbanização", + "canonical": "Urb" + }, + { + "tokens": [ + "via", + "v" + ], + "full": "via", + "canonical": "v", + "type": "way" + }, + { + "tokens": [ + "Visc", + "Visconde" + ], + "full": "Visconde", + "canonical": "Visc" + }, + { + "tokens": [ + "Vl", + "Vila" + ], + "full": "Vila", + "canonical": "Vl" + }, + { + "tokens": [ + "viela", + "ve" + ], + "full": "viela", + "canonical": "ve", + "type": "way" + }, + { + "tokens": [ + "Vv", + "Vivenda" + ], + "full": "Vivenda", + "canonical": "Vv" + }, + { + "tokens": [ + "Zn", + "Zona" + ], + "full": "Zona", + "canonical": "Zn" + }, + { + "tokens": [ + "CM", + "camara municipal", + "c. m." + ], + "full": "camara municipal", + "canonical": "CM", + "spanBoundaries": 1 + } +] diff --git a/.history/tokens/sk_20201208124751.json b/.history/tokens/sk_20201208124751.json new file mode 100644 index 0000000..3de4188 --- /dev/null +++ b/.history/tokens/sk_20201208124751.json @@ -0,0 +1,101 @@ +[ + { + "tokens": [ + "a", + "&" + ], + "full": "a", + "canonical": "&", + "type": "determiner" + }, + { + "tokens": [ + "nábrežie", + "nábr" + ], + "full": "nábrežie", + "canonical": "nábr", + "note": "translates to 'seafront'", + "type": "way" + }, + { + "tokens": [ + "námestie", + "nám" + ], + "full": "námestie", + "canonical": "nám", + "note": "translates to 'square'", + "type": "way" + }, + { + "tokens": [ + "chodnik", + "chodnick" + ], + "full": "chodnick", + "canonical": "chodnik", + "note": "translates to 'pavement'", + "type": "way" + }, + { + "tokens": [ + "ulica", + "ul" + ], + "full": "ulica", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "juh", + "j" + ], + "full": "juh", + "canonical": "j", + "note": "translates to 'south'", + "type": "cardinal" + }, + { + "tokens": [ + "sever", + "s" + ], + "full": "sever", + "canonical": "s", + "note": "translates to 'north'", + "type": "cardinal" + }, + { + "tokens": [ + "východ", + "v" + ], + "full": "východ", + "canonical": "v", + "note": "translates to 'east'", + "type": "cardinal" + }, + { + "tokens": [ + "západ", + "z" + ], + "full": "západ", + "canonical": "z", + "note": "translates to 'west'", + "type": "cardinal" + }, + { + "tokens": [ + "centrum", + "centr" + ], + "full": "centrum", + "canonical": "centr", + "note": "translates to 'center'", + "type": "cardinal" + } +] \ No newline at end of file diff --git a/.history/tokens/sk_20201208144839.json b/.history/tokens/sk_20201208144839.json new file mode 100644 index 0000000..6bf6440 --- /dev/null +++ b/.history/tokens/sk_20201208144839.json @@ -0,0 +1,92 @@ +[ + { + "tokens": [ + "nábrežie", + "nábr" + ], + "full": "nábrežie", + "canonical": "nábr", + "note": "translates to 'seafront'", + "type": "way" + }, + { + "tokens": [ + "námestie", + "nám" + ], + "full": "námestie", + "canonical": "nám", + "note": "translates to 'square'", + "type": "way" + }, + { + "tokens": [ + "chodnik", + "chodnick" + ], + "full": "chodnick", + "canonical": "chodnik", + "note": "translates to 'pavement'", + "type": "way" + }, + { + "tokens": [ + "ulica", + "ul" + ], + "full": "ulica", + "canonical": "ul", + "note": "translates to 'street'", + "type": "way" + }, + { + "tokens": [ + "juh", + "j" + ], + "full": "juh", + "canonical": "j", + "note": "translates to 'south'", + "type": "cardinal" + }, + { + "tokens": [ + "sever", + "s" + ], + "full": "sever", + "canonical": "s", + "note": "translates to 'north'", + "type": "cardinal" + }, + { + "tokens": [ + "východ", + "v" + ], + "full": "východ", + "canonical": "v", + "note": "translates to 'east'", + "type": "cardinal" + }, + { + "tokens": [ + "západ", + "z" + ], + "full": "západ", + "canonical": "z", + "note": "translates to 'west'", + "type": "cardinal" + }, + { + "tokens": [ + "centrum", + "centr" + ], + "full": "centrum", + "canonical": "centr", + "note": "translates to 'center'", + "type": "cardinal" + } +] \ No newline at end of file diff --git a/.history/tokens/sv_20220520100659.json b/.history/tokens/sv_20220520100659.json new file mode 100644 index 0000000..3a60390 --- /dev/null +++ b/.history/tokens/sv_20220520100659.json @@ -0,0 +1,198 @@ +[ + { + "tokens": [ + "$1", + "(.+v)(?:ägen)$" + ], + "full": "(.+v)(?:ägen)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'way'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "$1", + "(.+v)(?:äg)$" + ], + "full": "(.+v)(?:äg)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'way'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "$1", + "(.+g)(?:atan)$" + ], + "full": "(.+g)(?:atan)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "$1", + "(.+g)(?:ata)$" + ], + "full": "(.+g)(?:ata)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "$1", + "(.+gr)(?:änd)$" + ], + "full": "(.+gr)(?:änd)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "$1", + "(.+g)(?:ränden)$" + ], + "full": "(.+g)(?:ränden)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "gamla" + ], + "full": "gamla", + "canonical": "gamla" + }, + { + "tokens": [ + "s", + "södra" + ], + "full": "södra", + "canonical": "s", + "type": "cardinal" + }, + { + "tokens": [ + "n", + "norra" + ], + "full": "norra", + "canonical": "n", + "type": "cardinal" + }, + { + "tokens": [ + "ö", + "östra" + ], + "full": "östra", + "canonical": "ö", + "type": "cardinal" + }, + { + "tokens": [ + "v", + "västra" + ], + "full": "västra", + "canonical": "v", + "type": "cardinal" + }, + { + "tokens": [ + "st", + "stig" + ], + "full": "stig", + "canonical": "st", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "st", + "stigen" + ], + "full": "stigen", + "canonical": "st", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "sankt" + ], + "full": "sankt", + "canonical": "sankt" + }, + { + "tokens": [ + "sankta" + ], + "full": "sankta", + "canonical": "sankta" + }, + { + "tokens": [ + "pl", + "plats" + ], + "full": "plats", + "canonical": "pl" + }, + { + "tokens": [ + "pl", + "platsen" + ], + "full": "platsen", + "canonical": "pl" + }, + { + "tokens": [ + "l", + "lilla" + ], + "full": "lilla", + "canonical": "l" + }, + { + "tokens": [ + "st", + "stora" + ], + "full": "stora", + "canonical": "st" + }, + { + "tokens": [ + "$1$2", + "([A-Z]{1,2}[0-9][0-9A-Z]?) ?([0-9][A-Z]{2})" + ], + "full": "([A-Z]{1,2}[0-9][0-9A-Z]?) ?([0-9][A-Z]{2})", + "canonical": "$1$2", + "onlyCountries": ["nl"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true + } +] diff --git a/.history/tokens/sv_20220520100701.json b/.history/tokens/sv_20220520100701.json new file mode 100644 index 0000000..6e31f6d --- /dev/null +++ b/.history/tokens/sv_20220520100701.json @@ -0,0 +1,198 @@ +[ + { + "tokens": [ + "$1", + "(.+v)(?:ägen)$" + ], + "full": "(.+v)(?:ägen)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'way'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "$1", + "(.+v)(?:äg)$" + ], + "full": "(.+v)(?:äg)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'way'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "$1", + "(.+g)(?:atan)$" + ], + "full": "(.+g)(?:atan)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "$1", + "(.+g)(?:ata)$" + ], + "full": "(.+g)(?:ata)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "$1", + "(.+gr)(?:änd)$" + ], + "full": "(.+gr)(?:änd)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "$1", + "(.+g)(?:ränden)$" + ], + "full": "(.+g)(?:ränden)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "gamla" + ], + "full": "gamla", + "canonical": "gamla" + }, + { + "tokens": [ + "s", + "södra" + ], + "full": "södra", + "canonical": "s", + "type": "cardinal" + }, + { + "tokens": [ + "n", + "norra" + ], + "full": "norra", + "canonical": "n", + "type": "cardinal" + }, + { + "tokens": [ + "ö", + "östra" + ], + "full": "östra", + "canonical": "ö", + "type": "cardinal" + }, + { + "tokens": [ + "v", + "västra" + ], + "full": "västra", + "canonical": "v", + "type": "cardinal" + }, + { + "tokens": [ + "st", + "stig" + ], + "full": "stig", + "canonical": "st", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "st", + "stigen" + ], + "full": "stigen", + "canonical": "st", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "sankt" + ], + "full": "sankt", + "canonical": "sankt" + }, + { + "tokens": [ + "sankta" + ], + "full": "sankta", + "canonical": "sankta" + }, + { + "tokens": [ + "pl", + "plats" + ], + "full": "plats", + "canonical": "pl" + }, + { + "tokens": [ + "pl", + "platsen" + ], + "full": "platsen", + "canonical": "pl" + }, + { + "tokens": [ + "l", + "lilla" + ], + "full": "lilla", + "canonical": "l" + }, + { + "tokens": [ + "st", + "stora" + ], + "full": "stora", + "canonical": "st" + }, + { + "tokens": [ + "$1$2", + "([A-Z]{1,2}[0-9][0-9A-Z]?) ?([0-9][A-Z]{2})" + ], + "full": "([A-Z]{1,2}[0-9][0-9A-Z]?) ?([0-9][A-Z]{2})", + "canonical": "$1$2", + "onlyCountries": ["se"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true + } +] diff --git a/.history/tokens/sv_20220523141607.json b/.history/tokens/sv_20220523141607.json new file mode 100644 index 0000000..e1f53bf --- /dev/null +++ b/.history/tokens/sv_20220523141607.json @@ -0,0 +1,198 @@ +[ + { + "tokens": [ + "$1", + "(.+v)(?:ägen)$" + ], + "full": "(.+v)(?:ägen)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'way'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "$1", + "(.+v)(?:äg)$" + ], + "full": "(.+v)(?:äg)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'way'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "$1", + "(.+g)(?:atan)$" + ], + "full": "(.+g)(?:atan)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "$1", + "(.+g)(?:ata)$" + ], + "full": "(.+g)(?:ata)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "$1", + "(.+gr)(?:änd)$" + ], + "full": "(.+gr)(?:änd)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "$1", + "(.+g)(?:ränden)$" + ], + "full": "(.+g)(?:ränden)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "gamla" + ], + "full": "gamla", + "canonical": "gamla" + }, + { + "tokens": [ + "s", + "södra" + ], + "full": "södra", + "canonical": "s", + "type": "cardinal" + }, + { + "tokens": [ + "n", + "norra" + ], + "full": "norra", + "canonical": "n", + "type": "cardinal" + }, + { + "tokens": [ + "ö", + "östra" + ], + "full": "östra", + "canonical": "ö", + "type": "cardinal" + }, + { + "tokens": [ + "v", + "västra" + ], + "full": "västra", + "canonical": "v", + "type": "cardinal" + }, + { + "tokens": [ + "st", + "stig" + ], + "full": "stig", + "canonical": "st", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "st", + "stigen" + ], + "full": "stigen", + "canonical": "st", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "sankt" + ], + "full": "sankt", + "canonical": "sankt" + }, + { + "tokens": [ + "sankta" + ], + "full": "sankta", + "canonical": "sankta" + }, + { + "tokens": [ + "pl", + "plats" + ], + "full": "plats", + "canonical": "pl" + }, + { + "tokens": [ + "pl", + "platsen" + ], + "full": "platsen", + "canonical": "pl" + }, + { + "tokens": [ + "l", + "lilla" + ], + "full": "lilla", + "canonical": "l" + }, + { + "tokens": [ + "st", + "stora" + ], + "full": "stora", + "canonical": "st" + }, + { + "tokens": [ + "$1$2", + "([0-9]{3}) ?([0-9]{2})" + ], + "full": "([A-Z]{1,2}[0-9][0-9A-Z]?) ?([0-9][A-Z]{2})", + "canonical": "$1$2", + "onlyCountries": ["se"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true + } +] diff --git a/.history/tokens/sv_20220523141610.json b/.history/tokens/sv_20220523141610.json new file mode 100644 index 0000000..ba10aa6 --- /dev/null +++ b/.history/tokens/sv_20220523141610.json @@ -0,0 +1,198 @@ +[ + { + "tokens": [ + "$1", + "(.+v)(?:ägen)$" + ], + "full": "(.+v)(?:ägen)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'way'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "$1", + "(.+v)(?:äg)$" + ], + "full": "(.+v)(?:äg)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'way'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "$1", + "(.+g)(?:atan)$" + ], + "full": "(.+g)(?:atan)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "$1", + "(.+g)(?:ata)$" + ], + "full": "(.+g)(?:ata)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'street'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "$1", + "(.+gr)(?:änd)$" + ], + "full": "(.+gr)(?:änd)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "$1", + "(.+g)(?:ränden)$" + ], + "full": "(.+g)(?:ränden)$", + "canonical": "$1", + "onlyLayers": ["address"], + "note": "translates to 'alley'", + "type": "way", + "regex": true + }, + { + "tokens": [ + "gamla" + ], + "full": "gamla", + "canonical": "gamla" + }, + { + "tokens": [ + "s", + "södra" + ], + "full": "södra", + "canonical": "s", + "type": "cardinal" + }, + { + "tokens": [ + "n", + "norra" + ], + "full": "norra", + "canonical": "n", + "type": "cardinal" + }, + { + "tokens": [ + "ö", + "östra" + ], + "full": "östra", + "canonical": "ö", + "type": "cardinal" + }, + { + "tokens": [ + "v", + "västra" + ], + "full": "västra", + "canonical": "v", + "type": "cardinal" + }, + { + "tokens": [ + "st", + "stig" + ], + "full": "stig", + "canonical": "st", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "st", + "stigen" + ], + "full": "stigen", + "canonical": "st", + "onlyLayers": ["address"], + "note": "translates to 'path'", + "type": "way" + }, + { + "tokens": [ + "sankt" + ], + "full": "sankt", + "canonical": "sankt" + }, + { + "tokens": [ + "sankta" + ], + "full": "sankta", + "canonical": "sankta" + }, + { + "tokens": [ + "pl", + "plats" + ], + "full": "plats", + "canonical": "pl" + }, + { + "tokens": [ + "pl", + "platsen" + ], + "full": "platsen", + "canonical": "pl" + }, + { + "tokens": [ + "l", + "lilla" + ], + "full": "lilla", + "canonical": "l" + }, + { + "tokens": [ + "st", + "stora" + ], + "full": "stora", + "canonical": "st" + }, + { + "tokens": [ + "$1$2", + "([0-9]{3}) ?([0-9]{2})" + ], + "full": "([0-9]{3}) ?([0-9]{2})", + "canonical": "$1$2", + "onlyCountries": ["se"], + "onlyLayers": ["address"], + "spanBoundaries": 1, + "note": "normalize postal code", + "regex": true + } +] diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..17e15f2 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Python: Current File", + "type": "python", + "request": "launch", + "program": "${file}", + "console": "integratedTerminal" + } + ] +} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d2489d..f949dac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,12 @@ # Version History +## 4.6.16 + +- :rocket: Token additions for Italian, German and Spanish +- :rocket: Added `type: way` property to Russian, Italian and Spanish tokens +- :rocket: Added English abbreviations common for Canada + ## 4.6.15 - :rocket: Update regex for Canada in English and add in regex in French. diff --git a/Cargo.lock b/Cargo.lock index 9ee4451..0771bfc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,328 +1,328 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "aho-corasick" version = "0.6.10" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81ce3d38065e618af2d7b77e10c5ad9a069859b4be3c2250f674af3840d9c8a5" dependencies = [ - "memchr 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "memchr 2.2.0", ] [[package]] name = "alphanumeric-sort" version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cd2580c95c654d681db0194a310af67a293f5e1c8bafa5b35b63269c4665a39" [[package]] name = "bit-set" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9bf6104718e80d7b26a68fdbacff3481cfc05df670821affc7e9cbc1884400c" dependencies = [ - "bit-vec 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", + "bit-vec", ] [[package]] name = "bit-vec" version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02b4ff8b16e6076c3e14220b39fbc1fabb6737522281a388998046859400895f" [[package]] name = "fancy-regex" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0decc1ae13c103787f0a543307ee8dac9deceecdb463aceaff35bbb7068d86c2" dependencies = [ - "bit-set 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", - "memchr 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", + "bit-set", + "lazy_static 0.2.11", + "memchr 1.0.2", + "regex", ] [[package]] name = "geocoder-abbreviations" version = "0.1.0" dependencies = [ - "alphanumeric-sort 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "fancy-regex 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "rust-embed 5.5.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)", + "alphanumeric-sort", + "fancy-regex", + "rust-embed", + "serde", + "serde_json", ] [[package]] name = "itoa" version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1306f3464951f30e30d12373d31c79fbd52d236e5e896fd92f96ec7babbbe60b" [[package]] name = "lazy_static" version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73" [[package]] name = "lazy_static" version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc5729f27f159ddd61f4df6228e827e86643d4d3e7c32183cb30a1c08f604a14" [[package]] name = "libc" version = "0.2.51" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bedcc7a809076656486ffe045abeeac163da1b558e963a31e29fbfbeba916917" [[package]] name = "memchr" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "148fab2e51b4f1cfc66da2a7c32981d1d3c083a803978268bb11fe4b86925e7a" dependencies = [ - "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", + "libc", ] [[package]] name = "memchr" version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2efc7bc57c883d4a4d6e3246905283d8dae951bb3bd32f49d6ef297f546e1c39" [[package]] name = "proc-macro2" version = "0.4.27" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d317f9caece796be1980837fd5cb3dfec5613ebdb04ad0956deea83ce168915" dependencies = [ - "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "unicode-xid 0.1.0", ] [[package]] name = "proc-macro2" version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df246d292ff63439fea9bc8c0a270bed0e390d5ebd4db4ba15aba81111b5abe3" dependencies = [ - "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "unicode-xid 0.2.0", ] [[package]] name = "quote" version = "0.6.11" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdd8e04bd9c52e0342b406469d494fcb033be4bdbe5c606016defbb1681411e1" dependencies = [ - "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2 0.4.27", ] [[package]] name = "quote" version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bdc6c187c65bca4260c9011c9e3132efe4909da44726bad24cf7572ae338d7f" dependencies = [ - "proc-macro2 1.0.10 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2 1.0.10", ] [[package]] name = "regex" version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9329abc99e39129fcceabd24cf5d85b4671ef7c29c50e972bc5afe32438ec384" dependencies = [ - "aho-corasick 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", - "memchr 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "regex-syntax 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)", - "thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", - "utf8-ranges 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", + "aho-corasick", + "memchr 2.2.0", + "regex-syntax", + "thread_local", + "utf8-ranges", ] [[package]] name = "regex-syntax" version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d707a4fa2637f2dca2ef9fd02225ec7661fe01a53623c1e6515b6916511f7a7" dependencies = [ - "ucd-util 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "ucd-util", ] [[package]] name = "rust-embed" version = "5.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a17890cbd0fae97c2006fa1ecec9554946443c319f4dd8cd8d3b92031725161" dependencies = [ - "rust-embed-impl 5.5.1 (registry+https://github.com/rust-lang/crates.io-index)", - "rust-embed-utils 5.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "walkdir 2.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "rust-embed-impl", + "rust-embed-utils", + "walkdir", ] [[package]] name = "rust-embed-impl" version = "5.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60cacc306d294556771c6e92737ba7e6be0264144bc46dd713a14ef384b0d6b8" dependencies = [ - "quote 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", - "rust-embed-utils 5.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)", - "walkdir 2.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 1.0.3", + "rust-embed-utils", + "syn 1.0.17", + "walkdir", ] [[package]] name = "rust-embed-utils" version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97655158074ccb2d2cfb1ccb4c956ef0f4054e43a2c1e71146d4991e6961e105" dependencies = [ - "walkdir 2.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "walkdir", ] [[package]] name = "ryu" version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb9e9b8cde282a9fe6a42dd4681319bfb63f121b8a8ee9439c6f4107e58a46f7" [[package]] name = "same-file" version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" dependencies = [ - "winapi-util 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi-util", ] [[package]] name = "serde" version = "1.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92514fb95f900c9b5126e32d020f5c6d40564c27a5ea6d1d7d9f157a96623560" dependencies = [ - "serde_derive 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive", ] [[package]] name = "serde_derive" version = "1.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb6eabf4b5914e88e24eea240bb7c9f9a2cbc1bbbe8d961d381975ec3c6b806c" dependencies = [ - "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.29 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2 0.4.27", + "quote 0.6.11", + "syn 0.15.29", ] [[package]] name = "serde_json" version = "1.0.39" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a23aa71d4a4d43fdbfaac00eff68ba8a06a51759a89ac3304323e800c4dd40d" dependencies = [ - "itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", - "ryu 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", + "itoa", + "ryu", + "serde", ] [[package]] name = "syn" version = "0.15.29" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1825685f977249735d510a242a6727b46efe914bb67e38d30c071b1b72b1d5c2" dependencies = [ - "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)", - "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2 0.4.27", + "quote 0.6.11", + "unicode-xid 0.1.0", ] [[package]] name = "syn" version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0df0eb663f387145cab623dea85b09c2c5b4b0aef44e945d928e682fce71bb03" dependencies = [ - "proc-macro2 1.0.10 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", - "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2 1.0.10", + "quote 1.0.3", + "unicode-xid 0.2.0", ] [[package]] name = "thread_local" version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b" dependencies = [ - "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.3.0", ] [[package]] name = "ucd-util" version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "535c204ee4d8434478593480b8f86ab45ec9aae0e83c568ca81abf0fd0e88f86" [[package]] name = "unicode-xid" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" [[package]] name = "unicode-xid" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c" [[package]] name = "utf8-ranges" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "796f7e48bef87609f7ade7e06495a87d5cd06c7866e6a5cbfceffc558a243737" [[package]] name = "walkdir" version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "777182bc735b6424e1a57516d35ed72cb8019d85c8c9bf536dccb3445c1a2f7d" dependencies = [ - "same-file 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi-util 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "same-file", + "winapi", + "winapi-util", ] [[package]] name = "winapi" version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6" dependencies = [ - "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", ] [[package]] name = "winapi-i686-pc-windows-gnu" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa515c5163a99cc82bab70fd3bfdd36d827be85de63737b40fcef2ce084a436e" dependencies = [ - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi", ] [[package]] name = "winapi-x86_64-pc-windows-gnu" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" - -[metadata] -"checksum aho-corasick 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)" = "81ce3d38065e618af2d7b77e10c5ad9a069859b4be3c2250f674af3840d9c8a5" -"checksum alphanumeric-sort 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "7cd2580c95c654d681db0194a310af67a293f5e1c8bafa5b35b63269c4665a39" -"checksum bit-set 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d9bf6104718e80d7b26a68fdbacff3481cfc05df670821affc7e9cbc1884400c" -"checksum bit-vec 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "02b4ff8b16e6076c3e14220b39fbc1fabb6737522281a388998046859400895f" -"checksum fancy-regex 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0decc1ae13c103787f0a543307ee8dac9deceecdb463aceaff35bbb7068d86c2" -"checksum itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1306f3464951f30e30d12373d31c79fbd52d236e5e896fd92f96ec7babbbe60b" -"checksum lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73" -"checksum lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5729f27f159ddd61f4df6228e827e86643d4d3e7c32183cb30a1c08f604a14" -"checksum libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)" = "bedcc7a809076656486ffe045abeeac163da1b558e963a31e29fbfbeba916917" -"checksum memchr 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "148fab2e51b4f1cfc66da2a7c32981d1d3c083a803978268bb11fe4b86925e7a" -"checksum memchr 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2efc7bc57c883d4a4d6e3246905283d8dae951bb3bd32f49d6ef297f546e1c39" -"checksum proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)" = "4d317f9caece796be1980837fd5cb3dfec5613ebdb04ad0956deea83ce168915" -"checksum proc-macro2 1.0.10 (registry+https://github.com/rust-lang/crates.io-index)" = "df246d292ff63439fea9bc8c0a270bed0e390d5ebd4db4ba15aba81111b5abe3" -"checksum quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)" = "cdd8e04bd9c52e0342b406469d494fcb033be4bdbe5c606016defbb1681411e1" -"checksum quote 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2bdc6c187c65bca4260c9011c9e3132efe4909da44726bad24cf7572ae338d7f" -"checksum regex 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "9329abc99e39129fcceabd24cf5d85b4671ef7c29c50e972bc5afe32438ec384" -"checksum regex-syntax 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)" = "7d707a4fa2637f2dca2ef9fd02225ec7661fe01a53623c1e6515b6916511f7a7" -"checksum rust-embed 5.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3a17890cbd0fae97c2006fa1ecec9554946443c319f4dd8cd8d3b92031725161" -"checksum rust-embed-impl 5.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "60cacc306d294556771c6e92737ba7e6be0264144bc46dd713a14ef384b0d6b8" -"checksum rust-embed-utils 5.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "97655158074ccb2d2cfb1ccb4c956ef0f4054e43a2c1e71146d4991e6961e105" -"checksum ryu 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "eb9e9b8cde282a9fe6a42dd4681319bfb63f121b8a8ee9439c6f4107e58a46f7" -"checksum same-file 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" -"checksum serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)" = "92514fb95f900c9b5126e32d020f5c6d40564c27a5ea6d1d7d9f157a96623560" -"checksum serde_derive 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)" = "bb6eabf4b5914e88e24eea240bb7c9f9a2cbc1bbbe8d961d381975ec3c6b806c" -"checksum serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)" = "5a23aa71d4a4d43fdbfaac00eff68ba8a06a51759a89ac3304323e800c4dd40d" -"checksum syn 0.15.29 (registry+https://github.com/rust-lang/crates.io-index)" = "1825685f977249735d510a242a6727b46efe914bb67e38d30c071b1b72b1d5c2" -"checksum syn 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)" = "0df0eb663f387145cab623dea85b09c2c5b4b0aef44e945d928e682fce71bb03" -"checksum thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b" -"checksum ucd-util 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "535c204ee4d8434478593480b8f86ab45ec9aae0e83c568ca81abf0fd0e88f86" -"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" -"checksum unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c" -"checksum utf8-ranges 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "796f7e48bef87609f7ade7e06495a87d5cd06c7866e6a5cbfceffc558a243737" -"checksum walkdir 2.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "777182bc735b6424e1a57516d35ed72cb8019d85c8c9bf536dccb3445c1a2f7d" -"checksum winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6" -"checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" -"checksum winapi-util 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "fa515c5163a99cc82bab70fd3bfdd36d827be85de63737b40fcef2ce084a436e" -"checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" diff --git a/LICENSE b/LICENSE index 73756aa..9d84a18 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1 @@ -MIT License - -Copyright (c) 2017 Mapbox - -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. +Copyright (c) 2022, Mapbox All rights reserved. diff --git a/README.md b/README.md index a2cf60f..afb86b0 100644 --- a/README.md +++ b/README.md @@ -83,5 +83,7 @@ geocoder-abbreviations isn't currently published on crates.io. To add it to your project, add the following to your `Cargo.toml` `[dependencies]`: ``` -geocoder-abbreviations = { git = "https://github.com/mapbox/geocoder-abbreviations", rev = "master" } +geocoder-abbreviations = { git = "ssh://git@github.com/mapbox/geocoder-abbreviations.git", rev = "master" } ``` + +SSH authentication requires ssh-agent to be running to acquire the SSH key. Make sure the appropriate environment variables are set up (SSH_AUTH_SOCK on most Unix-like systems), and that the correct keys are added (with ssh-add). diff --git a/geocoder_abbreviations_py/__init__.py b/geocoder_abbreviations_py/__init__.py new file mode 100644 index 0000000..bd1b6a0 --- /dev/null +++ b/geocoder_abbreviations_py/__init__.py @@ -0,0 +1,15 @@ +from typing import List, Dict + + +def get_abbreviations_data(language: str) -> List[Dict]: + """ + Reads language-specific token group data + :param language: ISO 639-1 language code + :return: List of token group dictionaries. See documentation for geocoder-abbreviations for further details. + """ + from json import loads + from pkg_resources import resource_string + try: + return loads(resource_string('tokens', f'{language}.json').decode('utf-8')) + except FileNotFoundError: + raise ValueError(f"Tokens file not found for language '{language}'") diff --git a/package.json b/package.json index 4ecdeef..05014f7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mapbox/geocoder-abbreviations", - "version": "4.6.15", + "version": "4.6.17dev", "description": "Language/Country Specific Street Abbreviations", "main": "index.js", "scripts": { diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..d2c6a44 --- /dev/null +++ b/setup.py @@ -0,0 +1,16 @@ +import setuptools + +setuptools.setup( + name="geocoder_abbreviations_py", + version="4.6.16", + description="Language/Country Specific Street Abbreviations", + url="https://github.com/mapbox/geocoder-abbreviations", + packages=setuptools.find_packages(), + classifiers=[ + "Programming Language :: Python :: 3", + "License :: Other/Proprietary License", + "Operating System :: OS Independent", + ], + package_data={"tokens": ["*.json"]}, + license='MIT' +) \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs index eccb076..d092f19 100755 --- a/src/lib.rs +++ b/src/lib.rs @@ -143,14 +143,14 @@ impl TokenType { pub fn config(v: Vec) -> Result>, Error> { if v.is_empty() { - return Ok(prepare(Tokens::codes())?) + return prepare(Tokens::codes()) } for lc in &v { if !Tokens::codes().contains(lc) { return Err(Error::LanguageCodeNotSupported(lc.to_string())) } } - Ok(prepare(v)?) + prepare(v) } fn prepare(v: Vec) -> Result>, Error> { diff --git a/test/fixtures/de-advanced.json b/test/fixtures/de-advanced.json index c1229cc..14be507 100644 --- a/test/fixtures/de-advanced.json +++ b/test/fixtures/de-advanced.json @@ -1,4 +1,16 @@ [ + { + "tokens": ["1.", "Erste"], + "full": "Erste", + "canonical": "1.", + "type": "ordinal" + }, + { + "tokens": ["2.", "Zweite"], + "full": "Zweite", + "canonical": "2.", + "type": "ordinal" + }, { "tokens": ["auf", "a.d.", "a.d"], "full": "a.d.", diff --git a/test/fixtures/de-simple.json b/test/fixtures/de-simple.json index b29f35b..058fd7f 100644 --- a/test/fixtures/de-simple.json +++ b/test/fixtures/de-simple.json @@ -1,4 +1,6 @@ [ + ["1.", "Erste"], + ["2.", "Zweite"], ["a", "am", "an", "a d", "a.d", "auf", "an der"], ["a.d.", "auf der"], ["i", "im", "in", "i d", "i.d", "i.d.", "in der"], diff --git a/tokens/__init__.py b/tokens/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tokens/de.json b/tokens/de.json index d4d4b4a..7c312ed 100644 --- a/tokens/de.json +++ b/tokens/de.json @@ -1,4 +1,22 @@ [ + { + "tokens": [ + "1.", + "Erste" + ], + "full": "Erste", + "canonical": "1.", + "type": "ordinal" + }, + { + "tokens": [ + "2.", + "Zweite" + ], + "full": "Zweite", + "canonical": "2.", + "type": "ordinal" + }, { "tokens": [ "auf", diff --git a/tokens/en.json b/tokens/en.json index 082d7d5..231eda4 100644 --- a/tokens/en.json +++ b/tokens/en.json @@ -573,6 +573,7 @@ }, { "tokens": [ + "Bv", "Blv", "Blvd", "Boulevard" @@ -666,6 +667,7 @@ }, { "tokens": [ + "Ci", "Cir", "Circle" ], @@ -781,6 +783,7 @@ { "tokens": [ "Co", + "Cty", "County" ], "full": "County", @@ -853,6 +856,15 @@ "full": "Copse", "canonical": "Cps" }, + { + "tokens": [ + "Cr", + "County Road" + ], + "full": "County Road", + "canonical": "Cr", + "spanBoundaries": 1 + }, { "tokens": [ "Crcs", @@ -919,6 +931,7 @@ { "tokens": [ "Ct", + "Crt", "Court" ], "full": "Court", @@ -2634,7 +2647,8 @@ "Trail" ], "full": "Trail", - "canonical": "Tr" + "canonical": "Tr", + "type": "way" }, { "tokens": [ diff --git a/tokens/es.json b/tokens/es.json index a88683f..ad7865f 100644 --- a/tokens/es.json +++ b/tokens/es.json @@ -963,7 +963,8 @@ "Estrada" ], "full": "Estrada", - "canonical": "Estda" + "canonical": "Estda", + "type": "way" }, { "tokens": [ @@ -1092,6 +1093,15 @@ "full": "Ladera", "canonical": "Ldera" }, + { + "tokens": [ + "Lg", + "Lugar" + ], + "full": "Lugar", + "canonical": "Lg", + "type": "way" + }, { "tokens": [ "Llnra", @@ -1405,7 +1415,8 @@ "Rambla" ], "full": "Rambla", - "canonical": "Rbla" + "canonical": "Rbla", + "type": "way" }, { "tokens": [ @@ -1430,7 +1441,8 @@ "Ronda" ], "full": "Ronda", - "canonical": "Rd" + "canonical": "Rd", + "type": "way" }, { "tokens": [ @@ -1482,7 +1494,8 @@ "Rúa" ], "full": "Rúa", - "canonical": "Ru" + "canonical": "Ru", + "type": "way" }, { "tokens": [ diff --git a/tokens/fr.json b/tokens/fr.json index 0b889c7..b27fda0 100644 --- a/tokens/fr.json +++ b/tokens/fr.json @@ -974,6 +974,14 @@ "full": "Porte", "canonical": "Pte" }, + { + "tokens": [ + "Rang" + ], + "full": "Rang", + "canonical": "Rang", + "onlyCountries": ["ca"] + }, { "tokens": [ "R", diff --git a/tokens/it.json b/tokens/it.json index 6c41797..c60790d 100644 --- a/tokens/it.json +++ b/tokens/it.json @@ -1,4 +1,211 @@ [ + { + "tokens": [ + "1", + "uno" + ], + "full": "uno", + "canonical": "1", + "type": "number" + }, + { + "tokens": [ + "2", + "due" + ], + "full": "due", + "canonical": "2", + "type": "number" + }, + { + "tokens": [ + "3", + "tre" + ], + "full": "tre", + "canonical": "3", + "type": "number" + }, + { + "tokens": [ + "4", + "quattro" + ], + "full": "quattro", + "canonical": "4", + "type": "number" + }, + { + "tokens": [ + "5", + "cinque" + ], + "full": "cinque", + "canonical": "5", + "type": "number" + }, + { + "tokens": [ + "6", + "sei" + ], + "full": "sei", + "canonical": "6", + "type": "number" + }, + { + "tokens": [ + "7", + "sette" + ], + "full": "sette", + "canonical": "7", + "type": "number" + }, + { + "tokens": [ + "8", + "otto" + ], + "full": "otto", + "canonical": "8", + "type": "number" + }, + { + "tokens": [ + "9", + "nove" + ], + "full": "nove", + "canonical": "9", + "type": "number" + }, + { + "tokens": [ + "10", + "dieci" + ], + "full": "dieci", + "canonical": "10", + "type": "number" + }, + { + "tokens": [ + "11", + "undici" + ], + "full": "undici", + "canonical": "11", + "type": "number" + }, + { + "tokens": [ + "12", + "dodici" + ], + "full": "dodici", + "canonical": "12", + "type": "number" + }, + { + "tokens": [ + "13", + "tredici" + ], + "full": "tredici", + "canonical": "13", + "type": "number" + }, + { + "tokens": [ + "14", + "quattordici" + ], + "full": "quattordici", + "canonical": "14", + "type": "number" + }, + { + "tokens": [ + "16", + "sedici" + ], + "full": "sedici", + "canonical": "16", + "type": "number" + }, + { + "tokens": [ + "17", + "diciassette" + ], + "full": "diciassette", + "canonical": "17", + "type": "number" + }, + { + "tokens": [ + "18", + "diciotto" + ], + "full": "diciotto", + "canonical": "18", + "type": "number" + }, + { + "tokens": [ + "19", + "diciannove" + ], + "full": "diciannove", + "canonical": "19", + "type": "number" + }, + { + "tokens": [ + "20", + "venti" + ], + "full": "venti", + "canonical": "20", + "type": "number" + }, + { + "tokens": [ + "21", + "ventuno" + ], + "full": "ventuno", + "canonical": "21", + "type": "number" + }, + { + "tokens": [ + "22", + "ventidue" + ], + "full": "ventidue", + "canonical": "22", + "type": "number" + }, + { + "tokens": [ + "23", + "ventitre" + ], + "full": "ventitre", + "canonical": "23", + "type": "number" + }, + { + "tokens": [ + "1000", + "mille" + ], + "full": "mille", + "canonical": "1000", + "type": "number" + }, { "tokens": [ "C.le", @@ -18,13 +225,22 @@ "full": "Campo", "canonical": "C.po" }, + { + "tokens": [ + "Contrada" + ], + "full": "Contrada", + "canonical": "Contrada", + "type": "way" + }, { "tokens": [ "C.so", "Corso" ], "full": "Corso", - "canonical": "C.so" + "canonical": "C.so", + "type": "way" }, { "tokens": [ @@ -86,7 +302,8 @@ "Piazza" ], "full": "Piazza", - "canonical": "P.za" + "canonical": "P.za", + "type": "way" }, { "tokens": [ @@ -168,6 +385,22 @@ "full": "Stazione", "canonical": "Staz." }, + { + "tokens": [ + "Strada" + ], + "full": "Strada", + "canonical": "Strada", + "type": "way" + }, + { + "tokens": [ + "Traversa" + ], + "full": "Traversa", + "canonical": "Traversa", + "type": "way" + }, { "tokens": [ "V.", @@ -193,6 +426,7 @@ { "tokens": [ "V.lo", + "Vico", "Vicolo" ], "full": "Vicolo", @@ -208,7 +442,8 @@ ], "full": "Strada Comunale", "canonical": "SC", - "spanBoundaries": 1 + "spanBoundaries": 1, + "type": "way" }, { "tokens": [ @@ -217,7 +452,8 @@ ], "full": "Strada Provinciale", "canonical": "SP", - "spanBoundaries": 1 + "spanBoundaries": 1, + "type": "way" }, { "tokens": [ @@ -226,7 +462,8 @@ ], "full": "Strada Regionale", "canonical": "SR", - "spanBoundaries": 1 + "spanBoundaries": 1, + "type": "way" }, { "tokens": [ @@ -235,7 +472,8 @@ ], "full": "Strada Statale", "canonical": "SS", - "spanBoundaries": 1 + "spanBoundaries": 1, + "type": "way" }, { "tokens": [ diff --git a/tokens/ru.json b/tokens/ru.json index e6e14fb..235893f 100644 --- a/tokens/ru.json +++ b/tokens/ru.json @@ -280,7 +280,8 @@ "линия" ], "full": "линия", - "canonical": "лин" + "canonical": "лин", + "type": "way" }, { "tokens": [ @@ -325,7 +326,8 @@ "площадь" ], "full": "площадь", - "canonical": "п" + "canonical": "п", + "type": "way" }, { "tokens": [ @@ -334,7 +336,8 @@ "проезд" ], "full": "проезд", - "canonical": "пр" + "canonical": "пр", + "type": "way" }, { "tokens": [ @@ -369,7 +372,8 @@ "тупик" ], "full": "тупик", - "canonical": "туп" + "canonical": "туп", + "type": "way" }, { "tokens": [