Class: Vicary::Candidates::Candidate

Inherits:
Struct
  • Object
show all
Defined in:
lib/vicary/candidates.rb

Overview

A name-shaped span, with the placeholder it would be masked as.

LOCATION was absent until 2026-08-07 on the argument that telling a place from a person needs NER and the inbound path does not need the distinction — both are placeholders in the training distribution. The first half of that is what changed: a settlement gazetteer tier is not NER, and it types the case that actually occurs. The second half was always the weaker claim, because the inbound path is not the only reader — a host that echoes the placeholder back writes "your trip to NAME".

Still no LOCATION for a place that is kept (a landmark, a country): a kept span is never masked, so it has no placeholder to type.

Instance Attribute Summary collapse

Instance Attribute Details

#endObject

Returns the value of attribute end

Returns:

  • (Object)

    the current value of end



263
264
265
# File 'lib/vicary/candidates.rb', line 263

def end
  @end
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



263
264
265
# File 'lib/vicary/candidates.rb', line 263

def kind
  @kind
end

#startObject

Returns the value of attribute start

Returns:

  • (Object)

    the current value of start



263
264
265
# File 'lib/vicary/candidates.rb', line 263

def start
  @start
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



263
264
265
# File 'lib/vicary/candidates.rb', line 263

def text
  @text
end