citation

parse citation list in paper

https://github.com/nishimuuu/citation

Science Score: 18.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.2%) to scientific vocabulary
Last synced: 11 months ago · JSON representation ·

Repository

parse citation list in paper

Basic Info
  • Host: GitHub
  • Owner: nishimuuu
  • License: mit
  • Language: Ruby
  • Default Branch: master
  • Size: 10.7 KB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 10 years ago · Last pushed about 10 years ago
Metadata Files
Readme License Code of conduct Citation

README.md

Citation

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file lib/citation. To experiment with that code, run bin/console for an interactive prompt.

TODO: Delete this and the text above, and describe your gem

Installation

Add this line to your application's Gemfile:

ruby gem 'citation'

And then execute:

$ bundle

Or install it yourself as:

$ gem install citation

Usage

Command line

cite instr \<citation string\>

in Ruby code

``` require 'citation/citation' citation = Citation.parse(citation string in paper)

citation.out('bibtex') #=> Convert bibtex format citation.out('MLA') #=> Convert MLA format citation.out('APA') #=> Convert APA format citation.out('ISO') #=> Convert ISO 690 format

```

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/citation. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Owner

  • Name: Takahiro Nishimura
  • Login: nishimuuu
  • Kind: user
  • Location: Tokyo, Japan
  • Company: Recruit Holdings Co., LTD.

Citation (citation.gemspec)

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'citation/version'

Gem::Specification.new do |spec|
  spec.name          = "citation"
  spec.version       = Citation::VERSION
  spec.authors       = ["Takahiro Nishimura"]
  spec.email         = ["tkhr.nishimura@gmail.com"]

  spec.summary       = %q{Parse citation in paper}
  spec.description   = %q{For fetching citation list in paper, it is very exhausted process; open pdf file, scroll page harder, copy and paste google scholar. This gem library is specify to parse flat-citation list to strucutured format such as BiBTex to easy to refer to your paper, survey paper and so on. }
  spec.homepage      = "https://github.com/nishimuuu/citation"
  spec.license       = "MIT"

  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
  # to allow pushing to a single host or delete this section to allow pushing to any host.
  if spec.respond_to?(:metadata)
    spec.metadata['allowed_push_host'] = "https://rubygems.org"
  else
    raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
  end

  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_development_dependency "bundler", "~> 1.12"
  spec.add_development_dependency "rake", "~> 10.0"
  spec.add_development_dependency "rspec", "~> 3.0"
  spec.add_dependency 'thor', '~> 0.19' 
end

GitHub Events

Total
Last Year

Committers

Last synced: over 3 years ago

All Time
  • Total Commits: 4
  • Total Committers: 2
  • Avg Commits per committer: 2.0
  • Development Distribution Score (DDS): 0.25
Top Committers
Name Email Commits
Takahiro Nishimura t****a@r****p 3
Takahiro Nishimura t****h@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • rubygems 6,739 total
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
rubygems.org: citation

For fetching citation list in paper, it is very exhausted process; open pdf file, scroll page harder, copy and paste google scholar. This gem library is specify to parse flat-citation list to strucutured format such as BiBTex to easy to refer to your paper, survey paper and so on.

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 6,739 Total
Rankings
Dependent packages count: 15.7%
Forks count: 29.8%
Stargazers count: 33.2%
Average: 36.7%
Dependent repos count: 46.8%
Downloads: 58.1%
Maintainers (1)
Last synced: 11 months ago

Dependencies

citation.gemspec rubygems
  • bundler ~> 1.12 development
  • rake ~> 10.0 development
  • rspec ~> 3.0 development
  • thor ~> 0.19