🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

academia

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

academia

Tools for analyzing academic text

0.4.3
latest
Source
npm
Version published
Weekly downloads
2
-90%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

text

FAQs

Package last updated on 10 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts