Skip to content

Commit ab19ba2

Browse files
committed
2 parents 7ecf825 + c8d9d22 commit ab19ba2

File tree

10 files changed

+47
-6
lines changed

10 files changed

+47
-6
lines changed

README.md

+43-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,42 @@
44

55
AI-Research-Project-Referencing-Program-Attempt
66

7+
## Recommended Requirements (setup tested for)
8+
9+
Windows
10+
11+
Visual Studio Code
12+
13+
wsl
14+
15+
wsl2
16+
17+
git bash
18+
19+
## To Run
20+
21+
clone or download repository
22+
23+
from root directory run
24+
25+
python -m venv .venv2
26+
27+
source .venv2/Scripts/activate
28+
29+
pip install -r requirements.txt
30+
31+
python main.py
32+
33+
### to edit
34+
35+
replace BibTex.bib
36+
37+
with a BibTex.bib
38+
39+
downloaded from the journal article to be referenced
40+
41+
run above command
42+
743
## Table of Contents
844

945
Documentation
@@ -41,9 +77,14 @@ TODO: (In Progress) Make an automatic referencing program.
4177
4278
- Input: Take BibTex.bib
4379
44-
- Output: 1 or 2 line Reference
80+
- Output: Reference
4581
46-
- Curent step: Format 1st line attempted: journal
82+
- Next step : Trying to replace author first name with
83+
initial and dot in author string
84+
from author line
85+
from
86+
file
87+
BibTex.bib
4788
```
4889

4990
## References
File renamed without changes.

documentation/01st20docs/2.md renamed to documentation/01st20docs/02.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
f = io.open("test", mode="r", encoding="utf-8")
77
```
88

9-
[Unicode (UTF-8) reading and writing to files in Python](https://stackoverflow.com/questions/491921/unicode-utf-8-reading-and-writing-to-files-in-python)
9+
[Unicode (UTF-8) reading and writing to files in Python](https://stackoverflow.com/questions/491921/unicode-utf-8-reading-and-writing-to-files-in-python)
File renamed without changes.

documentation/01st20docs/4.md renamed to documentation/01st20docs/04.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ open() [StackOverflow](https://stackoverflow.com/questions/22621056/reading-a-te
1414

1515
`file = open(filename, encoding="utf8")` [UnicodeDecodeError: 'charmap' codec can't decode byte X in position Y: character maps to <undefined>](https://stackoverflow.com/questions/9233027/unicodedecodeerror-charmap-codec-cant-decode-byte-x-in-position-y-character)
1616

17-
[How to set environment variables in Python?](https://stackoverflow.com/questions/5971312/how-to-set-environment-variables-in-python)
17+
[How to set environment variables in Python?](https://stackoverflow.com/questions/5971312/how-to-set-environment-variables-in-python)

documentation/01st20docs/5.md renamed to documentation/01st20docs/05.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ files = [(path,f) for path,_,file_list in os.walk(root) for f in file_list] | ht
2727

2828
IOError: [Errno 13] Permission denied in python | https://stackoverflow.com/questions/40254488/ioerror-errno-13-permission-denied-in-python
2929

30-
`with open(os.path.join(path, f_name), 'rb') as input: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied:` | https://www.google.com/search?q=with+open(os.path.join(path%2C+f_name)%2C+%27rb%27)+as+input%3A+%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E+PermissionError%3A+%5BErrno+13%5D+Permission+denied%3A&rlz=1C1YTUH_enIE1084IE1084&oq=with+open(os.path.join(path%2C+f_name)%2C+%27rb%27)+as+input%3A+%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E+PermissionError%3A+%5BErrno+13%5D+Permission+denied%3A&gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBBzIzOGowajeoAgCwAgA&sourceid=chrome&ie=UTF-8
30+
`with open(os.path.join(path, f_name), 'rb') as input: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied:` | https://www.google.com/search?q=with+open(os.path.join(path%2C+f_name)%2C+%27rb%27)+as+input%3A+%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E+PermissionError%3A+%5BErrno+13%5D+Permission+denied%3A&rlz=1C1YTUH_enIE1084IE1084&oq=with+open(os.path.join(path%2C+f_name)%2C+%27rb%27)+as+input%3A+%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E+PermissionError%3A+%5BErrno+13%5D+Permission+denied%3A&gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBBzIzOGowajeoAgCwAgA&sourceid=chrome&ie=UTF-8

documentation/01st20docs/6.md renamed to documentation/01st20docs/06.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ https://www.google.com/search?q=%5E+%24+in+regex&rlz=1C1YTUH_enIE1084IE1084&oq=%
3131
$ indicates the end of the string.
3232
```
3333

34-
https://stackoverflow.com/questions/8327705/what-are-and-in-regular-expressions
34+
https://stackoverflow.com/questions/8327705/what-are-and-in-regular-expressions
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)