0.4.3 • Published 7 years ago

academia v0.4.3

Weekly downloads
7
License
MIT
Repository
github
Last release
7 years ago

academia

Tools for analyzing academic text.

npm install academia --save

Types

academia.CiteStyle

An enum:

Textual = 0
Parenthetical = 1
Alternate = 2

academia.Cite

{
  style: CiteStyle, // the citation style; 0, 1, or 2
  range?: [number, number], // the location of the citation within the paper
  reference?: Reference, // the full Reference that the Cite matches
}

academia.AuthorYearCite

Extends academia.Cite, and adds the following fields:

{
  authors: Name[], // usually only last names
  year: string, // most often a number, but may have a letter suffix
}

academia.Name

{
  first?: string,
  middle?: string,
  last: string,
}

academia.Reference

{
  authors: Name[], // the first / middle names will often be initialized
  year: string, // most often a number, but may have a letter suffix
  title: string,
  venue?: string, // journal / specific conference / website; may be abbreviated
  publisher?: string, // company name / conference
  pages?: [number, number],
}

academia.Paper

{
  sections: Section[],
  title?: string,
  authors?: Name[],
  year?: number,
  references?: Reference[],
  cites?: Cite[],
}

academia.Section

{
  title: string,
  paragraphs: string[],
}

License

Copyright 2015 Christopher Brown. MIT Licensed.

0.4.3

7 years ago

0.4.2

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.0

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago