You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: address_parser.rb
    path of file: ./repos/japanese_address_parser/lib/japanese_address_parser
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require_relative './models/address'
require_relative './models/prefecture'

module JapaneseAddressParser
  module AddressParser
    def call(normalized:, full_address:)
      prefecture = ::JapaneseAddressParser::
    
    def call(normalized:, full_address:)
      prefecture = ::JapaneseAddressParser::Models::Prefecture.all.find { |candidate| normalized.start_with?(candidate.name) }

      return _build_address(full_address: full_address) if prefecture.nil?

      city_and_after = normalized.delete_prefix(prefecture.name)
      city = prefecture.cities.find { |candidate| city_and_after.start_with?(candidate.name) }

      return _build_address(full_address: full_address, prefecture: prefecture) if city.nil?

      town_and_after = city_and_after.delete_prefix(city.name)

      return _build_address(full_address: full_address, prefecture: prefecture, city: city) if town_and_after.empty?

      town = city.towns.find { |candidate| town_and_after == candidate.name }

      _build_address(full_address: full_address, prefecture: prefecture, city: city, town: town)
    end