You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the above line, the date is composed from the first two tokens. In the current implementation we can only report on the them separately, marking the first as date, and the second as time.
We should be able to combine the two tokens. The combined token will have two spans, and when record is called, the two sets of rows will be given the activity
951212 050000.000 NELSON @C 22 11 10.63 N 21 41 52.37 W 269.7 2.0 0
In the above line, a single Position element comes from tokens 5-13. They should all be highlighted as a single token.
One solution for this is probably to allow a Token entity to have a spans = [] array of spans, instead of the single one.
We also require this functionality for Line objects, for when one import element comes from multiple lines.
In the above line, the date is composed from the first two tokens. In the current implementation we can only report on the them separately, marking the first as date, and the second as time.
We should be able to combine the two tokens. The combined token will have two spans, and when
record
is called, the two sets of rows will be given theactivity
In the above line, a single
Position
element comes from tokens 5-13. They should all be highlighted as a single token.One solution for this is probably to allow a
Token
entity to have aspans = []
array of spans, instead of the single one.We also require this functionality for
Line
objects, for when one import element comes from multiple lines.Pseudocode:
The
record()
method goes through the file, add adds the newusage
to the chars reprsented by both dateToken and timeTokenThe text was updated successfully, but these errors were encountered: