Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabianaferreira/lyrics-analysis
A project developed for a subject during bachelor degree on Electronic and Computer Engineering on Federal University of Rio de Janeiro
https://github.com/fabianaferreira/lyrics-analysis
cpp perl study
Last synced: about 21 hours ago
JSON representation
A project developed for a subject during bachelor degree on Electronic and Computer Engineering on Federal University of Rio de Janeiro
- Host: GitHub
- URL: https://github.com/fabianaferreira/lyrics-analysis
- Owner: fabianaferreira
- License: gpl-3.0
- Created: 2019-05-10T16:40:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-02T19:30:13.000Z (over 5 years ago)
- Last Synced: 2024-11-27T20:48:16.481Z (2 months ago)
- Topics: cpp, perl, study
- Language: C++
- Homepage:
- Size: 147 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Lyrics chords analysis program
### Perl
System to process text based on regular expressions#### Instructions to create Perl module
* Ensure you have `libperl-dev` installed. If not, run the command: `sudo apt-get install libperl-dev`* Run the command `h2xs -n lyricsAnalysisModule` inside `lyricsAnalysisModule` directory
* Copy the file `lyricsAnalysisModule.pm` inside module directory that was created in previous step
* Create a directory so as to it install the module `mkdir /home/user/modules`
* Go to module's directory `./lyricsAnalysisModule` and run the following commands:
perl Makefile.PL INSTALL_BASE=/home/{user}/modulesmake
make install
* Now it is necessary to export an environment variable so as to Perl know where to look for this module when using it: `export PERL5LIB=/home/{user}/modules/lib/perl5`
### C++
System that will be responsible for looking into directory and getting the list of files' paths.There is a menu so the user can choose which function to run.
A C++ class was implemented so as to deal with Perl interpreter, called `perlWrapper`.