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



304
305
306
# File 'lib/vicary/candidates.rb', line 304

def end
  @end
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



304
305
306
# File 'lib/vicary/candidates.rb', line 304

def kind
  @kind
end

#startObject

Returns the value of attribute start

Returns:

  • (Object)

    the current value of start



304
305
306
# File 'lib/vicary/candidates.rb', line 304

def start
  @start
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



304
305
306
# File 'lib/vicary/candidates.rb', line 304

def text
  @text
end