Commit 66530f86 authored by Davis King's avatar Davis King

Clarified spec

parent af7aa127
...@@ -99,16 +99,14 @@ namespace dlib ...@@ -99,16 +99,14 @@ namespace dlib
certain types of sub-sequences (e.g. proper names). certain types of sub-sequences (e.g. proper names).
- returns true if all of the following are true and false otherwise: - returns true if all of the following are true and false otherwise:
- is_learning_problem(samples, segments) == true - is_learning_problem(samples, segments) == true
- for all valid i: - for all valid i and j:
- for all valid j: - We interpret segments[i][j] as defining a half open range starting
- We interpret segments[i][j] as defining a half open range with segments[i][j].first and ending just before segments[i][j].second.
starting with segments[i][j].first and ending just before - segments[i][j].first < segments[i][j].second
segments[i][j].second. - segments[i][j].second <= samples[i].size()
- segments[i][j].first < segments[i][j].second (i.e. Each segment must be contained within its associated sequence)
- segments[i][j].second <= samples[i].size() - segments[i][j] does not overlap with any of the other ranges in
(i.e. Each segment must be contained within its associated sequence) segments[i].
- segments[i][j] does not overlap with any of the other ranges in
segments[i].
!*/ !*/
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment