Skip to content

Commit

Permalink
Update spacy language
Browse files Browse the repository at this point in the history
  • Loading branch information
isc-lperezra committed Dec 3, 2024
1 parent e59027a commit 813fe6a
Show file tree
Hide file tree
Showing 7 changed files with 13,407 additions and 8 deletions.
1 change: 0 additions & 1 deletion encoder-ui/src/app/analysis/analysis.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ export class AnalysisComponent implements OnInit{
var textHTML = textSelected;
this.textToMark = textSelected;
this.loading = true;
var regex = /[.,;:¿?!¡]/g;

this.irisService.getAnalysisDetails(idAnalysis).subscribe({next: res => {
if (res.length > 0){
Expand Down
3 changes: 1 addition & 2 deletions encoder-ui/src/app/analyzer/analyzer.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,12 @@ export class AnalyzerComponent {
this.totalReceived = 0;
this.error = false;
this.loading = true;
var regex = /[.,;:¿?!¡]/g;
this.textAndDiagnosticList = [];
const rawText = {
"Text": textOriginal
};
this.irisService.saveRawText(rawText).subscribe({next: raw => {
this.totalReceived = (100%(piecedTextToProcess.length)) + 1;
this.totalReceived = 0;
for (var index in piecedTextToProcess){
if (piecedTextToProcess[index] !== "")
{
Expand Down
2 changes: 1 addition & 1 deletion iris/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN chmod +x /webapp.xml

RUN pip3 install -r /requirements.txt --break-system-packages

RUN spacy download es_core_news_md --break-system-packages
RUN spacy download es_dep_news_trf --break-system-packages

RUN spacy download en_core_web_md --break-system-packages

Expand Down
Loading

0 comments on commit 813fe6a

Please sign in to comment.