Currently, IEEE two column format is supported.
To extract a BibEntry matching the PDF, see PdfContentImporter.
Todo
This class is similar to org., we need to unify them.
| Modifier and Type | Class and Description |
|---|---|
| private static record | |
| pack-priv static record |
| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private final @Nullable CitationKeyPatternPreferences | |
| private static final Logger | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private final NormalizeUnicodeFormatter | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| public | |
| public | RuleBasedBibliographyPdfImporter(@NonNull CitationKeyPatternPreferences citationKeyPatternPreferences)
|
| AUTHORS_AND_TITLE_AT_BEGINNING | back to summary |
|---|---|
| private static final Pattern AUTHORS_AND_TITLE_AT_BEGINNING | |
| citationKeyPatternPreferences | back to summary |
|---|---|
| private final @Nullable CitationKeyPatternPreferences citationKeyPatternPreferences | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| MONTH_AND_YEAR | back to summary |
|---|---|
| private static final Pattern MONTH_AND_YEAR | |
| MONTH_RANGE_AND_YEAR | back to summary |
|---|---|
| private static final Pattern MONTH_RANGE_AND_YEAR | |
| NO | back to summary |
|---|---|
| private static final Pattern NO | |
| normalizeUnicodeFormatter | back to summary |
|---|---|
| private final NormalizeUnicodeFormatter normalizeUnicodeFormatter | |
| PAGE | back to summary |
|---|---|
| private static final Pattern PAGE | |
| PAGES | back to summary |
|---|---|
| private static final Pattern PAGES | |
| PROCEEDINGS_INDICATION | back to summary |
|---|---|
| private static final Pattern PROCEEDINGS_INDICATION | |
| REFERENCE_PATTERN | back to summary |
|---|---|
| private static final Pattern REFERENCE_PATTERN | |
| SERIES | back to summary |
|---|---|
| private static final Pattern SERIES | |
| TITLE | back to summary |
|---|---|
| private static final Pattern TITLE | |
| VOLUME | back to summary |
|---|---|
| private static final Pattern VOLUME | |
| WORKSHOP | back to summary |
|---|---|
| private static final Pattern WORKSHOP | |
| YEAR | back to summary |
|---|---|
| private static final Pattern YEAR | |
| YEAR_AT_END | back to summary |
|---|---|
| private static final Pattern YEAR_AT_END | |
| RuleBasedBibliographyPdfImporter | back to summary |
|---|---|
| public RuleBasedBibliographyPdfImporter() | |
| RuleBasedBibliographyPdfImporter | back to summary |
|---|---|
| public RuleBasedBibliographyPdfImporter(@NonNull CitationKeyPatternPreferences citationKeyPatternPreferences) | |
| getDescription | back to summary |
|---|---|
| public String getDescription() Implements abstract org. Doc from org. Returns the description of the import format. The description should specifywhat kind of entries from what sources and based on what specification it is able to importby what criteria it
| |
| getEntriesFromPDFContent | back to summary |
|---|---|
| public List In: | |
| getId | back to summary |
|---|---|
| public String getId() Implements abstract org. Doc from org. Returns a slug, which identifies this importer. Used, for example, to identify the importer in CLI. Typically, this name should be short, in English, and should not contain special characters like #, %, etc.
| |
| getIntermediateData | back to summary |
|---|---|
pack-priv static List
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract org. Doc from org. Returns the name of this import format. Typically, this is a string that denotes file type or format. It can also be localized, like "XMP-annotated PDF".
| |
| importDatabase | back to summary |
|---|---|
| public ParserResult importDatabase(Path filePath, PDDocument document) throws IOException Implements abstract org. Online Grobid implementation:
| |
| parsePlainCitation | back to summary |
|---|---|
| public Optional Implements org.
| |
| parsePlainCitation | back to summary |
|---|---|
| pack-priv BibEntry parsePlainCitation(String number, String reference) Example:
| |
| updateEntryAndReferenceIfMatches | back to summary |
|---|---|
private static RuleBasedBibliographyPdfImporter.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | modified
Record Component accessed by modified(). |
| private final String | newReference
Record Component accessed by newReference(). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public boolean | |
| public String | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| modified | back to summary |
|---|---|
| private final boolean modified Record Component accessed by modified(). | |
| newReference | back to summary |
|---|---|
| private final String newReference Record Component accessed by newReference(). | |
| EntryUpdateResult | back to summary |
|---|---|
| private EntryUpdateResult(boolean modified, String newReference) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| modified | back to summary |
|---|---|
| public boolean modified() Record Component getter of modified. | |
| newReference | back to summary |
|---|---|
| public String newReference() Record Component getter of newReference. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | reference
Record Component accessed by reference(). |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public String | |
| public String | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| number | back to summary |
|---|---|
| private final String number Record Component accessed by number(). | |
| reference | back to summary |
|---|---|
| private final String reference Record Component accessed by reference(). | |
| IntermediateData | back to summary |
|---|---|
| pack-priv IntermediateData(String number, String reference) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| number | back to summary |
|---|---|
| public String number() Record Component getter of number. | |
| reference | back to summary |
|---|---|
| public String reference() Record Component getter of reference. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |