Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
ef0fa4d
Update README.md
anmerinoto Aug 23, 2025
dc5fe51
Traduccion del Preprocesamiento
rebe1603 Aug 24, 2025
ba5dab4
Traduccion de la bolsa de palabras
rebe1603 Aug 24, 2025
33a8c99
Explicación de los comandos hasta desafío 1
rebe1603 Aug 25, 2025
b33cb4c
Update README.md
anmerinoto Aug 25, 2025
60b18c5
Merge pull request #1 from anmerinoto/main
anmerinoto Aug 25, 2025
1b4b3be
Merge pull request #2 from anmerinoto/main
anmerinoto Aug 25, 2025
2fed54f
Merge pull request #3 from anmerinoto/Saskia_Guerrrero
anmerinoto Aug 25, 2025
808bb72
Upgrade Solutions
anmerinoto Aug 25, 2025
409908f
Merge branch 'main' of https://github.com/anmerinoto/Python-NLP-Funda…
anmerinoto Aug 25, 2025
ce01922
Upgrade
anmerinoto Aug 25, 2025
f9edcc1
Update 01_preprocessing_solutions.ipynb
anmerinoto Aug 25, 2025
41b0091
Update 01_preprocessing_solutions.ipynb
anmerinoto Aug 25, 2025
0b9191b
Upgrade part1
anmerinoto Aug 25, 2025
bc584b5
Explicación de los comandos en el 01_preprocessing.ipynb
rebe1603 Aug 25, 2025
05174fc
Upgrade 2do desafio
anmerinoto Aug 25, 2025
ceba57c
Merge branch 'main' of https://github.com/anmerinoto/Python-NLP-Funda…
anmerinoto Aug 25, 2025
f1e01c9
Update 2da parte - 2do desafio
anmerinoto Aug 25, 2025
80fde83
Update 02_bag_of_words_solutions.ipynb
anmerinoto Aug 25, 2025
dd04db9
Explicación de los comandos en el 02_bag_of_words.ipynb
rebe1603 Aug 25, 2025
5506157
Update 02_bag_of_words_solutions.ipynb
anmerinoto Aug 25, 2025
e901b1d
Merge branch 'main' of https://github.com/anmerinoto/Python-NLP-Funda…
anmerinoto Aug 25, 2025
47a2429
Update 02_bag_of_words_solutions.ipynb
anmerinoto Aug 25, 2025
874c244
Update 2do punto
anmerinoto Aug 25, 2025
705f66a
Upgrade 2do Desafio
anmerinoto Aug 26, 2025
6733779
Merge pull request #4 from anmerinoto/JENNY_ALAVA
anmerinoto Aug 26, 2025
5b99561
Merge pull request #5 from anmerinoto/main
anmerinoto Aug 26, 2025
92489a3
Merge pull request #6 from anmerinoto/main
anmerinoto Aug 26, 2025
d7794a9
Update 03_word_embeddings_solutions.ipynb
anmerinoto Aug 26, 2025
d2467ab
Merge branch 'main' of https://github.com/anmerinoto/Python-NLP-Funda…
anmerinoto Aug 26, 2025
8a44f91
Merge pull request #7 from anmerinoto/Saskia_Guerrrero
anmerinoto Aug 26, 2025
61d08ea
Merge pull request #8 from anmerinoto/JENNY_ALAVA
anmerinoto Aug 26, 2025
7219f92
Traduccion en español de word embeddings
rebe1603 Aug 26, 2025
323532f
Merge pull request #9 from anmerinoto/main
anmerinoto Aug 26, 2025
3f61c3b
Merge pull request #10 from anmerinoto/Saskia_Guerrrero
anmerinoto Aug 26, 2025
fe15426
Traduccion al español de word embeddings
rebe1603 Aug 26, 2025
c501230
Upgrade
anmerinoto Aug 26, 2025
5e8923f
Merge branch 'main' of https://github.com/anmerinoto/Python-NLP-Funda…
anmerinoto Aug 26, 2025
c413187
Merge pull request #11 from anmerinoto/main
anmerinoto Aug 26, 2025
6b857d4
Merge pull request #12 from anmerinoto/JENNY_ALAVA
anmerinoto Aug 26, 2025
05856b5
Merge pull request #13 from anmerinoto/main
anmerinoto Aug 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
528 changes: 528 additions & 0 deletions .venv312/Scripts/Activate.ps1

Large diffs are not rendered by default.

76 changes: 76 additions & 0 deletions .venv312/Scripts/activate
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# This file must be used with "source bin/activate" *from bash*
# You cannot run it directly

deactivate () {
# reset old environment variables
if [ -n "${_OLD_VIRTUAL_PATH:-}" ] ; then
PATH="${_OLD_VIRTUAL_PATH:-}"
export PATH
unset _OLD_VIRTUAL_PATH
fi
if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ] ; then
PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME:-}"
export PYTHONHOME
unset _OLD_VIRTUAL_PYTHONHOME
fi

# Call hash to forget past locations. Without forgetting
# past locations the $PATH changes we made may not be respected.
# See "man bash" for more details. hash is usually a builtin of your shell
hash -r 2> /dev/null

if [ -n "${_OLD_VIRTUAL_PS1:-}" ] ; then
PS1="${_OLD_VIRTUAL_PS1:-}"
export PS1
unset _OLD_VIRTUAL_PS1
fi

unset VIRTUAL_ENV
unset VIRTUAL_ENV_PROMPT
if [ ! "${1:-}" = "nondestructive" ] ; then
# Self destruct!
unset -f deactivate
fi
}

# unset irrelevant variables
deactivate nondestructive

# on Windows, a path can contain colons and backslashes and has to be converted:
case "$(uname)" in
CYGWIN*|MSYS*|MINGW*)
# transform D:\path\to\venv to /d/path/to/venv on MSYS and MINGW
# and to /cygdrive/d/path/to/venv on Cygwin
VIRTUAL_ENV=$(cygpath 'C:\Users\fmerino\Documents\GitHub\Python-NLP-Fundamentals\.venv312')
export VIRTUAL_ENV
;;
*)
# use the path as-is
export VIRTUAL_ENV='C:\Users\fmerino\Documents\GitHub\Python-NLP-Fundamentals\.venv312'
;;
esac

_OLD_VIRTUAL_PATH="$PATH"
PATH="$VIRTUAL_ENV/"Scripts":$PATH"
export PATH

VIRTUAL_ENV_PROMPT='(.venv312) '
export VIRTUAL_ENV_PROMPT

# unset PYTHONHOME if set
# this will fail if PYTHONHOME is set to the empty string (which is bad anyway)
# could use `if (set -u; : $PYTHONHOME) ;` in bash
if [ -n "${PYTHONHOME:-}" ] ; then
_OLD_VIRTUAL_PYTHONHOME="${PYTHONHOME:-}"
unset PYTHONHOME
fi

if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT:-}" ] ; then
_OLD_VIRTUAL_PS1="${PS1:-}"
PS1="("'(.venv312) '") ${PS1:-}"
export PS1
fi

# Call hash to forget past commands. Without forgetting
# past commands the $PATH changes we made may not be respected
hash -r 2> /dev/null
34 changes: 34 additions & 0 deletions .venv312/Scripts/activate.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
@echo off

rem This file is UTF-8 encoded, so we need to update the current code page while executing it
for /f "tokens=2 delims=:." %%a in ('"%SystemRoot%\System32\chcp.com"') do (
set _OLD_CODEPAGE=%%a
)
if defined _OLD_CODEPAGE (
"%SystemRoot%\System32\chcp.com" 65001 > nul
)

set "VIRTUAL_ENV=C:\Users\fmerino\Documents\GitHub\Python-NLP-Fundamentals\.venv312"

if not defined PROMPT set PROMPT=$P$G

if defined _OLD_VIRTUAL_PROMPT set PROMPT=%_OLD_VIRTUAL_PROMPT%
if defined _OLD_VIRTUAL_PYTHONHOME set PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%

set _OLD_VIRTUAL_PROMPT=%PROMPT%
set PROMPT=(.venv312) %PROMPT%

if defined PYTHONHOME set _OLD_VIRTUAL_PYTHONHOME=%PYTHONHOME%
set PYTHONHOME=

if defined _OLD_VIRTUAL_PATH set PATH=%_OLD_VIRTUAL_PATH%
if not defined _OLD_VIRTUAL_PATH set _OLD_VIRTUAL_PATH=%PATH%

set "PATH=%VIRTUAL_ENV%\Scripts;%PATH%"
set "VIRTUAL_ENV_PROMPT=(.venv312) "

:END
if defined _OLD_CODEPAGE (
"%SystemRoot%\System32\chcp.com" %_OLD_CODEPAGE% > nul
set _OLD_CODEPAGE=
)
22 changes: 22 additions & 0 deletions .venv312/Scripts/deactivate.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
@echo off

if defined _OLD_VIRTUAL_PROMPT (
set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
)
set _OLD_VIRTUAL_PROMPT=

if defined _OLD_VIRTUAL_PYTHONHOME (
set "PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%"
set _OLD_VIRTUAL_PYTHONHOME=
)

if defined _OLD_VIRTUAL_PATH (
set "PATH=%_OLD_VIRTUAL_PATH%"
)

set _OLD_VIRTUAL_PATH=

set VIRTUAL_ENV=
set VIRTUAL_ENV_PROMPT=

