semvec/pypi-packages huggingface dataset:
pynfold 0.1.dev0
pynFold: implementation of various solutions to unfoldngand the inverse problem
License: MIT


PynFold
========
pynFold (pronounced pen-fold) is a pythonic implementation of (eventually)
many of the RooUnfold ROOT Unfolding Framework aiming to compare unfolding
methods with those provided outisde of high energy physics and to increase
to robustness of a flexible re-usable codebase.

The fbu algorithm implemented here is the fully basian unfolding method
based code developed by Clement Helsens, Davide Gerbaudo, and Francesco Rubbo

Unfolding relates to the problem of estimating probability distributions
in cases where no parametric form is available,
and where the data are subject to additional random fluctuations due
to limited resolution.
The same mathematics can be found under the general heading of
inverse problems, and is also called deconvolution or unsmearing.

This type of equation is also known as the Fredholm integral of the first kind.
The Kernel K, acts as a smoothing matrix in the forward detector and
we can interpret its elements as a matrix of probabilites,
strictly positive between 0 and one.
Inverting the matrix (if possible) resutls in strictly non-probabilistic terms
that, instead of smothing, add large high frequency components due to
arbitrarily small fluctuations.
The goal of unfolding is to impose some knowledge about the smoothness of this
matrix onto the inversion to suppress such high frequency elements.

This project is currently under development.
If you would like to be involved please contact vincent.croft at cern.ch.

License
=======
``pynfold`` is licensed under the terms of the MIT license. See the file
"LICENSE" for information on the history of this software, terms & conditions
for usage, and a DISCLAIMER OF ALL WARRANTIES.

All trademarks referenced herein are property of their respective holders.

Copyright (c) 2018--, Vincent Alexander Croft,
New York University Department of Physics and DIANA-HEP
sner 0.2.12
The Python interface to the Stanford Named Entity Recognizer Server.
License: MIT
Keywords: python ner nlp stanford Named Entity Recognizer

# sner
Python wrapper around the Stanford Named Entity Recognizer (NER) Server and the Part-Of-Speech (POS) Tagger Server.

[![PyPI version](https://badge.fury.io/py/sner.svg)](https://badge.fury.io/py/sner)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/caihaoyu/sner/master/LICENSE)

# Stanford Named Entity Recognizer Project

* [Home Page](https://nlp.stanford.edu/software/CRF-NER.shtml)
* [Running NER as a Server](https://nlp.stanford.edu/software/crf-faq.shtml#cc)

# Stanford Part-Of-Speech Tagger Project

* [Home Page](https://nlp.stanford.edu/software/tagger.shtml)
* [Running POS as a Server](https://nlp.stanford.edu/software/pos-tagger-faq.html#e)

# Installation
```bash
pip install sner
```
or

```bash
python setup install
```

# Start
## NER Client
Run the following commands to start the NER server

```bash
cd your_stanford_ner_dir
java -Djava.ext.dirs=./lib -cp stanford-ner.jar edu.stanford.nlp.ie.NERServer -port 9199 -loadClassifier ./classifiers/english.all.3class.distsim.crf.ser.gz  -tokenizerFactory edu.stanford.nlp.process.WhitespaceTokenizer -tokenizerOptions tokenizeNLs=false
```
Use the following in Python to access the NER server

```python
from sner import Ner

test_string = "Alice went to the Museum of Natural History."
tagger = Ner(host='localhost',port=9199)
print(tagger.get_entities(test_string))

```
The following results are expected

```python
[('Alice', 'PERSON'),
 ('went', 'O'),
 ('to', 'O'),
 ('the', 'O'),
 ('Museum', 'ORGANIZATION'),
 ('of', 'ORGANIZATION'),
 ('Natural', 'ORGANIZATION'),
 ('History', 'ORGANIZATION'),
 ('.', 'O')]
```

## POS Client
Run the following commands to start the POS server

```bash
cd your_stanford_pos_dir
java -cp stanford-postagger.jar edu.stanford.nlp.tagger.maxent.MaxentTaggerServer -port 9198 -model models/english-bidirectional-distsim.tagger
```
Use the following in Python to access the POS server

```python
from sner import POSClient

test_string = "Alice went to the Museum of Natural History."
tagger = POSClient(host='localhost', port=9198)
print(tagger.tag(test_string))
```
The following results are expected

```python
[('Alice', 'NNP'),
 ('went', 'VBD'),
 ('to', 'TO'),
 ('the', 'DT'),
 ('Museum', 'NNP'),
 ('of', 'IN'),
 ('Natural', 'NNP'),
 ('History', 'NN'),
 ('.', '.')]
```
JSPy 1.0.0
Python Library that runs Javascript
License: MIT

JSPy |Build Status|
===================

Run JavaScript through Python
-----------------------------

Usage
-----

To use this library, you must first install the library
(``pip3 install JSPy``)

In your code, you must import JSPy package by including ``import JSPy``.

To execute JavaScript, use the command ``JSPy.exec(JAVASCRIPT_STRING)``,
where the ``JAVASCRIPT_STRING`` is the JavaScript you would like to run.
This will automatically run the file and return anything that the system
returns.

If you would like to execute a JavaScript File, use the command
``print(JSPy.exec("FILE", "file"))``, where ``FILE`` is the filename.
This will automatically run the file and return anything that the system
returns. If an error is thrown relating to the filename, you may have to
include the file path.

Common Errors
-------------

If you get a JavaScript Runtime Error, you can use the following
commands:

.. code:: bash

   sudo apt-get install npm
   sudo apt-get install nodejs

If you do not have sudo permissions, you can use the following commands:

.. code:: bash

   curl https://raw.githubusercontent.com/creationix/nvm/v0.25.0/install.sh | bash
   nvm install stable
   nvm alias default stable

If you are using a Windows Computer/Server, download ``nodejs`` from
`https://nodejs.org/ <https://nodejs.org/en/>`__. You may have to
restart your computer/server for this to be configured.

Unnoticed Errors
----------------

If you would like to report any errors, please open an issue. If you
know how to fix the issue, please submit appropriate changes.

.. |Build Status| image:: https://travis-ci.org/rithik/JSPy.svg?branch=master