Class: Vicary::Candidates::Candidate
- Inherits:
-
Struct
- Object
- Struct
- Vicary::Candidates::Candidate
- 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
-
#end ⇒ Object
Returns the value of attribute end.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#start ⇒ Object
Returns the value of attribute start.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Attribute Details
#end ⇒ Object
Returns the value of attribute end
263 264 265 |
# File 'lib/vicary/candidates.rb', line 263 def end @end end |
#kind ⇒ Object
Returns the value of attribute kind
263 264 265 |
# File 'lib/vicary/candidates.rb', line 263 def kind @kind end |
#start ⇒ Object
Returns the value of attribute start
263 264 265 |
# File 'lib/vicary/candidates.rb', line 263 def start @start end |
#text ⇒ Object
Returns the value of attribute text
263 264 265 |
# File 'lib/vicary/candidates.rb', line 263 def text @text end |