:END
Binary file added .venv312/Scripts/f2py.exe
Binary file not shown.
Binary file added .venv312/Scripts/fonttools.exe
Binary file not shown.
Binary file added .venv312/Scripts/hf.exe
Binary file not shown.
Binary file added .venv312/Scripts/huggingface-cli.exe
Binary file not shown.
Binary file added .venv312/Scripts/isympy.exe
Binary file not shown.
Binary file added .venv312/Scripts/kaggle.exe
Binary file not shown.
Binary file added .venv312/Scripts/markdown-it.exe
Binary file not shown.
Binary file added .venv312/Scripts/nltk.exe
Binary file not shown.
Binary file added .venv312/Scripts/normalizer.exe
Binary file not shown.
Binary file added .venv312/Scripts/pip.exe
Binary file not shown.
Binary file added .venv312/Scripts/pip3.12.exe
Binary file not shown.
Binary file added .venv312/Scripts/pip3.exe
Binary file not shown.
Binary file added .venv312/Scripts/pyftmerge.exe
Binary file not shown.
Binary file added .venv312/Scripts/pyftsubset.exe
Binary file not shown.
Binary file added .venv312/Scripts/pygmentize.exe
Binary file not shown.
Binary file added .venv312/Scripts/python.exe
Binary file not shown.
Binary file added .venv312/Scripts/pythonw.exe
Binary file not shown.
Binary file added .venv312/Scripts/slugify.exe
Binary file not shown.
Binary file added .venv312/Scripts/spacy.exe
Binary file not shown.
Binary file added .venv312/Scripts/tiny-agents.exe
Binary file not shown.
Binary file added .venv312/Scripts/torchfrtrace.exe
Binary file not shown.
Binary file added .venv312/Scripts/torchrun.exe
Binary file not shown.
Binary file added .venv312/Scripts/tqdm.exe
Binary file not shown.
Binary file added .venv312/Scripts/transformers-cli.exe
Binary file not shown.
Binary file added .venv312/Scripts/transformers.exe
Binary file not shown.
Binary file added .venv312/Scripts/ttx.exe
Binary file not shown.
Binary file added .venv312/Scripts/typer.exe
Binary file not shown.
Binary file added .venv312/Scripts/weasel.exe
Binary file not shown.
5 changes: 5 additions & 0 deletions .venv312/pyvenv.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
home = C:\Users\fmerino\AppData\Local\Programs\Python\Python312
include-system-site-packages = false
version = 3.12.10
executable = C:\Users\fmerino\AppData\Local\Programs\Python\Python312\python.exe
command = C:\Users\fmerino\AppData\Local\Programs\Python\Python312\python.exe -m venv C:\Users\fmerino\Documents\GitHub\Python-NLP-Fundamentals\.venv312
188 changes: 188 additions & 0 deletions .venv312/share/man/man1/isympy.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
'\" -*- coding: us-ascii -*-
.if \n(.g .ds T< \\FC
.if \n(.g .ds T> \\F[\n[.fam]]
.de URL
\\$2 \(la\\$1\(ra\\$3
..
.if \n(.g .mso www.tmac
.TH isympy 1 2007-10-8 "" ""
.SH NAME
isympy \- interactive shell for SymPy
.SH SYNOPSIS
'nh
.fi
.ad l
\fBisympy\fR \kx
.if (\nx>(\n(.l/2)) .nr x (\n(.l/5)
'in \n(.iu+\nxu
[\fB-c\fR | \fB--console\fR] [\fB-p\fR ENCODING | \fB--pretty\fR ENCODING] [\fB-t\fR TYPE | \fB--types\fR TYPE] [\fB-o\fR ORDER | \fB--order\fR ORDER] [\fB-q\fR | \fB--quiet\fR] [\fB-d\fR | \fB--doctest\fR] [\fB-C\fR | \fB--no-cache\fR] [\fB-a\fR | \fB--auto\fR] [\fB-D\fR | \fB--debug\fR] [
-- | PYTHONOPTIONS]
'in \n(.iu-\nxu
.ad b
'hy
'nh
.fi
.ad l
\fBisympy\fR \kx
.if (\nx>(\n(.l/2)) .nr x (\n(.l/5)
'in \n(.iu+\nxu
[
{\fB-h\fR | \fB--help\fR}
|
{\fB-v\fR | \fB--version\fR}
]
'in \n(.iu-\nxu
.ad b
'hy
.SH DESCRIPTION
isympy is a Python shell for SymPy. It is just a normal python shell
(ipython shell if you have the ipython package installed) that executes
the following commands so that you don't have to:
.PP
.nf
\*(T<
>>> from __future__ import division
>>> from sympy import *
>>> x, y, z = symbols("x,y,z")
>>> k, m, n = symbols("k,m,n", integer=True)
\*(T>
.fi
.PP
So starting isympy is equivalent to starting python (or ipython) and
executing the above commands by hand. It is intended for easy and quick
experimentation with SymPy. For more complicated programs, it is recommended
to write a script and import things explicitly (using the "from sympy
import sin, log, Symbol, ..." idiom).
.SH OPTIONS
.TP
\*(T<\fB\-c \fR\*(T>\fISHELL\fR, \*(T<\fB\-\-console=\fR\*(T>\fISHELL\fR
Use the specified shell (python or ipython) as
console backend instead of the default one (ipython
if present or python otherwise).

Example: isympy -c python

\fISHELL\fR could be either
\&'ipython' or 'python'
.TP
\*(T<\fB\-p \fR\*(T>\fIENCODING\fR, \*(T<\fB\-\-pretty=\fR\*(T>\fIENCODING\fR
Setup pretty printing in SymPy. By default, the most pretty, unicode
printing is enabled (if the terminal supports it). You can use less
pretty ASCII printing instead or no pretty printing at all.

Example: isympy -p no

\fIENCODING\fR must be one of 'unicode',
\&'ascii' or 'no'.
.TP
\*(T<\fB\-t \fR\*(T>\fITYPE\fR, \*(T<\fB\-\-types=\fR\*(T>\fITYPE\fR
Setup the ground types for the polys. By default, gmpy ground types
are used if gmpy2 or gmpy is installed, otherwise it falls back to python
ground types, which are a little bit slower. You can manually
choose python ground types even if gmpy is installed (e.g., for testing purposes).

Note that sympy ground types are not supported, and should be used
only for experimental purposes.

Note that the gmpy1 ground type is primarily intended for testing; it the
use of gmpy even if gmpy2 is available.

This is the same as setting the environment variable
SYMPY_GROUND_TYPES to the given ground type (e.g.,
SYMPY_GROUND_TYPES='gmpy')

The ground types can be determined interactively from the variable
sympy.polys.domains.GROUND_TYPES inside the isympy shell itself.

Example: isympy -t python

\fITYPE\fR must be one of 'gmpy',
\&'gmpy1' or 'python'.
.TP
\*(T<\fB\-o \fR\*(T>\fIORDER\fR, \*(T<\fB\-\-order=\fR\*(T>\fIORDER\fR
Setup the ordering of terms for printing. The default is lex, which
orders terms lexicographically (e.g., x**2 + x + 1). You can choose
other orderings, such as rev-lex, which will use reverse
lexicographic ordering (e.g., 1 + x + x**2).

Note that for very large expressions, ORDER='none' may speed up
printing considerably, with the tradeoff that the order of the terms
in the printed expression will have no canonical order

Example: isympy -o rev-lax

\fIORDER\fR must be one of 'lex', 'rev-lex', 'grlex',
\&'rev-grlex', 'grevlex', 'rev-grevlex', 'old', or 'none'.
.TP
\*(T<\fB\-q\fR\*(T>, \*(T<\fB\-\-quiet\fR\*(T>
Print only Python's and SymPy's versions to stdout at startup, and nothing else.
.TP
\*(T<\fB\-d\fR\*(T>, \*(T<\fB\-\-doctest\fR\*(T>
Use the same format that should be used for doctests. This is
equivalent to '\fIisympy -c python -p no\fR'.
.TP
\*(T<\fB\-C\fR\*(T>, \*(T<\fB\-\-no\-cache\fR\*(T>
Disable the caching mechanism. Disabling the cache may slow certain
operations down considerably. This is useful for testing the cache,
or for benchmarking, as the cache can result in deceptive benchmark timings.

This is the same as setting the environment variable SYMPY_USE_CACHE
to 'no'.
.TP
\*(T<\fB\-a\fR\*(T>, \*(T<\fB\-\-auto\fR\*(T>
Automatically create missing symbols. Normally, typing a name of a
Symbol that has not been instantiated first would raise NameError,
but with this option enabled, any undefined name will be
automatically created as a Symbol. This only works in IPython 0.11.

Note that this is intended only for interactive, calculator style
usage. In a script that uses SymPy, Symbols should be instantiated
at the top, so that it's clear what they are.

This will not override any names that are already defined, which
includes the single character letters represented by the mnemonic
QCOSINE (see the "Gotchas and Pitfalls" document in the
documentation). You can delete existing names by executing "del
name" in the shell itself. You can see if a name is defined by typing
"'name' in globals()".

The Symbols that are created using this have default assumptions.
If you want to place assumptions on symbols, you should create them
using symbols() or var().

Finally, this only works in the top level namespace. So, for
example, if you define a function in isympy with an undefined
Symbol, it will not work.
.TP
\*(T<\fB\-D\fR\*(T>, \*(T<\fB\-\-debug\fR\*(T>
Enable debugging output. This is the same as setting the
environment variable SYMPY_DEBUG to 'True'. The debug status is set
in the variable SYMPY_DEBUG within isympy.
.TP
-- \fIPYTHONOPTIONS\fR
These options will be passed on to \fIipython (1)\fR shell.
Only supported when ipython is being used (standard python shell not supported).

Two dashes (--) are required to separate \fIPYTHONOPTIONS\fR
from the other isympy options.

For example, to run iSymPy without startup banner and colors:

isympy -q -c ipython -- --colors=NoColor
.TP
\*(T<\fB\-h\fR\*(T>, \*(T<\fB\-\-help\fR\*(T>
Print help output and exit.
.TP
\*(T<\fB\-v\fR\*(T>, \*(T<\fB\-\-version\fR\*(T>
Print isympy version information and exit.
.SH FILES
.TP
\*(T<\fI${HOME}/.sympy\-history\fR\*(T>
Saves the history of commands when using the python
shell as backend.
.SH BUGS
The upstreams BTS can be found at \(lahttps://github.com/sympy/sympy/issues\(ra
Please report all bugs that you find in there, this will help improve
the overall quality of SymPy.
.SH "SEE ALSO"
\fBipython\fR(1), \fBpython\fR(1)
Loading