File tree Expand file tree Collapse file tree 4 files changed +12
-10
lines changed
main/java/com/sovren/models/resume/metadata
test/java/com/sovren/integration Expand file tree Collapse file tree 4 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 44name : Maven Package Publish
55
66on :
7- push :
8- branches : [ master ]
7+ release :
8+ types : [created ]
99
1010jobs :
1111 build :
Original file line number Diff line number Diff line change 44 <groupId >com.sovren</groupId >
55 <artifactId >sovren-java</artifactId >
66
7- <version >0.1.11 -beta</version >
7+ <version >0.1.12 -beta</version >
88
99 <packaging >jar</packaging >
1010 <name >Sovren Java SDK</name >
Original file line number Diff line number Diff line change 55
66package com .sovren .models .resume .metadata ;
77
8+ import com .sovren .models .ParsedDocumentMetadata ;
9+
810/**
911* A section in the resume (work history, education, etc)
1012*/
1113public class ResumeSection {
1214
13- /** The first line of the section (zero-based)*/
14- public int FirstLine ;
15+ /** The first line of the section (zero-based). This refers to the lines (delimited by newline) in the {@link ParsedDocumentMetadata#PlainText} */
16+ public int FirstLineNumber ;
1517
16- /** The last line of the section (zero-based)*/
17- public int LastLine ;
18+ /** The last line of the section (zero-based). This refers to the lines (delimited by newline) in the {@link ParsedDocumentMetadata#PlainText} */
19+ public int LastLineNumber ;
1820
1921 /**
20- * The type of section. Some possibilites :
22+ * The type of section. Some possibilities :
2123 * <ul>
2224 * <li>CONTACT_INFO</li>
2325 * <li>EDUCATION</li>
@@ -34,5 +36,5 @@ public class ResumeSection {
3436 * The exact text that was used to identify the beginning of the section.
3537 * If there was no text indicator and the location was calculated, then the value is {@code "CALCULATED"}
3638 */
37- public String HeaderFound ;
39+ public String HeaderTextFound ;
3840}
Original file line number Diff line number Diff line change @@ -485,7 +485,7 @@ public void testGeneralOutput() throws Exception {
485485 assertNotNull (response .Value .ResumeData .ResumeMetadata .FoundSections );
486486 assertHasItems (response .Value .ResumeData .ResumeMetadata .FoundSections );
487487 assertNotNull (response .Value .ResumeData .ResumeMetadata .FoundSections .get (0 ).SectionType );
488- assertNotEquals (0 , response .Value .ResumeData .ResumeMetadata .FoundSections .get (0 ).LastLine );
488+ assertNotEquals (0 , response .Value .ResumeData .ResumeMetadata .FoundSections .get (0 ).LastLineNumber );
489489 assertNotNull (response .Value .ResumeData .ResumeMetadata .ReservedData );
490490 assertNotNull (response .Value .ResumeData .ResumeMetadata .SovrenSignature );
491491 assertNotNull (response .Value .ResumeData .ResumeMetadata .ParserSettings );
You can’t perform that action at this time.
0 commit comments